Skip to content

fix(docsite): improve changelog package navigation - #5309

Merged
nynexman4464 merged 1 commit into
mainfrom
fix/changelog-core-default
Aug 27, 2026
Merged

nynexman4464 merged 1 commit into
mainfrom
fix/changelog-core-default

Conversation

@nynexman4464

@nynexman4464 nynexman4464 commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Improve changelog navigation and empty states:

  • Put @astryxdesign/core first in the visible tab order and select it by default when the URL has no package query.
  • Select a requested visible package from ?package=... and update that query only when a tab changes.
  • Keep theme packages out of the primary tab row.
  • Show No changes in this release. beneath empty version headings instead of leaving blank sections.

Fixes #5307.

Visual evidence

Before

CLI appears first and is selected by default; theme packages also occupy the primary tab row.

Before: CLI first in the changelog tabs

After

Core appears first and is selected by default, followed by CLI; theme package tabs are omitted.

After: Core first and selected in the changelog tabs

Open the deployed preview

Test plan

  • Confirmed the Core-first regression test fails against the prior implementation and passes with this change.
  • pnpm -F @astryxdesign/docsite test src/__tests__/changelog-view.test.ts src/__tests__/changelog-linkify.test.ts (25 tests)
  • pnpm -F @astryxdesign/docsite typecheck
  • Pre-commit repository checks and lint passed.

@vercel

vercel Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview Aug 26, 2026 11:34pm

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 21, 2026
@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Aug 21, 2026
@nynexman4464
nynexman4464 force-pushed the fix/changelog-core-default branch from c325c29 to d6e5eb3 Compare August 21, 2026 23:34
@nynexman4464
nynexman4464 marked this pull request as ready for review August 21, 2026 23:40
@nynexman4464
nynexman4464 force-pushed the fix/changelog-core-default branch from d6e5eb3 to f9ffd49 Compare August 21, 2026 23:54
@nynexman4464 nynexman4464 changed the title fix(docsite): default changelog to core fix(docsite): improve changelog package navigation Aug 21, 2026
@nynexman4464
nynexman4464 marked this pull request as draft August 21, 2026 23:54
@nynexman4464
nynexman4464 force-pushed the fix/changelog-core-default branch from f9ffd49 to 0376365 Compare August 24, 2026 15:07
@nynexman4464
nynexman4464 marked this pull request as ready for review August 24, 2026 15:39
@rubyycheung

Copy link
Copy Markdown
Contributor

This substantially overlaps #5362: both default the changelog to @astryxdesign/core, add ?package= navigation, and fill empty release sections. The main behavioral difference is that this PR removes theme packages from the primary tabs, while #5362 deliberately leaves their destination unresolved.

Could we choose or consolidate a canonical implementation before either lands? One design point applies to both versions: if Core is the primary/default changelog, it should also be first in the visible tab order. Selecting a lower tab by default while CLI remains first communicates conflicting hierarchy.

@nynexman4464

Copy link
Copy Markdown
Contributor Author

Updated this PR as the canonical implementation: Core is now first in the visible tab order, CLI is second, and theme package changelogs remain omitted. I also added the final-empty-release and populated-release regression cases from #5362, which is now closed as superseded.

@nynexman4464

Copy link
Copy Markdown
Contributor Author

Rebased onto current main after noticing the earlier preview was built from before the 0.5.0 release. Verified the refreshed preview now renders 0.5.0 for both Core and CLI, and replaced the after screenshot with the current release data.

@rubyycheung rubyycheung left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great from a design perspective. Core is now correctly presented first and selected by default, CLI follows as the secondary package, and removing theme packages from the primary tab row keeps the changelog hierarchy focused and clear.

@nynexman4464
nynexman4464 merged commit adafac9 into main Aug 27, 2026
23 checks passed
@github-actions
github-actions Bot deleted the fix/changelog-core-default branch August 28, 2026 09:14

This branch was successfully deployed

1 active deployment
Preview — a748e24c Deployed Aug 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docsite changelog should default to core and show an empty state

2 participants