Skip to content
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

Provide visual feed-back if alarm actions fail #2572

Merged
merged 2 commits into from
Mar 9, 2023
Merged

Conversation

georgweiss
Copy link
Collaborator

A site may configure the Kafka alarm service to allow producer messages only from certain IP addresses. This can be useful if alarm information is of interest to a wide audience, but actions should be allowed only from a limited context.

As this the current setup at ESS we discovered that blocked producer messages failed as expected, but left the user confused as nothing changed in the UI. This PR adds some code to display an error dialog in such cases.

@georgweiss georgweiss requested a review from kasemir March 8, 2023 16:30
@kasemir
Copy link
Collaborator

kasemir commented Mar 8, 2023

There's also https://github.com/ornl-epics/alarm-webmon for offering a read-only view of current alarms, but it's really just that.

To open related displays etc. the desktop version is necessary, and displaying errors is certainly good.

It's just look at the ExceptionDetailsErrorDialog usage. ExceptionDetailsErrorDialog.openError already calls Platform.runLater internally, so you can skip that part.

@georgweiss
Copy link
Collaborator Author

OK, I'll update.

@georgweiss georgweiss merged commit 61ee45a into master Mar 9, 2023
@georgweiss georgweiss deleted the CSSTUDIO-1836 branch March 9, 2023 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants