clean up of states, to support multiple searches/views, and this will at least work for back/forward in prod - I believe. Still needs defaults from prefs, AND, remove unneeded variables from template/* and set those default values based on prefs
This commit is contained in:
3
TODO
3
TODO
@@ -1,6 +1,8 @@
|
||||
## 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
|
||||
-- ALSO, preferences are different to app settings... allow prefs from "ddp" menu
|
||||
-> it should allow default pagesize, default thumbsize, etc.
|
||||
-- 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
|
||||
|
||||
@@ -8,6 +10,7 @@
|
||||
don't render_template instead do a redirect to a GET of the new, or list? for del...
|
||||
* need to catch "option changes" as POSTs to make them GETs somehow...
|
||||
(search, files_ip POST change trigger issue)
|
||||
-- I think it is the same URL being used issue? -- validate this in PROD only I think
|
||||
|
||||
[DONE] files.py:@app.route("/view/<id>", methods=["POST"])
|
||||
files.py:@app.route("/viewlist", methods=["POST"])
|
||||
|
||||
Reference in New Issue
Block a user