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

US11 // parts - highlight active filters #30

Merged
merged 10 commits into from
Jul 5, 2023

Conversation

matschi3
Copy link
Owner

@matschi3 matschi3 commented Jul 5, 2023

highlighted the active filter for each of the filter-slider

US11
Deployment

click a filter and see the highlighting. (just a little bit)

@vercel
Copy link

vercel bot commented Jul 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
capstone ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 5, 2023 1:31pm

Copy link

@actyvystom actyvystom left a comment

Choose a reason for hiding this comment

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

Nice work! 🚀
See some tiny suggestions on naming.
Cheers,
Thomas

]}
activeFilter={activeCategoryFilter}
/>
<StyledFilter
sets={[

Choose a reason for hiding this comment

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

A smart idea to populate your filters! 🚀
I suggest some naming changes to shed some light on it for external reviewers (and for yourself in the future when you review your code again after some time has passed 😉 )

{
    primaryFunction: setStatusFilter,
    primaryValue: "alle",
    filterName: "alle",
    secondaryFunction: setActiveStatusFilter,
    secondaryValue: "alle",
}

Copy link
Owner Author

@matschi3 matschi3 Jul 5, 2023

Choose a reason for hiding this comment

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

Thanks for your advise. I will stay consistent in naming from now on ✌🏼
it looks much better now

@matschi3
Copy link
Owner Author

matschi3 commented Jul 5, 2023

// reworked naming

Copy link

@FelineHuhn FelineHuhn left a comment

Choose a reason for hiding this comment

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

LGTM now 🚀

@matschi3 matschi3 merged commit 0998b4d into main Jul 5, 2023
@matschi3 matschi3 deleted the feature/us11/highlight-active-filters branch July 5, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants