The owner found the Add group form too long. Name, In agents' lists,
Models, Accounts, Rules and the classifier stay in the form; Patterns,
Model lists, Routing, Rate limited, Slow to start, Every member busy,
Context, Stays, Effort and Levels move into an Advanced fold
(details.more, as the provider editor's). It opens by itself when the
group sets any of them, remembers being opened or closed while the
editor is up, and Save opens it when a typed pattern is invalid so the
focus lands on it.
The fold's inner grid takes the editor's label column (--ed-lab), so
its labels line up with the ones above; without it English sat 30px
off (group-editor-fits caught it), and at 520px and in the web layout
it stacks like the rows above. edAlign now sets --ed-lab/--ed-at only
when they change, and in an open fold a later change waits a frame
(a closed fold only moves its chevron and follows at once): opening the fold
re-measured inside the ResizeObserver callback and routing-rows-fit
failed on "ResizeObserver loop completed with undelivered
notifications".
The GUI tests that edit those rows open Advanced first (openAdvanced
in group-context, -unlists, -first-token, -patience, -defaults,
-editor-align, -from-model-add); group-editor-align measures the
fold's labels too.
Run (Linux, WSL magpie-desktop, Chromium + WebKit, 5 languages):
- the 34 GUI files red in a first run plus group-editor-fits and
group-editor-selected, at this head rebased on 8935abcf5: 528
tests, 499 pass, 29 fail. The reds are i18n-keys (1, #5332#5426#5482), routing-intent-entry (8, #5392) and zero-priced-free (20,
#5262); the same files fail the same way at base 4f3ec591a without
this change.
- the 112 GUI files that reach an editor's fold, the view's room or
the group editor (details.advanced/.more, rt-gedit, --ed-lab,
setRoom, click-scroll, i18n-keys), at this head and at base
8935abcf5: 2246 tests, 44 fail on each, the same tests but two
that flipped once (provider-url-each-api 440px red here, 3 of 3
green alone; a long-text-box menu red at base only). Among them
editor-advanced-align's chromium case (#4615) is red at base too.
- the whole GUI suite was started and stopped part way (it would take
hours on WSL); its reds so far are in #5559's list.
- rebased on b68218f43 (a912cdc36 touched the groups page): every
group-* file, routing-rows-fit, routing-save-blank and click-scroll
again: 616 tests, 2 fail, both click-scroll's late wheel in WebKit
(#4385, red at base too).
- go test -run Budget ./internal/gui on mote at the pushed head: ok.
Broken by hand: without the inner grid rule, group-editor-fits is red
(373 vs 343 in English); without the edAlign change, routing-rows-fit
is red on the ResizeObserver page error; without the previous commit,
routing-save-blank is red.
Not tried: the real app window, macOS (mote was overloaded with
launch timeouts) and Windows.