Skip to content

Commit

Permalink
[8.16] [Security Assistant] Revert open AI Assistant settings in new …
Browse files Browse the repository at this point in the history
…tab (elastic#197725) (elastic#197857)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Assistant] Revert open AI Assistant settings in new tab
(elastic#197725)](elastic#197725)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-24T22:44:45Z","message":"[Security
Assistant] Revert open AI Assistant settings in new tab
(elastic#197725)","sha":"d2aa00708309fdf85deb03870f65960ec78161cf","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","Team:Security Generative
AI","v8.16.0","backport:version","v8.17.0"],"number":197725,"url":"https://github.com/elastic/kibana/pull/197725","mergeCommit":{"message":"[Security
Assistant] Revert open AI Assistant settings in new tab
(elastic#197725)","sha":"d2aa00708309fdf85deb03870f65960ec78161cf"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197725","number":197725,"mergeCommit":{"message":"[Security
Assistant] Revert open AI Assistant settings in new tab
(elastic#197725)","sha":"d2aa00708309fdf85deb03870f65960ec78161cf"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/197746","number":197746,"state":"MERGED","mergeCommit":{"sha":"67abfdc08366f041b0de3542deb5ac80fd2eed29","message":"[8.x]
[Security Assistant] Revert open AI Assistant settings in new tab
(elastic#197725) (elastic#197746)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Security Assistant] Revert open AI
Assistant settings in new
tab\n(elastic#197725)](https://github.com/elastic/kibana/pull/197725)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Steph\nMilovic\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2024-10-24T22:44:45Z\",\"message\":\"[Security\nAssistant]
Revert open AI Assistant settings in new
tab\n(elastic#197725)\",\"sha\":\"d2aa00708309fdf85deb03870f65960ec78161cf\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"Team:\nSecuritySolution\",\"backport:prev-minor\",\"Team:Security
Generative\nAI\"],\"title\":\"[Security Assistant] Revert open AI
Assistant settings
in\nnew\ntab\",\"number\":197725,\"url\":\"https://github.com/elastic/kibana/pull/197725\",\"mergeCommit\":{\"message\":\"[Security\nAssistant]
Revert open AI Assistant settings in new
tab\n(elastic#197725)\",\"sha\":\"d2aa00708309fdf85deb03870f65960ec78161cf\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/197725\",\"number\":197725,\"mergeCommit\":{\"message\":\"[Security\nAssistant]
Revert open AI Assistant settings in new
tab\n(elastic#197725)\",\"sha\":\"d2aa00708309fdf85deb03870f65960ec78161cf\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Steph Milovic <[email protected]>"}}]}] BACKPORT-->
  • Loading branch information
stephmilovic authored Oct 25, 2024
1 parent 724be35 commit 95635d3
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
EuiContextMenuPanel,
EuiContextMenuItem,
EuiConfirmModal,
EuiIcon,
EuiNotificationBadge,
EuiPopover,
EuiButtonIcon,
Expand Down Expand Up @@ -70,7 +69,6 @@ export const SettingsContextMenu: React.FC<Params> = React.memo(
() =>
navigateToApp('management', {
path: 'kibana/securityAiAssistantManagement',
openInNewTab: true,
}),
[navigateToApp]
);
Expand All @@ -84,7 +82,6 @@ export const SettingsContextMenu: React.FC<Params> = React.memo(
() =>
navigateToApp('management', {
path: `kibana/securityAiAssistantManagement?tab=${KNOWLEDGE_BASE_TAB}`,
openInNewTab: true,
}),
[navigateToApp]
);
Expand All @@ -105,13 +102,6 @@ export const SettingsContextMenu: React.FC<Params> = React.memo(
data-test-subj={'ai-assistant-settings'}
>
{i18n.AI_ASSISTANT_SETTINGS}
<EuiIcon
css={css`
margin-left: ${euiThemeVars.euiSizeXS};
`}
size="s"
type="popout"
/>
</EuiContextMenuItem>,
<EuiContextMenuItem
aria-label={'knowledge-base'}
Expand All @@ -120,13 +110,6 @@ export const SettingsContextMenu: React.FC<Params> = React.memo(
data-test-subj={'knowledge-base'}
>
{i18n.KNOWLEDGE_BASE}
<EuiIcon
css={css`
margin-left: ${euiThemeVars.euiSizeXS};
`}
size="s"
type="popout"
/>
</EuiContextMenuItem>,
<EuiContextMenuItem
aria-label={'anonymization'}
Expand Down

0 comments on commit 95635d3

Please sign in to comment.