uselagoon / lagoon-ui

Apache License 2.0
7 stars 2 forks source link

feat: support warnings #188

Closed shreddedbacon closed 10 months ago

shreddedbacon commented 11 months ago

Add support for warnings in the UI. This will only ever be exposed when the build provides the necessary information to change the accordions

shreddedbacon commented 11 months ago

Just a PoC for how https://github.com/uselagoon/build-deploy-tool/pull/255 could be displayed

image image image

It uses an existing warning icon image found in the repository, but would probably benefit from some :sparkles:

DaveDarsa commented 11 months ago

@shreddedbacon I made some small changes to the hoverTag component - optionally applying props; human friendly formatting for a warning; And a condition how the warning hovertags are rendered.

A bit of stylistic/ icon changes to LogAccordion too.

shreddedbacon commented 11 months ago

Sweet, had a look, looks good.