Skip to content

fix(mobile): show structured input option descriptions - #7321

Merged
juliusmarminge merged 3 commits into
pingdotgg:mainfrom
none23:t3code/investigate-mobile-structured-input
Aug 18, 2026
Merged

fix(mobile): show structured input option descriptions#7321
juliusmarminge merged 3 commits into
pingdotgg:mainfrom
none23:t3code/investigate-mobile-structured-input

Conversation

@none23

@none23 none23 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

What Changed

Mobile structured-input options now show their descriptions below their labels, matching the web and desktop clients.

Options are stacked vertically and use the available width so longer descriptions can wrap inside the existing scrollable panel.

Why

Mobile previously rendered these options as label-only chips, hiding context that can be necessary to choose an answer. The structured-input contract already provides the descriptions, and the web and desktop clients already display them.

Fixes #7304.

UI Changes

Before After
image image
image image
Full demo video
11-mixed-ballot-flow.mp4

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
Presentation-only changes in PendingUserInputCard; no API, selection, or submission logic changes.

Overview
Mobile pending user-input now surfaces each option’s description under its label when it differs from the label, aligning with web/desktop structured-input UX.

Options move from horizontal pill chips to full-width stacked rows (rounded-2xl, min-h-12) so longer descriptions can wrap inside the existing scrollable card. Selection and submit behavior are unchanged.

Reviewed by Cursor Bugbot for commit 7bc2ba5. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Show structured input option descriptions in PendingUserInputCard

  • Options are now rendered as full-width vertically stacked buttons instead of horizontal pill-shaped chips, increasing touch target size.
  • When option.description differs from option.label, it is displayed as a second line of text beneath the label.
  • Behavioral Change: the layout change from horizontal wrap to vertical stack may affect screen space usage when many options are present.

Macroscope summarized 7bc2ba5.

@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6473eb07-00f7-426c-9025-49ead7fc36be

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Comment @coderabbitai help to get the list of available commands.

@none23 none23 changed the title T3code/investigate mobile structured input fix(mobile): show structured input option descriptions Aug 17, 2026
@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Aug 17, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved 7bc2ba5

This PR makes minor UI styling adjustments and conditionally renders option descriptions that already exist in the data. The changes are self-contained to display logic with no runtime behavior impact.

You can customize Macroscope's approvability policy. Learn more.

@juliusmarminge
juliusmarminge merged commit cebac35 into pingdotgg:main Aug 18, 2026
18 checks passed
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 18, 2026
## What's Changed
* test(web): remove duplicate lookup assertion by @t3-code[bot] in pingdotgg/t3code#7364
* fix(mobile): show structured input option descriptions by @none23 in pingdotgg/t3code#7321


**Full Changelog**: pingdotgg/t3code@v0.0.34-nightly.20260817.1120...v0.0.34-nightly.20260818.1124

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.34-nightly.20260818.1124
sheehanmunim pushed a commit to munimtechnologies/mtcode that referenced this pull request Aug 18, 2026
sheehanmunim added a commit to munimtechnologies/mtcode that referenced this pull request Aug 18, 2026
NeilTheFisher pushed a commit to NeilTheFisher/t3code that referenced this pull request Aug 18, 2026
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Mobile structured user-input cards omit option descriptions

2 participants