fix(ui): align picker icons with their titles #48079
main fromrefs/pull/48079/head·merged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHubPicker icons could sit above or below their titles on both single-line and multiline rows. On iOS, the command palette also clipped text at the largest Dynamic Type size.
The web pickers now place the icon and title in the same grid row. The native palette centers icons with their titles, measures rows as they grow with text size, and fits the panel above the keyboard.
- Checked alignment in Chromium at 80%, 100%, 125%, 150%, and 200% page zoom.
- Checked standard and maximum Dynamic Type on an iPhone SE simulator. At the largest size, the search field remained visible and the results scrolled and could be selected.
vp run check:changed origin/mainpassed.
Web command palette#
| Before | After |
|---|---|
iOS at the largest Dynamic Type size#
| Before | After |
|---|---|
Generated by GPT 6.2 Sol using Codex in T3 Code.
- 1
tanstack-source added labelsbug
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
Approvability#
Verdict: Approved at
3ed27b1Macroscope's review found this PR approvable — This change aligns picker icons with their titles across web and mobile, including mobile row sizing and safe-area spacing. Its effects are confined to presentation, without changing actions, product defaults, or stored data.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).No actionable comments were generated in the recent review.
Walkthrough
-
The mobile command palette now uses flexible row content and minimum dimensions. The web app adds a shared picker-row component and adopts it in command palette, picker, and settings interfaces.
Changes: Mobile command palette
Layer / File(s) Summary Palette row content and sizing
apps/mobile/src/features/keyboard/CommandPalette.tsxRows select secondary content and use flexible layouts. The sheet padding, search controls, list sizing, and message label use minimum dimensions. Web picker row content
Layer / File(s) Summary Shared component and command palette rows
apps/web/src/components/ui/picker-row-content.tsx,apps/web/src/components/CommandPaletteResults.tsx,apps/web/src/components/CommandPaletteAddProject.tsxThe new PickerRowContentcomponent renders icons, titles, and optional descriptions. Command palette result and project summary rows use it.Picker and settings row layouts
apps/web/src/components/BranchToolbarBranchSelector.tsx,apps/web/src/components/ThreadLinkPicker.tsx,apps/web/src/components/settings/SettingsScopeSentence.tsx,apps/web/src/components/settings/SettingsSidebarNav.tsx,apps/web/src/components/settings/AcpRegistrySearchStep.tsxBranch, thread, and settings rows use the shared component. The agent registry row uses a two-column grid. Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Bug fix
Suggested reviewers:
chenxin-yan
Merge Risk:
Minimal · up to3ed27-
This change aligns picker icons with titles on web and makes the mobile command palette rows grow with text size. No concrete merge-blocking risk was identified.
Pre-merge checks:
4-
Check name Status Explanation Title check The title "fix(ui): align picker icons with their titles" matches the main change in the changeset. The raw summary shows a new shared PickerRowContent component used across picker rows, and the PR de… Description check The description follows the template structure. It has a problem statement (picker icons misaligned, iOS palette clipping at the largest Dynamic Type size), a change section (shared grid row for web p… Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Full details: Title check
-
Explanation
The title "fix(ui): align picker icons with their titles" matches the main change in the changeset. The raw summary shows a new shared PickerRowContent component used across picker rows, and the PR description states that icons were misaligned with titles in web pickers and iOS command palette rows. The title is specific and conventional, and it does not describe anything absent from the changeset. Minor gap: the iOS Dynamic Type sizing and safe-area changes are not named, but the title does not need to cover every detail.
Full details: Description check
-
Explanation
The description follows the template structure. It has a problem statement (picker icons misaligned, iOS palette clipping at the largest Dynamic Type size), a change section (shared grid row for web pickers, native palette centering and measurement changes), and a verification section (Chromium zoom levels, iPhone SE Dynamic Type checks, and a passing check:changed run), plus before/after screenshots as the template requests for UI changes. Gaps: the Scope section is missing, so the description does not link an issue or explain why no issue is needed, and the template asks for that. The description also does not state which model and harness did the work in the template's required form, though it does say 'Generated by GPT 6.2 Sol using Codex in T3 Code.' The description is mostly complete, so it passes.
-
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: t3/fix-command-alignment
- File: .coderabbit.config.ts
- Commit: 3ed27b1
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Team
- Run ID:
557b5864-5b84-44c9-9b41-1fab49ab1bb5
Commits-
Reviewing files that changed from the base of the PR and between 6b12843cbe5cb98b21d3ba17e9dcb93adba1e481 and 3ed27b1f2e5b5a37b262ba79549341f8e964f439.
Files selected for processing: 9-
apps/mobile/src/features/keyboard/CommandPalette.tsxapps/web/src/components/BranchToolbarBranchSelector.tsxapps/web/src/components/CommandPaletteAddProject.tsxapps/web/src/components/CommandPaletteResults.tsxapps/web/src/components/ThreadLinkPicker.tsxapps/web/src/components/settings/AcpRegistrySearchStep.tsxapps/web/src/components/settings/SettingsScopeSentence.tsxapps/web/src/components/settings/SettingsSidebarNav.tsxapps/web/src/components/ui/picker-row-content.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
-
-
Yash-Singh1(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes