issues
search
OpenChartProject
/
OpenChart
✨ NEW REPO ✨ https://github.com/OpenChartProject/OpenChart-web
https://github.com/OpenChartProject/OpenChart-web
Other
8
stars
3
forks
source link
Update UI to show if there are unsaved changes.
#76
Open
Kangaroux
opened
4 years ago
Kangaroux
commented
4 years ago
📖 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:
The project is not yet saved to the disk.
OR
There are pending changes to the project.
OR
There are pending changes to any charts within the project.
A chart has unsaved changes if:
The chart has not yet been saved to the disk.
OR
The chart's undo stack is non-empty
AND
The item at the top of the undo stack is not the same item since the last save
📖 Overview
A project has unsaved changes if:
A chart has unsaved changes if: