Skip to content

feat: redesign error alert #4403

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

Merged
merged 14 commits into from
Oct 7, 2022
Merged

Conversation

Kira-Pilot
Copy link
Member

I updated the design for our error alert based on @BrunoQuaresma's mocks.

I also combined the warning and error alert components into one super alert component. In the future, we can handle success alerts with this component, if we decide to add them.

If you folks like it, I will replace ErrorSummary with it.

Kapture 2022-10-06 at 14 39 54

I also rewrote the Expander component so that the design is consistent wherever we use it, and also so the consumer is responsible for less logic. We only use this in one other place rn (the license banner).

@Kira-Pilot Kira-Pilot requested a review from a team as a code owner October 6, 2022 20:22
@Kira-Pilot Kira-Pilot requested review from presleyp and removed request for a team October 6, 2022 20:22
@BrunoQuaresma
Copy link
Collaborator

Just one minor thing with the visual, I would increase the margin right of the icon a bit more.

@Kira-Pilot Kira-Pilot merged commit e8e095e into main Oct 7, 2022
@Kira-Pilot Kira-Pilot deleted the error-message-redesign/kira-pilot branch October 7, 2022 14:39
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.

2 participants