Skip to content

chore: drop gallery/admin/guestbook + reorder socials#40

Merged
kaiiiichen merged 3 commits intomainfrom
chore/home-copy-tweaks
Apr 25, 2026
Merged

chore: drop gallery/admin/guestbook + reorder socials#40
kaiiiichen merged 3 commits intomainfrom
chore/home-copy-tweaks

Conversation

@kaiiiichen
Copy link
Copy Markdown
Owner

Summary

  • Remove the photo gallery surface entirely. Deletes app/gallery/, app/admin/, app/admin/gallery/, and the app/auth/callback/ Supabase OAuth route that only served admin sign-in. Drops the Gallery link from the nav. Removes @supabase/ssr (no longer used) and the now-redundant CI placeholder Supabase env vars (every remaining Supabase client is constructed lazily inside a function body, so next build no longer needs them).
  • Remove the guestbook. Deletes POST /api/guestbook (no UI consumed it) along with the lib/supabase.ts getSupabaseAnon() helper that only existed to back the insert. The lastfm now-playing route — which uses its own createClient + service role key — is the only remaining Supabase consumer.
  • Tighten home-page socials. Reorders the contact icons to Email → LinkedIn → GitHub → X → Telegram so the primary contact channel leads.
  • Bring docs back in line with reality. Strict-pass rewrite of README.md, CLAUDE.md, SECURITY.md, and .env.example to remove every gallery / admin / guestbook reference, drop the unused NEXT_PUBLIC_SITE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env vars, simplify the CI section, fix the repo-layout tree, and update the Common Issues / Forking / External Integrations tables.

Test plan

  • npm run lint — only pre-existing warnings, no new ones
  • npm run typecheck — clean (after wiping .next/ cached types from deleted routes)
  • npm run test — 5/5 vitest tests pass
  • npm run build — green; route table confirms /gallery, /admin, /admin/gallery, /api/guestbook all gone
  • Manual: confirm preview deployment renders the home nav without the Gallery link and that the contact icon row reads Email → LinkedIn → GitHub → X → Telegram

Made with Cursor

kaiiiichen and others added 3 commits April 25, 2026 04:58
Order contact icons as Email, LinkedIn, GitHub, X, Telegram so the
primary contact channel leads.

Co-authored-by: Claude <noreply@anthropic.com>
Made-with: Cursor
Drop the entire Supabase-backed photo gallery (`/gallery`, `/admin`,
`/admin/gallery`) along with the `/auth/callback` OAuth route that only
served the admin sign-in flow. Update the navigation, drop the now
unused `@supabase/ssr` dependency, simplify CI (no need for
placeholder Supabase env vars), and bring README, CLAUDE, SECURITY,
and `.env.example` in line with the trimmed surface area.

Co-authored-by: Claude <noreply@anthropic.com>
Made-with: Cursor
Drop POST /api/guestbook (no UI consumed it) and the lib/supabase.ts
anon-client helper that only existed to back the guestbook insert.
Update README, CLAUDE, SECURITY, and .env.example so the only
remaining Supabase usage — the lastfm now-playing route writing
listening_history / listening_stats with the service role key — is
described accurately.

Co-authored-by: Claude <noreply@anthropic.com>
Made-with: Cursor
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kaichen.dev Ready Ready Preview, Comment Apr 25, 2026 0:13am

@kaiiiichen kaiiiichen enabled auto-merge April 25, 2026 12:14
@kaiiiichen kaiiiichen merged commit 71f01c4 into main Apr 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant