Repository navigation
Tig 341 build new schedule a ride and your rides pages - #21
Merged
niyathikukkapalli merged 22 commits intoNov 25, 2026
Merged
niyathikukkapalli merged 22 commits into
niyathikukkapalli merged 22 commits into
Conversation
ethanm9720
commented
Nov 23, 2026
create_ride now returns the inserted id (or None on failure), and addride reports a failed insert as a 400 instead of claiming success.
Text input, seat stepper, empty state, error banner and ride card skeleton from the design system, the Figma icons they use, a success button variant for Accept, and an opt-in lift-picker look for the date/time pickers.
New /schedule page from the Figma Create a Rideshare / Schedule a Ride screens: from/to with full airport names and swap, arrive-by date and time, seat stepper, phone number and note, inline validation, and a live preview using the shared ride card on desktop. Posting sends the user to the new ride on Your Rides. The nav's Create a rideshare and mobile + now open this page.
Posting a ride now happens on the Schedule a Ride page, so the modal, its validation dialog and their state are no longer needed.
Every ride now renders RideshareCard: posted rides with Edit, pending requests with Cancel request, and past rides in the compact layout. Rides are grouped into 'Rides you posted' and 'Rides you requested', with past rides behind 'Show past rides'. A details panel under each card keeps riders, copy email, the calendar link, phone and note, and adds inline Accept / Deny for requests to join. Adds the Figma loading skeletons, empty state and error banner, and scrolls to and outlines a ride just posted from Schedule a Ride.
The error border now beats antd's own status rule, the open calendar and time lists use the token colours, and the picker text uses the type scale. DateTimePicker passes optional extra props to each picker.
- Read the picked time as Eastern time, as the label says - Name the date and time pickers and tie errors to their fields - Say when both From and To are missing - Keep a single centered column until lg, then show the preview - Show the preview as one card with no status pill - Show the date as a friendly day and theme the picker popups - Center the submit button on phones
- Keep a lone ride to one column so its button is not a full-width bar - Put the lime dot on the requests heading, next to the requests - Hide Show past rides when there are none, and label the section while it is collapsed - Leave out the empty riders line on requested rides
The editor now uses the ride card surface, the text input, the seat stepper, Request Card Accept / Deny buttons and the button set. Its pickers show and take Eastern time like Schedule a Ride, and the email time is formatted through Intl because dayjs's timezone plugin is not loaded.
Replace the rides list with the new Home page and a Ride Details page, and add an optional departure window for rides.
Keep the new Home page, and keep departure windows when a ride is created.
niyathikukkapalli
approved these changes
Nov 25, 2026
niyathikukkapalli
left a comment
Collaborator
There was a problem hiding this comment.
Schedule a Ride and Your Rides fit on the new Home page. The old rides list stays removed, and creating a ride still stores a departure window.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.