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: Implement DateTime selection and navigation flow #400

Conversation

ksharma-xyz
Copy link
Owner

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

TL;DR

Added date/time selection functionality to the trip planner, allowing users to specify when they want to leave or arrive.

What changed?

  • Added a new date/time selector screen with options to choose between "Leave at" or "Arrive by"
  • Implemented time picker and date selection with navigation between days
  • Added a reset option to return to "Leaving now"
  • Created data persistence between screens using NavController's savedStateHandle
  • Updated the time table screen to display the selected date/time
  • Removed animation from radio buttons for better performance
  • Increased icon button size from 24dp to 32dp

Screenshots

Screen.Recording.2024-11-30.at.3.10.07.pm.mov

Why make this change?

To provide users with more flexibility in planning their journeys by allowing them to view schedules for specific dates and times, rather than being limited to current departure times only.

Copy link
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ksharma-xyz ksharma-xyz changed the title Navigation: Pass arguments from DateTime to TimeTable screen UI: Implement DateTime selection and navigation flow Nov 30, 2024
@ksharma-xyz ksharma-xyz marked this pull request as ready for review November 30, 2024 04:10
@ksharma-xyz ksharma-xyz merged commit 45e1e6b into main Nov 30, 2024
2 checks passed
Copy link
Owner Author

Merge activity

  • Nov 29, 11:18 PM EST: A user merged this pull request with Graphite.

@ksharma-xyz ksharma-xyz deleted the 11-30-navigation_pass_arguments_from_datetime_to_timetable_screen branch November 30, 2024 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant