Updated todo file

This commit is contained in:
Veronica K. B. Olsen
2019-05-04 22:19:53 +02:00
parent fe4d2f4a85
commit a728a7c42e
+14 -12
View File
@@ -2,14 +2,6 @@
## High Priority
**Deleting Files and Folders**
Add a trash root folder that will hold deleted files. The trash folder will have a handle, and this becomes the new parent of the file. In addition, the nwItemType changes to type `TRASHFILE`. Other item settings are retained so that they can easily be restored.
Files in the trash folder can be permanently deleted, which means they must also be removed from the data folder and project XML. Potentially, these files can be moved to a `discarded` folder in the project directory. It is not necessarily a bad idea to never fully delete anything.
Deleting empty folders. This one is straight forward. These do not go to trash. Should probably allow for deleting non-empty folders as well by recursively moving the files to trash.
**File and Project Save**
Autosave is high priority. Both the currently open document and the project XML should be saved on a timer.
@@ -18,14 +10,14 @@ Also needed is a check that a file has been altered so the user doesn't open a n
## Medium Priority
**Deleting Files and Folders**
Files in the trash folder can be permanently deleted, which means they must also be removed from the data folder and project XML. Potentially, these files can be moved to a `discarded` folder in the project directory. It is not necessarily a bad idea to never fully delete anything.
**Multiple Views**
Vertical and horizontal split view is very useful. Maybe even as two editors, or one editor + one view. Dual editor panes is preferred, but it requires checking focus before applying key shortcuts. This should be straight forward by reading the Qt keyboard focus widget.
**Editor Enhancements**
Spell checking. Very important.
## Low Priority
**Side Panel**
@@ -39,3 +31,13 @@ A side panel with an overview of the project tags would also be useful. Probably
**Orphaned File Handling**
Handling of orphaned items. That is, files that are in the data directories, but not in the project XML. This can happen either due to bugs, a crash, or weird things happening to the file system. The orphaned items feature is an easy way to recover files lost from the project. Orphaned items have no meta data, so they are set to `NO_LAYOUT`, `NO_TYPE` and `NO_CLASS`.
**Editor Enhancements**
Spell checking has been implemented using pyenchant and included into the document editor adapted from example code.
**Deleting Files and Folders**
A trash root folder has bin added, which will hold deleted files. When delted, the trash folder's handle becomes the new parent of the file. Other item settings are retained so that they can easily be restored.
Deleting empty folders and root folders has been added. Deleting non-empty folders is currently not allowed, and may stay that way.