Skip to content

Discard should clear pending edits immediately #22

Closed

Description

@gnacho

When the unsaved-changes dialog is shown because the user asked for a new note, choosing Discard does not clear the pending edits: they stay in the editor until the new note is actually created. If the user then cancels the new-note dialog, the edits are still there (unsaved).

Discard should clear the pending edits immediately, matching the behaviour of the switch-note path, where the editor resets because the active note changes.

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