fix: audit quick wins — important + polish batch (t-paliad-017)

Items from docs/improvement-audit.md §2 + §3:

I-1  Hide Dokumente tab entirely from Akten detail (Phase H deferred);
     drop placeholder TSX panel, VALID_TABS entry, and orphaned
     akten.detail.soon.* i18n keys.
I-2  Add data-i18n keys for all 7 office labels on the landing page.
     EN mode now correctly renders "Milan" (was "Mailand").
I-3  Unify UPC URLs in Gerichtsverzeichnis to the canonical hyphenated
     form (unified-patent-court.org) matching links.go — 43 occurrences.
I-6  Add SEP/FRAND glossary category with 13 entries (FRAND, SEP,
     Standard-essentielles Patent, Patentpool, Anti-Suit, Anti-Anti-Suit,
     Injunction Gap, Orange-Book-Standard, Huawei/ZTE, RAND, ETSI IPR,
     Patent-Hold-up, Patent-Hold-out) + filter pill + suggest-modal option.
I-7  Refresh README: list migration 014 (checklist_instances), mark
     Phase I (Notizen) and Phase J (docs) shipped.
P-1  Remove HL Intern stub links (URL "#") and the now-empty "hl" category.
P-2  Dashboard heading: "Meine Mandate" → "Meine Akten" (matches CLAUDE.md
     naming convention). Onboarding hint updated likewise.
P-4  Drop "Hogan Lovells Patent Practice" from the footer — Paliad is the
     firm-agnostic brand.
P-5  Empty-state text on Fristen- and Termine-Kalender when the viewed
     month has no items.

Verified: bun run build clean, go build / vet / test ./... clean.
This commit is contained in:
m
2026-04-18 09:14:43 +02:00
parent a7df6eb977
commit 67cd66e054
15 changed files with 124 additions and 102 deletions

View File

@@ -40,13 +40,14 @@ Current migrations (as of April 2026):
011_feedback_tables link_suggestions, checklisten_feedback, gerichte_feedback
012_fristenrechner_rules DB-backed rule set for /tools/fristenrechner
013_user_caldav_config per-user CalDAV (encrypted) + sync log
014_checklist_instances persisted checklist instances linkable to Akten
```
Add a new migration:
```
internal/db/migrations/014_<description>.up.sql
internal/db/migrations/014_<description>.down.sql
internal/db/migrations/015_<description>.up.sql
internal/db/migrations/015_<description>.down.sql
```
The down file is required and must reverse the up cleanly (verified by adding a one-off down test before merge).
@@ -104,6 +105,6 @@ Push to `main` → Gitea webhook → Dokploy auto-deploy on mlake.
## Project status (April 2026)
Phases AG of the KanzlAI integration are shipped (schema, services, Akten, Fristen, Termine + CalDAV, Dashboard). Phase H (AI Frist extraction) is **deferred** pending a reversal of the "no Anthropic API" decision. Phase I (Notizen service + UI) pending — the polymorphic schema exists (`paliad.notizen`) but the service and UI aren't built yet.
Phases AG, I and J of the KanzlAI integration are shipped: schema, services, Akten, Fristen, Termine + CalDAV, Dashboard, Notizen service + UI (commit `5a9f8e5`, 2026-04-17), and instanceable Checklisten (migration 014). Phase H (AI Frist extraction) is **deferred** pending a reversal of the "no Anthropic API" decision; the Dokumente tab on Akten detail is hidden until that lands. KanzlAI infra retirement (Dokploy shutdown, `kanzlai` schema drop, Gitea archive) is still pending.
See `docs/feature-roadmap.md` for the full backlog and `docs/design-kanzlai-integration.md` for the integration design.