more thoughts on change over to json, etc

This commit is contained in:
2025-09-26 19:20:47 +10:00
parent efceef7e57
commit 0895268df2

5
TODO
View File

@@ -8,6 +8,7 @@
* client side always has query_id. IF DB does not have query_id, then its really old? - just say so... * client side always has query_id. IF DB does not have query_id, then its really old? - just say so...
* client side takes query_id, entry_lst, current_eid, offset, first/last_eid, etc. as part of its first route / html creation. * client side takes query_id, entry_lst, current_eid, offset, first/last_eid, etc. as part of its first route / html creation.
* get this data as a json blob? or ask chatgpt to see how best to take the data and turn it into jscript data
* it then decides based on all this to GetEntryDetails( subset of entry_lst ) <- needs new route * it then decides based on all this to GetEntryDetails( subset of entry_lst ) <- needs new route
* IN THEORY some of the subset of entry_lst don't exist -- BUT, we can handle that on response, e.g. say my query used to have 1,2,3, and since then another user/action deleted 2: * IN THEORY some of the subset of entry_lst don't exist -- BUT, we can handle that on response, e.g. say my query used to have 1,2,3, and since then another user/action deleted 2:
- I ask for details on 1,2,3 and get back details on 1,3 only. - I ask for details on 1,2,3 and get back details on 1,3 only.
@@ -21,6 +22,10 @@
- When job that flips, rotates, deletes completes then lets update the query details (e.g. remove eids, or remove the ammendments) - When job that flips, rotates, deletes completes then lets update the query details (e.g. remove eids, or remove the ammendments)
- this actually is quite an improvement, if someone is deleting 2 as per above, I will see that as a pending change in my unrelated query, ditto flips, etc. - this actually is quite an improvement, if someone is deleting 2 as per above, I will see that as a pending change in my unrelated query, ditto flips, etc.
* NEED to work through how we deal with directories when we do the json data versions above?
- e.g. does entry_list only contain files? OR filter the details in the jscript?
- how do we do dirs in this context? (when folders=True)
### GENERAL ### GENERAL
* jobs for AI should show path name * jobs for AI should show path name
* rm dups job should show progress bar * rm dups job should show progress bar