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

Update facets in accordance with filters #3

Open
BParnikel opened this issue Jan 31, 2020 · 0 comments
Open

Update facets in accordance with filters #3

BParnikel opened this issue Jan 31, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@BParnikel
Copy link

BParnikel commented Jan 31, 2020

Main idea: facets (i.e. numbers near filter values) should be adjusted according to currently selected filters).
As a user is able to change only one filter state per click, it would be great to show (+N) near non-selected filter values to demonstrate how many entities will be added to the selection after this exact filter value is checked.

Let's go with examples

Let's assume we have the next data:

Male Female
Middle 50 30
Senior 20 10

Initial filters with facets will be (let's assume that all of the filters are empty i.e. no filters are applied):

  • Sex
    • ☐ Male (70)
    • ☐ Female (40)
  • Maturity
    • ☐ Middle (80)
    • ☐ Senior (30)

Step 1: Check Male filter

  • Sex
    • ☑ Male (70)
    • ☐ Female (+40)
  • Maturity
    • ☐ Middle (50)
    • ☐ Senior (20)

Step 2: Check Senior filter

  • Sex
    • ☑Male (20)
    • ☐ Female (+10)
  • Maturity
    • ☐ Middle (+50)
    • ☑ Senior (20)
@nitoloz nitoloz added the enhancement New feature or request label Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants