fix subordinate grouping, layout alignments
frdel committed
Feb 8, 2026 at 11:31 UTC
52e1cce003fbadc9867b53cde80c99a601c05f4c
4 files changed
+14
-8
webui/components/chat/attachments/attachmentsStore.js
+2
-1
@@ -128,7 +128,8 @@ const model = {
128
setupPasteHandler() {
129
console.log("Setting up paste handler...");
130
document.addEventListener("paste", (e) => {
131
- console.log("Paste event detected, target:", e.target.tagName);
131
+ // console.log("Paste event detected, target:", e.target.id);
132
+ if(e.target.id != "chat-input" && e.target.id != "full-screen-input") return;
133
134
const items = e.clipboardData.items;
135
let imageFound = false;
webui/components/messages/process-group/process-group.css
+2
@@ -518,6 +518,8 @@
518
scrollbar-width: thin;
519
-ms-overflow-style: thin;
520
scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
521
+ padding-left: 17px;
522
+ padding-right: 1em;
523
/* overscroll-behavior: contain; */
524
}
525
webui/css/messages.css
+1
-1
@@ -406,7 +406,7 @@
406
font-weight: 500;
407
font-size: var(--font-size-xs);
408
/* min-width: 7em; */
409
- width: 4em;
409
+ width: 5em;
410
text-align: right;
411
}
412
webui/js/messages.js
+9
-6
@@ -282,11 +282,14 @@ function drawProcessStep({
282
if (classes) step.classList.add(...classes);
283
284
let appendTarget = stepsContainer;
285
- const parentStep = findParentDelegationStep(group, log.agentno);
286
- if (parentStep) {
287
- appendTarget = getNestedContainer(parentStep);
288
- step.classList.add("nested-step");
289
- }
285
+
286
+ // grouping subordinate chain under the delegation call
287
+ // for now disabled, let's keep the UI simple and unified for now
288
+ // const parentStep = findParentDelegationStep(group, log.agentno);
289
+ // if (parentStep) {
290
+ // appendTarget = getNestedContainer(parentStep);
291
+ // step.classList.add("nested-step");
292
+ // }
293
294
// remove any existing shiny-text from group
295
group
@@ -1881,7 +1884,7 @@ function findParentDelegationStep(group, agentno) {
1884
const stepAgent = Number(step.getAttribute("data-agent-number"));
1885
if (
1886
stepAgent === agentno - 1 &&
1884
- step.getAttribute("data-log-type") === "tool" // map to the last tool call of superior agent
1887
+ step.getAttribute("data-log-type") === "subagent" // map to the last tool call of superior agent
1888
) {
1889
return step;
1890
}