You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Share the repeated fork picker disclosure button, OverflowText label, and EMCN 14px chevron across resource, file, folder, excluded-folder, and mapping rows.
Keep each row's width, gap, badge, nested body, indentation, and selection behavior at its call site.
Expose each row's expanded state with aria-expanded. Add a visible token-based keyboard focus outline; the product's global reset previously removed the native outline.
Validation
Focused Vitest: 2 files, 4 tests passed, including keyboard focus. Biome, git diff --check, and app type checking passed.
Before/after isolated captures use product CSS and source-checked classes from staging. Light/dark at 16px and 20px root size: closed and open states match pixel for pixel. Focus and Enter states show the intentional focus outline; computed chevron size and 150ms transition remain unchanged.
A browser check of the actual server-rendered shared component confirms Tab focus and the solid 2px --selection outline in light/dark at both root sizes.
The local design diff (tool 3.10.7) found no confirmed violations or coverage failures; it retains one advisory for this feature-owned control. The full scanner is coordinated separately.
The PR replaces repeated fork-picker disclosure buttons with a shared trigger while retaining row-specific layout and selection behavior. It adds expanded-state semantics, keyboard-focus styling, and a focused test. No new actionable issues were identified in the changes since the previous review.
Change. Five fork-picker row types now share ForkDisclosureTrigger for the label, 14px chevron, and trigger semantics while retaining their existing row-specific spacing and selection controls. The trigger adds aria-expanded and a keyboard-visible focus outline. Closed and expanded rows keep their prior appearance; the focus state becomes clearer.
Representative source excerpts from ResourceKindRow:
Images. These are isolated source-derived fork-row fixtures, not a running fork wizard. The focused excluded-folder row shows the new outline; the other representative rows show retained geometry. The fixture compared closed, expanded, focus, and keyboard states. The later PR commit adds a test only; relevant staging source stayed unchanged after capture.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OverflowTextlabel, and EMCN 14px chevron across resource, file, folder, excluded-folder, and mapping rows.aria-expanded. Add a visible token-based keyboard focus outline; the product's global reset previously removed the native outline.Validation
git diff --check, and app type checking passed.--selectionoutline in light/dark at both root sizes.