Skip to content

Commit 5b0bc12

Browse files
Copilotalexwizp
andauthored
Add tableCaption to EuiBasicTable in log entry rate anomalies table (elastic#267503)
Closes: elastic#267502 Fixes `@elastic/eui/require-table-caption` ESLint violation in the log entry rate anomalies table owned by `@elastic/obs-presentation-team`. - Added `tableCaption` prop with i18n-translated string to `EuiBasicTable` in `x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx` ```tsx <EuiBasicTable tableCaption={i18n.translate('xpack.infra.logs.analysis.anomaliesTableCaption', { defaultMessage: 'Log entry anomalies', })} items={tableItems} ... /> ``` --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com> Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
1 parent 1cb1124 commit 5b0bc12

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies

x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ export const AnomaliesTable: React.FunctionComponent<{
207207
<>
208208
<LoadingOverlayWrapper isLoading={isLoading}>
209209
<EuiBasicTable
210+
tableCaption={i18n.translate('xpack.infra.logs.analysis.anomaliesTableCaption', {
211+
defaultMessage: 'Log entry anomalies',
212+
})}
210213
items={tableItems}
211214
itemId="id"
212215
itemIdToExpandedRowMap={expandedIdsRowContents}

0 commit comments

Comments
 (0)