Skip to content

Commit 28d7415

Browse files
committed
feat(ai-chat): dim stale TodoWrite blocks and neutralise their icons
Adds .ai-msg-tool.ai-todo-stale modifier that lowers a TodoWrite block's opacity to 0.65 and overrides .ai-todo-icon colour to a neutral muted tone with reduced alpha. Paired with the browser-side sweep that swaps the stale spinner glyph for fa-arrow-right and strips the in_progress class, so older TodoWrite cards read as historical snapshots rather than implying parallel activity.
1 parent 97ccbb4 commit 28d7415

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/styles/Extn-AIChatPanel.less

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,20 @@
794794
&.pending { color: @project-panel-text-2; opacity: 0.4; }
795795
}
796796

797+
// Older TodoWrite blocks are dimmed and have their in-progress spinner
798+
// swapped for a static arrow when a newer TodoWrite supersedes them.
799+
// Only the latest block keeps live animation; everything above reads
800+
// as historical "this was the next step at the time" rather than
801+
// implying parallel activity.
802+
.ai-msg-tool.ai-todo-stale {
803+
opacity: 0.65;
804+
805+
.ai-todo-icon {
806+
color: @project-panel-text-2;
807+
opacity: 0.6;
808+
}
809+
}
810+
797811
.ai-todo-content {
798812
color: @project-panel-text-2;
799813
line-height: 1.4;

0 commit comments

Comments
 (0)