-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve alarm views #2474
Comments
Well, icons are a personal preference. See who proudly provided the current set of icons 7 years ago, which cleverly add a checkmark decorator for the acknowledged variants, see https://github.com/ControlSystemStudio/cs-studio/tree/master/core/ui/ui-plugins/org.csstudio.ui.resources/icons |
Thanks for your feedback, @kasemir. The thing with the current icon scheme is that the checkmark decorator can be difficult to see, especially on high-resolution monitors.
Not sure I understand this. Currently I see no way to remove the icon column in the alarm table. I would absolutely vote for black and white: simple and easy to "read". A clickable checkbox is certainly a good alternative, and takes care of the "decoration" at the same time. But that would of course mean that a checkbox is rendered for all items in the view. |
See the "alarm_table_columns" preference setting, https://github.com/ControlSystemStudio/phoebus/blob/master/app/alarm/model/src/main/resources/alarm_preferences.properties#L64 |
Thanks, I wasn't aware of this customization option. Of course we'll make sure not to break this. |
On each PV, yes, but for higher level nodes you can have some PVs in the subtree ack'ed and others not, so that would require a "half checked" checkbox.. |
But the current behavior is in my view the same, though using decorated icon. Right? |
Well, yes. Each node shows the "maximized" severity. If all sub-nodes are OK, that's OK. If all sub-nodes are OK or in some ack'ed state, the summary is the highest ack'ed state. If any sub node is in an active, non-ack'ed state, the summary is the highest active state. Would this make sense with a clickable checkbox? Some sub-nodes in some ack'ed state or OK-> checkbox will be checked? When then clicking the box, will it un-ack the sub tree? Some sub-nodes are in active alarm -> Checkbox is unchecked? Clicking the box will ack all alarms in the sub-tree? All sub-nodes are OK --> node shows OK. What will the checkbox show? Since there is nothing to ack or un-ack, I think the checkbox should not be shown at all in this case. |
Currently ack or unack on higher level node does ack/unack all active in subtree. The idea is that the checkbox would replace the context menu item. It's state would replace the decoration on the icon. Checkbox should not be shown on any item if entire subtree is OK. |
OK, then go ahead and try that |
Well, after some experimenting with clickable checkbox widget I decided that this option messes up the UI more than it improves it. So I decided to ditch that option and follow-up later to propose new set of icons (as I still think current once are difficult to read when decorated with acknowledge). In any case, I'm also following up on some work done by @shroffk to support customization if alarm views in terms of background and text color. In connection to this I realize the alarm table and the alarm log table adopt different strategies when rendering table cells, see screen shots below. @kasemir, @shroffk, I suggest we make this a bit more consistent and set font and background color in both alarm table and alarm log table in the same manner. Please share your thoughts. |
The top screenshot is the alarm log, the bottom is the alarm table, right? Alarm table now uses the globally configured alarm text and background colors (#2449, #2458, #2473). So this should simply be a matter of updating the alarm log to do the same. |
To follow up on recent changes in customization of colors (text and background) used to render alarm information, I'd like to propose even further customizations. The basic idea is that currently we convey information primarily through color, and the number of colors is doubled to account for acknowledge actions. This results in a large number of colors which we think is a bit problematic from a UI perspective.
At ESS we would like use an additional icon to show when an item has been acknowledged, see screen shot below. This instead of modifying colors and showing a different icon which on a high resolution screen is difficult to distinguish from the "unacknowledged" one.
Also shown in screen shots is a proposal for simplified icons for minor/major/undefined. These would be available in both black and white (if a darker background is used).
All in all I'd like to put this forward as a suggestion to add customization of:
In any case we'd like to exchange the current icons for the simplified ones.
Comments, anyone?
The text was updated successfully, but these errors were encountered: