intergalactic icon indicating copy to clipboard operation
intergalactic copied to clipboard

[UIK-2421][docs] Added the Add filter pattern

Open sheila-semrush opened this issue 1 year ago • 1 comments

Motivation and Context

=== DON'T MERGE YET ===

I've added a page for the new Add filter pattern. The example is just a copy of the "additional filters" for now, we'll create a proper example after the discussion with designers.

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue).
  • [x] New feature (non-breaking change which adds functionality).
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • [ ] Nice improve.

Checklist:

  • [ ] My code follows the code style of this project.
  • [x] I have updated the documentation accordingly or it's not required.
  • [ ] Unit tests are not broken.
  • [ ] I have added changelog note to corresponding CHANGELOG.md file with planned publish date.
  • [ ] I have added new unit tests on added of fixed functionality.

sheila-semrush avatar Oct 28 '24 20:10 sheila-semrush

I also was thinking that we will need to check the example in the future from the accessibility point of view.

Yep, I'll probably have to provide some a11y instructions while preparing the task for development, at least focus behavior when adding/removing filters. And then we'll a11y-test the example when it's ready.

sheila-semrush avatar Oct 30 '24 18:10 sheila-semrush

What about name? I think AddFilterPattern is not too pretty for the component.

Hm, not sure how to name it. Maybe DynamicFilters? Or maybe team has some ideas.

ksimanov avatar Dec 05 '24 19:12 ksimanov

What about name? I think AddFilterPattern is not too pretty for the component.

Hm, not sure how to name it. Maybe DynamicFilters? Or maybe team has some ideas.

I'd suggest something like FilterRow

sheila-semrush avatar Dec 05 '24 20:12 sheila-semrush

@j-mnizhek Maybe you have some ideas about component name?

ksimanov avatar Dec 06 '24 12:12 ksimanov

Folks, I've found that input for Position filter shows 2 Clear buttons when there is a value entered 👻 image

j-mnizhek avatar Dec 09 '24 15:12 j-mnizhek

Folks, I've found that input for Position filter shows 2 Clear buttons when there is a value entered 👻

Should be fixed. pull the latest changes

ksimanov avatar Dec 09 '24 17:12 ksimanov

@j-mnizhek Maybe you have some ideas about component name?

Leaving this comment for the history: we've choosen AddFilter for the name.

j-mnizhek avatar Dec 13 '24 11:12 j-mnizhek

@ilyabrower translations are added

ksimanov avatar Dec 13 '24 14:12 ksimanov