-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Feature/multi drag dimensions (#206)
* remove original sorting implementation * add react-beautiful-dnd * move all highlighted items to correct position in correct order * add number indicator showing how many items will be moved * fix sorting edge cases * looking better with ghost items * first attempt at a cloned element of the dragging item * multi-drag with cloned item placeholder * remove old sorting package no longer used * Make sure box can expand when dragging multiple when list length is just one item less than causing scroll * move components around to create an ItemSelector component - will be moved to d2-ui * move toggler to ItemSelector * separate package for shared code * need the css file for the item selector * less hardcoding of styles so component can be more universal * add some tests * add watch script * move files around and use shared colors file * remove duplicate colors file * shorthand notation * fix tests * update snapshot * refactoring * refactoring in ItemSelector * Ensure caching of ou dialog content while remounting pe and dx * add tests for DialogManager * Add tests for UnselectedItems * add tests for the ItemSelector component * merge and test fixes
- Loading branch information
1 parent
de00b4f
commit 7744517
Showing
59 changed files
with
4,308 additions
and
1,662 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/app/src/components/AddToLayoutButton/styles/DropDownButton.style.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,4 @@ export const styles = { | |
dialogContent: { | ||
display: 'flex', | ||
}, | ||
dialogContainer: { | ||
paddingRight: 55, | ||
}, | ||
}; |
3 changes: 1 addition & 2 deletions
3
...pp/src/components/DimensionsPanel/Dialogs/DataDimension/styles/DataTypesSelector.style.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.