Added a basic (and very much imperfect) "last-write-wins" mini sync engine that makes sure that the todo items' positions won't unexpectedly change when the network latency is high.
Opencode conversation
Summary by CodeRabbit#
New Features
- Added manual retry button for todo item synchronization with visual indicators showing pending syncs
- Integrated codemogger and memelord tools for enhanced functionality
Improvements
- Enhanced todo item synchronization with improved offline handling and reliability
- Refined drag-and-drop behavior for moving items between boards with smoother interactions
Caution
Review failed#
Pull request was closed or merged during review
Walkthrough#
This pull request introduces a client-side, per-item synchronization engine for todo items with retry logic and status tracking, alongside configuration updates for multiple MCP server definitions. Core functionality shifts from immediate server mutations to a local-first queue-based sync approach with exponential backoff retry handling.
Changes#
.codex/config.toml,.mcp.json,config/mcporter.json,opencode.json.gitignore.memelord/and.codemoggerdirectories.src/collections/todoItemsSync.tssrc/collections/todoItems.tssrc/components/Header.tsxsrc/components/TodoBoards.tsxSequence Diagram(s)#
Estimated code review effort#
🎯 4 (Complex) | ⏱️ ~70 minutes
Possibly related PRs#
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)#
✅ Passed checks (2 passed)
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
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.
❤️ Share
Tip
CodeRabbit can enforce grammar and style rules using `languagetool`.
Configure the
reviews.tools.languagetoolsetting to enable/disable rules and categories. Refer to the LanguageTool Community to learn more.