-
Notifications
You must be signed in to change notification settings - Fork 11k
Open
Labels
webRelates to opencode on web / desktopRelates to opencode on web / desktop
Description
Problem
After deleting all sessions (when navigating back to the session list where params.id is undefined), the following views still display stale content instead of being empty:
- Session changes view
- Last turn changes view
- Changes view
Expected Behavior
All changes views should be completely empty after deleting all sessions and returning to the session list.
Root Cause
-
SessionReview component state persistence: The local store in
SessionReviewcomponent is initialized with initial diffs and doesn't clear itself when diffs become empty. -
Tree state not cleared on navigation: The
treestate (which tracks activeDiff, pendingDiff, reviewScroll) is only cleared whensessionKeychanges, but not whenparams.idbecomesundefined.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
webRelates to opencode on web / desktopRelates to opencode on web / desktop