add design spec for quick fixes (issue #2, sub-project 3)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 14:02:46 +01:00
parent 8c368bd7c9
commit 609dc3a4ee

View File

@@ -0,0 +1,38 @@
# Quick Fixes (Issue #2, Sub-project 3)
## Goal
Three small UI corrections: rename nav tab, remove Antrag from bottom nav, fix step label voice/abbreviations.
## Changes
### 1. Rename nav tab
In `src/routes/__root.tsx`, change the last nav item label from "Mehr" to "Einstellungen". Keep the Settings icon.
### 2. Remove Antrag nav tab
Remove the Antrag `<Link>` from `src/routes/__root.tsx` bottom nav (4 items → 3: Fortschritt, Kontakte, Einstellungen). The `/antrag/` route stays — it's already linked from the `antrag_gestellt` step in the process stepper (`process-stepper.tsx:142`).
### 3. Update step labels
Update `PROZESS_SCHRITTE` in `src/shared/lib/constants.ts` to use active voice for titles (no abbreviations) and update button labels in `src/features/prozess/components/process-stepper.tsx` to done voice (abbreviations ok):
| Step | Title (active, no abbreviations) | Button (done, abbreviations ok) |
|------|--------------------------------|-------------------------------|
| neu | Erstgespräch durchführen | Erstgespräch durchgeführt |
| diagnose_erhalten | Diagnose erhalten | Diagnose erhalten |
| tss_beantragt | Terminservicestelle kontaktieren | TSS kontaktiert |
| eigensuche | Eigensuche durchführen | Eigensuche abgeschlossen |
| antrag_gestellt | Kostenerstattung beantragen | Kostenerstattung beantragt |
The TSS step description in constants.ts should also spell out "Terminservicestelle" instead of "TSS" in the title. The description body can still use "TSS" as a parenthetical.
Update `src/shared/lib/constants.test.ts` to match new labels.
## Files changed
- **Modify:** `src/routes/__root.tsx` — rename tab, remove Antrag link
- **Modify:** `src/shared/lib/constants.ts` — step labels + descriptions
- **Modify:** `src/features/prozess/components/process-stepper.tsx` — button labels
- **Modify:** `src/shared/lib/constants.test.ts` — update expected values