From e07a4fda1cf97c05992ace007e98d3721db7f956 Mon Sep 17 00:00:00 2001 From: HotSwapp <47397945+HotSwapp@users.noreply.github.com> Date: Tue, 7 Oct 2025 17:00:54 -0500 Subject: [PATCH] Answer-table pattern: add reusable macros, integrate with Rolodex; bulk actions retained. Field prompts/help: generic focus-based help in forms (case, rolodex); add JS support. Rebuild Docker. --- TODO-Legacy.md | 6 +- app/__pycache__/main.cpython-313.pyc | Bin 108690 -> 108690 bytes app/templates/case.html | 11 +- .../partials/answer_table_macros.html | 96 +++++++++++ app/templates/rolodex.html | 157 ++++++------------ app/templates/rolodex_edit.html | 15 +- static/js/custom.js | 33 ++++ 7 files changed, 201 insertions(+), 117 deletions(-) create mode 100644 app/templates/partials/answer_table_macros.html diff --git a/TODO-Legacy.md b/TODO-Legacy.md index e05693b..111bdb3 100644 --- a/TODO-Legacy.md +++ b/TODO-Legacy.md @@ -9,10 +9,10 @@ Purpose: Track features and workflows from legacy Paradox (.SC) scripts to port - [x] CSV import: one-time and repeatable import from legacy CSVs - Example: Import `old-database/Office/FILES.csv` into `files` table; validate required fields and normalize dates; log row count and any rejects. -- [ ] Answer table pattern for query results +- [x] Answer table pattern for query results - Example: After searching `Rolodex`, show a paginated results view with bulk actions (reports, document assembly, return to full dataset). -- [ ] Field prompts/help (tooltips or side panel) +- [x] Field prompts/help (tooltips or side panel) - Example: When focusing `Files.File_Type`, show: "F1 to select area of law" as inline help text. - [ ] Structured logging/audit trail @@ -94,7 +94,7 @@ Purpose: Track features and workflows from legacy Paradox (.SC) scripts to port ### Plan Info - [ ] CRUD for plan catalog - - Example: Add a plan with `Plan_Id = \"ABC-123\"`, `Plan_Type = DB`, and memo details; searchable in Pensions and QDRO. + - Example: Add a plan with `Plan_Id = "ABC-123"`, `Plan_Type = DB`, and memo details; searchable in Pensions and QDRO. ### Pensions (annuity evaluator) - [ ] Life Expectancy Method (uses `LifeTabl`) diff --git a/app/__pycache__/main.cpython-313.pyc b/app/__pycache__/main.cpython-313.pyc index 748beca1865449b2a1c6afac8a010dfec8c84484..64d47aba8ab2b8ed8ad3ca813646b988d385ed69 100644 GIT binary patch delta 24 ecmbPqk!{jNHm=XSyj%=GFt?$RYbzIH#|i*reFuyH delta 24 ecmbPqk!{jNHm=XSyj%=G@V~y1YbzIH#|i*u=LhWo diff --git a/app/templates/case.html b/app/templates/case.html index 7d65444..a142655 100644 --- a/app/templates/case.html +++ b/app/templates/case.html @@ -133,11 +133,12 @@ Case {{ case.file_no if case else '' }} · Delphi Database