CrowdStrike / ember-headless-table

https://ember-headless-table.pages.dev
MIT License
23 stars 8 forks source link

Bulk column preferences reset #214

Closed joelamb closed 1 year ago

joelamb commented 1 year ago

When resetting column visibility preferences, each column is currently reset separately with it's own call to the preferences service.

This update simplifies the reset by adding the forAllColumns.delete(key: string) method.

This clears preferences for the given key for the ColumnVisibility plugin for all columns in a single call.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 58b28666270fd47e96525fbe6547449f1eeb32da

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------------- | ----- | | ember-headless-table | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 1 year ago

Preview URLs

GH Env: preview docs: https://f6b80373.ember-headless-table.pages.dev api docs: https://f6b80373.ember-headless-table.pages.dev/api/modules.html

ynotdraw commented 1 year ago

Don't forget a changeset!