Open DillonJ opened 1 year ago
Happens to me too.
I think the parameter value header could change background color (e.g. from current light grey to light blue) and change from
Parameter value
to Parameter value [FILTERED by alternative]
(in the new data structure where there is only one parameter value table)
I guess the same applies to being filtered by entity_class and entity - and could have the same treatment.
Maybe the color cue for alternatives could be added for 0.7 and the rest in 1.0 (since the entity change will influence all of this). But if it's all piece of cake, please go ahead.
~So this issue is about the scenario filter in the db editors toolbar that hides items like entities and parameter values? Is the idea to also have these color and text changes in the header of every affected dock widget every time something is selected from entity, scenario or alternative -trees? @jkiviluo @DillonJ~
Okay, I see now that you are probably talking about the filters from the tables that can be set by clicking on a header.
The above pr implements the column filter indicators in the tables. Indicators for the spinedb-api -level scenario filter have not yet been implemented, beside the old magenta colored icon.
Sometimes you can forget that a specific alternative filter is active and it can take some time to understand why you can't see some data that you think you should be able to see. Maybe we can have a stronger visual cue when altnerative filtering is active? Maybe a coloured selection box or something appearing in the corner of DB editor or some text in the parameter value pane header?