Skip to content

Conversation

@ltkum
Copy link
Contributor

@ltkum ltkum commented Aug 5, 2025

Issue: When people click on the "delete" button in drawing, and confirm it by clicking 'OK', they realize afterwards that they decided to delete all their work and sometimes ask us to retrieve their lost data.

Fix: We are now more explicit about what we're deleting, and the modal message now clearly says "Delete Everything". We Also added the code that would allow us to add custom confirm / cancel messages and icons for every modal we use.

Test link

@ltkum ltkum force-pushed the feat-PB-1866-make-delete-modal-easier-to-understand branch 3 times, most recently from 3598028 to 310feb6 Compare August 5, 2025 12:08
@ltkum ltkum requested a review from pakb August 5, 2025 12:11
@ltkum ltkum marked this pull request as ready for review August 5, 2025 12:11
@cypress
Copy link

cypress bot commented Aug 5, 2025

web-mapviewer    Run #5556

Run Properties:  status check passed Passed #5556  •  git commit 0b3abff6e4: PB-1866: Make delete drawing window easier to understand
Project web-mapviewer
Branch Review feat-PB-1866-make-delete-modal-easier-to-understand
Run status status check passed Passed #5556
Run duration 05m 12s
Commit git commit 0b3abff6e4: PB-1866: Make delete drawing window easier to understand
Committer Martin Künzi
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 260
View all changes introduced in this branch ↗︎

@ltkum ltkum force-pushed the feat-PB-1866-make-delete-modal-easier-to-understand branch from 310feb6 to b235342 Compare August 5, 2025 13:53
@ltkum ltkum requested a review from pakb August 5, 2025 13:55
@ltkum ltkum force-pushed the feat-PB-1866-make-delete-modal-easier-to-understand branch 2 times, most recently from 93e37a2 to 853a508 Compare August 5, 2025 15:17
@ltkum ltkum requested a review from pakb August 5, 2025 17:00
@ltkum ltkum force-pushed the feat-PB-1866-make-delete-modal-easier-to-understand branch from 853a508 to 2812dbe Compare August 5, 2025 18:38
Issue: When people click on the "delete" button in drawing, and confirm it by clicking 'OK', they realize afterwards that they decided to delete all their work and sometimes ask us to retrieve their lost data.

Fix: We are now more explicit about what we're deleting, and the modal message now clearly says "Delete Everything". We Also added the code that would allow us to add custom confirm / cancel messages and icons for every modal we use.
@ltkum ltkum force-pushed the feat-PB-1866-make-delete-modal-easier-to-understand branch from 2812dbe to 0b3abff Compare August 5, 2025 18:39
@ltkum ltkum requested a review from pakb August 5, 2025 18:40
@pakb pakb merged commit 3e5a290 into develop Aug 6, 2025
6 checks passed
@pakb pakb deleted the feat-PB-1866-make-delete-modal-easier-to-understand branch August 6, 2025 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants