-
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
State: Trigger autosave as standard save for draft by current user #7130
Commits on Jun 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 01520b4 - Browse repository at this point
Copy the full SHA 01520b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d817ec1 - Browse repository at this point
Copy the full SHA d817ec1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08afec7 - Browse repository at this point
Copy the full SHA 08afec7View commit details -
State: Distinguish save on effective autosave
Change detection reset for known-to-be-draft, pick from non-effective autosave for resetting post
Configuration menu - View commit details
-
Copy full SHA for da5d327 - Browse repository at this point
Copy the full SHA da5d327View commit details -
Testing: Ensure autosave is identified as autosave
Passed previously because when autosaving, class is assigned with _both_ `is-saving` and `is-autosaving`. The superset of classes is what what should be expected.
Configuration menu - View commit details
-
Copy full SHA for 8f82de8 - Browse repository at this point
Copy the full SHA 8f82de8View commit details -
Configuration menu - View commit details
-
Copy full SHA for df6f471 - Browse repository at this point
Copy the full SHA df6f471View commit details -
Preview: Enable published posts preview (#7189)
* REST API: Move preview_link to autosaves controller * Post Preview: Redirect to preview by autosave property availability * Preview Button: Use preview link as href if available * Preview Button: Move window bind to after write Was not reliably triggered when redirect occurs by setPreviewWindowLink, possibly because document.open triggered by document.write erased window handlers. * Preview Button: Always trigger autosave when dirty * Preview Button: Consider preview ready by change in value * State: Set default value for savePost options Allows use in handlers to assume options present * Store: Clarify preview link with query parameter * REST API: Set preview link by parent only if autosave * Store: Invalid autosave preview link on save intent Preview link is no longer valid until autosave completes, by which UI can infer availability of preview as being ready to view. * Testing: Add preview E2E tests * Testing: Fix copypasta * Preview: Use correct location property for URL comparison
Configuration menu - View commit details
-
Copy full SHA for 5e9e1ca - Browse repository at this point
Copy the full SHA 5e9e1caView commit details -
State: Partially pick saved fields for autosave
Must dirty artificially once save completes if there were edits not included in the payload.
Configuration menu - View commit details
-
Copy full SHA for 6fa254e - Browse repository at this point
Copy the full SHA 6fa254eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae15eca - Browse repository at this point
Copy the full SHA ae15ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f48e1a - Browse repository at this point
Copy the full SHA 9f48e1aView commit details -
Autosave: Remove redundant draft transition of reset autosave
Now reflected in committed updatePost edit of status to draft in save effect for auto-draft (by current user).
Configuration menu - View commit details
-
Copy full SHA for d974414 - Browse repository at this point
Copy the full SHA d974414View commit details