summaryrefslogtreecommitdiff
path: root/_docs/chat-contract.md
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-11-07 19:29:06 +0100
committerAgando <roduccomm@gmail.com>2026-11-07 19:29:06 +0100
commita46ebee30cfbbac86abb45068411bc28e1c65503 (patch)
tree35d6b5d1d68a58b11095cf06d7db241c3f7ecf0f /_docs/chat-contract.md
parent05d72563637e88825ff852d803621c567de47e34 (diff)
fix(newos4): workspace re-opened the modules panel every tick; picker lost two cards; commander was blackHEADv4.6.156main
Three defects reported against v4.6.155, each reproduced before touching code: 1. 'the modules tab keeps opening' (workspace). api.capture() runs dispatchCommand() for real, and the Modules card called bare 'modules' — whose only effect is terminal.openModuleManager(). Every 15 s refresh re-opened the panel (measured: #module-manager display:flex at t+9s and t+18s). The card now captures 'listmods' (same inventory as text), and api.capture() refuses UI-only commands outright so a future card cannot reintroduce it. 2. 'the picker got reduced to 4 items'. showPicker() used this.list() once four modes were registered — but modes are lazy, so that is 'modes you have already visited'. It now always renders the six in level order, taking registered specs for label/tagline. 3. 'commander is mostly black' on a phone. The base sheet's #ui-root rule used body[data-ui-mode]:not(...) #ui-root (1,2,1) and therefore beat every mode's own body[data-ui-mode='x'] #ui-root (1,1,1): commander/studio/cockpit asked for display:grid and got flex column. Commander collapsed to a 253 px centre column in an 844 px page with both rails hidden. Base specificity is now (1,0,0) with an explicit !important hide for classic/boot, and the commander phone query pins grid-template-rows: minmax(0,1fr) so the single row fills. Measured after: picker 6 cards after visiting four modes; #module-manager stays display:none across a refresh cycle; commander display:grid, phone centre 390x810 with a 673 px terminal, desktop 232/788/260 columns. probe-ui-modes.py --cycle -> ALL PASS, 13 checks; shell test 25/25. v4.6.156
Diffstat (limited to '_docs/chat-contract.md')
0 files changed, 0 insertions, 0 deletions