HSLdevcom / HSLdevcom/digitransit-ui

Too few search results showing in long distance traffic

Open
#2,102 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
267
Forks
145
Avg merge
1d 15h
Merged PRs (30d)
75

Description

When searching nationwide trips, a following problem has repeatedly shown, that each search results only one or two alternative trips, and to see more trips, you need to click before or after buttons to see more. It is maybe done to avoid excessive route calculations in nationwide big timetable data system, but I think that at least three or five search results would be necessary. Current search results make you think, that there really would not be more available trips in specific day.
oulu1

But there actually are! If you click previous or next buttons.

oulu2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing a nationwide trip search for a day with multiple available alternatives, then trace the results pagination and its initial page size. Done means the initial results show at least three to five alternatives when they exist, without relying on previous or next controls.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.