Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: the header's tabs can be dragged onto each other to reorder them

Group tabs now show the grip and drag like agent tabs, and every tab in the strip takes the place of the tab another one is dropped on; the order is kept with the open tabs. An agent's tab keeps its other drag, onto a terminal to split it. moveTab is a pure function with tests.
This commit is contained in:
iris 2026-11-20 18:32:23 +01:00
commit f4421b216f

View file

@ -223,6 +223,10 @@
padding-left: 1.3em;
cursor: grab;
}
/* The tab a dragged tab would take the place of. */
.shell-tab-drop {
box-shadow: inset 2px 0 0 var(--purple);
}
.shell-tab-grip {
position: absolute;
left: 0.35em;