Skip to content

Resolve "Provide optional title and description before submitting edits made with the Static Site Editor"

Derek Knox requested to merge 216861-autosave into master

What does this MR do?

It:

  1. Preserves the MR title and description in localStorage in the static site editor if the modal is accidentally or intentionally closed
  2. Initializes w/the localStorage cache upon full page refresh or modal reopen during same session
  3. Preselects the title input for one-click UX savings
  4. Adds a "Keep editing" cancel button as per the latest design
  5. Removes the corresponding localStorage key upon Submit changes

Screenshots

sse-autosave

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #216861 (closed)

Edited by Derek Knox

Merge request reports