Skip to content

refactor: deepen web architecture hotspots#69

Merged
LessUp merged 1 commit into
masterfrom
copilot/architecture-hotspots-wave2-20260522
May 22, 2026
Merged

refactor: deepen web architecture hotspots#69
LessUp merged 1 commit into
masterfrom
copilot/architecture-hotspots-wave2-20260522

Conversation

@LessUp
Copy link
Copy Markdown
Collaborator

@LessUp LessUp commented May 22, 2026

Summary

  • extract notebook/note domain state transitions from zustand store into pure domain helpers
  • remove StorageManager singleton lifecycle and switch hooks to explicit factory-owned instances
  • split socket sync transport and event binding from useSocket into dedicated modules
  • add regression tests for domain reducer, storage factory, and socket binding/sync utilities

Test Plan

  • npm run lint
  • npm test
  • npm run build

- extract note/notebook domain reducers from store\n- remove storage singleton lifecycle via createStorageManager factory\n- split socket sync transport and event binding into focused modules\n- add regression tests for domain/storage/socket seams

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@LessUp LessUp merged commit cabfd73 into master May 22, 2026
@LessUp LessUp deleted the copilot/architecture-hotspots-wave2-20260522 branch May 22, 2026 06:59
@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

LessUp added a commit that referenced this pull request May 22, 2026
- extract note/notebook domain reducers from store\n- remove storage singleton lifecycle via createStorageManager factory\n- split socket sync transport and event binding into focused modules\n- add regression tests for domain/storage/socket seams

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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