-
Notifications
You must be signed in to change notification settings - Fork 128
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
Group management filtering #387
Conversation
packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.tsx
Outdated
Show resolved
Hide resolved
packages/javascript/bh-shared-ui/src/components/AssetGroupFilters/AssetGroupFilters.tsx
Outdated
Show resolved
Hide resolved
...ges/javascript/bh-shared-ui/src/components/GroupManagementContent/GroupManagementContent.tsx
Show resolved
Hide resolved
packages/javascript/bh-shared-ui/src/components/AssetGroupFilters/FilterAutocomplete.tsx
Outdated
Show resolved
Hide resolved
…nagement-filtering
const { screen } = await setup({ filterParams, availableNodeKinds }); | ||
const checkbox = screen.getByTestId('asset-groups-custom-member-filter'); | ||
|
||
expect((checkbox.firstChild as HTMLInputElement)?.checked).toBe(true); |
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.
Should we explicitly set the filterParams value to true here instead of trusting that the mock factory provides this value?
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.
Yeah great suggestion! And it's more explicit
Description
Adds a Filter section to Group Managment tab where one can filter on Node Type and custom member.
Motivation and Context
This should help with narrowing search results in the group management tab.
How Has This Been Tested?
Manual Tests. Adding unit and integration tests in a later PR
Screenshots (if appropriate):
Screen.Recording.2024-02-05.at.8.27.28.AM.mov
Types of changes
Checklist: