Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(common)!: migrate to multiple-select-vanilla #919

Merged
merged 28 commits into from
Apr 15, 2023

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Feb 26, 2023

  • switch from multiple-select-modified to multiple-select-vanilla which no longer requires jQuery
  • might release as a breaking change version since there is a very small change for the CSS import of the new lib, the MultipleSelectOption also no longer exist in Slickgrid-Universal but is instead in the new lib
  • interesting new features with the new lib that will improve perf a lot:
    • Virtual Scroll
    • load data collection directly, we no longer need to create all select dropdown option for the ms-select lib to work (in other words, with the previous lib we were duplicating all select options twice 1x for and 1x for ms-select but now we can skip

TODOs

  • update all unit tests for full coverage
  • all Cypress E2E tests should pass
    • add more tests to cover everything
  • review scss file to merge styling as much as possible

@ghiscoding ghiscoding changed the title feat(common)!: migrate to multiple-select-vanilla WIP - feat(common)!: migrate to multiple-select-vanilla Feb 26, 2023
@codecov
Copy link

codecov bot commented Mar 4, 2023

Codecov Report

Merging #919 (ab5f802) into next (0b75bf2) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              next      #919   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          244       244           
  Lines        16604     16604           
  Branches      5906      5930   +24     
=========================================
  Hits         16604     16604           
Impacted Files Coverage Δ
packages/common/src/interfaces/index.ts 100.00% <ø> (ø)
packages/common/src/editors/autocompleterEditor.ts 100.00% <100.00%> (ø)
...ackages/common/src/editors/multipleSelectEditor.ts 100.00% <100.00%> (ø)
packages/common/src/editors/selectEditor.ts 100.00% <100.00%> (ø)
packages/common/src/editors/singleSelectEditor.ts 100.00% <100.00%> (ø)
...common/src/extensions/slickCheckboxSelectColumn.ts 100.00% <100.00%> (ø)
...kages/common/src/extensions/slickRowMoveManager.ts 100.00% <100.00%> (ø)
packages/common/src/filters/autocompleterFilter.ts 100.00% <100.00%> (ø)
packages/common/src/filters/selectFilter.ts 100.00% <100.00%> (ø)
packages/common/src/index.ts 100.00% <100.00%> (ø)
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ghiscoding ghiscoding force-pushed the feat/multiple-select-vanilla branch from 5cf866b to 63a33d2 Compare March 9, 2023 04:33
@ghiscoding ghiscoding changed the base branch from master to next March 11, 2023 21:14
@ghiscoding ghiscoding changed the title WIP - feat(common)!: migrate to multiple-select-vanilla feat(common)!: migrate to multiple-select-vanilla Mar 11, 2023
@ghiscoding ghiscoding changed the title feat(common)!: migrate to multiple-select-vanilla WIP - feat(common)!: migrate to multiple-select-vanilla Mar 11, 2023
ghiscoding and others added 23 commits March 12, 2023 21:24
- group duplicate code as much as possible to lower amount of lines with same css
- also add missing ms-select png in demo
…ts (#938)

- this PR fixes 2 issues
1. when Row Detail & Row Selection are used together, an extra checkbox appears in the filter section of the RowDetail column when it shouldn't (see print screen)
2. there are 3 dynamically created columns (RowMove, RowSelection & RowDetail) and all 3 should be auto-inserted when columns presets are used
- switch from `multiple-select-modified` to [multiple-select-vanilla](https://github.com/ghiscoding/multiple-select-vanilla) which no longer requires jQuery
- might release as a breaking change version since there is a very small change for the CSS import of the new lib, the MultipleSelectOption also no longer exist in Slickgrid-Universal but is instead in the new lib
- I wish to eventually revisit this and use a better fix but that will do for now
- we no longer need the multiple-select.png (it now uses css to draw icon) and its multiple-select.scss file since the new lib provides all of that
@ghiscoding ghiscoding changed the title WIP - feat(common)!: migrate to multiple-select-vanilla feat(common)!: migrate to multiple-select-vanilla Apr 15, 2023
@ghiscoding ghiscoding merged commit 9d67895 into next Apr 15, 2023
@ghiscoding ghiscoding deleted the feat/multiple-select-vanilla branch April 15, 2023 03:30
ghiscoding added a commit that referenced this pull request Apr 15, 2023
* feat(common)!: migrate to multiple-select-vanilla
- switch from `multiple-select-modified` to [multiple-select-vanilla](https://github.com/ghiscoding/multiple-select-vanilla) which no longer requires jQuery
- might release as a breaking change version since there is a very small change for the CSS import of the new lib, the MultipleSelectOption also no longer exist in Slickgrid-Universal but is instead in the new lib
ghiscoding added a commit that referenced this pull request May 29, 2023
…cy (#976)

* feat(common)!: migrate to multiple-select-vanilla (#919)

* feat(common)!: migrate to multiple-select-vanilla
- switch from `multiple-select-modified` to [multiple-select-vanilla](https://github.com/ghiscoding/multiple-select-vanilla) which no longer requires jQuery
- might release as a breaking change version since there is a very small change for the CSS import of the new lib, the MultipleSelectOption also no longer exist in Slickgrid-Universal but is instead in the new lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants