Skip to content

Firefox filters are being re-ordered. #44349

@dave-wheeler

Description

@dave-wheeler

Kibana version: 7.3.1
Elasticsearch version: 7.3.1
Server OS version: Archlinux
Browser version: Firefox 68.0.2 (This does not happen in Chrome)
Original install method (e.g. download page, yum, from source, etc.): Docker images

Description of the problem including expected versus actual behavior:
Expected behavior: Changing the state of a filter respects the order of all the filters.
Actual behavior: In visualizations and dashboards, when there are multiple filters, they are being grouped into pinned and unpinned filters, with the pinned group first. Any time any of the filters are enabled/disabled, pinned/unpinned, or included/excluded, the displayed order of the filters in both filter groups is being reversed. This also happens when the "all" versions of these actions are used. This makes it hard to quickly toggle filters on/off, because they are being moved around and require having to find in their new location each time they are toggled.

Steps to reproduce:

  1. Create a visualization with multiple filters.
  2. Enable/disable any of the filters, pin/unpin or include/exclude them. Or do the same things for all of them

Errors in browser console (if relevant): I'm not seeing anything relevant.
Provide logs and/or server output (if relevant): I'm not seeing anything relevant.

With pinned and unpinned filters:
Screenshot_2019-08-28_19-33-17

After enabling a pinned filter: All filters in each group are reversed
Screenshot_2019-08-28_19-33-56

After enabling a 2nd pinned filter. All of the filters in each group are reversed again.
Screenshot_2019-08-28_19-35-17

After excluding a filter. Everything reversed again.
Screenshot_2019-08-28_19-49-41

Pinning a filter. Groups members are reversed, then the newly pinned filter is prepended to the pinned group of filters.
Screenshot_2019-08-28_19-52-26

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:FiltersTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experiencev7.3.1v7.4.0

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions