-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a more recent revision/autosave exists, store its state on editor setup #7945
Commits on Apr 16, 2019
-
Refactor autosave state into core-data
- Migrate state from core/editor to core - Adjust selectors and action creators to take a post id. - Store autosave state by the post id. - Deprecate old action creators and selectors and forward to new implementation - Update tests - Update changelog Add a resolver for fetching autosave data Preload any autosaves for the current post Improve isEditedPostAutosaveable selector deprecation Pass entire parent post object into autosave selector functions to allow the getAutosave resolver to form a REST API path that incorporates both the post id and type Use a selector to get the correct post type base url for the autosave Rename resetAutosave to receiveAutosave for conformity Render the post preview button as disabled until autosave has been fetched. Comments/test description tidy up Prefer `action` over `action creator` in copy Remove unecessary if statement Remove `autosave` prop overriding the prop of the same name in withDispatch Fix deprecated resetAutosave function Fix jsdoc formatting Remove new getAutosaveAttribute in favour of deprecating and removing old version Change autosave selector interface from func( post ) to func( postType, postId ) Store raw autosave from REST API in core, move transformation of autosave back to the core/editor package Remove and deprecate hasAutosave in favour of getAutosave Update docs Rename reducer autosave -> autosaves Fix erroneous changelog entry caused by bad merge conflict resolution Update deprecations Remove unnecessary new line Use createRegistrySelector to select autosave data from correct registry for deprecated functions Handle usage of registry selector in tests for isEditedPostAutosaveable
Configuration menu - View commit details
-
Copy full SHA for 4f34789 - Browse repository at this point
Copy the full SHA 4f34789View commit details -
Configuration menu - View commit details
-
Copy full SHA for f24491e - Browse repository at this point
Copy the full SHA f24491eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81a3d4f - Browse repository at this point
Copy the full SHA 81a3d4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c458fd - Browse repository at this point
Copy the full SHA 6c458fdView commit details -
Rework state for autosaves to reflect that multiple autosave can be r…
…eceived (one per user)
Configuration menu - View commit details
-
Copy full SHA for 32ff2bc - Browse repository at this point
Copy the full SHA 32ff2bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1392ee7 - Browse repository at this point
Copy the full SHA 1392ee7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 499a3cb - Browse repository at this point
Copy the full SHA 499a3cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc5d3d5 - Browse repository at this point
Copy the full SHA fc5d3d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5cc963 - Browse repository at this point
Copy the full SHA a5cc963View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3db52af - Browse repository at this point
Copy the full SHA 3db52afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0179088 - Browse repository at this point
Copy the full SHA 0179088View commit details -
Configuration menu - View commit details
-
Copy full SHA for b67a7c1 - Browse repository at this point
Copy the full SHA b67a7c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95dfdb2 - Browse repository at this point
Copy the full SHA 95dfdb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c599a - Browse repository at this point
Copy the full SHA d7c599aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5a47f5 - Browse repository at this point
Copy the full SHA f5a47f5View commit details -
Do not consider a post autosaveable if existing autosaves have not ye…
…t been fetched from the REST API
Configuration menu - View commit details
-
Copy full SHA for c523c23 - Browse repository at this point
Copy the full SHA c523c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac04601 - Browse repository at this point
Copy the full SHA ac04601View commit details -
Move changelog entries to unreleased section, and bump minor instead …
…of patch version
Configuration menu - View commit details
-
Copy full SHA for a046d29 - Browse repository at this point
Copy the full SHA a046d29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52cce02 - Browse repository at this point
Copy the full SHA 52cce02View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa0c408 - Browse repository at this point
Copy the full SHA aa0c408View commit details -
Use REDUCER_KEY as arg to select
Co-Authored-By: talldan <daniel.p.richards@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e16f74c - Browse repository at this point
Copy the full SHA e16f74cView commit details
Commits on Apr 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1e5a4b7 - Browse repository at this point
Copy the full SHA 1e5a4b7View commit details