This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry pick slow typing draft fixes to release-5.31 (#8460)
* [MM-37048] Do not save drafts until typing has stopped for X milliseconds (#8396) * Do not save drafts until typing has stopped for X milliseconds * Fix comment box relying on draft stored in redux * Fix tests * Fix another test * MM-37048 Temporarily store drafts in localStorage and rehydrate manually to fix persistence issues (#8411) * Temporarily store drafts in localStorage and rehydrate manually to fix persistence issues * Fix console error on reload immediately after typing * Null out saveDraftFrame to prevent potential double saves * Fix draft removal on create_comment and unload in create_post (#8428) * Fix style * Fix test
- Loading branch information
Showing
8 changed files
with
144 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.