oppia / oppia

A free, online learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
5.63k stars 3.78k forks source link

[Feature Request]: Discard button should be disabled until auto save is in progress in exploration editor. #20230

Closed rahat2134 closed 6 days ago

rahat2134 commented 2 weeks ago

Is your feature request related to a problem? Please describe.

When we input anything in the exploration editor, it takes some time to autosave. Occasionally, it might take longer, and if the user discards the changes before they are saved, conflicts can arise.

Describe the solution (or solutions) you'd like

I suppose disabling the discard button until autosave is in progress. This will prevent users from accidentally discarding their changes before they have been saved.

Describe alternatives you've considered and rejected

No response

Additional context

No response

dhananjay0610 commented 2 weeks ago

hI @rahat2134 can I try this?

rahat2134 commented 2 weeks ago

Hii @dhananjay0610 It is already assigned and already a PR is raised.Please consider choosing another good first issue.

dhananjay0610 commented 2 weeks ago

ok