generated from john/python-template
1.0 KiB
1.0 KiB
Settings Page Contract
Purpose
Settings manages installation-local registries and editable text assets from one route.
Route
| Route | Purpose |
|---|---|
/settings |
Manage Document Types, Person Roles, Tags, Prompts, and Home Page Text. |
Behavior
- The page title is Settings.
- Configuration surfaces are grouped as tabs:
- Document Types
- Person Roles
- Tags
- Prompts
- Home Page Text
- Document Types, Person Roles, and Tags support Add/Edit/Delete with existing guardrails.
- Prompts exposes only
transcribe_document.mdfor editing and restore-from-backup. - Home Page Text edits the same Markdown content rendered on
/homepage.
Acceptance Checklist
/ui/settingsrenders all five tabs.- Registry and prompt workflows keep existing validation and error handling.
- Saving Home Page Text persists content for the homepage view.
Implementation Anchors
src/transcription/ui/pages/settings_page.pysrc/transcription/ui/homepage_store.pytests/ui/test_pages_registration.py