Skip to content

fix(canvas): clear preview on session switch#476

Merged
Harry19081 merged 1 commit into
developfrom
junyu/pr281-canvas-session-switch
Jul 21, 2026
Merged

fix(canvas): clear preview on session switch#476
Harry19081 merged 1 commit into
developfrom
junyu/pr281-canvas-session-switch

Conversation

@beruro

@beruro beruro commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • clear the stored canvas preview only when navigating between distinct sessions
  • preserve previews across same-session reloads and initial loads
  • thread the leaving session through the existing SessionCore switch lifecycle

Extracted from closed PR #281.

Validation

  • 36 focused Vitest tests passed
  • scoped ESLint passed
  • pnpm run typecheck
  • git diff --check
  • GitHub Frontend and Rust CI passed

@beruro
beruro marked this pull request as ready for review July 21, 2026 13:52
@Harry19081
Harry19081 merged commit 3877273 into develop Jul 21, 2026
2 checks passed
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.

2 participants