Station picker: group or scroll destinations once there are more than ~5 stations
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
The flat destination list is rendered in gamev2/src/StationPicker.js at 46px per row, with no scrolling and no parent-city grouping. Read that component, then the stations entries in config.json, to see how destinations are currently supplied. Done would mean the picker groups or scrolls once there are more than about five stations, and an optional dayTripOf field is accepted; the issue itself names #43 and #17 as the stations that will trigger this.
Written by the indexing model from the issue text.
Description
Found while auditing #44 / #43.
gamev2/src/StationPicker.js renders every other station as a flat list at 46px per row with no scrolling and no notion of a parent city. With three stations that is fine; once Sapporo, Asahikawa (#43) and Osaka (#17) land there are 6+ destinations.
Suggested:
- Group destinations by line or parent city (e.g. Asahikawa under Sapporo), or scroll the list.
- Optional
dayTripOffield onconfig.jsonstationsentries so the picker and the map overlay can show day-trip zones under their city.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devhou-se/game
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 Half a day Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ClouGence/open-cdm#487 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
cloudflare/workers-sdk#17159 ·
Maintainers usually reply within 1 day
-
size:S
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
blackie0424/tao_among#184 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
open-webui/open-webui#35045 · 1 comment ·
Maintainers usually reply within 1 day
-
[Type] Bug Gutenberg iOS
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
wordpress-mobile/GutenbergKit#942 ·
Maintainers usually reply within 1 day