From 3d6201734c5ebca8e6389549c606a417eadf9187 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 1 Jul 2026 22:28:52 -0400 Subject: [PATCH] fix(settings): maintenance tiles start collapsed; remember manual open state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GpuAgentCard was hardcoded :open=true, HeadsCard opened whenever any head existed, TagEvalCard whenever a persisted run existed — so a fresh Settings load greeted the operator with several tiles already expanded. All three now force-open only while their task is actually running (the #877 resurface behavior on the busy-driven tiles is untouched). MaintenanceTile additionally persists MANUAL expand/collapse per tile in localStorage, so the section reloads the way the operator left it; a forced open while a task runs stays transient and is never saved as a preference. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01CDgx8bQS5YrGRK76v8HUnM --- .../src/components/common/MaintenanceTile.vue | 19 +++++++++++++++---- .../src/components/settings/GpuAgentCard.vue | 1 - .../src/components/settings/HeadsCard.vue | 2 +- .../src/components/settings/TagEvalCard.vue | 2 +- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/common/MaintenanceTile.vue b/frontend/src/components/common/MaintenanceTile.vue index fd0c54b..ad63e45 100644 --- a/frontend/src/components/common/MaintenanceTile.vue +++ b/frontend/src/components/common/MaintenanceTile.vue @@ -7,8 +7,10 @@ Usage: wrap a card's action body in the default slot; pass icon/title/blurb. `destructive` tints the icon error-red for delete actions. `open` can be forced - (e.g. keep a running task's tile expanded). Keyboard accessible: the header is a - real