UX: add 'show nearby picture' in new point popup

This commit is contained in:
Pieter Vander Vennet 2025-04-28 15:09:17 +02:00
parent d56cf56511
commit dad9bb1349
8 changed files with 37 additions and 24 deletions

View file

@ -188,7 +188,7 @@
"tagRenderings": [
{
"id": "add_new",
"classes": "h-full flex special-add-new-point",
"classes": "max-h-leave-room special-add-new-point flex-1",
"condition": "has_presets=yes",
"render": {
"*": "{add_new_point()}"
@ -196,11 +196,19 @@
},
{
"id": "add_note",
"classes": "flex-1",
"condition": "has_note_layer=yes",
"render": {
"*": "{open_note()}"
}
},
{
"id": "nearby_images",
"classes": "w-fit self-end",
"render": {
"*": "{nearby_images(,true)}"
}
},
{
"id": "debug",
"metacondition": "__featureSwitchIsDebugging=true",