OpenTreeOfLife / feedback

No code -- just an issue tracker for general feedback (sent here via GitHub's issues API)
1 stars 0 forks source link

Provide modern alternative to Javascript `alert` and`confirm` popups #523

Open jimallman opened 3 years ago

jimallman commented 3 years ago

Reported by @snacktavish. In recent Chrome browsers, the user can suppress these JS popups, which is handy since they can be misused. Unfortunately, this can prevent a curator from (e.g.) deleting trees from a collection or any other operation that usually requires confirmation.

Here's some discussion on why these popups are now discouraged, and a JS polyfill that should provide equivalent functionality vis the proposed dialog element. I (@jimallman) will look at incorporating this in place of our existing calls to alert and confirm.