GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(web): context row under the composer is rounded and spaced from the card by floklein · Pull Request #36259 · pingdotgg/t3code Conversation
|
| Before | After |
|---|---|
![]() |
![]() |
Measured with getBoundingClientRect on upstream main and on this branch, same thread and viewport:
| Before | After | |
|---|---|---|
| Composer card top / bottom | 636.5 / 748 | 636.5 / 748 |
| Row label top / bottom | 763.64 / 772.36 | 763.64 / 772.36 |
| Row background top / bottom | 748 / 780 | 752 / 784 |
| Row border radius | 0px | 12px |
vp run check:changed against upstream main passes: format, lint, knip, typecheck (2 packages), React Compiler.
Not checked: light theme, custom themes, the narrow (mobile web) layout, the new-thread draft composer, the Electron desktop app, and browsers without backdrop-filter.
Created with Claude Fable 5.2 in Claude Code.
🤖 Generated with Claude Code
merged current main without rebasing; the final diff remains one line in one file. blacksmith check:changed passed format, lint, knip, affected typechecks and react compiler coverage. ci passed lint, build/typecheck, package tests, both web shards and all eight server shards. two independent reviewers approved head 9af840b.
chrome, 1280x800, dark theme, actual replay thread with composer context enabled: card bounds stayed y=636.5..748; strip moved from y=748 to 752 with a 12px radius and unchanged 32px height. branch picker opened successfully. no injected content was used. narrow/light capture, custom themes and native electron remain unverified in this pass.
verified by gpt-6.1-sol through codex.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The composer context row gains rounded corners, separation from the card, and adjusted vertical padding. The change is presentation-only and introduces no material operational or data risk. You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Context row styling apps/web/src/components/chat/ComposerSurface.tsx |
ContextStrip adds a top margin, negative bottom margin, and rounded corners. Its vertical padding changes to equal top and bottom padding. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix · Severity of issue fixed: Low
Suggested reviewers: juliusmarminge
68141This is a presentation-only tweak to the composer context row that rounds its corners and separates it from the composer card. It has no functional or data impact and is low risk to merge.
| Check name | Status | Explanation |
|---|---|---|
| Title check | The title names the change: the context row under the composer gets rounded corners and spacing from the card. The raw summary confirms the single ContextStrip class change (rounded-xl, mt-1.5, py-1).… | |
| Linked Issues check | Direct issue #36258 requires the context row under the composer to look rounded like the card and visually separate from it. The whole-PR diff against merge base 350753a changes one line in `Contex… |
|
| Out of Scope Changes check | The whole-PR diff against merge base 350753a changes one line in one file. The class additions (rounded-xl, mt-1, -mb-1, py-1) apply to the same row that #36258 describes, and they support … |
|
| Description check | The description follows the repository template and covers all required sections. Problem: the context row under the composer has a full-width, square-cornered glass background that reads as a hard-ed… |
Explanation
The title names the change: the context row under the composer gets rounded corners and spacing from the card. The raw summary confirms the single ContextStrip class change (rounded-xl, mt-1.5, py-1). The title follows the conventional commit format and is specific enough for history scanning.
Explanation
Direct issue #36258 requires the context row under the composer to look rounded like the card and visually separate from it. The whole-PR diff against merge base 350753a changes one line in ContextStrip in apps/web/src/components/chat/ComposerSurface.tsx. At head the class string adds rounded-xl (meets the rounded requirement) and mt-1 (a 4px gap above the row, which meets the separation requirement). The row keeps surface-glass. The head also adds -mb-1 and changes pt-2 to py-1. The PR description states mt-1.5, a 6px gap, a 6px upward shift of the card, and a 32px height. The code uses mt-1 and -mb-1 instead, so those description claims do not match the code. The issue sets no numeric gap or height, so this mismatch does not leave an issue requirement unmet. The height was not re-measured here.
Explanation
The whole-PR diff against merge base 350753a changes one line in one file. The class additions (rounded-xl, mt-1, -mb-1, py-1) apply to the same row that #36258 describes, and they support its rounded and separated requirement. No mobile files, exported declarations, or other files changed. The -mb-1 and py-1 edits adjust the row spacing, which belongs to the same spacing fix. The PR description says the gap is mt-1.5 and that the card moves 6px higher, but the code does not match that description. This is a description accuracy gap, not an unrelated code change.
Explanation
The description follows the repository template and covers all required sections. Problem: the context row under the composer has a full-width, square-cornered glass background that reads as a hard-edged slab over scrolling content. Change: the ContextStrip row is now rounded-xl with a 4px gap above it, with spacing split between margin and padding so the 32px row height and the composer card position are unchanged. Scope: it links the bug issue #36258 and states the change is presentation-only and excludes mobile. Verification: it gives a specific setup (Chromium, Windows 11, dark theme, 1280x800), before/after screenshots, getBoundingClientRect measurements, the checks run, and the items not checked. The Verification section also reports a takeover pass with a second capture. The description does not include a Problem/Change explanation of the 'Keep composer context visible' gating beyond what is stated, and it contains a note about the model used, which the template asks for. These are minor and do not block the review.
eac93f32-6fc3-44aa-98bf-89d0c1e6a0d2Reviewing files that changed from the base of the PR and between 90972239adaf32a46ef911294c27053fb170bb3e and 681411c35a9b4d6f4df900218b5bfeae91463ec6.
apps/web/src/components/chat/ComposerSurface.tsxIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
681411c to
3e1f333
Compare
…he card The row's glass background was a full-width square rectangle flush against the composer card. It is now a rounded pill with a small gap above it. Fixes pingdotgg#36258 Co-Authored-By: Claude Fable 5.2 <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ine" This reverts commit 8019ed0e64cbaf4f7ebff7f8b3886897864afb45.
…abels Co-Authored-By: Claude Fable 5.2 <[email protected]>
3e1f333 to
0542d0a
Compare
|
Note Written by merged current main with a merge commit and preserved the one-line styling change. the cancelled ci run was replaced by a fully passing run. blacksmith |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for merging main and re-verifying. Nothing further from my side: the branch stays at |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Some history I should have included above: this tucked tray is close to what the composer used to have. Crop from the "before" screenshots in #25869.
So the mockup above is really "bring back the old chin, at a smaller 12px inset", which would reverse a deliberate call in #25869. If the simpler row is the direction, the rounded pill here fits it better. I'm raising the tray as an option, not asking for it in this PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for the mockup and for digging up the history. I'm keeping this PR as the rounded pill: the tucked tray would bring back the chin that #25869 removed on purpose, along with the seam problems that came with it (the card is translucent glass, so the tray's top edge would show through). That's a design direction for the maintainers to choose, and better as its own proposal than folded into this one-line fix. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Note Written by Verified in a real dev environmentverified as-is at added a real local git repo through the web client and completed Codex at 1280x800 with context enabled, the row changes from 0px corners/no gap to 12px corners/a 4px gap. its height stays 32px and the composer stays at y=636.5..748. inspected real chat text scrolling behind it in dark and light themes. at 390x844 the row fits the viewport without horizontal overflow. nearby checks passed: branch picker opens, searches and selects the current branch; disabling context removes the row and enabling it restores it; a new-thread draft shows its context controls and accepts text. blacksmith Not verifiednative electron shell, native ios/android clients, other browsers, browsers without backdrop-filter, custom themes, and remote/tunnel connections were not exercised on this linux chromium pass. native mobile uses a separate composer and is outside this one-line web change. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for the full verification, including the light theme, narrow width and new-thread draft that I had listed as unchecked. No changes needed on my side; the branch stays at |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Context row under the composer is a square slab stuck to the card
There was an error while loading. Please reload this page.