Adds the public viewing surface in the UI — shareable no-login pages backed by the redaction-safe /api/v1/public API:
/p/[treeId] — tree + searchable people directory (living → "Living person").
/p/[treeId]/persons/[personId] — person detail (events, names, family links).
app/p/layout.tsx — slim public header, no app sidebar.
robots.ts — allow /p/, disallow the authed app.
Trees list — a "Public page ↗" link on every non-private tree.
Client-rendered (same-origin fetch via Caddy; zero infra change). Follow-up (needs a frontend SSR→backend base URL + a compose/env deploy step Watchtower won't auto-apply): true SSR for SEO, a dynamic public sitemap, and per-page noindex for unlisted/site_members.
tsc clean; next build passes (both routes dynamic).
Adds the public viewing surface in the UI — shareable no-login pages backed by the redaction-safe `/api/v1/public` API:
- `/p/[treeId]` — tree + searchable people directory (living → "Living person").
- `/p/[treeId]/persons/[personId]` — person detail (events, names, family links).
- `app/p/layout.tsx` — slim public header, no app sidebar.
- `robots.ts` — allow `/p/`, disallow the authed app.
- Trees list — a "Public page ↗" link on every non-private tree.
Client-rendered (same-origin fetch via Caddy; zero infra change). **Follow-up** (needs a frontend SSR→backend base URL + a compose/env deploy step Watchtower won't auto-apply): true SSR for SEO, a dynamic public sitemap, and per-page `noindex` for unlisted/site_members.
tsc clean; next build passes (both routes dynamic).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Adds the public viewing surface in the UI — shareable, no-login pages backed by
the redaction-safe /api/v1/public API:
- /p/[treeId]: tree name + searchable people directory (living people show as
"Living person"; counts; links to person pages).
- /p/[treeId]/persons/[personId]: person detail — events, alternate names, and
parents/partners/children as links to other public person pages.
- app/p/layout.tsx: slim public header (logo + Sign in), no app sidebar.
- robots.ts: allow /p/, disallow the authenticated app sections.
- Trees list: a "Public page ↗" link on every non-private tree so the owner can
grab the shareable URL.
Client-rendered (same-origin fetch via Caddy). Follow-up (needs a frontend
SSR→backend base URL + a compose/env deploy step, so not auto-applied by
Watchtower): true server-rendering for SEO, a dynamic sitemap of public trees,
and per-page noindex for unlisted/site_members.
tsc clean; next build passes (both routes dynamic).
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Justin Paul <[email protected]>
justin
merged commit 20c7fbd8d6 into main2026-06-09 09:31:58 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds the public viewing surface in the UI — shareable no-login pages backed by the redaction-safe
/api/v1/publicAPI:/p/[treeId]— tree + searchable people directory (living → "Living person")./p/[treeId]/persons/[personId]— person detail (events, names, family links).app/p/layout.tsx— slim public header, no app sidebar.robots.ts— allow/p/, disallow the authed app.Client-rendered (same-origin fetch via Caddy; zero infra change). Follow-up (needs a frontend SSR→backend base URL + a compose/env deploy step Watchtower won't auto-apply): true SSR for SEO, a dynamic public sitemap, and per-page
noindexfor unlisted/site_members.tsc clean; next build passes (both routes dynamic).
🤖 Generated with Claude Code