Repository navigation
Conversation
Co-authored-by: korkt-kim <gnscott6@naver.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report📚 Storybook Preview🧪 Sandbox PreviewNo new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Visual Regression25 of 460 shot(s) changed. A change here is a question, not a failure: check whether the after is the
and 5 more. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
There was a problem hiding this comment.
Automated review found nothing blocking: both runtime corrections restore CommandPaletteItem's documented disabled and passthrough behavior, and the new test for each fails without the fix and passes with it. No changes are requested. The standalone keyboard contract and selected-plus-highlighted paint stay with the open questions already recorded in this PR.
[Automated review]
User impact
Disabled command options no longer fire product click callbacks. Standalone items also retain caller-provided DOM identity, so labels, automation, and integrations can address the option they rendered without changing CommandPalette-managed active-descendant IDs.
What changed
isDisabled; enabled consumer cancellation still stops local selection, context selection, and close.id, ref, data/ARIA props, classes, styles, and the stable theme target on standalone items while retaining context-owned option semantics.Authority and compatibility
architecture:public-component-api/INV5,INV7.spec:AST-020/FR1,FR2,architecture:interaction-modality, and WAI-ARIA 1.2 option semantics. Buttons and links are not nested insiderole="option"because their semantics become presentational.[fix]underspec:AST-017/FR1,FR3,FR5;isDisabledalready promises non-interaction andBasePropsalready promises standalone native passthrough.idcorrection overlaps prior Item work by korkt-kim; coauthor and release-note credit are preserved while the separate CommandPaletteList correction remains out of scope.Audit score
Rubric: 1.16.6 · mode: Night Watch
Test plan
pnpm vitest run packages/core/src/CommandPalette/CommandPaletteItem.test.tsx packages/core/src/CommandPalette/CommandPalette.test.tsx packages/core/src/theme/themingTargets.test.ts— 464 passed.pnpm -F @astryxdesign/core build— passed.pnpm -F @astryxdesign/storybook build— passed.pnpm check:knowledge,pnpm check:changesets, andpnpm check:sync— passed.pnpm test— the broad concurrent local run produced 52 existing CLI/filesystem/time-limit failures; focused component, parent, and theming suites pass. Exact-head Actions remains authoritative.Writing rubric results