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): PR links in expanded tables no longer split mid-number by juliusmarminge · Pull Request #24584 · pingdotgg/t3code Conversation
|
| Fixture | Before · eea9895 | After · d4d5ad6 | Diff0 ×8 | DiffT >16/255 |
|---|---|---|---|---|
| outside | ||||
| plan-preview | ||||
| primary-assistant-1440-dark | ||||
| primary-assistant-1440-light | ||||
| primary-assistant-390-dark | ||||
| primary-assistant-390-light | ||||
| primary-user-1440-dark | ||||
| primary-user-1440-light | ||||
| primary-user-390-dark | ||||
| primary-user-390-light | ||||
| reasoning-open | ||||
| shapes-01-03 | ||||
| shapes-04-06 | ||||
| shapes-07-09 | ||||
| shapes-10-12 | ||||
| shapes-13-15 | ||||
| shapes-16-18 | ||||
| shapes-19-21 | ||||
| shapes-22 |
| Fixture | Before · eea9895 | After · d4d5ad6 | Diff0 ×8 | DiffT >16/255 |
|---|---|---|---|---|
| attachment-1440 | ||||
| attachment-390 | ||||
| chat-assistant-token-390 | ||||
| chat-user-leading-1440 | ||||
| chat-user-shapes-1440 | ||||
| chat-user-token-390 | ||||
| file-1440 | ||||
| file-390 | ||||
| pr-1440 | ||||
| pr-390 |
Recordings: before table toggle/pan, after table toggle/pan. Matching scripted steps and timestamps are in the indexes; supplemental clips cover Files/attachment source/rendered round trips and long-token panning.
Implemented with Claude Opus 5.5; reviewed and verified with GPT-6.1-Sol and Claude Opus 5.5 through T3 Code (Codex and Claude harnesses).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…umber Co-Authored-By: Claude Opus 5.5 <[email protected]>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This one-file fix narrowly adjusts external-link text wrapping so short labels such as PR numbers remain intact while URL-shaped labels retain their existing break opportunities. It introduces no new capability, schema change, default, or static-analysis override. You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Link label break opportunities apps/web/src/components/chat/MarkdownExternalLink.tsx |
breakableExternalLinkText returns labels without inserted break opportunities when they contain neither . nor /. |
Priority:
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix · Severity of issue fixed: Low
Possibly related PRs
<wbr> elements.Suggested reviewers: macroscopeapp
e8058No concrete merge-blocking risk remains from this focused wrapping change.
Explanation
Directly linked issue #24146 requires PR link chips such as #363 to stay on one line in expanded Markdown tables. Reviewed head e8058c32 shows breakableExternalLinkText in apps/web/src/components/chat/MarkdownExternalLink.tsx. It returns the label as a single text node when the label contains neither . nor /. Only URL-shaped labels receive a <wbr /> after each character. For #363, the leading # and the favicon sit in a whitespace-nowrap span. The remaining 363 has no per-character break opportunities, so the digits cannot split at #36 and 3. Under CSS Text rules, overflow-wrap: break-word does not reduce min-content width, so the column keeps at least the width of the word. This matches the issue's expected behavior. The PR reports before/after captures for expanded tables at 1440 and 390 CSS px, in light and dark themes. I could not view those images, and the base revision file could not be read, so the before/after claim rests on the reported evidence plus the head code. Table CSS and ChatMarkdown are reported unchanged. Automated tests were not added. The issue requests a visual fix and the PR states that no implementation-mirroring tests were added, so this does not block PASS.
Explanation
The raw summary and PR description identify one changed file, apps/web/src/components/chat/MarkdownExternalLink.tsx, with +4/-0 lines. The change adds a predicate guard to breakableExternalLinkText and a comment. It does not alter declarations or other files. The whole-PR text diff could not be read, so the one-file scope rests on the supplied summary and PR description. The PR also states that ordinary labels without a dot or slash now wrap by normal word boundaries. This side effect comes from the same helper predicate. It applies to labels in the same link-rendering path that the linked issue concerns, and the PR discloses and captures it. It is not an unrelated change.
Comment @coderabbitai help to get the list of available commands.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing in favour of https://git.cafe/pingdotgg/t3code/pulls/24163 by @fixfon, which fixes the same split-number bug (https://git.cafe/pingdotgg/t3code/pulls/24146) with one CSS rule scoped to expanded tables. This PR changed the shared Markdown link helper, which also changes wrapping for ordinary labels outside tables. The evidence gathered here stays linked from this PR for reference. Thanks @fixfon for the precise 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.
Successfully merging this pull request may close these issues.
[Bug]: PR link chips in an expanded Markdown table break mid-number (#36 / 3)
There was an error while loading. Please reload this page.