Skip to content

Rollout new approvals UI#87

Merged
fpagnoux merged 20 commits intomainfrom
fpagnoux.approvals
Sep 16, 2025
Merged

Rollout new approvals UI#87
fpagnoux merged 20 commits intomainfrom
fpagnoux.approvals

Conversation

@fpagnoux
Copy link
Member

2.5 years later (😭), finally rolling out the news approvals UI with a few improvements.

This PR:

  • Adds an approval tab on the person's tab to see current approvals (Screenshot 1)
  • Display a warning when the renter has unapproved restricted gear on their basket (Screenshot 2)
  • Display "Approved" rather than "Restricted" in gear list if renter is approved to rent the item (Screenshot 3)

Screenshot 1:

image

Screenshot 2:

image

Screenshot 3:

image

@fpagnoux fpagnoux requested a review from mprat September 13, 2025 02:36
Copy link
Member

@mprat mprat left a comment

Choose a reason for hiding this comment

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

Looks great! Some conflicts, but I assume that's the flurry of upgrades / improvements you've made over the last few days. I'll let you figure out how to untangle this :)

@@ -0,0 +1,133 @@
import dayjs from "dayjs";
Copy link
Member

Choose a reason for hiding this comment

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

Was this already added to the deps? I assume yes otherwise CI wouldn't pass!

Copy link
Member Author

@fpagnoux fpagnoux Sep 15, 2025

Choose a reason for hiding this comment

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

Yep, I've be using it for other date handling, the native JS API isn't great

@fpagnoux fpagnoux merged commit 3f30cb1 into main Sep 16, 2025
2 checks passed
@fpagnoux fpagnoux deleted the fpagnoux.approvals branch September 16, 2025 01:47
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.

2 participants