Repository navigation
Description
Following up on the discussions during the monthly meetings and the Codeathon, I have created a more precise list of work I want to do on the alarm system over the next few months.
Thought it best to create a issue so that the alarm work I'm planning is written down somewhere (please let me know if you'd prefer this split up into multiple issues).
I'm not 100% sure on how every work item should be implemented and whether any will cause problems for other facilities, so please let me know any thoughts or if anyone is interested in helping, discussion is very welcome and this issue will likely evolve.
Context
I am an industrial placement student (i.e. senior intern™) working at ISIS Neutron and Muon source until August, focused on alarms.
We are migrating from an old control system (Vista) to EPICS. As part of this work, we are migrating and improving our alarm system. Over the last 2 months I have talked with our control room crew and head of operations to find out the current issues with the alarm system, prototyped some solutions, and gathered feedback and iterated on them. I have discussed most of these work items at the monthly meetings and was present for the alarm discussion at the Codeathon.
Alarm configuration improvements
- Add editing mode to alarm tree #3991
- Move alarm config menu out of dialog box and into 'properties' panel #4007
- Enabling filter UI improvements #4010
- Alarm tree copy+cut+paste #4029
- Improve add component dialog #4043
- Drag and drop
- Allow selected alarms/nodes to be dragged and dropped
- Alarm configuration table inlining (blocked: waiting for feedback on property panel PR before proceeding)
- Improve UI for tables by inlining the tables into the config panel instead of having a dialog pop up
- (Relatedly: validate that screen exists when selected?)
- Allow an enabling filter to be set on components? (blocked: ideally need more feedback before implementing)
- Add a 'timeout' option which automatically deactivates latched alarms after a certain period of OK (blocked: needs discussion)
- Multiple copy/cut (blocked: need to be in a very strong place mentally before attempting...)
- Bulk alarm configuration (blocked: need more feedback on property-style alarm editing PR first)
- Allow 'common things' between alarms to be edited e.g. guidance that appears across all alarms, latching (even if different between alarms), delay (even if different between alarms), add guidance to all selected alarms, etc
- Allow descriptions to be edited with regexes?
Prototype:
647802928-133c50ac-a7e0-41ea-b56e-c757522971ac.mp4
General alarm UI improvements
- Improve robustness of alarm tree update logic #3987
- Alarm tree search #3988
- Alarm tree filter #4018
- Alarm client status tracking #4036
- Shut down alarm client in the background #4037
- Improvements to alarm tree text colors and backgrounds #4039
- Automatically select new items as they are added by the user #4044
- Improve alarm enable/disable context menu behaviour & dialog wording #4045
- Do something about the confusing 'add pvs to alarm system' label in alarm tree/table (blocked: need more feedback)
- Change alarm tree table to filter by search bar instead of select by search bar (blocked: need more feedback)
- Add alarm tree 'filter 'functionality (which actually selects alarms) to alarm table (with clearer indication for when a filter is applied) (blocked: need more feedback)
Alarm disable improvements
- Overhaul disable alarms dialog #4013
- Alarm disable reasons (blocked: need more feedback before implementing)
- Add a 'Disable reason' radio selection to the alarm disable dialog box containing a set of predefined reasons from settings, or 'custom'
- To make this a non-breaking change, reasons can be null - but add an option to settings.ini to require operators to add a reason
- Change alarm tree to display disabled reason alongside 'Disabled'
- Change config dialog box to display disabled reason next to 'Enabled' (enabled checkbox will need to be moved)
- Track severity of disabled alarms on the alarmserver (blocked: need more feedback before implementing)
- Disabled alarms table (blocked: need more feedback before implementing)
- A separate application for viewing disabled alarma
- Columns: PV, re-enable time, disable reason, description, value, PV severity and message they would have if enabled
End-of-project tasks
- Figure out what to do with
AlarmTreeConfigView- it duplicates a lot of code fromAlarmTreeViewand I have not been updating it so far - Possible technical changes/refactors
- Sealed interface for client components as I have to do
if (item instanceof AlarmClientNode) { ... } else { ... }a lot - Figure out what we are doing with FXML. Should I migrate my changes to use FXML? Many are not really suitable for it but maybe we want to for consistency?
- Sealed interface for client components as I have to do
- Organise structure of packages as it is a bit haphazard / not very helpful for finding things
- Overhaul alarm documentation page to improve presentation, include more details, and bring up to date with new changes
- Localization go brrr
- Context menu small polish
- Icon improvements for context menu - alarms can probably have their own 'family' of icons now
- Make wording consistent between alarm options
Potential other non-alarm improvements
- Set auto close by default on popovers (this is bugging me an unreasonable amount)
- Change display array properties to have up/down/remove/add buttons instead of having a spinner for the column count
Activity
[-]ISIS alarm improvement work[/-][+]ISIS alarm UI improvement work[/+]lcaouen commentedon Nov 30, 2026
@LordIdra @shroffk Is there a branch with all the changes included ? It is not easy to test all the PR one by one and it seems that some of the PRs are linked to other ones.
LordIdra commentedon Nov 30, 2026
I made one a while ago but it is out of date now. I'll create a new one today to make it easier to test
LordIdra commentedon Nov 30, 2026
@lcaouen I have created a branch on my fork
LordIdra:isis-alarm-workwhich includes all the branches merged into one including:(of my PRs I have excluded #4010 as it needs more work, and excluded #3993 as it is an annunciator fix unrelated to these changes)
lcaouen commentedon Nov 30, 2026
@LordIdra thanks for the branch creation, it's gonna help us for the test.
We will do them on Wednesday
LordIdra commentedon Dec 2, 2026
have now also merged #4044 and #4045 into that branch
lcaouen commentedon Dec 3, 2026
@LordIdra
Here is the feedback from CEA (@achoqt and @lcaouen )
#3991
#4018
#4007
#4039
#4036
#4039
#4029
Some other improvements
georgweiss commentedon Dec 3, 2026
@lcaouen, I have this on my backlog.
georgweiss commentedon Dec 3, 2026
@lcaouen, see comments in #4038
georgweiss commentedon Dec 3, 2026
Overall quite extensive UI improvements. Good work.
My feed-back:
Still think Disable and Enable should be in the main context menu, not in submenu "manage items". Simply because this is a commonly used action.
After restart of Phoebus, the edit pane is present, but empty as no PV node is selected. The toggle button closing the pane is in pressed stated, see screen shot. Guess this is because no node is selected, but pane state is "visible".
I would maybe suggest removing the toggle button from the toolbar as all other buttons act on the UI as a whole. A "close" button in the editor pane would in my view be a clearer option.
Esthetics:
Controls in the editor pane should in my opinion have the same width (with room to spare for very verbose translations...). Suggest using the width of the the spinner controls to define the width of other buttons. Also: the spinners should be configured with an input filter allowing only positive integers (currently an exception is logged for any non-numeric character, but user does not see this).
The "Connected" / "Disconnected" / "Loading" labels in the toolbar would benefit from a wee bit of padding.