From db7d3c2263db02ce48ddc32e69a97b628dad8430 Mon Sep 17 00:00:00 2001 From: "Maksym Hryzodub [DREAM]" Date: Tue, 1 Dec 2026 01:01:40 +0200 Subject: [PATCH] fix(app): the turn status line no longer draws over itself on a phone (RANCH-5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After a turn the agent header reads "Done · 2 steps · 0:16". The count of steps could not shrink, so in a narrow header it was drawn over the clock. The line is now clipped to its own room. The count of steps wraps to a second, clipped line where it does not fit whole, so it is left out and never cut in half; the marks on the ring say the same. In a narrow sheet the dot before the clock goes, which is what a six-letter word needed to be shown whole beside it. Browser check: specs/041-agent-turn-indicators/e2e/fit.mjs plays a turn at 390 px and 1440 px and measures the pieces of the line at every phase. It fails on the header before this change. --- .../components/agent/workspace/Sheet.vue | 24 ++- package.json | 2 +- specs/041-agent-turn-indicators/e2e/all.mjs | 1 + specs/041-agent-turn-indicators/e2e/fit.mjs | 150 ++++++++++++++++++ 4 files changed, 171 insertions(+), 6 deletions(-) create mode 100644 specs/041-agent-turn-indicators/e2e/fit.mjs diff --git a/app/slices/agent/components/agent/workspace/Sheet.vue b/app/slices/agent/components/agent/workspace/Sheet.vue index 290498b1..ffc9d9c9 100644 --- a/app/slices/agent/components/agent/workspace/Sheet.vue +++ b/app/slices/agent/components/agent/workspace/Sheet.vue @@ -324,7 +324,9 @@ const failedKey = computed(() => { :data-tone="indicator.tone" :aria-label="$t('sheet.turn_line')" > - + + { {{ turn.stepLabel }} +