Skip to content

Clean up UI/data boundary around app-level contract - #105

Open
mitschabaude wants to merge 18 commits into
mainfrom
pr-99-data-contract
Open

Clean up UI/data boundary around app-level contract#105
mitschabaude wants to merge 18 commits into
mainfrom
pr-99-data-contract

Conversation

@mitschabaude

Copy link
Copy Markdown
Member

Closes #99

Summary

  • introduce an app-level data hook that exposes app state plus dispatch(action)
  • move the UI off the old callback bag and onto typed action intents
  • keep route sync outside the data layer via a thin adapter in App.tsx
  • remove recordRecent and setActivePath as data-hook inputs
  • add contract-level tests for useAppData

Notes

  • this is a transition layer only; it does not rewrite storage/git internals
  • statusMessage and the pasted-asset helper remain as temporary transition compromises

@vercel

vercel Bot commented Mar 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vibenote Ready Ready Preview, Comment Mar 6, 2026 10:07am

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.

Cleanly separate data layer (global app state + git + storage) from UI

1 participant