hellth-hub/packages/api/src
Sebastian Mayer af66d49f2c Feature: Fremdprofil-Seite /profil/[handle] + klickbare Usernames im Leaderboard
UI-Teil zum Fremdprofil-Backend (2dfc770).

apps/admin/app/(authed)/profil/[handle]/page.tsx:
- Oeffentliche Profilseite: Avatar/Initiale, Handle, Bio, Punkte (gesamt +
  30 Tage) und aktive Tage (7-Tage-Streak).
- Sauberes NOT_FOUND-Handling fuer private/unbekannte Profile.
- Hinweis, dass Gesundheitsdaten immer privat bleiben.

dashboard.ts (clubLeaderboard):
- Liefert pro Eintrag einen handleSlug, aber NUR fuer profileVisible=true
  (sonst null -> kein toter Link).

hellfireclub/page.tsx:
- Leaderboard-Namen werden zu Links auf /profil/[handleSlug], wenn das
  Profil oeffentlich ist; sonst unveraenderter Text.

Verifiziert: Typecheck 3/3, 75 API-Tests + 10 Admin-Tests gruen.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 12:58:45 +02:00
..
errors Initial commit: Hellth Hub monorepo 2026-05-27 22:15:16 +02:00
lib Feature: Fremdprofil-API (publicProfileByHandle) + Handle-Slug-Helfer 2026-05-30 12:50:50 +02:00
scripts Initial commit: Hellth Hub monorepo 2026-05-27 22:15:16 +02:00
trpc Feature: Fremdprofil-Seite /profil/[handle] + klickbare Usernames im Leaderboard 2026-05-30 12:58:45 +02:00
app.ts Initial commit: Hellth Hub monorepo 2026-05-27 22:15:16 +02:00
index.ts Initial commit: Hellth Hub monorepo 2026-05-27 22:15:16 +02:00