forked from MapComplete/MapComplete
Feature(privacy): allow to disable reviews, disable reviews in sensitive themes, fix https://github.com/pietervdvn/MapComplete/issues/2282
This commit is contained in:
parent
1facbaa7d1
commit
b4a7391725
10 changed files with 1137 additions and 291 deletions
|
@ -1150,6 +1150,39 @@
|
|||
],
|
||||
"metacondition": "_uid~*"
|
||||
},
|
||||
{
|
||||
"id": "mangrove-reviews-allowed",
|
||||
"question": {
|
||||
"en": "Should reviews be loaded when browsing an item?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "mapcomplete-reviews-allowed=always",
|
||||
"then": {
|
||||
"en": "Show reviews by default, also in sensitive themes"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-reviews-allowed=yes",
|
||||
"alsoShowIf": "mapcomplete-reviews-allowed=",
|
||||
"then": {
|
||||
"en": "Show reviews by default, except in sensitive themes (where we'll ask per feature)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-reviews-allowed=ask",
|
||||
"then": {
|
||||
"en": "Always ask before loading reviews"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-reviews-allowed=hidden",
|
||||
"then": {
|
||||
"en": "Never show reviews at all"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "title-id",
|
||||
"render": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue