Skip to content

Optimistically render web chat sends#305

Merged
edwin-zvs merged 1 commit into
mainfrom
webui-optimistic-send
May 31, 2026
Merged

Optimistically render web chat sends#305
edwin-zvs merged 1 commit into
mainfrom
webui-optimistic-send

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • render chat composer sends immediately as optimistic user rows
  • reconcile the optimistic row when the canonical transcript event arrives, avoiding duplicate user messages
  • remove the optimistic row and restore composer text if the send RPC fails

Testing

  • git diff --check
  • cargo build
  • cargo test -p agentd-e2e --test web_smoke web_client_loads_and_websocket_connects

Notes

  • Hot reload is pointed at this worktree's web assets for manual verification.

@edwin-zvs
edwin-zvs merged commit 962edd5 into main May 31, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the webui-optimistic-send branch May 31, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant