Enable "Event Generating Elements Should Be Instrumented" ESLint rule for more O11y Apps (#165647)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Coen Warmer 2023-09-05 21:48:03 +02:00 committed by GitHub
parent 33dcda7b70
commit 772bc0c598
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
80 changed files with 172 additions and 20 deletions

View file

@ -136,6 +136,7 @@ export function SelectableUrlList({
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiButtonIcon
data-test-subj="exploratoryViewPopOverTitleButton"
color="text"
onClick={() => closePopover()}
aria-label={i18n.translate('xpack.exploratoryView.search.url.close', {

View file

@ -72,6 +72,7 @@ export function SeriesActions({ seriesId, series, seriesConfig, onEditClick }: P
const popoverButton = (
<EuiButtonIcon
data-test-subj="exploratoryViewSeriesActionsButton"
iconType="boxesHorizontal"
onClick={changePopoverVisibility}
color="text"

View file

@ -101,6 +101,7 @@ export function SeriesName({ series, seriesId }: Props) {
)}
<EuiFlexItem grow={false}>
<EuiButtonIcon
data-test-subj="exploratoryViewSeriesNameButton"
onClick={() => setIsEditingEnabled(!isEditingEnabled)}
iconType="pencil"
aria-label={i18n.translate('xpack.exploratoryView.expView.seriesEditor.editName', {