Skip to content

fix(mongo): dirty document editor is discarded on breadcrumb Back #782

Description

@ZhuchkaTriplesix

Summary

MongoDocumentEditor tracks _dirty / _saving. Breadcrumb Back in MongoDocumentsView sets _editingDoc = null with no confirm. Same class of data loss as Table Browser Home/Close.

Scope

  • If _dirty, confirm before leaving the editor (Back, tree navigation, Home).
  • Align with UnsavedWorkRegistry if that is the app-wide pattern.

Out of scope

  • Table Browser discard gate (separate issue).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendTheme parser epic label: frontenduxUser experience, keyboard shortcuts and interactions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions