Repository navigation
docs: planning doc for data compare & diff tool - #527
aesslinger wants to merge 6 commits into
Conversation
Covers data comparison (row-level diffs) and schema comparison (DDL diffs) as a combined tool with mode toggle. Includes: - 5 SVG mockups (setup panel, results view, sync script, schema compare, schema migration script) - Architecture decision (new tab type + pop-out window) - Phased implementation plan (4 phases, ~11 weeks) - State model and component tree - Driver abstraction analysis (multi-database nuances) - Safety & permissions design (dry-run, transactions, rollback scripts) - Row ordering strategy (merge-join on sorted comparison key) - Composite key handling - Value serialization by dialect - Live vs snapshot query semantics - Connection error handling - Partial sync selection UX - Accessibility requirements (color + icon markers) - Comprehensive testing strategy - 10 open questions for discussion
|
Hi @aesslinger Here are my thoughts on the open questions:
This is my take, but it's not set in stone. I'm more than open to discussing any of these points. FYI @NewtTheWolf |
|
Hey @aesslinger! 👋 @debba assigned me the Environment Diff feature request (#1292) and suggested I coordinate with you around the plan and mockups here. I've gone through the initial proposal and would love to align on the implementation approach before getting started. I was thinking of picking up the schema comparison work outlined in Phase 2 (weeks 4–5), focusing specifically on PostgreSQL as my first milestone:
A couple of things I'd love your input on:
Happy to take ownership of this PostgreSQL-specific part and build on top of the existing work. Looking forward to collaborating! 🚀 |
Hi @afk-ankit - happy to collaborate. I wrote this all up awhile back. Let me take some time to refresh my thoughts here and make sure the plan is sound still. A lot has changed since then and I am way more aware of things in this project now. More soon. |
Planning document and mockups for a new Compare & Diff feature. Looking for design feedback before implementation begins.
Ref #21
What's in this PR
No code changes — just a comprehensive planning doc at
.github/planning/data-compare-feature.mdwith 5 SVG mockups.Feature Summary
A unified comparison tool with two modes:
Both modes share the same UI shell (source/target selectors, summary bar, sync script panel) with a Data/Schema mode toggle.
Key Design Decisions (seeking feedback)
"compare"tab type in the Editor (not a separate page), with pop-out window supportOpen Questions (10)
Listed at the bottom of the doc — would especially appreciate input on:
Mockups
5 SVG mockups in
.github/planning/mockups/: