Files
transcription/docs/ui/pages/settings.md
T
2026-08-22 18:32:52 -05:00

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.md for editing and restore-from-backup.
  • Home Page Text edits the same Markdown content rendered on /homepage.

Acceptance Checklist

  • /ui/settings renders 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.py
  • src/transcription/ui/homepage_store.py
  • tests/ui/test_pages_registration.py