Repository navigation
fix: use the x circle icon for the error inline banner - #327
Merged
Merged
Conversation
ignaciocapodanno
marked this pull request as ready for review
October 27, 2026 15:10
ignaciocapodanno
marked this pull request as draft
October 27, 2026 15:11
ignaciocapodanno
marked this pull request as ready for review
October 27, 2026 15:11
ignaciocapodanno
requested review from
a team and
rulo-garcia
and removed request for
a team
October 27, 2026 15:14
manuelbahamondez
approved these changes
Oct 27, 2026
kyle-pierce
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The error inline banner shows the warning triangle, the same glyph as the warning banner, with only the color telling them apart. The front-client design system already uses an x circle for error, so the kit is the one out of date.
This adds the
XCircleFilledicon and uses it for the error type. The asset is the same one front-client ships (x-circle-filled-16.svg), with its hardcoded fill swapped forcurrentColorso the kit can color it. Onlyerrorchanged,warningkeeps the triangle.Note that
infoandsuccessstill differ from the design system too (InfoFilledandCheckmarkCircleagainstinfo-circle/filled/16andcheck-circle/filled/16). Left out of this PR to keep it narrow, happy to follow up.Links
Jira
Styleguide
Screenshot
Risks and recovery
Visual only, and it reaches every error banner in every consumer of the kit. No feature flag. Reverting the commit is enough.
Checklist:
Testing
inlineBannerhas no test file today, andicon.spec.tsxdoes not enumerate the icon registry, so the existing suite does not cover this either way.yarn typecheck: passes.yarn lint: 0 errors, 1 pre existing warning incard.tsx.yarn test: 68 tests and 47 snapshots pass.