Skip to content

Tig 341 build new schedule a ride and your rides pages - #21

Merged
niyathikukkapalli merged 22 commits into
mainfrom
TIG-341-Build-new-Schedule-a-Ride-and-Your-Rides-pages
Nov 25, 2026
Merged

niyathikukkapalli merged 22 commits into
mainfrom
TIG-341-Build-new-Schedule-a-Ride-and-Your-Rides-pages

Conversation

@ethanm9720

Copy link
Copy Markdown
desktop-schedule-a-ride-validation desktop-schedule-a-ride desktop-your-rides-edit desktop-your-rides-past desktop-your-rides mobile-schedule-a-ride mobile-your-rides

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.
@linear

linear Bot commented Nov 23, 2026

Copy link
Copy Markdown

TIG-341

Laahini and others added 2 commits November 25, 2026 16:22
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 niyathikukkapalli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@niyathikukkapalli
niyathikukkapalli merged commit 5aba0d9 into main Nov 25, 2026
2 checks passed
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.

3 participants