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

fix(filter chip bugs): Squashing filter chip bugs #164

Merged
merged 4 commits into from
Oct 13, 2023
Merged

Conversation

benjaminpaige
Copy link
Collaborator

Purpose

This change fixes a few filter chip issues raised in the ticket referenced below.

some changes:

  • removed document count in filters
  • used label map in filter chip text
  • added reset button at top of filter sidebar

Linked Issues to Close

https://qmacbis.atlassian.net/browse/OY2-25667

Copy link
Collaborator

@daniel-belcher daniel-belcher left a comment

Choose a reason for hiding this comment

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

Seems great 👍

// render function for simple date range chips
const renderDateChip: FC<RenderProp> = ({
// simple date range chips
const DateChip: FC<RenderProp> = ({
Copy link
Collaborator

Choose a reason for hiding this comment

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

In retrospect, no idea why I went with render functions over components. Looks nice.

@benjaminpaige benjaminpaige merged commit bc22df0 into master Oct 13, 2023
15 checks passed
@benjaminpaige benjaminpaige deleted the chip-fix branch October 13, 2023 19:22
Copy link
Contributor

🎉 This PR is included in version 1.5.0-val.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants