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

[Request] Revamp Automated Rules table view #1581

Open
Tracked by #325
andrewazores opened this issue Mar 10, 2025 · 0 comments
Open
Tracked by #325

[Request] Revamp Automated Rules table view #1581

andrewazores opened this issue Mar 10, 2025 · 0 comments
Labels
feat New feature or request

Comments

@andrewazores
Copy link
Member

andrewazores commented Mar 10, 2025

Image

This view doesn't look very nice. The column headers are all collapsed with ellipses, the match expression is just text with no Topology component to visualize what is matched (#376), and editing any Rule is a manual affair by downloading the Rule as JSON, editing it with some external text editor, and re-uploading the edited JSON (and manually stripping out any fields like the id).

  1. A cleaned up and simplified table view that looks more like the Recordings tables would be good. The event specifier, max age, max size, and archival properties can be rendered as label key-values instead of table columns. This way, anything unset/left default (like 0 second max age) can be omitted. These can also be laid out according to available space in the view, potentially stacking vertically as well, so that the space is not simply divided in only the horizontal direction.
  2. A Topology component for visualizing the match expression selection would be good. The Cryostat backend already does some caching, and CEL expressions should be fairly cheap to evaluate, so performance should not be too heavy of a concern here. At least, the component can be available but hidden under a click/hover to call it up.
  3. Directly editing an existing and enabled Rule would be difficult to manage due to the various side effects, but editing a disabled and cleaned Rule should be no problem. There can be a button to either a) edit an existing Rule if it is currently disabled, or b) create a new rule with an existing Rule's definition as a template, ie starting with the same match expression, event template, archival properties, etc.
@andrewazores andrewazores added the feat New feature or request label Mar 10, 2025
@andrewazores andrewazores moved this to Backlog in 4.1.0 release Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant