You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
/:categoryId - map without sidebar showing current category items
/:categoryId/items - opened sidebar with a list of category items
/:categoryId/imtes/:itemId - detailed item info (also displayed in sidebar; accordeon-style)
When user clicks item on the map, he gets /:categoryId/imtes/:itemId
When user switches a tab in the sidebar, he gets /:categoryId/items
When user closes sidebar, he gets /:categoryId
The text was updated successfully, but these errors were encountered:
Do we want to handle multiple generic categories? If so, could you please mention some examples. If not, perhaps, it could make sense to maintain more explicit routes, such as <some_category>/items/:id, implying an :id being particularly attached to items. This is rather UX suggestion, in fact.
You mean, could multiple categories be selected at one time?
It is a good question. Lets simplify our job and consider answer to be no 🙂
At least, previous version of crisismap didn't support this feature.
Suggested routes:
/:categoryId
- map without sidebar showing current category items/:categoryId/items
- opened sidebar with a list of category items/:categoryId/imtes/:itemId
- detailed item info (also displayed in sidebar; accordeon-style)When user clicks item on the map, he gets
/:categoryId/imtes/:itemId
When user switches a tab in the sidebar, he gets
/:categoryId/items
When user closes sidebar, he gets
/:categoryId
The text was updated successfully, but these errors were encountered: