-
Notifications
You must be signed in to change notification settings - Fork 262
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
Feature Request: Add a confirmation on expense deletion #1077
Comments
I think a confirmation can be useful. Until we implemented an Undo feature, which I would much prefer. You can try to make a confirmation based on this. |
Thanks for the detailed pointers. I'm not sufficiently familiar with the codebase to attempt this kind of change I'm afraid. I was pretty confident I could find a spot to add the correct I'm happy to leave this ticket open in case somebody else picks up on it and wants to submit a PR? Maybe adding the "good first issue" label would make sense? |
Hello! is it ok for me to work on this issue? |
@FlowingCloudRTL It seems like this is an issue which is open to any contributor, so I'd imagine that you're welcome to work on it. But just to be clear, I'm not a member of the project, so I don't know what the policies are for merging pull requests and so on. |
Fixed by #1096 |
I just deleted a duplicated expense in our budget, and if I'm not mistaken, it was instantly removed without any confirmation dialog. As deletion is a destructive operation, I'd be in favour of asking the user to confirm this action before carrying it out. This is the web UI which I'm referring to.
Even a simple
globalThis.confirm()
would be good enough from my perspective.Side note, would you be open to a PR which adds this option? If yes, it would be great to get some pointers on where this code lives, if there's any translations to consider, and any suggestions on what message to use in the dialog. I'd go with "Are you sure?" as a first step otherwise.
The text was updated successfully, but these errors were encountered: