drodil / backstage-plugin-qeta

Backstage.io plugin for Q&A
https://www.npmjs.com/package/@drodil/backstage-plugin-qeta
MIT License
81 stars 25 forks source link

Users should be warned if they try to navigate away from before saving their entry #175

Open RomanSaveljev opened 1 month ago

RomanSaveljev commented 1 month ago

I think nowadays many websites adopted a practice of notifying a user about data loss, if they try to navigate away before saving/submitting their form. I could accidentally hit "go back" shortcut or reload the page and lose my entry.

Q&A does not implement this and it could leave some people unsatisfied with the UX (because they got used to this feature). Please consider if it should be added to the Q&A plugin.

FYI @drodil

Teemukoivumaa commented 2 weeks ago

Working on implementing this now