remove onpopstate stuff, and updated TODO with better way to deal with this

This commit is contained in:
2022-01-19 21:18:50 +11:00
parent f8cff5f73e
commit a2091f0194
3 changed files with 4 additions and 7 deletions

6
TODO
View File

@@ -1,8 +1,8 @@
## GENERAL
* going forward into search page (and probably all POSTs) does not work - no data posted (e.g. no search term)
- use replaceState in routes I know use POST and I need to keep data, try search first
https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate
- okay somehow (maybe cache-control?) is causing flask to handle this and gunicorn does not!
- seems we could make the /search url be /search/term and use a GET, this would make it not run into this issue
- OR, seems we can follow a different pattern... don't render_template instead do a redirect to a GET of the new, or list? for del...
* 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