Skip to content

Conversation

ricoberger
Copy link
Member

This commit adds a new "plugin" field to the details section of the
Application CR. This allows a user to specify a plugin, which is then
used as preview for the Application in the Application overview page.

At the moment a user can specify a Prometheus or Elasticsearch query for
the preview. When this is specified the corresponding Prometheus chart
with the metrics for the query, or the number of hits and the buckets
chart will be displayed in the Application card. If the user doesn't
specify a plugin, we will display the provided description of the
Application.

This commit also fixes a small bug, where the list of resources wasn't
updated correctly, because we missed to compare the properties in the
"React.memo" function.

This commit adds a new "plugin" field to the details section of the
Application CR. This allows a user to specify a plugin, which is then
used as preview for the Application in the Application overview page.

At the moment a user can specify a Prometheus or Elasticsearch query for
the preview. When this is specified the corresponding Prometheus chart
with the metrics for the query, or the number of hits and the buckets
chart will be displayed in the Application card. If the user doesn't
specify a plugin, we will display the provided description of the
Application.

This commit also fixes a small bug, where the list of resources wasn't
updated correctly, because we missed to compare the properties in the
"React.memo" function.
@ricoberger ricoberger merged commit 3d6cf27 into main Apr 1, 2021
@ricoberger ricoberger deleted the add-application-preview-via-plugin branch April 1, 2021 19:27
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.

1 participant