Skip to content

Untouched notes are reported as unsaved when switching #62

Closed

Description

@gnacho

Opening a note and immediately selecting another one shows the "Unsaved changes" dialog even though nothing was edited.

Environment:

  • ocnotes extension 0.1.7, deployed on drive.domatix.cloud
  • OpenCloud 9.1.0, rolling
  • Account: isolated Playwright test user

Steps:

  1. Open Notes.
  2. Wait for a note to load.
  3. Click another note without changing the title, content or category.

Actual: the "Unsaved changes" dialog appears and navigation is blocked.
Expected: the selected note changes immediately because no user edit exists.

Reproduced consistently in headless Chromium against production. The dirty check is in extension/src/components/NoteEditor.vue (isDirty and isDirtyNow), comparing the stored note content with the host text editor output. Root cause is under investigation before a fix is proposed.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions