renamed pa_pref to better named pa_user_state, changed code to adapt and made new_view and viewlist work with newer Options/pa_user_state - still more work but it should be functional again
This commit is contained in:
12
TODO
12
TODO
@@ -1,12 +1,20 @@
|
||||
## GENERAL
|
||||
* for below.. make Options( request )
|
||||
- know that a view is a "path", dont rely on orig_url
|
||||
- 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
|
||||
-- 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
|
||||
|
||||
* going forward into search page (and probably all POSTs) does not work
|
||||
don't render_template instead do a redirect to a GET of the new, or list? for del...
|
||||
files.py:@app.route("/view/<id>", methods=["POST"])
|
||||
- first pass -- fails on storage in prod (view_eids was NONE, but prefs had content, odd... ALSO in dev, it did have a list but the img we were viewing was not in the list!
|
||||
files.py:@app.route("/viewlist", methods=["POST"])
|
||||
-- this will need a total rewrite for viewer to handle fullscreen across offset/size boundaries so fix that instead
|
||||
job.py:@app.route("/jobs", methods=["GET", "POST"])
|
||||
job.py:@app.route("/job/<id>", methods=["GET","POST"])
|
||||
-- these ned to store 'job prefs' somewhere...
|
||||
files.py:@app.route("/fix_dups", methods=["POST"])
|
||||
files.py:@app.route("/viewlist", methods=["POST"])
|
||||
-- this will need a total rewrite for viewer to handle fullscreen across offset/size boundaries so fix that instead
|
||||
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user