mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #681] [MERGED] beholder 1.3.9: stop the panel shrinking its own interface to half size #1082
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1082
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/681
Author: @GetBeholder
Created: 9/1/2026
Status: ✅ Merged
Merged: 9/1/2026
Merged by: @GetBeholder
Base:
staging← Head:beholder-1.3.9📝 Commits (1)
2111997beholder 1.3.9: stop the panel shrinking its own interface to half size📊 Changes
9 files changed (+101 additions, -35 deletions)
View changed files
➕
artifacts/beholder-1.3.9.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
packages/beholder/client.js(+29 -7)📝
packages/beholder/manifest.json(+3 -3)📝
packages/beholder/src/80-dock.js(+27 -5)📝
scripts/build-beholder-package.mjs(+1 -1)📝
tests/beholder-client-contract.regression.ts(+23 -1)📄 Description
Pull request
Linked issue
Closes #665
Why this change
overflow:hiddenand scales its contents to fit instead of scrolling. The body holds ~844px of doll and the frame another ~178px, so showing everything at full size needs a window around 1020px tall — and it opened at 620. The geometry reported 100%, the fit pass then took it to 0.524, and slot labels rendered at 6.4px against a designed 12.2px.What changed
BH_WINDOW_DEFAULT_HEIGHTwas doing two jobs — the height a panel opens at and the height that counts as 100%. Raising it would have redefined full size and scaled everything back down, which is presumably why it never was. Split intoBH_WINDOW_DEFAULT_HEIGHT(now 1040, clamped to the chat area) andBH_SCALE_REFERENCE_WIDTH/HEIGHT(unchanged at 500×620).BH_CONTENT_MIN_SCALE = 0.85stops it, and the body scrolls for the remainder. The scrolling half is required, not cosmetic: the body isoverflow:hiddenon desktop, so a floor alone would have clipped the doll instead of shrinking it.Package and security impact
beholder>=2.4.4 <4.0.0unchanged). Layout-only.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdtest-catalog-lanes.mjsandvalidate-package-locales.mjspass; formatting clean under the pinned Prettier. Modes-and-uninstall unticked for the same reason as before: chat modes and restart were exercised, uninstall cleanup was not.Manual verification notes
Measured on a real engine with the built bundle, at two viewports:
Before: 500×620, scale 0.524, 6.4px, no scrolling and 210px of the doll simply clipped away by the scale.
The mobile path is untouched — it already had
overflow-y:autoand its own geometry — and the 107-check browser suite still passes, including the narrow-layout checks that would catch the panel becoming unreachable.Two invariants are pinned in
beholder-client-contract.regression.ts: that the reference size and the opening size remain different constants, and that the floor and the scrolling body both exist. Either could be quietly undone by someone tidying up two constants that look redundant, and the symptom — text at half size — is the kind of thing people assume is their monitor.Worth stating plainly: part of this was self-inflicted. The note box and the model-answering strip added in #664 are part of that 178px of frame, so that PR made the squeeze worse than it already was.
Documentation impact
🤖 Generated with Claude Code
https://claude.ai/code/session_01992DGH2exasKGaJiqRnteC
Summary by CodeRabbit
New Features
Bug Fixes
Chores
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.