From 67cd66e054d0bc7f7484e9d81ed776980f554833 Mon Sep 17 00:00:00 2001 From: m Date: Sat, 18 Apr 2026 09:14:43 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20audit=20quick=20wins=20=E2=80=94=20impor?= =?UTF-8?q?tant=20+=20polish=20batch=20(t-paliad-017)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- README.md | 7 +- frontend/src/akten-detail.tsx | 11 ---- frontend/src/client/akten-detail.ts | 4 +- frontend/src/client/fristen-kalender.ts | 9 +++ frontend/src/client/i18n.ts | 38 ++++++----- frontend/src/client/termine-kalender.ts | 9 +++ frontend/src/components/Footer.tsx | 2 +- frontend/src/dashboard.tsx | 4 +- frontend/src/fristen-kalender.tsx | 4 ++ frontend/src/glossar.tsx | 2 + frontend/src/index.tsx | 14 ++-- frontend/src/termine-kalender.tsx | 4 ++ internal/handlers/gerichte.go | 86 ++++++++++++------------- internal/handlers/glossar.go | 15 +++++ internal/handlers/links.go | 17 ----- 15 files changed, 124 insertions(+), 102 deletions(-) diff --git a/README.md b/README.md index 8a104af..1ab8eb6 100644 --- a/README.md +++ b/README.md @@ -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_.up.sql -internal/db/migrations/014_.down.sql +internal/db/migrations/015_.up.sql +internal/db/migrations/015_.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 A–G 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 A–G, 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. diff --git a/frontend/src/akten-detail.tsx b/frontend/src/akten-detail.tsx index ace693a..8740253 100644 --- a/frontend/src/akten-detail.tsx +++ b/frontend/src/akten-detail.tsx @@ -57,7 +57,6 @@ export function renderAktenDetail(): string { Parteien Fristen Termine - Dokumente Notizen Checklisten @@ -212,16 +211,6 @@ export function renderAktenDetail(): string {

- {/* Dokumente — Phase H placeholder */} - - {/* Notizen — Phase I */}