Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-78113

Persist database draft in local storage

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Database
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      When switching to the page editor or to another page, Confluence does not trigger the beforeunload handler of our iframe, so no warning is shown if there are unsaved database changes. I have reported this here, but it is unlikely that Atlassian will do anything about it.

      As an alternative, we could persist the current database draft in the browser local storage. This would mean that when navigating away and back, the unsaved changes would still be there.

      The draft should probably be persisted for each location (macro instance (we should make sure that the macro ID stays constant when editing the page), database view, entry view, but not entry dialog) separately. Live synchronization would be needed in case the same location is opened in multiple tabs at the same time. Storing the draft only once per database would result in confusion when the database is shown as different views in different places and a save button would appear when an entry that is not part of the view was edited somewhere else.

              Unassigned Unassigned
              63e39617c0c9 jrivera2 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: