-
-
Notifications
You must be signed in to change notification settings - Fork 396
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 action to decline expense invite and display expense invite notes #10645
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
adf4bed
to
2c9364f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hdiniz The code looks good to me, I haven't tried the feature itself. Let me know when the API is ready & I'll test both!
The API is ready for review. It covers the decline action and notifications for updates to the invited expense. The front end is currently functional as a sketch, I will iterate on the UX. fyi: the child collective search will be on a different PR (wip) |
317a444
to
25f40f4
Compare
25f40f4
to
e01ec9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Button positioning
Are we sure about the button positioning? It seems a bit off to me:
As a simple fix, we could simply align it with the title:
But I would argue that this is part of a larger problem: people who arrive here have little to no context about what Open Collective is, so it could be nice to help them understand by adding a small message (if !LoggedInUser && Boolean(draftKey)
). We can surely re-use the design here to do something like:
Max height on message
To avoid getting stuck with no ability to edit, submit or cancel.
Kooha-2024-09-11-11-38-39.mp4
Related issues found while testing (not related to this PR):
e01ec9d
to
7ff2442
Compare
Related opencollective/opencollective#7535
Require opencollective/opencollective-api#10307
Description
Users invited to an expense should be presented with the invitation notes to give context, and they should be able to decline the invite with some comment.