Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Cherry pick slow typing draft fixes to release-5.31 #8460

Merged
merged 5 commits into from
Jul 23, 2021

Conversation

jwilander
Copy link
Member

Summary

Cherry picks the following fixes for slow typing performance issue related to drafts:

Release Note

Improve typing performance in affected environments by reducing the frequency at which drafts are saved

…onds (#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
…lly 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
@jwilander jwilander changed the title Cherry-pick slow typing draft fixes to release-5.31 Cherry pick slow typing draft fixes to release-5.31 Jul 23, 2021
@jwilander jwilander merged commit c5af517 into release-5.31 Jul 23, 2021
@jwilander jwilander deleted the slow-typing-fix-5.31 branch July 23, 2021 18:30
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants