-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3f0d11
commit 5520795
Showing
13 changed files
with
225 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
5520795
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dashboards V: Dashboard pinned filters
Now that dashboards have a way to express equivalences between tokens of different queries, it is possible to implement a long-requested feature: Global pinned filters that affect the whole dashboard.
Traditionally the solution to this problem was to make a entity-dependent dashboard, but this doesn't work for more value-only filters, like filtering by start / end date, booleans, enums, etc..
In order to implement this behavior filters (
FilterOption
,FilterOptionParsed
,QueryFilterEmbedded
, ....) have a new fieldDashboardBehaviour
. that allow to define how a particular filter should behave when theUserQuery
orUserChart
is shown inside a Dashboard, so is only editable in this two entities.I've refactored the code and moved some of the options previously in
PinnedFilterActive
out to the newDashboardBehaviour
for clarity.This are the possible values:
Token Equivalence Group
that can be used. NEW!!PinnedFilterActive
.PinnedFilterActive
.Dashboard pinned filters are applied globally but defined inside one of the
UserQuery
orUserAssets
, this means:Distinct
implemented, so if you defined manyUserCharts
with similar filters, all marked asPromote to dashboard pinned filter
, expect duplicated filters in your dashboard.5520795
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.