V2 (new) sStep 4 complete. (untested, unreviewed, cross my fingers)

This commit is contained in:
Jim Lancaster
2026-08-01 18:28:00 -05:00
parent 51ac2d0b98
commit dfe6f121ff
8 changed files with 175 additions and 11 deletions
+7
View File
@@ -42,6 +42,13 @@ Use a fresh database. There will be no migrations, data conversion, legacy compa
- Test both service-owned sessions and caller-provided sessions so flush/commit behavior remains correct.
- Run the focused database and service tests, then the full suite with `uv run pytest`.
### 4. Update the UI for the V2 schema
- Review the UI components and views that display document, job, person, and source data so they reference the V2 schema instead of V1 relationships.
- Update upload, detail, and listing screens to show the new person and source associations, revised-source fields, and the revised status values.
- Keep the UI behavior aligned with the updated service layer and ensure the existing UI tests continue to pass with the V2 data model.
- Consider the guidance in `docs/ui_style_guide.md` when making UI changes so the updated views remain consistent with the projects visual and interaction conventions.
## Done When
- A fresh database is created directly from the V2 SQLModel metadata.