Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Update UI to show if there are unsaved changes. #76

Open
@Kangaroux

Description

@Kangaroux

📖 Overview

  • Save menu action should be enabled only when there are unsaved changes
  • The window title should include an asterisk to indicate if the project is unsaved

A project has unsaved changes if:

  1. The project is not yet saved to the disk.
  2. OR There are pending changes to the project.
  3. OR There are pending changes to any charts within the project.

A chart has unsaved changes if:

  1. The chart has not yet been saved to the disk.
  2. OR The chart's undo stack is non-empty
  3. AND The item at the top of the undo stack is not the same item since the last save

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis expands on or improves an existing feature⭐⭐ priorityA medium priority issue. Important, but not release blocking.📌 UIThis relates to the UI

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions