human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

If you enter a million of an item in donations and save, a confirmation comes up. It still saves if you press cancel.

Open cielf opened this issue 9 months ago • 7 comments

Summary

confirmation on large donations is ineffective - saves in either case. Fix it.

Why?

System not behaving as reasonably expected

Details

To see this: sign in as [email protected] click on Donations fill in the form with 1000000 of some item click save click cancel

The donation appears in the index. Instead, we should return to the donation entry screen so the user can adjust the value.

Criteria for completion

  • [ ] behaviour as described
  • [ ] automated tests for behaviour as described

cielf avatar Mar 05 '25 15:03 cielf

Hi @cielf ! I could to fix this?

GiovannyCordeiro avatar Apr 03 '25 19:04 GiovannyCordeiro

Please give it a shot!

cielf avatar Apr 04 '25 00:04 cielf

Hi @cielf I have a question, in my solution I was abe to solve problem only using Javascript, changing a litte big of code. However I haven't found where I can make tests for a listenner event function. You can answer this for me?

GiovannyCordeiro avatar Apr 09 '25 02:04 GiovannyCordeiro

I'm going to pass that to @dorner

cielf avatar Apr 09 '25 19:04 cielf

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

github-actions[bot] avatar May 10 '25 00:05 github-actions[bot]

Automatically unassigned after 7 days of inactivity.

github-actions[bot] avatar May 17 '25 00:05 github-actions[bot]

It looks like @GiovannyCordeiro is still working on this. Reassigning it to them.

cielf avatar Jun 07 '25 11:06 cielf