Changelog design polish: labeled badges, de-duplicated dates and titles, compact hero#8031
Conversation
- Render leading New/Improved/etc labels in highlight headings and grouped bullet lists as subtle badges instead of repeated bold text - Hide the version badge when it duplicates the entry date - Add older/newer navigation at the bottom of each entry - Left-align and shrink the index hero to the blog-article type scale; fix the eyebrow contrast (2.49:1 -> AA) - Strip change-type labels from TOC item titles Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Remove the body-leading H2 that duplicated the frontmatter title (49 entries) - Give every product section a one-line summary (2026 backfill entries) - Move change-type labels to the front of highlight headings - Replace emoji conventions with plain text (Read more:, Note:) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThis PR removes duplicated in-body headings from dozens of historic changelog MDX files (2024–2026) so content starts directly after frontmatter, updates content/formatting in several recent 2026 entries, and enhances the changelog slug/listing pages with change-label badge rendering and version-label suppression logic. ChangesChangelog content cleanup
Changelog UI updates
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
🧹 Nitpick comments (1)
apps/site/src/app/changelog/[...slug]/page.tsx (1)
165-170: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winConsider hoisting the duplicated
versionLabelrule intochangelog-source.This exact "hide version when it equals the date" computation (comment included) is repeated verbatim on the listing page (
page.tsx, lines 53–59). Two copies of the same date-normalization rule tend to drift — if the date format or comparison ever changes, one side gets forgotten. A tiny shared helper, e.g.getVersionLabel(entry), keeps the invariant in one place.♻️ Sketch of a shared helper
// changelog-source.ts export function getVersionLabel(data: { date?: string; version?: string }) { return data.date && data.version === new Date(data.date).toISOString().slice(0, 10) ? null : data.version; }🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/site/src/app/changelog/`[...slug]/page.tsx around lines 165 - 170, The `versionLabel` hide-when-equal-to-date rule is duplicated in `page.tsx`, so move that normalization into a shared helper in `changelog-source` (for example, `getVersionLabel(entry)`), then call it from both the listing and detail page paths. Keep the existing date-versus-version comparison logic in one place so `page.tsx` and any other changelog consumers reuse the same source of truth.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@apps/site/src/app/changelog/`[...slug]/page.tsx:
- Around line 165-170: The `versionLabel` hide-when-equal-to-date rule is
duplicated in `page.tsx`, so move that normalization into a shared helper in
`changelog-source` (for example, `getVersionLabel(entry)`), then call it from
both the listing and detail page paths. Keep the existing date-versus-version
comparison logic in one place so `page.tsx` and any other changelog consumers
reuse the same source of truth.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 196467a5-8748-4664-bd5b-aa0df73251a9
📒 Files selected for processing (51)
apps/site/content/changelog/2024-03-13.mdxapps/site/content/changelog/2024-04-03.mdxapps/site/content/changelog/2024-04-25.mdxapps/site/content/changelog/2024-05-15.mdxapps/site/content/changelog/2024-06-06.mdxapps/site/content/changelog/2024-06-27.mdxapps/site/content/changelog/2024-07-18.mdxapps/site/content/changelog/2024-08-08.mdxapps/site/content/changelog/2024-08-29.mdxapps/site/content/changelog/2024-09-26.mdxapps/site/content/changelog/2024-10-17.mdxapps/site/content/changelog/2024-11-07.mdxapps/site/content/changelog/2024-11-28.mdxapps/site/content/changelog/2024-12-19.mdxapps/site/content/changelog/2025-01-09.mdxapps/site/content/changelog/2025-01-30.mdxapps/site/content/changelog/2025-02-20.mdxapps/site/content/changelog/2025-03-13.mdxapps/site/content/changelog/2025-04-10.mdxapps/site/content/changelog/2025-05-01.mdxapps/site/content/changelog/2025-05-19.mdxapps/site/content/changelog/2025-06-05.mdxapps/site/content/changelog/2025-06-17.mdxapps/site/content/changelog/2025-07-02.mdxapps/site/content/changelog/2025-07-17.mdxapps/site/content/changelog/2025-07-30.mdxapps/site/content/changelog/2025-08-27.mdxapps/site/content/changelog/2025-09-10.mdxapps/site/content/changelog/2025-10-08.mdxapps/site/content/changelog/2025-11-05.mdxapps/site/content/changelog/2025-11-19.mdxapps/site/content/changelog/2025-12-03.mdxapps/site/content/changelog/2025-12-17.mdxapps/site/content/changelog/2026-01-21.mdxapps/site/content/changelog/2026-02-11.mdxapps/site/content/changelog/2026-02-19.mdxapps/site/content/changelog/2026-02-27.mdxapps/site/content/changelog/2026-03-11.mdxapps/site/content/changelog/2026-03-27.mdxapps/site/content/changelog/2026-04-07.mdxapps/site/content/changelog/2026-04-22.mdxapps/site/content/changelog/2026-04-27.mdxapps/site/content/changelog/2026-05-15.mdxapps/site/content/changelog/2026-05-19.mdxapps/site/content/changelog/2026-06-05.mdxapps/site/content/changelog/2026-06-11.mdxapps/site/content/changelog/2026-06-19.mdxapps/site/content/changelog/2026-06-24.mdxapps/site/content/changelog/2026-07-03.mdxapps/site/src/app/changelog/[...slug]/page.tsxapps/site/src/app/changelog/page.tsx
💤 Files with no reviewable changes (40)
- apps/site/content/changelog/2024-11-28.mdx
- apps/site/content/changelog/2024-08-29.mdx
- apps/site/content/changelog/2025-06-05.mdx
- apps/site/content/changelog/2026-03-27.mdx
- apps/site/content/changelog/2024-06-27.mdx
- apps/site/content/changelog/2024-10-17.mdx
- apps/site/content/changelog/2025-12-17.mdx
- apps/site/content/changelog/2025-01-30.mdx
- apps/site/content/changelog/2025-03-13.mdx
- apps/site/content/changelog/2025-11-05.mdx
- apps/site/content/changelog/2024-06-06.mdx
- apps/site/content/changelog/2025-08-27.mdx
- apps/site/content/changelog/2025-04-10.mdx
- apps/site/content/changelog/2025-09-10.mdx
- apps/site/content/changelog/2024-11-07.mdx
- apps/site/content/changelog/2024-09-26.mdx
- apps/site/content/changelog/2026-02-19.mdx
- apps/site/content/changelog/2024-12-19.mdx
- apps/site/content/changelog/2025-10-08.mdx
- apps/site/content/changelog/2025-05-19.mdx
- apps/site/content/changelog/2026-02-11.mdx
- apps/site/content/changelog/2026-01-21.mdx
- apps/site/content/changelog/2024-07-18.mdx
- apps/site/content/changelog/2026-03-11.mdx
- apps/site/content/changelog/2026-04-07.mdx
- apps/site/content/changelog/2024-04-25.mdx
- apps/site/content/changelog/2024-04-03.mdx
- apps/site/content/changelog/2025-07-02.mdx
- apps/site/content/changelog/2025-07-30.mdx
- apps/site/content/changelog/2024-03-13.mdx
- apps/site/content/changelog/2025-11-19.mdx
- apps/site/content/changelog/2025-01-09.mdx
- apps/site/content/changelog/2024-05-15.mdx
- apps/site/content/changelog/2024-08-08.mdx
- apps/site/content/changelog/2025-02-20.mdx
- apps/site/content/changelog/2025-07-17.mdx
- apps/site/content/changelog/2025-06-17.mdx
- apps/site/content/changelog/2025-12-03.mdx
- apps/site/content/changelog/2026-02-27.mdx
- apps/site/content/changelog/2025-05-01.mdx
What
Design and consistency pass on the changelog pages and the 2026 backfill entries, reviewed live against a local run of this branch.
Page code (
apps/site/src/app/changelog/)New,Improved,Fixed,Breaking,Deprecated) render as subtle badges: once per highlight heading, and once per group in bullet lists instead of bold text repeated on every line. Lists without labels are untouched.versionto the date). Real version labels likev7.5.0still show.foreground-ppg-strongto pass WCAG AA (was 2.49:1).Content (
apps/site/content/changelog/)📚links became*Read more:*,ℹ️ **Note:**became**Note:**.Notes for reviewers
pnpm --filter site types:checkpasses.mdx-structure.md/voice.mdshould be updated to match so future generated entries stay consistent.🤖 Generated with Claude Code
Summary by CodeRabbit