Skip to content

[#678] Keep mobile member search within the viewport - #679

Open
Kevinli7673 wants to merge 1 commit into
mainfrom
ui/mobile-check-in-search
Open

Kevinli7673 wants to merge 1 commit into
mainfrom
ui/mobile-check-in-search

Conversation

@Kevinli7673

@Kevinli7673 Kevinli7673 commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Why

On iPhone, focusing the manual check-in search can zoom the page and cut off member names.

What

Use a 16px search input in the mobile picker and let it shrink beside the search icon. Desktop keeps its 14px input.

Closes #678.

Test Plan

Verified search, selection, and viewport width in Chrome at 320px, 390px, and 1024px. Format, lint, typecheck, and changed React analysis passed. Lint reported warnings.

  • Confirm on iPhone Safari with the keyboard open.

Image

image

Checklist

  • No database schema changes.
  • No environment variable changes.

Co-authored-by: Codex <codex@openai.com>
@Kevinli7673
Kevinli7673 marked this pull request as ready for review December 3, 2026 22:46
@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

CommandInput now uses min-w-0 text-base md:text-sm for minimum-width and responsive text styling.

Severity of issue fixed: Low

Merge Risk: Minimal · up to 34847

This is a small styling change that keeps the mobile member search input within the viewport by using a 16px font on mobile and shrinking the input beside the icon. It poses little risk and is easy to revert.

Pre-merge checks: Passed 7

Check name Status Explanation
Title check Passed The title begins with the issue number in brackets, [#678], as required. It describes the change: keeping the mobile member search inside the viewport. It is 52 characters, under the 72-character limi…
Description check Passed The description states the problem (iPhone zoom and cut-off member names during manual check-in search) and the fix (16px search input in the mobile picker that shrinks beside the search icon). It als…
Linked Issues check Passed [#678] The issue requires the manual check-in member picker to fit the iPhone portrait screen with the keyboard open, without sideways scrolling or cut-off names. The diff at head adds `className="min…
Out of Scope Changes check Passed The whole-PR change set consists of one added class attribute on CommandInput in ItemList. The change directly targets the mobile search input overflow described in #678. No unrelated files or beh…
No Hardcoded Secrets Passed The pull request changes one file, packages/ui/src/responsive-combo-box.tsx, and adds one line: className="min-w-0 text-base md:text-sm" on CommandInput. The diff against refs/coderabbit/pre-merge-che…
Validated Env Access Passed The PR changes one file, packages/ui/src/responsive-combo-box.tsx. The diff adds CSS classes to CommandInput and has no process.env usage in any added line. The check does not apply to this change, so…
No Typescript Escape Hatches Passed The PR changes one file, packages/ui/src/responsive-combo-box.tsx. The only diff hunk adds className="min-w-0 text-base md:text-sm" to the existing <CommandInput> at around line 352. The added l…
Full details: Title check

Explanation

The title begins with the issue number in brackets, [#678], as required. It describes the change: keeping the mobile member search inside the viewport. It is 52 characters, under the 72-character limit.

Full details: Description check

Explanation

The description states the problem (iPhone zoom and cut-off member names during manual check-in search) and the fix (16px search input in the mobile picker that shrinks beside the search icon). It also lists test coverage. It matches the changeset.

Full details: Linked Issues check

Explanation

[#678] The issue requires the manual check-in member picker to fit the iPhone portrait screen with the keyboard open, without sideways scrolling or cut-off names. The diff at head adds className="min-w-0 text-base md:text-sm" to the CommandInput in ItemList (packages/ui/src/responsive-combo-box.tsx). min-w-0 lets the flex input shrink beside the search icon. text-base (16px) below the md breakpoint prevents iOS focus zoom. md:text-sm (14px) keeps the desktop input size. This addresses the requested behavior in code. The PR reports Chrome checks at 320px, 390px, and 1024px. The iPhone Safari check is an unchecked manual item and is not a coding requirement.

Full details: Out of Scope Changes check

Explanation

The whole-PR change set consists of one added class attribute on CommandInput in ItemList. The change directly targets the mobile search input overflow described in #678. No unrelated files or behavior changes are present in the reviewed diff.

Full details: No Hardcoded Secrets

Explanation

The pull request changes one file, packages/ui/src/responsive-combo-box.tsx, and adds one line: className="min-w-0 text-base md:text-sm" on CommandInput. The diff against refs/coderabbit/pre-merge-check/base shows no API keys, passwords, tokens, or other secret literals. The check passes.

Full details: Validated Env Access

Explanation

The PR changes one file, packages/ui/src/responsive-combo-box.tsx. The diff adds CSS classes to CommandInput and has no process.env usage in any added line. The check does not apply to this change, so it passes.

Full details: No Typescript Escape Hatches

Explanation

The PR changes one file, packages/ui/src/responsive-combo-box.tsx. The only diff hunk adds className="min-w-0 text-base md:text-sm" to the existing &lt;CommandInput&gt; at around line 352. The added line contains no any type, @ts-ignore, @ts-expect-error, or non-null assertion (!., !), ![). A pattern search of the changed file found no escape hatches. The PR introduces no TypeScript escape hatches, so the check 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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 99a1e69 and 3484718.

Files selected for processing: 1

  • packages/ui/src/responsive-combo-box.tsx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blade manual check-in search overflows on mobile

1 participant