visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
29 stars 3 forks source link

Disable "Browser back" when the add data set panel is open #1533

Open sosiology opened 1 month ago

sosiology commented 1 month ago

When adding a new chart from another data set, a panel to select another data set is shown. Image

If the user is using a trackpad to interact with the application, they may accidentally swipe right, and the browser goes back to the initial data preview screen, as a result they may loose their work.

Proposed Solution: Disable the browser back to avoid the user loosing their work accidentally by being redirected to the initial data set selection

https://github.com/visualize-admin/visualization-tool/assets/29289679/7663abfb-6056-42d9-8661-4c5b685d23ec