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

Add reservation index and show pages #1488

Merged
merged 2 commits into from
May 20, 2024
Merged

Add reservation index and show pages #1488

merged 2 commits into from
May 20, 2024

Conversation

jim
Copy link
Member

@jim jim commented May 10, 2024

What it does

Builds out a more usable index of reservations and the start of a reservation UI. These are modeled on the existing tables we have in the app and the "profile" page layout that we use on item/member/item pool pages.

I also moved the pickup edit screen into a tab on the reservation page.

UI Change Screenshot

Screenshot 2024-05-09 at 11 30 44 PM Screenshot 2024-05-09 at 11 30 54 PM Screenshot 2024-05-09 at 11 30 35 PM

@jim jim requested a review from phinze May 11, 2024 02:22
@jim jim force-pushed the jim/reservation-screens branch from 44e09e6 to ccf6312 Compare May 11, 2024 03:24
Copy link
Contributor

@phinze phinze left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@jim jim merged commit a5c654e into main May 20, 2024
15 checks passed
@jim jim deleted the jim/reservation-screens branch May 20, 2024 03:42
jim added a commit that referenced this pull request May 20, 2024
# What it does

This is a stacked PR that should be merged after #1488 lands. The new
code is in 44e09e6.

After looking more closely at how both Reservation and Pickup had status
columns and thinking about how we'd model the logic between the two of
them, I decided that it's going to be best to have a single status field
track the entire reservation lifecycle. Accordingly, the Pickup model
doesn't provide much except a level of indirection.

Note that I went the brute force route in the migration. It doesn't seem
worth it to write a data migration for any existing Pickup or
ReservationLoan data this early in development.
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.

None yet

2 participants