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(core): rename SG editorClass & deprecate internalColumnEditor #1429

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Mar 12, 2024

  • rename SlickGrid editor to a new editorClass column property
  • this small rename will allow us to deprecate internalColumnEditor and simply tell users to use editor which will stay aligned with what the user defined in its column definitions (prior to this change, the users had to use internalColumnEditor after the grid was loaded, but with this change we no longer need to do that since it will simply keep the same editor definition assignment)
  • in summary editor is an editor definition and editorClass is a SlickGrid editor class (which is pulled from editor.model)

TODOs

  • make sure all unit tests are still passing
  • make sure all E2E tests are still passing
  • test in Angular-Slickgrid (especially Custom Editor)

- rename SlickGrid `editor` to a new `editorClass` column property
- this small rename will allow us to deprecate `internalColumnEditor` and simply tell users to use `editor` which will stay aligned with what the user defined in its column definitions (prior to this change, the users had to use `internalColumnEditor` after the grid was loaded, but with this change we no longer need to do that since it will simply keep the same editor definition assignment)
- in summary `editor` is an editor definition and `editorClass` is a SlickGrid editor class (which is pulled from `editor.model`)
Copy link

stackblitz bot commented Mar 12, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.8%. Comparing base (bf8c5b9) to head (46cfd24).

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1429     +/-   ##
========================================
+ Coverage    99.8%   99.8%   +0.1%     
========================================
  Files         199     199             
  Lines       21613   21614      +1     
  Branches     7230    7231      +1     
========================================
+ Hits        21549   21550      +1     
+ Misses         64      58      -6     
- Partials        0       6      +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghiscoding ghiscoding merged commit 409115c into master Mar 13, 2024
7 checks passed
@ghiscoding ghiscoding deleted the feat/core-editor-class branch March 13, 2024 02:43
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