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: add columnPickerLabel for custom label, also fix #1605 #1607

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Jul 15, 2024

fixes #1605

TODOs

  • need more unit tests
  • need more E2E tests

msedge_IZyIE0Uy7U

- fixes #1605 by reverting #1476
- this PR fixes #1605 without regressing on older issue #1475
- also add a `columnPickerLabel` option in the Column interface, because in some cases the default header column extractor (defined in the global grid options) will return all text it finds (via `.textContent`) and that might not be ideal given that an HTML element with extra button will also extract and append the button text in both ColumnPicker/GridMenu
Copy link

stackblitz bot commented Jul 15, 2024

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

Copy link

codecov bot commented Jul 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.8%. Comparing base (f03cc6c) to head (ac439dd).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #1607    +/-   ##
=======================================
  Coverage    99.8%   99.8%            
=======================================
  Files         198     198            
  Lines       21795   21795            
  Branches     7303    7021   -282     
=======================================
  Hits        21734   21734            
  Misses         61      61            

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

@ghiscoding ghiscoding merged commit e4230e3 into master Jul 16, 2024
9 checks passed
@ghiscoding ghiscoding deleted the feat/col-picker-label branch July 16, 2024 02:23
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.

custom HTMLElement inside header loses event handler
2 participants