PaddyandClaude Opus 5.5 61e0393f01
Test and deploy / test (pull_request) Successful in 2m18s
Test and deploy / deploy (pull_request) Skipped
Support the read-only calendar role, show "Vorstand", fix link buttons
- Read-only role: /admin/me's permissions decide via canEditCalendar
  (lib/permissions.ts, mirrors the API's canWrite: only `access` writes).
  Read-only accounts see everything but get no "Neuer Termin", no "+", no
  "Veröffentlichen"; an event opens as "Termin ansehen" with locked fields.
  A "Nur lesen" badge in the header explains why. The API refuses their
  writes regardless.
- The management calendar is labelled "Vorstand"; the slug stays
  `management` for the API, URLs and iCal links.
- The subscription dialog's Apple/Google links are plain anchors styled with
  buttonVariants instead of Base UI Buttons rendering an <a>, which warned in
  dev and would have given them role="button".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:15:31 +01:00

Nachklang Calendar

Event calendar for Nachklang e.V.: a public landing page for subscribing to the calendar, and an admin area (/admin) for editing events in all calendars.

Next.js (App Router) + TypeScript + Tailwind + shadcn, the same stack as nachklang-feedback. Rewritten from Angular in September 2026 (docs/rewrite-plan.md).

Documentation: architecture · features · gotchas · deployment · API wish list

Development

cp .env.local.example .env.local   # then adjust if needed
npm install
npm run dev                        # http://localhost:4200

Port 4200 is not arbitrary: it is the port the API's better-auth origins and the admin app's redirect allow-list trust. Another port breaks sign-out and the return redirect after sign-in.

The admin area needs the API (:3000) and the admin app (:3002) running locally.

Other scripts

npm run build   # production build (output: standalone; see docs/deployment.md)
npm run lint
npm test        # Vitest, pure logic in lib/
S
Description
No description provided
Readme
1.2 MiB
0 Stars 2 Watchers 0 Forks
Languages
TypeScript 97.2%
CSS 2.6%
JavaScript 0.2%