From 48ca6c5e642a001c94c45cf87f9f5e4cea30a085 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Tue, 19 Aug 2025 20:11:54 +1000 Subject: [PATCH] new todos --- TODO | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/TODO b/TODO index 798243b..d2a53c6 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,13 @@ ### GENERAL + * recent jobs is slow, think its this 'sql': + jobs = Job.query.filter( Job.last_update >= (func.now() - func.cast(concat(settings.job_archive_age, 'DAYS'), INTERVAL)) ).order_by(Job.id.desc()).all() + I'm guessing remove the funcs and make the sql just grab last 50 or something simpler + + * add a reference image from existing image, or even "replace? ref image with this one" <- new menu option + - started on this in both jscript and python + -- believe I should definitively add person id to jscript (so thats in files) + -- then pass that through the context menut to the route and update the DB + * rm dups job should show progress bar * in viewer, there is no move button (maybe add one?) * consider doing duplicates before AI, and if there are say 100s+, then maybe pause the AI work