Fix dashboard stats assignment_value_stale warnings#2419
Conversation
Patch writing-system row fields via helpers instead of assignment-expression arrow bodies on $state proxies. Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds two private helper methods to DashboardStats that patch vernacular and analysis rows by wsId using Object.assign. Updates the load method's primary count assignments to block-form callbacks and reroutes per-writing-system field updates through the new patch helpers instead of direct row mutation. ChangesDashboard Stats Patch Helpers
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Summary
Object.assign.assignment_value_staleruntime warnings in the browser console.Fixes the warnings in the console:
Test plan
assignment_value_stalewarnings fromdashboard-stats.svelte.tsMade with Cursor