-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat(ui): redesign asset & rate limit alerts #19032
Conversation
89e5c73
to
973b753
Compare
@bpalani fyi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
className={className} | ||
> | ||
<Alert icon={IconFont.Cloud} color={ComponentColor.Primary}> | ||
const AssetLimitAlert: FC<Props> = ({limitStatus, resourceName, className}) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
|
||
return renamedResources.join(' and ') | ||
} | ||
return null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this return null
needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This returns null
if not CLOUD
padding: 0 $page-gutter; | ||
padding-bottom: 16px; | ||
max-width: 1608px; | ||
.cf-page-control-bar { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated to code: why are changes sometimes highlighted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It usually highlights it if the entire line/block didn't change but some parts of it did.
9e7faff
to
4c50a2a
Compare
533d115
to
32c9046
Compare
Rate Limit Alert
Asset Limit Alert