Skip to content

Commit

Permalink
update: filter pattern images (#3280)
Browse files Browse the repository at this point in the history
Co-authored-by: Alison Joseph <alison.joseph@us.ibm.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 28, 2022
1 parent 0b3df87 commit 0e4a433
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
Binary file modified src/pages/patterns/filtering/images/filter-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/pages/patterns/filtering/images/filter-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/pages/patterns/filtering/images/filter-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 10 additions & 8 deletions src/pages/patterns/filtering/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,22 +145,24 @@ be excluded from the results, then all filters should be selected at the start.
If the user typically wants to see only results related to one particular
criteria, then all filters should start as unselected.

If the filter(s) can be hidden in either a drawer, dropdown, or menu, then there
should be an indicator visible on the closed filter state that informs the user
that filters have been applied. At a minimum, the indicator should include the
number of filters applied and have the option to clear filters without
re-opening the filter container.

<Row>
<Column colLg={6}>
<Column colLg={8}>

![Example of hidden filters not applied](images/filter-5.png)

<Caption>Example of filter without selections</Caption>

</Column>
</Row>

<Column colLg={6}>
If the filter(s) can be hidden in either a drawer, dropdown, or menu, then there
should be an indicator visible on the closed filter state that informs the user
that filters have been applied. At a minimum, the indicator should include the
number of filters applied and have the option to clear filters without
re-opening the filter container.

<Row>
<Column colLg={8}>

![Example of hidden filters applied](images/filter-6.png)

Expand Down

1 comment on commit 0e4a433

@vercel
Copy link

@vercel vercel bot commented on 0e4a433 Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.