added viewing recycle bin via folders, added comments, cleaned up TODO to note this is done

This commit is contained in:
2021-05-26 18:32:52 +10:00
parent 8dc98dd368
commit 9b926938e4
4 changed files with 75 additions and 28 deletions

20
TODO
View File

@@ -1,20 +1,13 @@
## GENERAL
* on start up, should validate the import/storage/recycle bin paths exist and spit an error if they dont
* dont process duplicates from Bin
* never process duplicates from Bin (allow them to be created on startup so they can be viewed?)
* issue where someone could call IP .../Imp/photos and SP .../Sto/photos and then static/photos is ambiguous:
-- DONE: make path prefix by static/<ptype.name>/ so that files are in: static/<ptype.name>/in_path.pp/dir.rel_path/
-- then deleting below would just path_prefix from static/storage to .pa_bin/storage, etc.
-- need to create the subdir if it does not exist in recycle_bin_path
*** THINK: should bin be a normal path/dir name, and in static too -- I think it will be easier in hindsight -- so need to change dst_dir when os.replace is used
-- need to be able to view recycle bin (should be simple when we have path_types) &&& should able to consolidate the files_ip/files_sp/files_rb? route handling functions
-- could also allow undelete per file / show content as another Files->View and more like storage (i.e. show folders)
* storage_path viewing needs to be by folder / not a big grab bag of files (by default - DONE)
-- BUG: issue with view by Day, etc. we print out day even if the Entry is not in the cwd
-- TODO: Need to toggle the view if I want, and when viewing storage area, change single-click to be view file again, and right-click to be my context menu
* * import_path can be folder view and is DONE but needs toggle as above
* need a way for search results to show we found something in import_path or storage_path:
- now we can use the in_path, then have a series of icons, e.g. disk for storage, ? for import, and bin for recycling (before the blue path)--maybe even show different colours, e.g. info for import, primary for storage and danger for bin?
- now we can use the in_path, then have a series of icons, e.g. disk for storage, ? for import, and bin for recycling
-- only show these on the thumbs *IF* we search (where it may not be obvious where it came from)
* handle thumbs:
- need to ignore *thumb* -- but consider how we do this and don't screw up 'dir/job counts'
and potentially other stuff like .pa_bin if its in storage/import folder?
@@ -22,6 +15,9 @@
* comment your code
* more OO goodness :)
## MAYBE?
* can we consolidate the files_ip/files_sp/files_rbp route handling functions???
* could also allow undelete per file / show content as another Files->View and more like storage (i.e. show folders)
## DB
Need to think about...
@@ -64,9 +60,6 @@
need to copy into here the jquery/fa files so we don't need internet to function
- for that matter run lightspeed against all this
file view should have show folders / flat as a choosable somehow
sorter...
need some way to multiselect images [DONE]
and then get them into a new "folder"
@@ -89,4 +82,3 @@
* exif processing?
* location stuff - test a new photo from my camera out
-- image is in dir, need to look at exifread output