change: [M3-10065, M3-9910] - Notification banner stroke, width, error icon - #12471
Merged
coliu-akamai merged 13 commits intoJul 14, 2025
Merged
Conversation
hana-akamai
marked this pull request as ready for review
July 3, 2025 17:59
hana-akamai
requested review from
bnussman-akamai and
coliu-akamai
and removed request for
a team
July 3, 2025 17:59
coliu-akamai
approved these changes
Jul 14, 2025
coliu-akamai
left a comment
Contributor
There was a problem hiding this comment.
✅ didn't see regressions for banners (left comment on M3-9865 regarding cloudpulse banner styling)
✅ volumes upgrade banner fixed
✅ storybook looks good
thanks @hana-akamai!
jaalah-akamai
approved these changes
Jul 14, 2025
| <svg width="20" height="20" viewBox="0 0 16 20" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
| <path fill-rule="evenodd" clip-rule="evenodd" d="M8 2C4.98123 2 2.5 4.50236 2.5 7.63158C2.5 9.15683 3.09074 10.5358 4.04815 11.5483C4.44562 11.9686 4.86265 12.4541 5.22349 13H10.7765C11.1373 12.4541 11.5544 11.9686 11.9518 11.5483C12.9093 10.5358 13.5 9.15683 13.5 7.63158C13.5 4.50236 11.0188 2 8 2ZM9.89384 15H6.10616C6.17561 15.3165 6.21429 15.6453 6.21429 15.9859V16.2144C6.21429 17.2006 7.01374 18 8 18C8.98626 18 9.78571 17.2006 9.78571 16.2144V15.9859C9.78571 15.6453 9.82439 15.3165 9.89384 15ZM0.5 7.63158C0.5 3.43576 3.83907 0 8 0C12.1609 0 15.5 3.43576 15.5 7.63158C15.5 9.6827 14.7033 11.5495 13.405 12.9224C12.4398 13.9433 11.7857 14.9532 11.7857 15.9859V16.2144C11.7857 18.3052 10.0908 20 8 20C5.90925 20 4.21429 18.3052 4.21429 16.2144V15.9859C4.21429 14.9532 3.56025 13.9433 2.59496 12.9224C1.29669 11.5495 0.5 9.6827 0.5 7.63158Z" fill="white"/> | ||
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> | ||
| <path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C8.98123 4 6.5 6.50236 6.5 9.63158C6.5 11.1568 7.09074 12.5358 8.04815 13.5483C8.44562 13.9686 8.86265 14.4541 9.22349 15H14.7765C15.1373 14.4541 15.5544 13.9686 15.9518 13.5483C16.9093 12.5358 17.5 11.1568 17.5 9.63158C17.5 6.50236 15.0188 4 12 4ZM13.8938 17H10.1062C10.1756 17.3165 10.2143 17.6453 10.2143 17.9859V18.2144C10.2143 19.2006 11.0137 20 12 20C12.9863 20 13.7857 19.2006 13.7857 18.2144V17.9859C13.7857 17.6453 13.8244 17.3165 13.8938 17ZM4.5 9.63158C4.5 5.43576 7.83907 2 12 2C16.1609 2 19.5 5.43576 19.5 9.63158C19.5 11.6827 18.7033 13.5495 17.405 14.9224C16.4398 15.9433 15.7857 16.9532 15.7857 17.9859V18.2144C15.7857 20.3052 14.0908 22 12 22C9.90925 22 8.21429 20.3052 8.21429 18.2144V17.9859C8.21429 16.9532 7.56025 15.9433 6.59496 14.9224C5.29669 13.5495 4.5 11.6827 4.5 9.63158Z" fill="white"/> |
Contributor
There was a problem hiding this comment.
Should the fill be currentColor here? Same with other places that aren't colored icons.
cpathipa
approved these changes
Jul 14, 2025
Cloud Manager UI test results🔺 2 failing tests on test run #8 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: pnpm cy:run -s "cypress/e2e/core/account/account-maintenance.spec.ts" |
||||||||||||||||||||
Contributor
|
e2e test failures have already been fixed in develop (pr #12499) - merging and then will cherry pick to staging! (see internal slack for details) |
coliu-akamai
pushed a commit
that referenced
this pull request
Jul 14, 2025
…r icon (#12471) * fix volumes upgrade banner alignment * update snackbar error icon and adjust other icon sizes * update notice error icon and variant borders * migrate notice styles to styled components * add prop to fit the notice/banner width with the content * Added changeset: Notification banner stroke, width, error icon * Added changeset: Volumes upgrade banner alignment * fix unit test * address feedback pt 1 * Added changeset: Notification banner stroke, width, error icon * feedback * fix center alignment for single line toasts and fill color
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.
Changes 🔄
fitContentWidthprop to the Notice component to change banner widths as an exceptionPreview 📷
banner.before.sb.mov
banner.after.sb.mov
notice.before.sb.mov
notice.after.sb.mov
toast.before.mov
toast.after.mov
How to test 🧪
Verification steps
(How to verify changes)
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅