Repository navigation
feat(lab): DialogHeroHeader showcase, and astryx discover lists it - #10109
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec f8ad635 |
There was a problem hiding this comment.
Changes requested: the showcase block, the discover entries and the route-lock entry line up with what the generators produce, but the new block loses keyboard focus.
packages/lab/blocks/DialogHeroHeaderShowcase.tsxunmounts the focused button on Close (line 57), Get started (line 73) and Preview welcome dialog (line 83), so keyboard focus falls to the page body each time; keep the preview static like Core'sDialogHeaderShowcase, or have the click handler mark that focus should move and focus the replacing control from a callback ref.
The discover list matches its generator, the block clears the Lab package's missing-example note for DialogHeroHeader, and the route-lock entry matches the registry's derived name.
[Automated review]
9a05f56 to
71eff45
Compare
f8ad635 to
853fdc2
Compare
|
/approve-spec 853fdc2 |
There was a problem hiding this comment.
Changes requested: the showcase now stays open, so keyboard focus stays on the pressed button, and the discover and route-lock entries match what the generators derive. One wording fix is left.
- Regression: the changeset (
.changeset/astryx-discover-lists-the-lab-dialogheroheader-c-dhhr.md, line 5) saysastryx discovernow lists the DialogHeroHeader component, but that entry moved into #10108 when its branch was rebuilt, so word this changeset for theDialogHeroHeaderShowcasetemplate alone and give the component line its own@astryxdesign/clichangeset in #10108, as the CircleCheckIndicator change did.
The description's file list and size still describe the earlier revision and need the same update.
[Automated review]
71eff45 to
786ed9e
Compare
853fdc2 to
33bc8cb
Compare
|
/approve-spec 33bc8cb |
A hero-style Dialog header for Lab: media above a title, composed inside an Astryx Dialog, naming the dialog and requesting title focus through the internal Dialog context. Carries jiunshinn's component, tests, doc and story from #5105, as of its handshake fix (the rendered heading drives the handshake, so a re-render keeps focus and a late heading still names the dialog). Co-authored-by: jiunshinn <jiun.dev@gmail.com>
…fficial-packages discover list
786ed9e to
25a3e5d
Compare
33bc8cb to
2672f94
Compare
|
/approve-spec 2672f94 |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, because a draft pull request on this branch runs no CI workflow.
The changeset now describes only the DialogHeroHeaderShowcase template this pull request adds, the showcase keeps keyboard focus on the pressed button, and the discover and route-lock entries match what their generators derive.
- Non-blocking: the description still lists "the DialogHeroHeader and showcase entries" for the discover file and "5 files, +134"; this pull request now adds only the showcase entry, across 6 files (+127) including the Storybook story.
[Automated review]
# Conflicts: # apps/storybook/stories/DialogHeroHeader.stories.tsx
|
/approve-spec d8dd1b2 |
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
Approved: the required checks have run on this revision and pass.
The showcase block, its story, the discover entry and the route-lock entry match what their generators derive, the changeset names only the template this pull request adds, and the preview keeps keyboard focus on the pressed button.
- Non-blocking: the description still lists "the DialogHeroHeader and showcase entries" for the discover file and "5 files, +134"; this pull request adds only the showcase entry, across 6 files (+127) including the Storybook story.
[Automated review]
Part 3 of 3 of the carry that supersedes #5105 (jiunshinn's DialogHeroHeader). Its two bases have merged: #10105 (Core) and #10108 (the Lab component). This PR now targets
mainand holds only the showcase and discover entries. It carries jiunshinn's showcase and discover entries on a team branch, with aCo-authored-bytrailer.User impact
A builder browsing the Lab showcases, or running
astryx discover, finds DialogHeroHeader and a working example to copy.What is in this PR
packages/lab/blocks/DialogHeroHeaderShowcase.tsxand its.doc.mjs.packages/cli/assets/discover/official-packages.json: the DialogHeroHeader and showcase entries.internal/shadcn-registry/routes.lock.json: the showcase route..changeset/…dhhr.md: names@astryxdesign/clifor the discover entries (credits jiunshinn).Authority
Lab under the design owner's Lab grant.
Testing
pnpm check:changesets; eslint on the showcase.