polaris icon indicating copy to clipboard operation
polaris copied to clipboard

ResourceList filters summary

Open yourpalsonja opened this issue 5 years ago • 2 comments

[Originally submitted by Laura Aubin to the web repo]

The filters popover on the resource list can be simplified for screen readers by adding a summary of what filters will be applied when the add button is clicked.

Screen Shot 2021-01-21 at 1 25 14 PM

My first attempt at this was to form a string combining all state values (selectedFilter, selectedFilterValue, selectedFilterKey). There are some edge cases that require you to interpret these values, such as when we are using a dropdown vs a textfield (array vs string).

I think the filters popover needs a little love and rework, mainly better variable names and a centralizing source of truth for state values instead of being distributed amongst shared components (context?)

yourpalsonja avatar Feb 02 '21 00:02 yourpalsonja

👋 Thanks for opening your first issue. A contributor should give feedback soon. If you haven’t already, please check out the contributing guidelines.

ghost avatar Feb 02 '21 00:02 ghost

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's design system and dev experience.

github-actions[bot] avatar Apr 08 '23 03:04 github-actions[bot]