-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Visualize] Pinned filter updates state 2 times #57811
Copy link
Copy link
Closed
Labels
Feature:Vis EditorVisualization editor issuesVisualization editor issuesTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experience
Metadata
Metadata
Assignees
Labels
Feature:Vis EditorVisualization editor issuesVisualization editor issuesTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experience
Type
Fields
Give feedbackNo fields configured for issues without a type.
Kibana version:
latest
Elasticsearch version:
latest
Server OS version:
any
Browser version:
any
Browser OS version:
any
Original install method (e.g. download page, yum, from source, etc.):
from source
Describe the bug:
Pinning a filter in visualize updates both states: Global state and AppState, so the history updates 2 times. It's happening due to current intermediate layer of using both half angular / half new utils state management to sync state.
Steps to reproduce:
Expected behavior:
The filter should become
unpinnedPressing back button after
pinninga filter shouldunpinit.Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context: