Skip to content

fix(webui): hide assistant actions until turn end - #5371

Open
ZhouJ-sh wants to merge 2 commits into
HKUDS:mainfrom
ZhouJ-sh:fix/webui-turn-actions
Open

fix(webui): hide assistant actions until turn end#5371
ZhouJ-sh wants to merge 2 commits into
HKUDS:mainfrom
ZhouJ-sh:fix/webui-turn-actions

Conversation

@ZhouJ-sh

Copy link
Copy Markdown
Contributor

Summary

  • hide assistant copy and fork actions until the containing Agent turn receives turn_end
  • preserve historical actions using authoritative active turn IDs with a legacy boundary fallback
  • handle guidance rows, failed optimistic sends, resumed turns, and assistant-only automation runs

Testing

  • NODE_OPTIONS='--localstorage-file=/tmp/nanobot-vitest-fix-review-9' bun run test -- src/tests/thread-messages.test.tsx src/tests/thread-viewport.test.tsx src/tests/thread-shell.test.tsx (133 passed)
  • bun run lint
  • bun run build
  • git diff --check

Closes #5368

@chengyongru chengyongru added bug Something isn't working fix priority: p2 Normal backlog: minor bug, enhancement, docs, cleanup, edge case, or unvalidated proposal. test webui conflict labels Aug 13, 2026
@Re-bin
Re-bin force-pushed the fix/webui-turn-actions branch from 9cfcc3d to 88f9b88 Compare August 15, 2026 09:14
@Re-bin Re-bin removed the conflict label Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix priority: p2 Normal backlog: minor bug, enhancement, docs, cleanup, edge case, or unvalidated proposal. test webui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebUI: hide copy and fork actions while an Agent turn is still running

3 participants