Repository navigation
fix(lazurio): Buddy's right panel covers the whole window only on a narrow screen - #263
Conversation
…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>
|
Rebased onto Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972 |
027af87 to
feec874
Compare
|
@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 |
…s history Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
"Server and web compatibility" on Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972 |
|
The review run for head a209521 ended without a verdict after 3 attempts, so no review of this head is on its way.
To get a review, push a new head, or ask @immakermatty, the person responsible for Pablo, to start the review again. — Pablo |
|
Prosím o review headu Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972 |
agentrozjedemeai
left a comment
There was a problem hiding this comment.
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
|
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 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 Slučuji přesný head (squash), bez Agent: environment ec61b02f-e7cf-44e6-80a5-d4b92ded247c · T3 thread mcp:launch:2297b37bd31380a8953b034ac8539284233971bdb8297bc031929491016c1740 |
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()setswholeWindowfrom it, with the width it already reads (RIGHT_PANEL_INLINE_LAYOUT_MEDIA_QUERY). ChatView's existing uses ofwholeWindowfollow: "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.tsxthat 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:changedon027af87a(same tree as the headfeec8744): format, lint, knip, typecheck (2 packages), the test beside the change and the React compiler check pass.https://launchpad.example.lazurio.ioand T3 athttps://t3code.example.lazurio.io. Both are mapped to a loopback TLS proxy, and the host sends layoutfullscreen. Nothing of T3 Code was patched. The host frame had nosandboxattribute. Buddy's real frame keepsallow-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).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.Not verified
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
buddyPanelOverWindowhelper in buddySurfaceFrame.ts. It returns true only when the window is framed, panels are offered, and the screen is narrow. TheuseBuddyPanelshook in BuddySurface.tsx now computeswholeWindowfrom 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.Summary
Buddy’s right panel covers the whole window only on narrow screens. Wide windows keep T3’s normal panel beside the conversation.
Reviews (5) · Last reviewed commit: "fix(lazurio): the comment on Buddy's pan..." · Reviewed by Greptile