技能 2026-09-24 10:38 UTC
dsh-echocat-skill-panelv5.1.3
版本【5.1.3】由提交人 VDERR 提交,主要更新类型为:常规更新与维护。提交说明:5.1.3: the strip can no longer be crushed to a line, and no counter loses its label。对项目做了常规维护与小幅调整。
Commit提交信息原文
5.1.3: the strip can no longer be crushed to a line, and no counter loses its label
Second delivery from the other machine. Verified before publishing: identity consistent, 12 suites green, the width contract at
57/57, their `check-strip-responsive.mjs` passing across eight host widths, fourteen gates green.
WHAT IT ADDS to 5.1.2, which had already fixed the wrapping:
* `min-height` on the shell (48px) and the row (46px), so the host's flex column cannot crush the bar into the thin
background-only line the owner photographed. 5.1.2 stopped the bar WRAPPING; it did not stop it being SQUEEZED.
* The narrow layout now lets the left summary flex while the right flank takes its natural width, and the decoration yields
before any information label does — so all four counters keep a visible label at every width, which the previous step lost
at the narrow end.
* The action group is `nowrap` at every width, so it can never fold under the counters.
* The compact breakpoint moves to 1240px, which covers the custom session widths DSH lets a user SAVE — the previous value
only accounted for the default composer cap, which is why a saved wider session still hit the desktop layout.
THEIR REGRESSION TEST now runs at eight host widths (648 … 1304px, straddling the 1240/1241px boundary) and asserts a one-line
bar, no horizontal or vertical overflow, no right-flank overlap, an uncollapsed shell, four visible counter labels, and no child
outside the bar. It was already wired into `npm test` by 5.1.2, which this delivery was branched from, so it still is.
ONE THING I TRIED AND THREW AWAY, recorded because the reasoning matters: their test's height assertions cannot currently fail,
because its wrapper uses `justify-content:center` with `overflow-y:auto` — when the column does not fit it SCROLLS, so nothing
ever compresses the strip, and the 48px minimum is never the binding constraint. I added a deliberately squeezed probe (26px
container, hidden overflow, shrinkable seat) to try to make it fail. It still passed with both `min-height` rules REMOVED,
because the shell's own padding already holds it at 48px, so the new case was incapable of failing and would have shipped as
decoration. It has been reverted; the delivered test stands unmodified. The 48px minimum is still worth having, but the honest
statement is that it is not what the current assertions exercise.
99 shipped files compared against the delivered package: only the three regenerated `tools/preview*` artifacts differ, plus two
stale `dist/echocat-skill-panel-4.1.0.*` files that the package drops and this repo keeps (untracked, and predating this work).