Skip to content

Conversation

@fhlavac
Copy link
Contributor

@fhlavac fhlavac commented Mar 7, 2024

Replaced variant types with enums in LogSnippet and Battery components

  • visual appearance of the components hasn't been affected
  • cleaned up the BatterySeverity variants to "low", "medium", "high", "critical"
  • updated tests

Screenshots:
image

image

closes #121

@patternfly-build
Copy link

patternfly-build commented Mar 7, 2024

Copy link
Collaborator

@dlabaj dlabaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dlabaj dlabaj merged commit b3dcc87 into patternfly:main Mar 7, 2024
@fhlavac fhlavac deleted the enums branch March 7, 2024 14:47
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.

Replace variant types with enums in existing components

3 participants