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!: drop jQuery requirement & use multiple-select-vanilla dependency #976

Merged
merged 22 commits into from
May 29, 2023

Conversation

ghiscoding
Copy link
Owner

  • this PR merges all code changes applied on the branch next and merging it into the master branch, it includes the following:
  1. migrate from multiple-select-modified (jQuery based) to the new lib multiple-select-vanilla that I rewrote in vanilla JS (aka native)
  2. it also drops jQuery entirely by using the new SlickGrid 4.0.0-beta.0 version (soon to be officially released)

This is in preparation for a Beta release, it's not an official release just yet since SlickGrid new major v4.0 is not yet official (it's in Beta)

* 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
* feat!: drop jQuery requirement
- this is a breaking change and will require a new major version from SlickGrid
@codecov
Copy link

codecov bot commented May 19, 2023

Codecov Report

Merging #976 (bd355da) into master (965d4ea) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #976   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          244       244           
  Lines        16559     16554    -5     
  Branches      5906      5927   +21     
=========================================
- Hits         16559     16554    -5     
Impacted Files Coverage Δ
packages/common/src/editors/checkboxEditor.ts 100.00% <ø> (ø)
packages/common/src/editors/dualInputEditor.ts 100.00% <ø> (ø)
packages/common/src/editors/inputEditor.ts 100.00% <ø> (ø)
packages/common/src/editors/longTextEditor.ts 100.00% <ø> (ø)
packages/common/src/editors/sliderEditor.ts 100.00% <ø> (ø)
packages/common/src/interfaces/index.ts 100.00% <ø> (ø)
packages/common/src/editors/autocompleterEditor.ts 100.00% <100.00%> (ø)
packages/common/src/editors/dateEditor.ts 100.00% <100.00%> (ø)
packages/common/src/editors/editorUtilities.ts 100.00% <100.00%> (ø)
...ackages/common/src/editors/multipleSelectEditor.ts 100.00% <100.00%> (ø)
... and 16 more

@ghiscoding ghiscoding changed the title feat!: drop jQuery requirement & use multiple-select-vanilla dependency WIP - feat!: drop jQuery requirement & use multiple-select-vanilla dependency May 19, 2023
@ghiscoding ghiscoding changed the title WIP - feat!: drop jQuery requirement & use multiple-select-vanilla dependency feat!: drop jQuery requirement & use multiple-select-vanilla dependency May 29, 2023
@ghiscoding ghiscoding merged commit 4e3e1d3 into master May 29, 2023
@ghiscoding ghiscoding deleted the next branch May 29, 2023 14:28
ghiscoding added a commit that referenced this pull request Jun 28, 2023
- fix a regression bug introduced by PR #976 when migrating from ms-select to ms-select-vanilla, the text should be encode only when `renderHtmlEnabled` is enabled and not encoded when it's the flag is disabled, basically the html encode was set on the wrong condition
ghiscoding added a commit that referenced this pull request Jun 28, 2023
…ded (#1011)

* fix(common): Select Filter/Editor regular text shouldn't be html encoded
- fix a regression bug introduced by PR #976 when migrating from ms-select to ms-select-vanilla, the text should be encode only when `renderHtmlEnabled` is enabled and not encoded when it's the flag is disabled, basically the html encode was set on the wrong condition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant