Skip to content

🤖 fix(ios): the chips sit as far above the composer as the composer sits above the keyboard - #8251

Merged
ibetitsmike merged 1 commit into
mainfrom
mike/ios-chips-gap
Dec 5, 2026
Merged

ibetitsmike merged 1 commit into
mainfrom
mike/ios-chips-gap

Conversation

@ibetitsmike

Copy link
Copy Markdown
Collaborator

Xum opened this PR on behalf of Mike.

Summary

The chips above the composer (TODO step, sub-agents, background processes) now sit 8 pt above it, the same gap the composer keeps above the software keyboard. Before, they sat 16 pt above it.

Closes #8249

Cause

The activity line was a 44 pt frame around 32 pt chips. The 6 pt of padding under the chips added to the bottom stack's 10 pt spacing, so the gap was 16 pt, against the 8 pt that ComposerBottomPadding keeps above the keyboard.

Implementation

  • The activity line takes its chips' height. Each chip's hit shape (ComposerHitShape) already extends taps to 44 pt, so the touch target stays the same.
  • The bottom stack's spacing (chips, docks, cards, composer) uses ComposerBottomPadding.gap, the constant the keyboard gap uses, so the two gaps can't drift apart. Docks and cards in that stack move from 10 pt to 8 pt apart.

Validation

  • New ActivityLineLayoutTests.theLineIsAsTallAsItsChips hosts the real ActivityLine with a TODO chip and a bash chip. It fails without the fix (44 pt) and passes with it (32 pt).
  • iPhone 17 simulator with the software keyboard up, measured in pixels at 3x: chips to composer went from 48 px (16 pt) to 24 px (8 pt). Composer to keyboard is 24 px (8 pt) in both builds.
  • With the keyboard down, a tap 4 pt below the chip, in the new gap, still opens the TODO panel.

Screenshots

Before (left) and after (right), keyboard up:

Before: a 16 pt gap between the TODO chip and the composer, 8 pt between composer and keyboard. After: 8 pt for both

Risks

Low. The change is layout only, and the chips keep their 44 pt touch target.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $399.06

…its above the keyboard

The activity line was 44 pt tall around its 32 pt chips, so the gap to the composer was the
stack's 10 pt plus 6 pt of padding: 16 pt, against 8 pt above the keyboard. The line now takes
its chips' height (their hit shape still reaches 44 pt), and the stack spacing shares the
keyboard gap's constant.

Closes #8249
@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review
@codex security review

Head: 47adde6

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T15:57:21.795531Z 47adde6 Manual request
🔒 Security Review ✅ Completed 2026-12-05T15:58:47.001495Z 47adde6 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 47adde6c52

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 47adde6c52

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ibetitsmike
ibetitsmike merged commit c2553f5 into main Dec 5, 2026
32 of 33 checks passed
@ibetitsmike
ibetitsmike deleted the mike/ios-chips-gap branch December 5, 2026 16:06
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.

🤖 iOS: space between the activity chips and the composer is larger than above the keyboard

1 participant