NovaStudiosss on X: "the models added to a routing group should be
draggable with the mouse; I move them often and Up/Down each time is
not handy enough". A member could already be dragged since 4dab45e3f,
but only by its number, whose grip shows on hover; the number reads as
a label, so the reporter only found Up and Down.
Now the whole row picks the model up too: its logo, the room around
its words and the row's own background, through the same dragRows the
number uses (one commit to moveMember, the same order saved as before,
so the gateway routes in it: members/placed in /api/groups/save as
group-member-drag already checks). The row shows a grab cursor. A press
on the model's name still selects its words, as the accounts' rows do
(the editor keeps them selectable, jiabubu), and its switch, number,
effort, weight, Up/Down and remove stay controls. The row has
touch-action pan-y, so a finger on it still scrolls the page; the
number keeps touch-action none for a finger's drag. The grip still
shows on hover only. No new strings, no new motion (the drag's lift
and shifts are dragRows', reduced motion as before).
Run (pushed tree's assets = this commit on 65e3dfa95):
- group-member-row-drag.test.cjs (new): Chromium and WebKit, en, zh,
zh-TW, ja, de, at 1100px and 420px, 20 of 20 on mote. With
origin/main's assets (MAGPIE_ASSETS) it is red: the cursor check,
and with that check taken out the logo drag moves nothing
(["one","two","three"] for ["three","one","two"]), both engines.
- group-*, routing-*, rt-*, route*, i18n*, strings*, click-scroll and
core-* GUI files (250 files, 4008 tests) on mica under load: 18 red
in 6 files. Rerun alone at concurrency 1, here and on an origin/main
65e3dfa95 worktree: the same 17 red in 5 files on both, all filed:
group-editor-selected (#5049), routing-pin-away (#6512),
routing-row-swap (#3799), routing-signin (#6520),
routing-story-shrinks (#3954). group-member-weight's webkit de 420
1px red (#2387) passed alone.
- go test -tags nogui ./internal/gui/ on mote: ok.
Not tried: a real touch screen (the touch-action values are checked,
not a finger), and the Linux WebKitGTK app.