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

Change: Allow to set a filter type to create in withFilterDialog #3992

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

bjoernricks
Copy link
Contributor

What

Allow to set a filter type to create in withFilterDialog

Why

With this change it is possible to define the filter type to use when a new filter is created directly when writing a filter dialog component. Before it was required to pass it via a prop. Passing via a prop is still optional.

Example usage now (implicitly):

createFilterDialog({
  createFilterType: 'portlist',
  sortFields: SORT_FIELDS,
});

@bjoernricks bjoernricks requested a review from a team as a code owner April 3, 2024 14:48
@bjoernricks bjoernricks enabled auto-merge (rebase) April 3, 2024 14:49
Copy link

github-actions bot commented Apr 3, 2024

Conventional Commits Report

Type Number
Changed 1

🚀 Conventional commits found.

With this change it is possible to define the filter type to use when a
new filter is created directly when writing a filter dialog component.
Before it was required to pass it via a prop. Passing via a prop is
still optional.

Example usage now (implicitly):
```
createFilterDialog({
  createFilterType: 'portlist',
  sortFields: SORT_FIELDS,
});
```
@a-h-abdelsalam a-h-abdelsalam force-pushed the with-filter-dialog-filter-type branch from 10d440a to b26749e Compare April 4, 2024 09:26
@bjoernricks bjoernricks merged commit 3d0dd12 into main Apr 4, 2024
11 checks passed
@bjoernricks bjoernricks deleted the with-filter-dialog-filter-type branch April 4, 2024 09:31
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.

2 participants