V4.11 Added tags + lots of little changes to the UI
Quality Gate / gate (push) Failing after 12s

This commit is contained in:
Jim Lancaster
2026-08-22 18:32:52 -05:00
parent 63c21d4a14
commit 0d554c0648
36 changed files with 932 additions and 116 deletions
+29 -22
View File
@@ -79,29 +79,36 @@ Small, low-risk structural-parity fixes across Person/Job/Document detail pages:
---
## V4.11 — Bigger UI Features
## V4.11 — Approved Scope
- **Tags** (supersedes "collections"): many-to-many tagging for documents,
reusing the Settings registry pattern (autocomplete against existing tags,
managed like Document Types/Person Roles). Since you want dedicated UI to
browse/filter by tag, include a tag-filter view (e.g. a "Tags" entry point
showing documents grouped/filterable by tag) as part of this version, not
deferred — that's the UI surface that makes tags actually replace collections
day-to-day, not just a data field.
- **UI theme selection**: kept simple, per your confirmation — 24 curated
themes (e.g. Archival/Sepia, Light, Dark, High-contrast), a single stored
preference, swapped via existing CSS variables/Tailwind tokens in
`theme.py`. No open-ended theme builder.
- **Edit Transcription sub-page**: source image + transcription text +
editable revision side-by-side, keeping the existing Save Revision/Reset
buttons. You noted the exact interaction/layout needs to be clarified when
this is scoped — treat this as a design-first item: confirm the two/three
column breakpoint behavior and what happens on narrow windows before
building.
- **Source detail page reflow** (move Candidate Machine Transcriptions to the
bottom of the image column; align Source Metadata's top edge with
Transcription Text): do this *after* the Edit Transcription sub-page above,
since that page will reuse/rearrange the same boxes — avoids reflowing twice.
- **Tags** (supersedes "collections"): many-to-many tagging for Documents with
Settings-style management (same pattern as Document Types and Person Roles),
autocomplete-capable assignment, and a dedicated **Tags** entry point for
browse/filter-by-tag workflows.
- **Source Detail simplification**: remove the separate **Transcription Text**
card; show Source image + Editable Revision + Source/SourceJob metadata in a
3-column top layout, then keep Candidate Machine Transcriptions below the
image/revision area.
- **Integrity reconciliation checks in tests**:
- document folder count under `UPLOAD_DIR/documents` must equal `document`
row count.
- source file count under each `UPLOAD_DIR/documents/{document_id}` folder
must equal `source` row count for that Document.
- failures should include actionable mismatch details (missing row/folder or
file/source mapping).
- **UI table updates**:
- Archival Documents: remove **Archive Ref**, add **# Sources**.
- Archival Entities: People: remove **Display Name** and **Maiden Name**
columns, add **FamilySearch ID**.
- Transcription Pipeline Jobs: add **# Sources**.
- **Create Processing Job page**: Provider and Model must be selectable for new
job creation.
Deferred out of this release:
- UI theme selection.
- Settings-based `.env` editing and runtime controls.
- Person table structural redesign (removing/splitting name fields).
---