cylc / cylc-ui

Web app for monitoring and controlling Cylc workflows
https://cylc.github.io
GNU General Public License v3.0
37 stars 27 forks source link

warning icon for workflow events #535

Open oliver-sanders opened 3 years ago

oliver-sanders commented 3 years ago

related to the last point of #139 related to the "events" section of the dashboard

The Cylc7 GUI displays a warning icon ⚠️ in the bottom right-hand corner whenever a WARNING (or higher) is logged to the suite log. When clicked, this takes you to the suite log file.

Suggest re-implementing in the workflow toolbar. Ideally when clicked we could present the logged warning to the user.

Perhaps this could be passed in from the workflow over GraphQL with the addition of a GraphQL log handler in Cylc Flow?

hjoliver commented 3 years ago

Needs a cylc-flow issue once we decide on implementation (but the suggestion above sounds good).

oliver-sanders commented 3 years ago

cylc-flow issue - https://github.com/cylc/cylc-flow/issues/4148

Proposed solution is to "stream" log events by adding a custom logging handler and caching the last N records in the data store.