GeezerVison is showing github.com — fix(web): give permission options even rounded highlights by gitRasheed · Pull Request #28837 · pingdotgg/t3code
Conversation
gitRasheed
commented
Nov 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Problem
#26514 removed the gap between the permission options so the hover preview no longer drops out between them. To do that it rounded only the two outer ends of the row. Auto-accept edits and Auto, in the middle, now get a square highlight that runs into the next option, with 2px of track above and below it and none at the sides.
The hover colour also comes from a different token than the selected colour. In the light theme, hover uses opaque zinc-100, which is lighter than the zinc-300 track, so a hovered option looks like a hole in the row.
Change
Each option is still a square hit area with no gap between options, so the hover fix from #26514 stays. The highlight moves to an inner span with rounded corners and a 2px inset on every side, so all four options look like the end ones. The track's padding moves onto the options, which makes the outer 2px of the row hoverable too.
I didn't round the option itself because Chrome hit-tests rounded corners, and that version left small dead spots where neighbouring corners meet.
Hover now uses bg-input/32, the same pairing the shared segmented toggle uses in dark (input/32 hover, input/72 selected). In dark it looks the same as before. In light it sits between the track and the selected option.
Scope and approval
This is a small styling fix to one existing control, with no change to behaviour, so it comes without a prior issue. Selection, closing on pick, keyboard navigation and labels are unchanged. #26702 also edits these lines.
Verification
Hover in default dark, default light and T3 Chat light, main on the left:
Keyboard focus with Left/Right:
I checked every 1px point across the row with document.elementFromPoint and counted points that hit no option: 923 of 7,616 on main, 0 with this change.
vp run check:changed and ComposerPermissionsSection.browser.test.tsx pass.
I checked the web client in Chrome. Desktop renders the same web component; I didn't open the Electron shell. Mobile has its own native controls and isn't affected.
Model: Opus 5.5. Harness: Claude Code in T3 Code. Adversarial review: GPT-6 Astra.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 300da8f
Macroscope's review found this PR approvable — The permission selector gains rounded inset highlights while retaining continuous hover targets. Permission choices, defaults, and selection behavior remain unchanged.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 3e52c89 and 97e6130.
Files selected for processing: 1
-
apps/web/src/components/chat/ComposerFooterControls.tsx
Files skipped from review as they are similar to previous changes: 1
-
- apps/web/src/components/chat/ComposerFooterControls.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.
Walkthrough
-
The permission radio group no longer has outer padding. Each option is taller and uses an inner span for its selected or highlighted background and focus ring.
Changes: Composer permission controls
| Layer / File(s) |
Summary |
Permission option styling apps/web/src/components/chat/ComposerFooterControls.tsx |
The radio group removes its padding. Options use padded, full-height layouts with selected and highlighted backgrounds and the focus ring on an inner span. |
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Bug fix
Possibly related PRs
Suggested reviewers: t3dotgg
Merge Risk: Minimal · up to 97e61
-
The permission control retains its visible keyboard focus indicator. No merge-blocking issue was identified.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title "fix(web): give permission options even rounded highlights" follows the conventional commit format and names the main change. The change gives each permission option a square hit area with a… |
| Description check |
 |
The description follows the repository template closely. It has the Problem, Change, Scope and approval, and Verification sections. The Problem section states the bug and the cause. The Change section… |
| 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(web): give permission options even rounded highlights" follows the conventional commit format and names the main change. The change gives each permission option a square hit area with a rounded inner highlight span, so all four options look like the end options. The summary and objectives both describe this change. The title is specific and accurate. The wording is terse, so "even rounded highlights" may read awkwardly, but the intent is clear.
Full details: Description check
-
Explanation
The description follows the repository template closely. It has the Problem, Change, Scope and approval, and Verification sections. The Problem section states the bug and the cause. The Change section explains the inner rounded span and why the option itself was not rounded. The Scope section explains why no prior issue is linked and why the change qualifies as a small styling fix to an existing control. The Verification section gives concrete checks with observed results (923 of 7,616 points on main, 0 with the change), lists the tests run, includes before/after and focus screenshots, and names what was not checked (Electron shell, mobile). It also includes the model and harness line that the template requests. The description gives no formal linked issue or maintainer approval for the scope. It relies on an argument that the fix is a small obvious styling correction. The reviewer may need to confirm that this argument meets the template's scope requirement. The template's comment asks for a prior triaged issue or a qualifying explanation, and the author supplied the explanation.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…t-highlight
# Conflicts:
# apps/web/src/components/chat/ComposerFooterControls.tsx
maria-rcks
commented
Nov 15, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
Verified in a real dev environment
verified unchanged head 97e6130d47f9969321ced11d289334a3a9049a38 in the running web app using repository Playwright and /usr/bin/google-chrome on linux.
- reproduced on
github/main (d93b22504918) first: middle options have square highlights, and light-theme hover is lighter than the track. stopped main before starting this head, with separate app data.
- created a project pointing at a real git repository through the app. selected codex
gpt-6.1-sol and ran real turns, without mocks or seeded data.
- this head gives every option a rounded inner highlight and 2px inset in light and dark. all 7,616 sampled points across the 272x28 row hit an option. sweeping along its top edge kept previews working.
- mouse selection, Escape, ArrowDown/Left/Right, Enter, checked state, and focus return to the editor work. also exercised the model-picker submenu and the existing-thread permission chip. the selector fits and selects correctly at 390x844.
- auto-accept edits let codex update
verified.txt to permission-selector-pr-ok. switching to supervised showed a real command approval; approving it resumed the turn and returned supervised-ok. both runs persisted as completed with model gpt-6.1-sol.
- the five existing
ComposerPermissionsSection.browser.test.tsx tests passed through blacksmith after installing its missing chromium runtime. git.cafe reports 29/29 successful ci checks. no source edits or pushes were needed.
runtime transcript:
$ cat /home/user/permission-verification/verified.txt
permission-selector-pr-ok
$ sqlite3 -readonly .t3/userdata/statev2.sqlite "select provider,status,json_extract(payload_json,'$.modelSelection.model') from orchestration_v2_projection_runs;"
codex|completed|gpt-6.1-sol
codex|completed|gpt-6.1-sol
before, light:

after, light:

before, dark:

after, dark:

hover, boundary sweep, keyboard focus and selection:

real codex edit:

real supervised approval:

Not verified
native electron, ios and android clients, macos/windows, remote relay/tunnel connections, other providers, and custom themes were not exercised on this linux vm. this diff changes the web component only. the uploaded recording was played through to completion and seeked in chrome; these checks are not a performance benchmark.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch has not been deployed
No deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:XS
0-9 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|