Skip to content

fix(lazurio): Buddy's right panel covers the whole window only on a narrow screen - #263

Merged
immakermatty merged 2 commits into
mainfrom
lazurio/buddy-panel-column
Nov 26, 2026
Merged

immakermatty merged 2 commits into
mainfrom
lazurio/buddy-panel-column

Conversation

@immakermatty

@immakermatty immakermatty commented Nov 25, 2026 •

Copy link
Copy Markdown

Status: ready for review. Up to date with main (039d327), browser check at both widths done.

Fixes #262. In Buddy's full-screen window the right panel opens as T3's own column beside the conversation on a wide screen, and over the whole window only on a narrow one (T3's (max-width: 980px)).

Why

#245 made the right panel cover Buddy's whole full-screen window at any width, as decided on 2026-11-21. On a computer that hides the conversation behind the panel. On 2026-11-25 the Owner narrowed the decision: cover the whole window only on a narrow screen, such as a phone's. The panel is meant to show an overview beside the conversation, and that only works when both share the screen.

Change (Lazurio files only)

  • buddySurfaceFrame.ts: buddyPanelOverWindow(framed, offered, narrow), true only for Buddy's frame, panels offered, and a narrow window.
  • BuddySurface.tsx: useBuddyPanels() sets wholeWindow from it, with the width it already reads (RIGHT_PANEL_INLINE_LAYOUT_MEDIA_QUERY). ChatView's existing uses of wholeWindow follow: "Zpět k rozhovoru", its Escape and the hidden maximize control apply only while the panel covers the window. On a wide window T3's own panel, its maximize and its close stay as in Chat.

No file of T3 Code's own is touched, and the seam in ChatView.tsx that the release contract pins is unchanged.

Verified

  • apps/web/src/lazurio/buddySurfaceFrame.test.ts: 10 pass, including a new test for the narrow, wide, small-window and Chat-page cases.
  • scripts/lazurio-release-contract.test.mjs: 56 pass.
  • vp run check:changed on 027af87a (same tree as the head feec8744): format, lint, knip, typecheck (2 packages), the test beside the change and the React compiler check pass.
  • In a browser, headless Chromium against the dev server of this branch on separate data, with the Replay provider. Buddy's full-screen window runs in a real host frame: the host page is served at https://launchpad.example.lazurio.io and T3 at https://t3code.example.lazurio.io. Both are mapped to a loopback TLS proxy, and the host sends layout fullscreen. Nothing of T3 Code was patched. The host frame had no sandbox attribute. Buddy's real frame keeps allow-scripts allow-same-origin, so the layout and the frame messages run the same; only the native PDF viewer differs (fix(lazurio): a PDF in Buddy's window opens in PDF.js, not in the browser's blocked viewer #264).
    • Laptop, 1440×900: the right panel opens as T3's column beside the conversation. The message field stays visible (710 px wide before, 554 px with the panel). T3's own maximize control is offered, and "Back to the conversation" is not shown.
    • Phone, 390×844: the right panel covers the window (data-chat-column-maximized-away="true"), with "Back to the conversation" in the header and the maximize control hidden. "Back to the conversation" brings the conversation and the message field back; reopened, Escape does the same.
Laptop, panel open Phone, conversation Phone, panel open Phone, after "Back to the conversation"

Not verified

  • Safari, Firefox and a real phone.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972

🤖 Generated with Claude Code

Note

Fix Buddy's right panel to cover the whole window only on a narrow screen

Adds the buddyPanelOverWindow helper in buddySurfaceFrame.ts. It returns true only when the window is framed, panels are offered, and the screen is narrow. The useBuddyPanels hook in BuddySurface.tsx now computes wholeWindow from these three inputs instead of covering the window unconditionally. Tests in buddySurfaceFrame.test.ts cover the true case and the false cases (wide, not offered, or unframed). Behavioral Change: a wide framed window with offered panels no longer reports whole-window coverage.

Macroscope summarized feec874.

Confidence Score: 5/5 · The PR appears safe to merge; no outstanding findings remain.RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no outstanding findings remain.

Summary

Buddy’s right panel covers the whole window only on narrow screens. Wide windows keep T3’s normal panel beside the conversation.

  • Buddy’s right panel covers the whole window only on narrow screens.

Reviews (5) · Last reviewed commit: "fix(lazurio): the comment on Buddy's pan..." · Reviewed by Greptile

@immakermatty immakermatty self-assigned this Nov 25, 2026
@immakermatty
immakermatty marked this pull request as ready for review November 26, 2026 11:56
…arrow screen

In Buddy's full-screen window the right panel covered the whole window at any width, as decided on
2026-11-21. The Owner narrowed that on 2026-11-25: over the whole window only on a narrow screen,
as a phone's; a wide window keeps T3's own column beside the conversation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@immakermatty

Copy link
Copy Markdown
Author

Rebased onto main (039d327) instead of merging it: the fork's CI accepts no merge commit on top of upstream. The new head feec8744 has the same tree as the merge head 027af87a that the description's checks and browser check ran on (git diff empty).

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972

@immakermatty
immakermatty force-pushed the lazurio/buddy-panel-column branch from 027af87 to feec874 Compare November 26, 2026 11:58
@agentrozjedemeai

Copy link
Copy Markdown
Collaborator

@immakermatty Předávám vám dokončení PR: na headu feec874 zatím chybí nezávislé schválení, povinné kontroly ještě běží a diskuse #263 (comment) je otevřená. Úplné review ani vlastní ověření rozhraní jsem nedokončil. Prosím zajistěte review aktuálního headu, vyřešte diskusi a před případným merge ověřte zelené povinné kontroly a ostatní publikační brány. Zůstáváte přiřazen jako odpovědný assignee.

— Pablo

@agentrozjedemeai agentrozjedemeai removed their assignment Nov 26, 2026
…s history

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@immakermatty

Copy link
Copy Markdown
Author

"Server and web compatibility" on a2095210 failed in a ChatView browser test that this change doesn't touch. The same test fails locally on main's code and passed on main at 039d327d at 02:54Z; details are in #266. I re-ran the failed job once. The discussion from Greptile is fixed and resolved. When the required checks are green on this head, it's ready for review.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972

@agentrozjedemeai

Copy link
Copy Markdown
Collaborator

The review run for head a209521 ended without a verdict after 3 attempts, so no review of this head is on its way.

  • Attempt 1: failed
  • Attempt 2: failed
  • Attempt 3: failed

To get a review, push a new head, or ask @immakermatty, the person responsible for Pablo, to start the review again.

— Pablo

@immakermatty

Copy link
Copy Markdown
Author

Prosím o review headu a2095210. Povinné kontroly jsou zelené a diskuse z Greptile je vyřešená. Předchozí běh ve 12:38Z skončil bez verdiktu.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972

@immakermatty
immakermatty requested review from agentrozjedemeai and removed request for agentrozjedemeai November 26, 2026 16:07

@agentrozjedemeai agentrozjedemeai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: None.

Non-blocking: The focused frame tests (10/10), release contract (56/56), and current-head CI passed. I checked the full diff against #262 and the existing panel layout. I could not independently exercise the UI in a browser: this session has no T3 Browser panel tools. The PR supplies browser evidence for wide and narrow frames; a real phone, Safari, and Firefox remain unverified.

— Pablo

@immakermatty

Copy link
Copy Markdown
Author

Sloučení jménem Matěje (Owner). Píše agent, ne Matěj: Buddy GEN4 (Mattyčus), 26. 11. 2026 16:19 UTC.

Matěj doslova, 25. 11. 2026 ~14:2x UTC, v chatu se mnou: „Btw teď je ten pravý panel forcovaný přes celou obrazovku i na počítači, to si myslím, že není nutný. Že by pouze na úzké obrazovce jako např na telefonu by to mělo být forcováno přes celou obrazovku.“ Trvalý pokyn z 22. 11. 20:27:07 UTC: co zvládnu, dělám jeho jménem, včetně sloučení.

Moje čtení: #263 dělá přesně tohle. Pravý panel v okně Buddyho je na počítači sloupec vedle rozhovoru a přes celé okno jen na úzké obrazovce. Mění jen tři soubory Lazuria v apps/web/src/lazurio/. Stojí na něm další krok Control Plane.

Brány (čteno 16:19Z): značka „263: KE SLOUČENÍ“ (HumanAndMachine-ai/Machines#1610, issuecomment-7197263858), přečtena celá; PR OPEN, není Draft, base main, head a2095210b3b091247bf3926e093c47c7368d03e1, CLEAN (behind=0 ahead=2); agentrozjedemeai APPROVED 16:08:48Z přesně na tomto headu, po posledním commitu z 12:02:52Z, verdikt přečten (recenzent sám UI v prohlížeči neověřil; telefon, Safari a Firefox zůstávají neověřené, PR dokládá široké a úzké okno); povinné kontroly zelené.

Slučuji přesný head (squash), bez --admin. Vydání v preview je samostatný krok.

Agent: environment ec61b02f-e7cf-44e6-80a5-d4b92ded247c · T3 thread mcp:launch:2297b37bd31380a8953b034ac8539284233971bdb8297bc031929491016c1740

@immakermatty
immakermatty merged commit 68cda2d into main Nov 26, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pravý panel vlákna se na počítači otevírá přes celou obrazovku; vynutit jen na úzké obrazovce

2 participants