1
0
Fork 0
Commit Graph

15 Commits

Author SHA1 Message Date
Jonny ab31b5121c docs: add Auftrag-Ersteller-anzeigen design spec 2026-08-19 10:00:06 +02:00
Jonny df79d9324e docs: correct plan/spec after discovering DB trigger also enforces mandatory photos
Task 2's implementer found that check_auftrag_status_transition() independently
blocks the zugewiesen->unterwegs transition below 8 photos, duplicating the
app-level check removed in Task 1. Insert a new Task 2 (migration + pgTAP test
update) and correct the "no schema change" claims accordingly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCHRPWuV3bd37NJhW2NK6P
2026-08-18 16:00:14 +02:00
Jonny 6780ef32b8 docs: add Fahrtbeginn-Fotos-optional design spec 2026-08-18 14:43:38 +02:00
Jonny 61a306a121 docs: add Auftrag-Foto-Galerie design spec 2026-08-18 12:02:36 +02:00
Jonny 3885fa5bea docs: add Nutzerverwaltung-Tabelle design spec 2026-08-17 16:41:10 +02:00
Jonny b15f36e528 docs: add Standorte/Fahrzeuge-Tabellen design spec 2026-08-17 14:37:34 +02:00
Jonny 6b4e53d46f docs: add Login-per-Benutzername design spec 2026-07-15 22:46:16 +02:00
Jonny cffd576451 docs: add Nutzerverwaltung design spec
Admin kann Nutzer anlegen, Rollen aendern und ueber die Supabase Admin
API sperren/entsperren -- RLS ist hier bewusst nicht die Grenze, die
Server-Action-Rollenpruefung ist es.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-14 18:35:24 +02:00
Jonny 50b511fe9c docs: add Zeiterfassung design spec
Kommen/Gehen-Modul mit Pausenpauschale nach §4 ArbZG, Auswertung und
Korrekturmoeglichkeit durch Disponent/Admin.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-13 15:39:01 +02:00
Jonny 1d148e0db0 docs: add Kanban-Dashboard design spec
Replaces the Dashboard placeholder with an interactive Kanban board
(drag-and-drop via @dnd-kit/core, touch-capable per the mobile-first
requirement). Reuses existing RLS-driven visibility and the
uebernehmen()/stornieren() actions; adds one new server action
(zuweisenAnFahrer) for Disponent/Admin assigning orders to a specific
Fahrer, a gap that existed since the original Auftragsverwaltung scope.
2026-07-07 15:18:50 +02:00
Jonny 1c9be22df2 docs: add Stammdaten (Orte/Fahrzeuge) design spec
Closes a gap found during the first live design-system test: no UI
existed to create new Abholorte/Zielorte/Fahrzeuge (only dropdowns of
existing entries). No schema change needed - RLS already supports
admin/disponent insert/update on orte/fahrzeuge. Covers a new
/stammdaten management page (list+create+edit) plus an inline
quick-add on the Auftrag-anlegen form.
2026-07-06 19:07:14 +02:00
Jonny 7f1df79b41 docs: add design-system spec (mobile-first, Widmann-Branding)
Brand tokens (colors, Inter font) extracted directly from widmannbewegt.de's
production CSS; logo SVG saved for later use. Covers layout/nav, reusable
UI primitives, and page-by-page application as a pure presentation-layer
sub-project on top of the existing Fundament and Auftragsverwaltung features.
2026-07-06 09:42:06 +02:00
Jonny e9c9c36448 docs: add design spec for Auftragsverwaltung sub-project
Covers the full order lifecycle (create, assign, driver pickup with
km/photos, dropoff, vehicle chaining) building on the auth/roles
foundation, scoped separately from Kanban board, routing, and full
time tracking per CLAUDE.md's independent feature list.
2026-07-05 10:36:08 +02:00
Jonny bf7af326f4 docs: add root setup README and fix stale auth.user_role() reference
There was no end-to-end runbook for getting from a fresh clone to a
running dev environment -- the sequence was scattered across script
comments and .env.example. Add a root README.md covering secrets
generation, template rendering, docker compose up, migrations, first
admin user creation, and the non-Docker web/ dev alternative, plus a
heads-up that the admin@aushilfsfahrer.local test password was reset
out-of-band during implementation and isn't recorded anywhere.

Replace web/README.md's untouched create-next-app boilerplate (which
mentioned yarn/pnpm/bun and "Deploy on Vercel") with a one-line pointer
to the root README, since it was actively misleading for this
self-hosted Docker project.

Also fix the design spec still naming the helper auth.user_role() --
it was renamed to public.user_role() during Task 3 due to the
auth-schema lockdown; the migrations and plan already reflect this.
2026-07-05 00:45:39 +02:00
Jonny 0643bef299 chore: initial commit - requirements and foundation design spec
Sets up Aushilfsfahrer as its own repository with the project
requirements (CLAUDE.md) and the design spec for the foundation
subproject (auth, roles, infra).
2026-07-04 10:27:07 +02:00