feat(ui): color edit stats and spin the pending activity row - #79
Merged
Conversation
- edit rows now show Kimi-style diff stats: additions in green, removals in red (+14 -15), and rows without a diff stay quiet instead of showing +0 -0; - the pending row swaps the static ◌ for the package braille spinner, in step with the subagent and workflow views (bash already re-renders every second, so the frame advances); - all three states now share one 8-column verb field, so the target column lines up across pending, success, and failure rows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动
工具活动行(read/bash/write/edit/grep/find/ls 的折叠态单行)三处打磨:
+14 -15按 Kimi 风格 additions 绿色、removals 红色;没有 diff 的行不再显示+0 −0噪声(同时把 Unicode 减号 − 统一为 ASCII -);◌换成包内共享的 braille spinner,bash 行每秒刷新所以会真实转动,和 subagent/workflow 视图同一语言;验证
bun run check✅(270 files)bun run test✅ 801 node:test + 30 vitest/reload后任意编辑操作即可看到效果: