Skip to content

Commit 18a97a7

Browse files
committed
[ui-react-dom] Title on ID cells
1 parent 2d02f3b commit 18a97a7

File tree

5 files changed

+71
-71
lines changed

5 files changed

+71
-71
lines changed

src/ui-react-dom/RelationshipInHtmlTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ export const RelationshipInHtmlRow = ({
6262
{extraRowCells(extraCellsBefore, rowProps)}
6363
{idColumn === false ? null : (
6464
<>
65-
<th>{localRowId}</th>
66-
<th>{remoteRowId}</th>
65+
<th title={localRowId}>{localRowId}</th>
66+
<th title={remoteRowId}>{remoteRowId}</th>
6767
</>
6868
)}
6969
{objToArray(

src/ui-react-dom/ValuesInHtmlTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const ValuesInHtmlTable: typeof ValuesInHtmlTableDecl = ({
5252
return (
5353
<tr key={valueId}>
5454
{extraValueCells(extraCellsBefore, valueProps)}
55-
{idColumn === false ? null : <th>{valueId}</th>}
55+
{idColumn === false ? null : <th title={valueId}>{valueId}</th>}
5656
<td>
5757
<Value
5858
{...getProps(getValueComponentProps, valueId)}

src/ui-react-dom/common/components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const HtmlTable = ({
107107
return (
108108
<tr key={rowId}>
109109
{extraRowCells(extraCellsBefore, rowProps)}
110-
{idColumn === false ? null : <th>{rowId}</th>}
110+
{idColumn === false ? null : <th title={rowId}>{rowId}</th>}
111111
{objToArray(
112112
cells,
113113
({component: CellView, getComponentProps}, cellId) => (

src/ui-react-inspector/MetricsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type {StoreProp} from './types.ts';
1111

1212
const MetricRow = ({metrics, metricId}: MetricProps) => (
1313
<tr>
14-
<th>{metricId}</th>
14+
<th title={metricId}>{metricId}</th>
1515
<td>{(metrics as Metrics)?.getTableId(metricId)}</td>
1616
<td>{useMetric(metricId, metrics)}</td>
1717
</tr>

0 commit comments

Comments
 (0)