feat(Datamapper): Implement virtual scrolling#2954
feat(Datamapper): Implement virtual scrolling#2954lordrip wants to merge 1 commit intoKaotoIO:mainfrom
Conversation
c648b2a to
7e98ba3
Compare
53bce24 to
a0bb678
Compare
a0bb678 to
89b5223
Compare
2496df7 to
811630c
Compare
811630c to
ae6182d
Compare
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
ae6182d to
7702d04
Compare
TEMP: Updated zustand to remove deprecation note TEMP: Split DataMapperCanvasProvider TEMP: Remove unnecessary methods from DataMapperCanvasProvider TEMP: Use direct link for mapping lines TEMP: Remove useCanvas calls for get & set references TEMP: Working on rerenderings TEMP: Faster scroll Temp: First pass to remove Sonar issues TEMP: Simplify intersection and mutation observers TEMP: Remove useConnectionPortVisibility hook and add top/bottom connection ports TEMP: Add isPartial link style TEMP: Remove unused document-tree.store methods TEMP: Point to the TOP edge when the the target node is not visible TEMP: Drawing lines from edge to nodes TEMP: Enable partial mapping links TEMP: Calculating lines direction, not working because we need to split the documents TEMP: Set when attaching schemas, scroll not working properly TEMP: connection ports updating on scroll TEMP: fix EDGE direction TEMP: Add edges per document
7702d04 to
f33b197
Compare
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2954 +/- ##
==========================================
- Coverage 89.70% 89.64% -0.06%
==========================================
Files 561 561
Lines 20895 20801 -94
Branches 4884 4684 -200
==========================================
- Hits 18743 18647 -96
- Misses 2025 2152 +127
+ Partials 127 2 -125 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Context
Currently, when there are multiple nodes and mappings, manipulating the Data mapper feels laggy.
Changes
useCanvashook anddatamapper-canvas-providerprovideruseConnectionPortSynchook to update the connection ports' positions in batchfix: #2396