Enhance Taranta’s dashboard flexibility by introducing dynamic filtering capabilities.
Description
A new functionality that permits to filter devices by name pattern in a running dashboard Each dashboard will be configurable with 1+ "filters";
- a filter is a mechanism that can be used to restrict the list of tango devices/attributes that are usable by some widget in the dashboard;
- filtering is based on string matching on the Tango resource locator configuration will define name, tags and default values for a filter;
one of the available filters can be "used" in a running dashboard;
- when it is used, its tag can be referred to in widgets of the dashboard
- in addition, "predefined values" for the filter tag can be defined
- when running the dashboard, when applying a filter, Taranta will replace the filter tag with the chosen predefined value (or default one) and therefore select a subset of matching TRLs
In this way the behaviour that is described above will be achievable - by relying on naming conventions rather than a possible "semantic" mapping/dependencies.
Motivation
Background on use case, changes needed
Fixes:
- Items added
Changes:
- changes made
Tests included/Docs Updated?
-
Included for each change/fix? -
Passing? (Merge will not be approved unless this is checked) -
Docs updated? -
New packages used/requires npm install? -
Toggle added for new features?
Closes #100 (closed)