lots more thoughts on recycle bin needs
This commit is contained in:
16
TODO
16
TODO
@@ -1,19 +1,25 @@
|
||||
## GENERAL
|
||||
* need a path_details_dir_link table (path_details -> type 'import/storage/recycle'
|
||||
- need to make some FILE/DIR, etc. funcs into OO (hide all use of path_prefix, then we can do the below)
|
||||
- need to make some FILE/DIR, etc. funcs into OO
|
||||
-- is there more to do here? (should probably see how often I reference fields of FILE/DIR, etc. directly, and get rid of them in most instances)
|
||||
- stop fudging the path in DIR (to add static), and just add 'static/' + path_details_dir.prefix + dir.rel_path
|
||||
- path has overall file count, so we dont fudge the file count for parent dir in the import, etc.
|
||||
-- do we even need/care about per Dir counts? (I dont think so)
|
||||
-- this might be done, but re-consider the idea that 'static' is hard-coded? -- as long as it is in 1 spot
|
||||
-- because, I want to change the recycle bin to be .pa_bin/IMPORT/xxxx and .pa_bin/STORAGE/xxxx (to address the potential issue where import_path is /xxx/photos, and storage_path is /yyy/photos....
|
||||
??? is this possible to cause issues in other spots, like de-dup trim path... in fact, probably need to revisit TrimPath anyway!
|
||||
- ignore *thumb* -- but consider how we do this and don't screw up 'dir/job counts'
|
||||
and other stuff like .pa_bin if its in storage/import folder?
|
||||
* storage_path viewing needs to be by folder / not a big grab bag of files (by default)
|
||||
-- mostly done. 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
|
||||
-> could this also be a small symbol near the icons mentioned below (disk/?/bin)?
|
||||
* doing actual file deletes needed again [DONE]
|
||||
- decided a recycle bin would be good [DONE]
|
||||
- when we put files in recycle bin, they need to stay in the DB and just have their root/base path moved (so they can be view as per above/below)
|
||||
- when we put files in recycle bin, they need to stay in the DB and just have their root/base path moved (so they can be view as per above/below) <--- TO BE DONE
|
||||
AND 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)
|
||||
* AddJobForLog can absorb DEBUGs, etc. in fact fix up logging in general
|
||||
* comment your code
|
||||
* need a way for page to show we are in import_path or storage_path
|
||||
* need a way for page to show we are in import_path or storage_path:
|
||||
- now we can use the in_path (which needs a type !!!), 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?
|
||||
|
||||
## DB
|
||||
Need to think about...
|
||||
|
||||
Reference in New Issue
Block a user