Add scoped data groups#511
Conversation
Export Size@studiometa/ui
Unchanged@studiometa/ui
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #511 +/- ##
============================================
+ Coverage 77.46% 79.45% +1.99%
Complexity 145 145
============================================
Files 93 100 +7
Lines 2698 3008 +310
Branches 454 532 +78
============================================
+ Hits 2090 2390 +300
- Misses 532 542 +10
Partials 76 76
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Code ReviewRisk: Low — no blocking issues; safe to merge aside from nits. Adds a new Still open from earlier reviews (2 findings):
Review usage: 241,368 in (183,808 cached) / 11,225 out tokens — $0.3582 (cloudflare-ai-gateway/gpt-5.4, thinking: medium) Reviewed by @weareikko/code-review v0.8.2 for commit 7d58c48. Previous review runsPrevious run archived 2026-07-15T14:58:31ZCode ReviewRisk: Medium — issues that should be addressed before merge. Adds the new 1 issue found:
Still open from earlier reviews (1 finding):
Review usage: 292,660 in (232,960 cached) / 13,232 out tokens — $0.4060 (cloudflare-ai-gateway/gpt-5.4, thinking: medium) Reviewed by @weareikko/code-review v0.8.2 for commit 029cb32. Previous run archived 2026-07-15T14:52:28ZCode ReviewRisk: Medium — issues that should be addressed before merge. This MR introduces 1 issue found:
Review usage: 347,151 in (252,928 cached) / 14,587 out tokens — $0.5176 (cloudflare-ai-gateway/gpt-5.4, thinking: medium) Reviewed by @weareikko/code-review v0.8.2 for commit 357a7f9. |
Summary
DataScopecomponent with inherited, isolated Data groupsDataModelvalues inside a scope and expose frozen$datasnapshots to computed/effect callbacksDataScopeThis implements the scoped/keyed foundation proposed in #510. Virtual
data-bind:*multi-bindings, mutation helpers, transitions, and dynamic movement/group/key changes are intentionally deferred to follow-up work.Validation
npm run test— 47 files passed, 300 tests passed, 3 skipped, 1 todonpm run lint— passed with 15 pre-existing warnings and no errorsnpm run build— passednpm run docs:build— playground prebuild passed; the VitePress phase was stopped because it was too resource-intensive for the development server and was not rerunPart of #510.
Related to #296.