From 0f44af4ec385ae07aef267cd0116a50e0a1a62fa Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 23 Jan 2022 14:41:54 +1100 Subject: [PATCH] clean up of unneeded viewing hidden vars, now we retrieve data from pa_user_state --- TODO | 18 +++++------------- templates/viewer.html | 6 ------ 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/TODO b/TODO index 5008dc7..d522d95 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,4 @@ ## GENERAL - * for below.. make Options( request ) - - remove all "Options()" that are not set by a user-choice in the F/E and just make sure new "Options" sets all defaults as needed - - some done, just finish it - * fix BUG-81 * browser back/forward buttons dont work -- use POST -> redirect to GET @@ -11,20 +7,20 @@ -- these need to store 'job prefs' somewhere... (extras?) files.py:@app.route("/fix_dups", methods=["POST"]) ??? + * viewlist can work out new view_eids server side, and pass them back as json data (fixes loss of fullscreen & back/fwd issues) + - can consider an optim-- new_view page makes calls to viewlist to ADD json data only, so only trigger a new "viewlist" if we dont have data for that part of the eids - * refimg locns can lose an array idx of 0 always. + * per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach? * delete / rescan in dev, needs to delete faces, frl, ffl, ... + * refimg locns can lose an array idx of 0 always. + * search allow noo? * optim to not run_ai_on_* for scan, needs to make sure last run_ai_on actually ran/worked - might have failed (or in my case was marked stale and I cancelled it) -- also the case for get file details though, need to make sure last one was completed - * viewlist can work out new view_eids server side, and pass them back as json data - - can consider an optim-- new_view page makes calls to viewlist to ADD json data only, so only trigger a new "viewlist" if we dont have data for that part of the eids - - * per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach? * [DONE] order/ find face with largest size and at least show that as unmatched - could also try to check it vs. other faces, if it matches more than say 10? we offer it up as a required ref img, then cut that face (with margin) out and use it is a new ref image / person * on viewer: allow face to be used to create person, add to existing person, and allow 'ignore', mark as 'not a face', etc. -> all into DB @@ -38,10 +34,6 @@ * allow joblog search - * in Fullscreen mode and next/prev dropped out of FS when calling /viewlist route - -- only way to fix this, is for when we POST to viewlist, it returns json, and we never leave /view/X - -- then we can stay on-page, and stay in FS and then just call ViewImageOrVide() - GUI overhaul? * on a phone, the files.html page header is a mess "Oldest.." line is too large to fit on 1 line (make it a hamburger?) - searched for text overlaps buttons above and below diff --git a/templates/viewer.html b/templates/viewer.html index d292122..59e4473 100644 --- a/templates/viewer.html +++ b/templates/viewer.html @@ -77,14 +77,8 @@ { s='
' s+='' - s+='' s+='' s+='' - s+='' - s+='' - s+='' - s+='' - s+='' s+='' s+='' s+=''