Skip to content

Commit

Permalink
[ML] AIOps: update the icon for the "View in Log Pattern Analysis" li…
Browse files Browse the repository at this point in the history
…nk to be logPatternAnalysis (#199556)

## Summary

Related meta issue: #196660


![image](https://github.com/user-attachments/assets/2c3f6a3e-56d9-48cb-a806-a7c2b6a09d44)


### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
alvarezmelissa87 and elasticmachine authored Nov 12, 2024
1 parent 13e9b99 commit bfbeb14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const useViewInLogPatternAnalysisAction = (dataViewId?: string): TableIte
return (
<TableActionButton
dataTestSubjPostfix="LogPatternAnalysis"
iconType="logstashQueue"
iconType="logPatternAnalysis"
isDisabled={isDisabled}
label={viewInLogPatternAnalysisMessage}
tooltipText={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ export const LinksMenuUI = (props: LinksMenuProps) => {
items.push(
<EuiContextMenuItem
key="log_rate_analysis"
icon="machineLearningApp"
icon="logRateAnalysis"
href={openInLogRateAnalysisUrl}
data-test-subj="mlAnomaliesListRowAction_runLogRateAnalysisButton"
>
Expand All @@ -946,7 +946,7 @@ export const LinksMenuUI = (props: LinksMenuProps) => {
items.push(
<EuiContextMenuItem
key="run_pattern_analysis"
icon="machineLearningApp"
icon="logPatternAnalysis"
onClick={() => {
closePopover();
const additionalField = getAdditionalField(anomaly);
Expand Down

0 comments on commit bfbeb14

Please sign in to comment.