-
Notifications
You must be signed in to change notification settings - Fork 3k
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(React): Deprecation status in dataset header #2097
feat(React): Deprecation status in dataset header #2097
Conversation
8a784c7
to
fe18154
Compare
fe18154
to
96a8f23
Compare
@@ -5,7 +5,7 @@ import { RoutedTabs } from './RoutedTabs'; | |||
export interface EntityProfileProps { | |||
title: string; | |||
tags?: Array<string>; | |||
body: React.ReactNode; | |||
header: React.ReactNode; |
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.
I like this rename!
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.
Overall this looks great to me.
placement="bottomLeft" | ||
content={ | ||
<> | ||
<Typography.Paragraph>By: {deprecation?.actor}</Typography.Paragraph> |
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.
Nit: Maybe not need for the ":" here. It would also be useful to add a link
<Typography.Paragraph>By: {deprecation?.actor}</Typography.Paragraph> | ||
{deprecation.decommissionTime && ( | ||
<Typography.Paragraph> | ||
On: {new Date(deprecation?.decommissionTime).toUTCString()} |
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.
Same here with the ":"
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.
Great points- let's do those in followups.
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!
This module is read-only currently. When hovered it displays additional details.
Closeup of the module, when hovered over:
Checklist