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

UI: Add UsualRideScreen with transport mode selection #295

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Nov 3, 2024

TL;DR

Added a new "Usual Ride" screen allowing users to select their preferred transport mode with a fun, engaging interface.

What changed?

  • Created a new UsualRideScreen component with an interactive transport mode selection interface
  • Added sorting capabilities to TransportMode with a new TransportModeSortOrder enum
  • Enhanced TransportModeIcon component with customizable icon and font sizes
  • Added playful taglines for each transport mode type
  • Implemented a styled selection UI with visual feedback and a confirmation button

How to test?

  1. Navigate to the Usual Ride screen
  2. Verify all transport modes are displayed with their respective icons and taglines
  3. Select different transport modes and confirm the selection is visually highlighted
  4. Check that the confirmation button updates its border color based on the selected mode
  5. Verify the transport mode sorting works in both name and priority order

Why make this change?

To provide users with a personalized experience by allowing them to set their preferred transport mode, making subsequent journey planning more relevant to their usual travel habits. The playful interface and engaging copy help create a more enjoyable user experience.

@ksharma-xyz ksharma-xyz changed the title Build UsualRideScreen UI: Add UsualRideScreen with transport mode selection Nov 3, 2024
Copy link
Owner Author

ksharma-xyz commented Nov 3, 2024

@ksharma-xyz ksharma-xyz force-pushed the 11-03-build_usualridescreen branch from 0a3d0a2 to c52f6df Compare November 4, 2024 04:40
@ksharma-xyz ksharma-xyz marked this pull request as ready for review November 5, 2024 01:58
@ksharma-xyz ksharma-xyz merged commit 188b477 into main Nov 5, 2024
3 checks passed
@ksharma-xyz ksharma-xyz deleted the 11-03-build_usualridescreen branch November 5, 2024 01:58
@ksharma-xyz ksharma-xyz added the UI Design System Related changes label Nov 5, 2024 — with Graphite App
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Design System Related changes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant