-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/1246 Allow reordering senses (#1308)
* Add collection position diffing * Add some collection diff tests and redesign to use after/before positioning * Exclude Order from external serialization, refactor, add more tests * Update/extend entry tests for sense reordering and cleanup * Rename method * Don't set order on moved sense, because it shouldn't be necessary to set an internal property for an external caller. * Set sense order when creating entries in bulk * Standardize using AllSenses (not SensesOS) and fix moving between subsenses * Cleanup * Fix tests * Revert making Sense partial * Sort senses in place * Refactor OrderPicker to require siblings * Rename BetweenPosition props and simplify orderable methods * Refactor collection diffing to use class/object for add, delete, move & replace * add back a comment which got lost * simplify generating random moves for entry sync tests * specify a namespace for the MiniLcmJson class * add comment about what the MiniLcmInternalAttribute.cs is used for * Fix failing test * Only pass senseId to MoveSense * Use letters for test glosses, because orders use int * Don't mock IOrderable in tests * Revert unintended extra sync * Fix SetOrderChange type discriminator(s) * Optimize order picker * Refactor Orderable diffing with custom diff formatter * Incorporated PR feedback --------- Co-authored-by: Kevin Hahn <[email protected]>
- Loading branch information
Showing
44 changed files
with
1,222 additions
and
305 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
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
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
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.