Render conversation history in the UI on resume/switch#734
Conversation
all-hands-bot
left a comment
There was a problem hiding this comment.
🟡 Acceptable - The history replay feature works well, but there's a critical issue with duplicate side effects that must be fixed before merging.
Detailed Code Review Analysis[CRITICAL ISSUES] (Must fix)
[IMPROVEMENT OPPORTUNITIES] (Should fix)
[TESTING GAPS]
[RISK ASSESSMENT]
The history replay feature is well-designed with good pagination and UI/UX considerations. However, the duplicate side effect emission during replay is a critical bug that could:
Risk Factors:
Recommendation: Fix the side effect duplication before merging. Add a flag or parameter to skip side effects during replay, or refactor VERDICT: KEY INSIGHT:
|
|
Review comments addressed. |
Replays the last 50 persisted events when resuming a conversation via --resume or switching via /history panel. Co-authored-by: Jathin Sreenivas <sjathin@amazon.com>
Shows a clickable banner indicating earlier events can be loaded and loads more when clicked.
4f64e85 to
79afaf3
Compare
Summary
This is a continuation of changes proposed in PR #602.
Possible future improvement: Support infinite scrolling style auto-loading of additional events.
Demo Video
Screen.Recording.2026-05-10.at.3.27.37.PM.mov
Fixes
#287