kompassi icon indicating copy to clipboard operation
kompassi copied to clipboard

Figure out how to give better feedback on Next.js server forms when we do not navigate after submit

Open japsu opened this issue 1 year ago • 1 comments

Single response view, dimensions form: The form autosubmits unless JavaScript is disabled. There could be some message stating changes have been saved.

Survey editor view, survey / language version settings forms: There is a SubmitButton. We stay in the same view after saving.

japsu avatar Jan 21 '24 15:01 japsu

Material Design uses snackbars https://m3.material.io/components/snackbar/guidelines which can be done with https://getbootstrap.com/docs/5.3/components/toasts/

Could also be spinner next to element while data is being saved (but at least one second) https://getbootstrap.com/docs/5.3/components/spinners/

Aketzu avatar Jan 28 '24 10:01 Aketzu