Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(ui): align picker icons with their titles #48079

MergedYash-Singh1(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/48079/headmerged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHub

Picker 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/main passed.

Web command palette

BeforeAfter
Command palette with offset iconsCommand palette with icons centered on their titles

iOS at the largest Dynamic Type size

BeforeAfter
Clipped palette text and search fieldPalette rows sized to their text with the search field above the keyboard

Generated by GPT 6.2 Sol using Codex in T3 Code.

    1. tanstack-source added labelsbug

    2. Approvability

      Verdict: Approved at 3ed27b1

      Macroscope'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).
    3. Explain Change →

      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.tsx
      Rows 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.tsx
      The new PickerRowContent component 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.tsx
      Branch, 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 to 3ed27

      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: Passed 4

      Check nameStatusExplanation
      Title checkPassedThe 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 checkPassedThe 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 checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck 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

      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.tsx
      • apps/web/src/components/BranchToolbarBranchSelector.tsx
      • apps/web/src/components/CommandPaletteAddProject.tsx
      • apps/web/src/components/CommandPaletteResults.tsx
      • apps/web/src/components/ThreadLinkPicker.tsx
      • apps/web/src/components/settings/AcpRegistrySearchStep.tsx
      • apps/web/src/components/settings/SettingsScopeSentence.tsx
      • apps/web/src/components/settings/SettingsSidebarNav.tsx
      • apps/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.

Sign in to join this conversation.