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

Edit expense dialog #10875

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Edit expense dialog #10875

wants to merge 12 commits into from

Conversation

gustavlrsn
Copy link
Member

@gustavlrsn gustavlrsn commented Dec 19, 2024

For opencollective/opencollective#7683

Description

Inline edit expense flow (bundled together with the new expense submission flow preview feature flag).

Does not include editing the expense type (will show a button to go to the legacy edit flow).

Followups

Screenshots

Screenshot 2024-12-19 at 14 48 28 Screenshot 2024-12-19 at 14 48 58 Screenshot 2024-12-19 at 14 48 42 image

Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
opencollective-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 2:34pm
opencollective-styleguide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 2:34pm

url: !startOptions.current.duplicateExpense ? ei.url : null,
attachment: ei.url,
url: ei.url, // !startOptions.current.duplicateExpense ? ei.url : null,
// url: !startOptions.current.duplicateExpense ? ei.url : null,
Copy link
Contributor

Choose a reason for hiding this comment

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

This may result in users submitting duplicated expenses with the same attachments urls, I think we should require a new upload for a new expense.

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