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

Enhancement to the Alert component #82

Open
jaredcwhite opened this issue Apr 13, 2024 · 0 comments
Open

Enhancement to the Alert component #82

jaredcwhite opened this issue Apr 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jaredcwhite
Copy link
Collaborator

jaredcwhite commented Apr 13, 2024

As part of Bloom Core uptake of the Alert component, we discovered that there was an additional pattern in use some places where additional descriptive text would appear directly below an alert in such a way as to appear to be a single unified component. Here's an example with a breakdown of the two UIC components currently used for this appearance:

strange alert

As far as I can tell, the AlertNotice component always appears directly below the AlertBox component and matches the color scheme, and due to state handling in parent React components at the app level, clicking the X button on AlertBox hides both the AlertBox and AlertNotice.

We should investigate adding the ability to provide a secondary description/subtitle to Alert, either as a prop or via child components (maybe <Alert.Title> + <Alert.Description>?), which would then result in this type of appearance. There may also be accessibility concerns to ensure the appearance of an Alert onscreen would read both the title and description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant