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

Allow the Terms panel to ignore it's own filters #1201

Closed
wants to merge 3 commits into from

Conversation

skillflip
Copy link

This commit implements what was discussed in #1126. It is also dependant on that pull-request for allowing toggling of filters (included here).

The change adds 3 settings to the terms panel config: "Filter mode", "Ignore own", and "Radio select".

It is useful for using the terms panel as a type of "selector" to easily flip between different term factors. The idea being that with this setting turned on, the terms panel will not be affected by the facet filters it added itself to the filtering panel.

Imagine I have a terms panel showing "Top 5 Pages". At the moment, if you click on one, you'll be left with only that single page name listed in the panel after it refreshes. With the 'ignore own' toggle all 5 pages will remain and can be clicked for toggling additional term filters.

I've also added some color overrides to the rendering to grey out any terms which are not being selected (if you select at least one term). The "Radio Select" mode allows that only one term filter can be selected at a time. If you have term1 filtered on, and you select term2, then term1's filter will be removed.

Lastly, the "Filter mode" setting allows you to specify the facet filters which are added to be 'must' or 'either' mode.

Van Eenwyk, Jonathan and others added 3 commits April 7, 2014 16:36
If a filter has already been created for a particular term label, remove
it instead of adding another one.  This makes it convenient to
add/remove term filters quickly without needing to use the filtering
panel.
@jdve
Copy link

jdve commented May 8, 2014

👍 !!

@bradvido
Copy link

This would be really useful. Kind of a super-filter-selector and less clunky than the repeated toggling that is currently needed to do this.

@w33ble w33ble closed this Oct 6, 2014
@spalger
Copy link
Contributor

spalger commented Oct 6, 2014

Woops! Sorry about that! We recently replaced the master branch with Kibana 4. This action force closed all of the old pull requests against master. We will be reviewing these on a case-by-case basis and creating new tickets as necessary.

The good news is that many long requested features can be found in Kibana 4, and we're being entirely open about our roadmap. Check out the roadmap tickets (which we're still filling in) here.

If you're looking for the old Kibana 3 code you can find it here.

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.

5 participants