GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): give permission options even rounded highlights by gitRasheed · Pull Request #28837 · pingdotgg/t3code

Conversation

@gitRasheed

@gitRasheed gitRasheed commented Nov 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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:

1-before-after

Keyboard focus with Left/Right:

2-keyboard-focus

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.

All reactions
gitRasheed added 2 commits November 1, 2026 17:28
@gitRasheed
fix(web): round every permission segment highlight evenly
d742d6c
@gitRasheed
fix(web): hover a permission segment with the segmented control's hov…
300da8f
…er colour
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 1, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Nov 1, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gitRasheed
chore(web): drop the permission segment comment
3e52c89
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: d897d3f
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d26edcff-386a-41ec-a361-14ac730659cc
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

  • pingdotgg/t3code#25869: Adds ComposerPermissionsSection and its horizontal runtime-mode options.
  • pingdotgg/t3code#28840: Changes the permission section’s surface and selection styling.
  • pingdotgg/t3code#26514: Removes gaps between the same permission radio options and rounds the row edges.

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: Passed 4
Check name Status Explanation
Title check Passed 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 Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gitRasheed
Merge remote-tracking branch 'origin/main' into fix/permission-segmen…
97e6130
…t-highlight

# Conflicts:
#	apps/web/src/components/chat/ComposerFooterControls.tsx
@Aforno Aforno mentioned this pull request Nov 2, 2026
fix(web): round both ends of the selected speed option #29483
Closed
@maria-rcks

maria-rcks commented Nov 15, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

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:

main light square hover

after, light:

pr light rounded inset hover

before, dark:

main dark square hover

after, dark:

pr dark rounded inset hover

hover, boundary sweep, keyboard focus and selection:

permission selector interaction recording

real codex edit:

codex edit completed with auto-accept edits

real supervised approval:

supervised codex command waits for 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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This branch has not been deployed

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

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

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.

Projects

None yet

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.

2 participants

@gitRasheed @maria-rcks
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.