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 star icon toggle and refactor TitleBar actions #272

Merged

Conversation

ksharma-xyz
Copy link
Owner

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

TL;DR

Added star outline icon and updated title bar to support save/unsave trip functionality.

What changed?

  • Added new star_outline.xml drawable and renamed existing star icon to star_filled.xml
  • Enhanced TitleBar component to support action buttons
  • Integrated save/unsave functionality in the TimeTable screen
  • Updated stop name mapping to use disassembledName instead of name
  • Fixed navigation bar padding in SavedTripsScreen

Why make this change?

To provide users with a more intuitive way to save and unsave trips directly from the TimeTable screen's title bar, improving the overall user experience and making the save functionality more discoverable.

@ksharma-xyz ksharma-xyz force-pushed the 10-31-display_stop_names_on_timetable_screen branch from 69ea28b to 9d13ca2 Compare October 30, 2024 13:52
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch from 6bedcd2 to d51ffe6 Compare October 30, 2024 13:52
@ksharma-xyz ksharma-xyz changed the title Add star button to save trip on TimeTableScreen UI: Add star icon toggle and refactor TitleBar actions Oct 31, 2024
@ksharma-xyz ksharma-xyz force-pushed the 10-31-display_stop_names_on_timetable_screen branch from 9d13ca2 to 3c286e3 Compare October 31, 2024 04:20
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch from d51ffe6 to 36b1bab Compare October 31, 2024 04:20
@ksharma-xyz ksharma-xyz marked this pull request as ready for review October 31, 2024 04:22
@ksharma-xyz ksharma-xyz force-pushed the 10-31-display_stop_names_on_timetable_screen branch from 3c286e3 to f557002 Compare October 31, 2024 04:31
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch from 36b1bab to 1fe3fd1 Compare October 31, 2024 04:32
@ksharma-xyz ksharma-xyz force-pushed the 10-31-display_stop_names_on_timetable_screen branch 2 times, most recently from 34d3dd6 to 67d3814 Compare October 31, 2024 04:42
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch from 1fe3fd1 to db4ce93 Compare October 31, 2024 04:42
@ksharma-xyz ksharma-xyz changed the base branch from 10-31-display_stop_names_on_timetable_screen to graphite-base/272 October 31, 2024 04:51
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch from db4ce93 to 8cbc12e Compare October 31, 2024 04:51
@ksharma-xyz ksharma-xyz changed the base branch from graphite-base/272 to main October 31, 2024 04:52
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch from 8cbc12e to c4de318 Compare October 31, 2024 04:52
@ksharma-xyz ksharma-xyz merged commit ee6e638 into main Oct 31, 2024
3 checks passed
Copy link
Owner Author

Merge activity

  • Oct 31, 1:02 AM EDT: A user merged this pull request with Graphite.

@ksharma-xyz ksharma-xyz deleted the 10-31-add_star_button_to_save_trip_on_timetablescreen branch October 31, 2024 05:02
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

Successfully merging this pull request may close these issues.

1 participant