feat(ui): redesign commit selector dropdown#2883
Open
daryllimyt wants to merge 1 commit into
Open
Conversation
|
✅ No security or compliance issues detected. Reviewed everything up to 494800e. Security Overview
Detected Code Changes
|
2260e10 to
76730f1
Compare
8fe0240 to
2c61531
Compare
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2c61531 to
c91053d
Compare
df83851 to
92dfbb2
Compare
c91053d to
494800e
Compare
Contributor
|
Found 8 test failures on Blacksmith runners: Failures
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Redesigns the commit selector dropdown (
CommitSelector) so the current/HEADcommit no longer crowds the row.
The previous design rendered a large filled
Current • HEADbadge thatwrapped to two lines, collided with the timestamp, and knocked rows out of
alignment.
Changes
soft
Currentpill;HEADstays a neutral chip.[bot]accounts) to distinguish human vs automated commits at a glance.
bg-primary/5tint instead of the heavy grey fill.absolute date on hover (
title).Stays flat, neutral, and uses the primary color sparingly per
frontend/CLAUDE.mddesign rules. Trigger button behavior is unchanged.Verification
pnpm -C frontend exec biome check— cleanpnpm -C frontend run typecheck— cleanNotes
Scoped to
frontend/src/components/registry/commit-selector.tsx. The HTMLdesign spread used to compare options was kept local and is not part of this PR.
Summary by cubic
Redesigned the commit selector dropdown to reduce clutter and make Current/HEAD status and authors easier to scan. Adds avatars, a clearer selected state, and a tighter row layout without changing behavior.
Currentpill;HEADremains a neutral chip.[bot]accounts).bg-primary/5selection tint, line-clamped message, and author • date line.Written for commit 494800e. Summary will update on new commits.