feat: homepage TOC, Music for Life URL, and loading polish#91
Conversation
Add PageToc to the home page and Music for Life routes (title-level sections only on playlist detail). Rename public URLs from /playlists to /music-for-life with permanent redirects. Improve initial load via Nunito next/font, weather SSR, dynamic Mapbox, GitHub prefetch, and route loading states. Update README, AGENTS.md, and CLAUDE.md. Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 31 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (56)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR bundles the homepage/Music for Life UX work from the latest session plus loading-performance polish on the same branch.
Page table of contents (PageToc)
/(previously excluded)md:flex-row-reverse+ mobileorder-*so TOC order matches reading order without grid row-height gaps/music-for-life: Music for Life + each playlist name (level={1})/music-for-life/[id]: playlist title + Tracks only — not per-song entriespage-toc.tsx,toc-section.tsxMusic for Life URL
/playlists→/music-for-lifeMUSIC_FOR_LIFE_BASEconstant inlib/spotify-playlists.ts/playlistsand/playlists/*innext.config.tsLoading / performance
app/fonts.ts(next/font/google); removed@fontsourcefrom client bundleapp/lib/weather.ts+WeatherCard initialWeather)playlist-map-loader.tsx)/projects(app/lib/github-contributions.ts)loading.tsxfor Music for Life index + detail* { transition });SiteFooterback to Server ComponentHover polish
Docs
Test plan
npm run lint && npm run typecheck && npm run test && npm run build/— PageToc rail + panel; scroll to Kai Thomas Chen, Greeting, Contact, Listening, Location, Projects/music-for-life— TOC lists Music for Life + playlist names/music-for-life/[id]— TOC = playlist name + Tracks (no per-song dots)/playlistsand/playlists/[id]redirect to/music-for-life/*/music-for-life/map— no PageToc; map still fullscreen/music-for-lifeMade with Cursor