-
Notifications
You must be signed in to change notification settings - Fork 142
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(Datagrid): Filter flyout #2406
feat(Datagrid): Filter flyout #2406
Conversation
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
packages/cloud-cognitive/src/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js
Outdated
Show resolved
Hide resolved
packages/cloud-cognitive/src/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js
Outdated
Show resolved
Hide resolved
packages/cloud-cognitive/src/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js
Outdated
Show resolved
Hide resolved
…itive into 2251--filter-flyout-import
packages/cloud-cognitive/src/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js
Outdated
Show resolved
Hide resolved
packages/cloud-cognitive/src/components/Datagrid/Datagrid.stories.js
Outdated
Show resolved
Hide resolved
packages/cloud-cognitive/src/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good overall! Just had a few suggestions (separate from the onChange
addition).
@elycheea and I were taking a look earlier at why netlify seems to be failing. Looks related to storybookjs/storybook#19927. Lets take a closer look before merging! |
…itive into 2251--filter-flyout-import
* fix: filter flyout doesn't close * feat(Datagrid): Added number and dropdown input filter * feat(Datagrid): added filterTypes and date between filter * feat: added cell key to headers and hasClickedOnDatePicker * fix: removed unused imports * chore: update yarn lock and cache * chore(Datagrid): moved filterTypes to useFiltering.js * feat(Datagrid): changed status icon to return obj * feat(datagrid): refactor date filter * fix(datagrid): removed console.log * feat(datagrid): refactored number filter * feat(datagrid): refactored dropdown filter * feat(datagrid): removed type and changed date filter * fix(datagrid): fixed filterTypes key to reflect changes * fix(datagrid): changed status_icon to password strength * feat(datagrid): adds checkbox filter * feat(datagrid): adding batch actions * feat(datagrid): adds batch filter method * fix(datagrid): removed unnecessary date function * fix(datagrid): added nullish coalescing to filterProps check * fix(datagrid): this component is no longer needed * feat(datagrid): adds props for action set labels and callbacks * feat(datagrid): added flyoutIconDescription prop * feat(datagrid): added missing copyright headers * feat(datagrid): added carbon prefixes * feat(datagrid): overrides action set to display 48px button size * feat(datagrid): adds checkbox filter * fix(datagrid): changes chance for each individual property * feat(datagrid): added extra callback functions to props * fix(datagrid): added open class back * feat(datagrid): refactored flyout components * feat(datagrid): refactored filters to be render in flyout * feat(datagrid): fixed resetting filters * fix(datagrid): action set styles * fix(datagrid): redundant change * fix(datagrid): redundant change * fix(datagrid): fixed css properties order * fix(datagrid): fixed constant typo * fix(datagrid): fix linting * chore(datagrid): fix linting issues * feat(datagrid): adds variation prop * feat: adds FilterSummary * fix: removes stylint-disable * fix(FilterSummary): changed filters prop * feat(FilterFlyout): adding filter tags * chore(FilterSummary): clean up adding reset filters * feat(Datagrid): adds FilterSummary * fix: added null check to filterProps * feat(Datagrid): adds optional onChange from user * feat(Datagrid): added constant, storybook actions and emptystate props * fix: yarn.lock * chore: format files Co-authored-by: Matt Gallo <[email protected]>
Contributes to #2251
This adds the filter flyout component and adds filtering to the Datagrid component