Climbing theme improvements #2284
No reviewers
Labels
No labels
Android-shell
bug
enhancement
Help Wanted
high-priority
huge
low-priority
Meta
NLNet
OSOC21:Cycling-OVL
Performance
question
search-ui-enhancement
Studio
Tailwind
Themes
UI
upstream-issue
usertest
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: MapComplete/MapComplete#2284
Loading…
Reference in a new issue
No description provided.
Delete branch "midgard/MapComplete:climbing-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🆕 New questions about auto belay! Some improvements to wording and question conditions. Neatly packaged per commit, check those one by one!
@ -318,0 +334,4 @@
{
"id": "auto_belay_toprope",
"question": {
"en": "Are there auto belays for top roping here? (Excluding those for speed)",
Use "questionHint" for extra remarks, such as
excluding those for speed
@ -318,0 +377,4 @@
}
},
{
"if": "climbing:autobelay:toprope~[0-9]+",
If one sets a
freeform
with key, you should userender
as fallback option:Remove this mapping, and add the
render
to the question@ -318,0 +424,4 @@
}
},
{
"if": "climbing:autobelay:sport~[0-9]+",
Same as above
Looks like some very valuable fixes!
However, there are still a few technical nitpicks to solve, which'll remove this error message: ./assets/layers/climbing_gym/climbing_gym.json.tagRenderings.13: No 'render' defined,./assets/layers/climbing_gym/climbing_gym.json.tagRenderings.14: No 'render' defined
There are still a few bugs - see the comments I left.
c26300bb75
to5abd18cfc3
5abd18cfc3
to8e420f14ac
8e420f14ac
tof35bf01abb
Thanks for the review! I fixed the comments and force-pushed the fixed commits (and one new one about
leisure=sports_hall
, there are already 40 climbing sports_halls) to this PR's branch. I did a few force-pushes and a rebase so the Compare links above aren't very useful. (In the future I'll avoid force-pushing fixes and rebases at the same time). The differences can be seen here and here.Previously I had tried to remember what command I needed to run but couldn't, and then had forgotten to test the build at all. (Woops.)
I now used
npm run generate:layouts
and it finished without warnings that seemed relevant, is that correct to test a change like this?Excellent! The build also passed: https://hosted.mapcomplete.org/2284/climbing.html?