fix: Restore meeting state after page refresh#378
Merged
Conversation
Move meeting state restoration from NoteCapture to MainContent so it runs regardless of which tab is active. Previously, refreshing while on any tab except Capture would orphan an active meeting because get_meeting_state was never sent. Changes: - App.tsx: Send select_vault and get_meeting_state on mount and reconnect - NoteCapture.tsx: Remove redundant vault/meeting restoration logic Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
rjroy
added a commit
that referenced
this pull request
Jan 21, 2026
Components using useWebSocket() each create separate connections with independent server-side state. The previous refactor (d590f39) moved vault selection to MainContent, but NoteCapture/MoveDialog/HealthPanel still have their own connections that need vault context. - NoteCapture: Add select_vault on connect, update meeting state locally - MoveDialog: Add select_vault on connect for list_directory calls - HealthPanel: Add select_vault on connect for dismiss_health_issue calls Fixes capture and meeting mode being broken after #378. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5 tasks
rjroy
added a commit
that referenced
this pull request
Jan 21, 2026
Components using useWebSocket() each create separate connections with independent server-side state. The previous refactor (d590f39) moved vault selection to MainContent, but NoteCapture/MoveDialog/HealthPanel still have their own connections that need vault context. - NoteCapture: Add select_vault on connect, update meeting state locally - MoveDialog: Add select_vault on connect for list_directory calls - HealthPanel: Add select_vault on connect for dismiss_health_issue calls Fixes capture and meeting mode being broken after #378. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
select_vaultandget_meeting_stateare sent from MainContent on mount and WebSocket reconnectionFixes #377
Test plan
🤖 Generated with Claude Code