Repository navigation
fix(docsite): improve changelog package navigation - #5309
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
c325c29 to
d6e5eb3
Compare
d6e5eb3 to
f9ffd49
Compare
f9ffd49 to
0376365
Compare
|
This substantially overlaps #5362: both default the changelog to 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. |
0376365 to
b0d80a4
Compare
|
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. |
b0d80a4 to
a748e24
Compare
|
Rebased onto current |
rubyycheung
left a comment
There was a problem hiding this comment.
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.
Summary
Improve changelog navigation and empty states:
@astryxdesign/corefirst in the visible tab order and select it by default when the URL has nopackagequery.?package=...and update that query only when a tab changes.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.
After
Core appears first and is selected by default, followed by CLI; theme package tabs are omitted.
Open the deployed preview
Test plan
pnpm -F @astryxdesign/docsite test src/__tests__/changelog-view.test.ts src/__tests__/changelog-linkify.test.ts(25 tests)pnpm -F @astryxdesign/docsite typecheck