-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add tooltips to overflow text on streams table #21253
Changes from 4 commits
5770353
70d4d63
a5af28e
f18cf70
fa8d5dd
94d692c
14d7e51
47448f3
fd50a9f
5d69f7c
a30de56
10bf311
3b7f2a6
2e37f12
b9a04cc
5799548
d9ff448
64479e2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,18 +66,17 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({ | |
<CatalogTreeTableCell size="small"> | ||
<Switch size="sm" checked={stream.config?.selected} onChange={onSelectStream} disabled={disabled} /> | ||
</CatalogTreeTableCell> | ||
{/* <Cell>{fieldCount}</Cell> */} | ||
krishnaglick marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<CatalogTreeTableCell> | ||
<CatalogTreeTableCell withTooltip> | ||
<Text size="md" className={styles.cellText}> | ||
{stream.stream?.namespace || <FormattedMessage id="form.noNamespace" />} | ||
</Text> | ||
</CatalogTreeTableCell> | ||
<CatalogTreeTableCell> | ||
<CatalogTreeTableCell withTooltip> | ||
<Text size="md" className={styles.cellText}> | ||
{stream.stream?.name} | ||
</Text> | ||
</CatalogTreeTableCell> | ||
<CatalogTreeTableCell size="large"> | ||
<CatalogTreeTableCell size="large" withTooltip={disabled}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is one of the main reasons we're introducing the Tooltip -- the sync mode "incremental | deduped + history" always has overflow. We want a Tooltip on it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So we want the value of the dropdown as a tooltip here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah! That was the idea as I understood it. |
||
{disabled ? ( | ||
<Text size="md" className={styles.cellText}> | ||
{syncSchema.syncMode} | ||
|
@@ -120,12 +119,12 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({ | |
<CatalogTreeTableCell size="xsmall"> | ||
<ArrowRightIcon /> | ||
</CatalogTreeTableCell> | ||
<CatalogTreeTableCell> | ||
<CatalogTreeTableCell withTooltip> | ||
<Text size="md" className={styles.cellText}> | ||
{destNamespace} | ||
</Text> | ||
</CatalogTreeTableCell> | ||
<CatalogTreeTableCell> | ||
<CatalogTreeTableCell withTooltip> | ||
<Text size="md" className={styles.cellText}> | ||
{destName} | ||
</Text> | ||
|
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.
Suppose this is fine to remove for now? We do want to have this field once we introduce column selection to the new table (#21058) we want this column. Unless the designs have changed and I'm not up to date.
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 just removed it since it had been sitting around. I can re-add 👍