delete & restore files now clean up UI and dont reload page by default. For all moves/deletes/restores that start on a search view, they now reload the page instead of just cleaning up the UI as searching by name will cause the UI to need complex redrawing, easier to live with the reload for now

This commit is contained in:
2023-01-15 13:32:25 +11:00
parent cc9e827474
commit f1c43906ab
3 changed files with 17 additions and 13 deletions

6
TODO
View File

@@ -1,14 +1,12 @@
### GENERAL
* delete files should behave like /move_files (stay on same page) as well as the status messages above
* all routes should be consistent naming conventions (with or without _ )
* change the rotation code to use that jpeg util to reduce/remove compression loss?
* get build process to create a random string for secret for PROD, otherwise use builtin for dev
* think about security - in job_mgr anywhere I can os.replace/remove NEED to protect, etc
* change the rotation code to use that jpeg util to reduce/remove compression loss?
* read this: https://flask.palletsprojects.com/en/2.2.x/testing/#faking-resources-and-context
* could get better AI optim, by keeping track of just new files since scan (even if we did this from the DB),