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

Fix#20230: Disable the discard button until Autosave is in progress. #20231

Closed rahat2134 closed 6 days ago

rahat2134 commented 2 weeks ago

Overview

  1. This PR fixes or fixes part of #20230 .
  2. This PR does the following:Disable the discard button until Autosave is in progress.Once Autosave is complete, the discard button will be reactivated for use.

    Essential Checklist

Please follow the instructions for making a code change.

Proof that changes are correct

for desktop.webm

Proof of changes on mobile phone

mobile.webm

PR Pointers

oppiabot[bot] commented 2 weeks ago

Hi @rahat2134 please assign the required reviewer(s) for this PR. Thanks!

rahat2134 commented 2 weeks ago

@Nik-09 PTAL,, #20203 is blocked due to this PR.

oppiabot[bot] commented 2 weeks ago

Unassigning @rahat2134 since a re-review was requested. @rahat2134, please make sure you have addressed all review comments. Thanks!

rahat2134 commented 1 week ago

@Nik-09 PTAL, Have done requested changes.