UX: work on layout

This commit is contained in:
Pieter Vander Vennet 2024-06-16 19:00:43 +02:00
parent a87e3376e0
commit d6a20b7222
43 changed files with 5086 additions and 838 deletions

View file

@ -1626,41 +1626,6 @@
}
]
},
{
"id": "last_edit",
"labels": [
"added_by_default"
],
"description": "Gives some metainfo about the last edit and who did edit it - rendering only",
"condition": {
"and": [
"_last_edit:contributor~*",
"_last_edit:changeset~*"
]
},
"metacondition": {
"or": [
"__featureSwitchIsTesting=true",
"__featureSwitchIsDebugging=true",
"mapcomplete-show_debug=yes",
"_csCount>=10"
]
},
"render": {
"special": {
"type": "link",
"href": "{_backend}/changeset/{_last_edit:changeset}",
"text": {
"en": "Last edited on {_last_edit:timestamp} by {_last_edit:contributor}",
"nl": "Laatst gewijzigd op {_last_edit:timestamp} door {_last_edit:contributor} ",
"de": "Zuletzt bearbeitet am {_last_edit:timestamp} von {_last_edit:contributor}",
"ca": "Darrera edició el {_last_edit:timestamp} per {_last_edit:contributor}",
"cs": "Naposledy upravil {_last_edit:timestamp} {_last_edit:contributor}"
},
"class": "subtle font-small"
}
}
},
{
"id": "all_tags",
"description": "Shows a table with all the tags of the feature",
@ -2671,6 +2636,24 @@
"*": "{linked_data_from_website()}"
}
},
{
"id": "share",
"labels": [
"added_by_default"
],
"metacondition": "_supports_sharing=yes",
"render": {
"special": {
"type": "share_link",
"text": {
"en": "Share this location",
"nl": "Deel deze locatie",
"de": "Standort teilen"
}
}
}
},
{
"id": "qr_code",
"labels": [
@ -2690,19 +2673,37 @@
}
},
{
"id": "share",
"id": "last_edit",
"labels": [
"added_by_default"
],
"metacondition": "_supports_sharing=yes",
"description": "Gives some metainfo about the last edit and who did edit it - rendering only",
"condition": {
"and": [
"_last_edit:contributor~*",
"_last_edit:changeset~*"
]
},
"metacondition": {
"or": [
"__featureSwitchIsTesting=true",
"__featureSwitchIsDebugging=true",
"mapcomplete-show_debug=yes",
"_csCount>=10"
]
},
"render": {
"special": {
"type": "share_link",
"type": "link",
"href": "{_backend}/changeset/{_last_edit:changeset}",
"text": {
"en": "Share this location",
"nl": "Deel deze locatie",
"de": "Standort teilen"
}
"en": "Last edited on {_last_edit:timestamp} by {_last_edit:contributor}",
"nl": "Laatst gewijzigd op {_last_edit:timestamp} door {_last_edit:contributor} ",
"de": "Zuletzt bearbeitet am {_last_edit:timestamp} von {_last_edit:contributor}",
"ca": "Darrera edició el {_last_edit:timestamp} per {_last_edit:contributor}",
"cs": "Naposledy upravil {_last_edit:timestamp} {_last_edit:contributor}"
},
"class": "subtle font-small"
}
}
}

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" width="375px" height="375px" viewBox="0 0 375 375" version="1.1">
<g id="surface1">
<path d="M 280.75 123.625 L 218.375 123.625 L 218.375 27.8125 C 218.375 19.0625 211.375 11.875 202.75 11.875 L 171.5625 11.875 C 163 11.875 155.9375 19.0625 155.9375 27.8125 L 155.9375 123.625 L 93.5625 123.625 L 187.125 251.375 Z M 351 171.5625 C 338.0625 171.5625 327.625 182.3125 327.625 195.5 L 327.625 315.25 L 46.8125 315.25 L 46.8125 195.5 C 46.8125 182.25 36.3125 171.5625 23.4375 171.5625 C 10.5 171.5625 0 182.25 0 195.5 L 0 339.1875 C 0 352.375 10.5 363.125 23.375 363.125 L 350.9375 363.125 C 363.875 363.125 374.3125 352.375 374.3125 339.1875 L 374.3125 195.5 C 374.375 182.25 363.875 171.5625 351 171.5625 Z M 351 171.5625 "/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 841 B

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: Engr.eponce
SPDX-License-Identifier: CC-BY-SA-4.0

View file

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="374px"
height="365px"
viewBox="0 0 374 365"
version="1.1"
id="svg11"
sodipodi:docname="share.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs15" />
<sodipodi:namedview
id="namedview13"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="2.0958904"
inkscape:cx="187.03268"
inkscape:cy="182.5"
inkscape:window-width="1920"
inkscape:window-height="995"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg11" />
<path
id="path2"
style="color:#000000;fill:#000000;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
d="M 301.09766 0.47265625 C 260.83203 0.47265625 228.19141 33.1875 228.19141 73.546875 C 228.19141 79.329826 228.8815 84.948384 230.14844 90.34375 L 126.28711 138.35938 C 112.97544 124.01509 93.990177 115.03125 72.902344 115.03125 C 32.640625 115.03125 0 147.74609 0 188.10156 C -9.4739031e-15 228.46094 32.640625 261.17578 72.902344 261.17578 C 93.990661 261.17578 112.97735 252.19308 126.28906 237.84766 L 228.48438 285.09375 C 228.30377 287.19139 228.19141 289.30857 228.19141 291.45312 C 228.19141 331.8125 260.83203 364.52734 301.09766 364.52734 C 341.35937 364.52734 374 331.8125 374 291.45312 C 374 251.09766 341.35937 218.38281 301.09766 218.38281 C 279.27697 218.38281 259.71055 228.00393 246.34961 243.22852 L 145.3125 196.51562 C 145.62871 193.75286 145.80859 190.94925 145.80859 188.10156 C 145.80859 185.2553 145.62846 182.45285 145.3125 179.69141 L 254.10547 129.39648 C 266.79684 140.13431 283.18811 146.61719 301.09766 146.61719 C 341.35937 146.61719 374 113.90234 374 73.546875 C 374 33.1875 341.35937 0.47265625 301.09766 0.47265625 z " />
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText:
SPDX-License-Identifier: LicenseRef-TRIVIAL

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" width="375px" height="375px" viewBox="0 0 375 375" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,100%,0%);fill-opacity:1;" d="M 0 374.617188 C 0 373.621094 187.496094 -0.375 187.804688 0 C 188.847656 1.261719 375.34375 374.710938 375 374.851562 C 374.777344 374.941406 332.519531 356.800781 281.097656 334.539062 L 187.601562 294.066406 L 94.257812 334.535156 C 42.917969 356.789062 0.707031 375 0.457031 375 C 0.207031 375 0 374.828125 0 374.617188 Z M 0 374.617188 "/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 629 B

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText:
SPDX-License-Identifier: LicenseRef-TRIVIAL

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" width="375px" height="375px" viewBox="0 0 375 375" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 280.75 129.625 L 218.375 129.625 L 218.375 225.4375 C 218.375 234.1875 211.375 241.375 202.75 241.375 L 171.5625 241.375 C 163 241.375 155.9375 234.1875 155.9375 225.4375 L 155.9375 129.625 L 93.5625 129.625 L 187.125 1.875 Z M 280.75 129.625 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 23.3125 171.5625 C 36.25 171.5625 46.6875 182.3125 46.6875 195.5 L 46.6875 315.25 L 327.5 315.25 L 327.5 195.5 C 327.5 182.25 338 171.5625 350.875 171.5625 C 363.8125 171.5625 374.3125 182.25 374.3125 195.5 L 374.3125 339.1875 C 374.3125 352.375 363.8125 363.125 350.9375 363.125 L 23.375 363.125 C 10.4375 363.125 0 352.375 0 339.1875 L 0 195.5 C -0.0625 182.25 10.4375 171.5625 23.3125 171.5625 Z M 23.3125 171.5625 "/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: Pieter Vander Vennet
SPDX-License-Identifier: CC0-1.0