Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loading state view to Route Summary view #69

Open
indraneel opened this issue Feb 15, 2024 · 0 comments
Open

Add loading state view to Route Summary view #69

indraneel opened this issue Feb 15, 2024 · 0 comments
Assignees

Comments

@indraneel
Copy link
Contributor

When selecting a Route to view its summary in the RouteSidebar component, the loading state view is pretty ugly.
image

Problems:

  • if there was no previous route summary shown, the loading state view changes width when the data is finally loaded
  • if there was a previous route summary shown, the component displays that view before loading the new data

Acceptance:

  • show a loading state for all the UI items: total stops and each of the horizontal bar charts
  • for the horizontal bar charts, hide numbers instead of showing NaN
  • eliminate the width-changing jank when data state goes from loading to loaded

Optional:

  • add animated/visually informative progress indicators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants