Skip to content

fix(desktop): keep completed todo panel visible#3016

Open
GTC2080 wants to merge 1 commit into
esengine:main-v2from
GTC2080:GTC/fix-2942-todo-update
Open

fix(desktop): keep completed todo panel visible#3016
GTC2080 wants to merge 1 commit into
esengine:main-v2from
GTC2080:GTC/fix-2942-todo-update

Conversation

@GTC2080
Copy link
Copy Markdown
Contributor

@GTC2080 GTC2080 commented Jun 4, 2026

Fixes #2942

Summary

  • Keep the desktop todo panel visible for the latest successful todo_write, including the final all-completed update.
  • Preserve user dismissal behavior by still keying the hidden state to the todo item id.
  • Add a focused visibility regression check with a small performance loop.

Verification

  • npm run test:todo-visibility (200,000 visibility checks in 1.08 ms, 0.005 us/call)
  • npm run typecheck
  • npm run build (Vite built in 7.09s; wrapper elapsed 11,685 ms)
  • D:\Go\go\bin\go.exe test ./internal/agent ./internal/evidence ./internal/tool/builtin -count=1
  • D:\Go\go\bin\go.exe vet ./...
  • D:\Go\go\bin\go.exe test ./... -p 1 -count=1
  • git diff --check

Note: a plain concurrent go test ./... -count=1 on this Windows host repeatedly timed out the unrelated internal/cli custom statusline test under package-level load; internal/cli passed standalone, and the full suite passed with -p 1.

@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 任务已经完成to-doc没有更新

1 participant