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): the Fix action on a thread details PR row stays inside the card by pouyarezvani · Pull Request #31115 · pingdotgg/t3code Conversation
|
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The checks label can shrink and truncate so the Fix action stays inside the thread PR card. This is a localized presentation change with existing actions and check details unchanged. 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.
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
| Check name | Status | Explanation |
|---|---|---|
| Title check | The title names the Fix action on the thread details PR row and says it stays inside the card. The raw summary shows the change: the checks popover control gets min-w-0 shrink, and the failed-count la… | |
| Linked Issues check | [#31113] requires the Fix action to stay inside the thread details card when checks show a count. At the reviewed head, ThreadDetailsPrRow.tsx gives the checks count control min-w-0 shrink through… |
|
| Out of Scope Changes check | The whole-PR diff (merge base e0d0fb3 to head 363807b) changes ThreadDetailsPrRow.tsx and PullRequestChecksPopover.tsx. The count-variant class changes and the Fix pending-state spinner both targe… |
|
| Description check | The description explains the problem (the Fix button overflowing the thread details card when a watched PR shows a checks count), the change (the checks control can shrink, the word "checks" drops out… |
Explanation
The title names the Fix action on the thread details PR row and says it stays inside the card. The raw summary shows the change: the checks popover control gets min-w-0 shrink, and the failed-count label truncates. That keeps the trailing action visible. The title is specific and matches the main change. It also follows the conventional commit form the template recommends.
Explanation
[#31113] requires the Fix action to stay inside the thread details card when checks show a count. At the reviewed head, ThreadDetailsPrRow.tsx gives the checks count control min-w-0 shrink through ThreadDetailsControl, so it can shrink. PullRequestChecksPopover.tsx (variant count) clips the second line of the count text, truncates the failed label, and keeps N/M on one line. The Fix pending label is replaced by Fix with an aria-label spinner, which removes the longer 'Preparing...' text that the issue says clipped the row further. These changes address the overflow in the issue. The issue has no automated-test requirement. The PR description still says the change is two class lists with no behavior change, but the reviewed head is broader. That description is stale and does not affect the requirement assessment. Visual layout at 280px was not confirmed by a run in this review; the assessment relies on the diff and the prior PR evidence.
Explanation
The whole-PR diff (merge base e0d0fb3 to head 363807b) changes ThreadDetailsPrRow.tsx and PullRequestChecksPopover.tsx. The count-variant class changes and the Fix pending-state spinner both target the width overflow on the same row, so each has a direct connection to [#31113]. The Spinner import supports the spinner. The Fix pending label change is a visible behavior change, but it is tied to the 'Preparing...' clipping named in the issue. Other checks badge variants are not changed by these edits. The PR description understates the scope by saying it changes two class lists with no behavior. That mismatch is a documentation issue, not unrelated code.
Explanation
The description explains the problem (the Fix button overflowing the thread details card when a watched PR shows a checks count), the change (the checks control can shrink, the word "checks" drops out first, and Fix keeps its label and shows a spinner while preparing), and the validation steps. It links issue #31113 and states that the fix preserves existing actions. It follows the template's Problem, Change, Scope, and Verification sections. Gaps: the Verification section does not give explicit before/after screenshots for the UI change. It links an external reproduction image from a fork rather than uploading evidence to GitHub. It also has no agent/model attribution in the required form, though it does name the models used. The core required information is present, so the check passes.
3ba80e73-aa39-446c-a47e-236b826212f4apps/web/src/components/chat/ThreadDetailsPrRow.tsxapps/web/src/components/pullRequest/PullRequestChecksPopover.tsxIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note Written by Takeover update. The fix itself is unchanged.
Real Before (main): Fix is clipped at the card edge. After (this PR): the count truncates and Fix stays inside the card. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
AI-assisted; verified with the tests and tools listed above.
|
The automated pipeline stopped on this pull request and will not merge it: in the real app the problem is still there, and the rework changed nothing: No code change this round; the branch stays at 3ba7811. This round's item lists the proof steps (16/17 checks, capture Fix, click Fix, capture Preparing...) but does not say what went wrong at this head, and the PR comments hold no failure detail for 3ba7811. I checked it against the code by rendering the real ThreadDetailsPrRow with the app stylesheet (index.css) in the browser test runner, at the card's real geometry: a 280px card with the section's px-2, so a 264px row whose contents must end at 262px. Setup: PR https://git.cafe/pingdotgg/t3code/pulls/31115 with 15 passing, 1 failed and 1 pending check, the watch icon shown, and the handoff mocked to pending for the Preparing state. On main's classes the bug reproduces: Fix ends at 286.5px and Preparing... at 339px, past the card edge at 272px. At head both states end at 262px: Fix with the count shown as '16/17 …', and Preparing... with the count text hidden and the checks icon kept, as last round intended. A 3x screenshot of both head states shows every control inside the card. The rule for this round was to fix what the code confirms and explain anything it doesn't. The measured head is correct, so I made no change rather than add code to satisfy an item with no observed failure. If the proof run still sees a failure at this head, it needs to report what it saw (for example an element's right edge, or which control overflows) so it can be reproduced. AI-assisted; verified with the tests and tools listed above. It stays open for a person to finish or close. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@juliusmarminge @maria-rcks Thanks both for picking this up and for the extra commit that hides the count while the action is pending. From the pipeline's last note, the current head ( If the proof run saw something different, I'm happy to dig in. Just let me know which control it reported overflowing and I'll reproduce it in the desktop app. Otherwise, is this ready to merge? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
One more data point on the pipeline's "still there in the real app" note: this is the bug as it looks today in the shipped desktop app, without this PR. On each row with a failing check, the red Fix button is cut off at the card's right edge (#10752 and #10759 here). I blurred the PR titles because they're from a private repo. On this PR's head ( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
**v0.1.10-nightly.20261112.4606** · 4 changes from 3 contributors **3 bug fixes.** <details> <summary>Full changelog</summary> ## What's Changed * fix(web): the Fix action on a thread details PR row stays inside the card by @pouyarezvani in pingdotgg/t3code#31115 * fix(mobile): queue sheet's Resume queue continues a usage-limited thread by @juliusmarminge in pingdotgg/t3code#35576 * fix(server): background status fetch no longer breaks a concurrent git pull by @juliusmarminge in pingdotgg/t3code#26568 * test(web): Mermaid rejection test waits for the viewer chunk to load by @t3dotgg in pingdotgg/t3code#35586 **Full Changelog**: pingdotgg/t3code@v0.1.10-nightly.20261112.4603...v0.1.10-nightly.20261112.4606 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.10-nightly.20261112.4606
…card (pingdotgg#31115) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Yash Singh <[email protected]> (cherry picked from commit 932cbd4)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Fix action on a thread details PR row overflows the card
There was an error while loading. Please reload this page.