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

feat(ui): redesign asset & rate limit alerts #19032

Merged
merged 14 commits into from
Jul 23, 2020
Merged

Conversation

mavarius
Copy link
Contributor

@mavarius mavarius commented Jul 23, 2020

Rate Limit Alert
image

Asset Limit Alert
image

@mavarius mavarius force-pushed the feat/rate-bulletins branch from 89e5c73 to 973b753 Compare July 23, 2020 07:30
@mavarius mavarius changed the title feat(ui): redesign limit alerts WIP feat(ui): redesign asset & rate limit alerts Jul 23, 2020
@mavarius mavarius requested review from ebb-tide and ischolten July 23, 2020 07:37
@mavarius
Copy link
Contributor Author

@bpalani fyi

Copy link
Contributor

@ischolten ischolten left a 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}) => {
Copy link
Contributor

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
Copy link
Contributor

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?

Copy link
Contributor Author

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 {
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@mavarius mavarius force-pushed the feat/rate-bulletins branch from 9e7faff to 4c50a2a Compare July 23, 2020 18:33
@mavarius mavarius force-pushed the feat/rate-bulletins branch from 533d115 to 32c9046 Compare July 23, 2020 21:05
@mavarius mavarius requested a review from zoesteinkamp July 23, 2020 22:06
@mavarius mavarius merged commit 4df52d0 into master Jul 23, 2020
@jacobmarble jacobmarble deleted the feat/rate-bulletins branch January 2, 2024 22:55
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