-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution] Store last conversation in localstorage #6993 #161373
Conversation
17b4d56
to
67da505
Compare
x-pack/packages/kbn-elastic-assistant/impl/assistant/index.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/packages/kbn-elastic-assistant/impl/assistant/index.test.tsx
Outdated
Show resolved
Hide resolved
expect(persistToLocalStorage).toHaveBeenLastCalledWith('electric sheep'); | ||
}); | ||
|
||
it('should not persist the conversation id to local storage when excludeFromLastConversationStorage flag is indicated', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
x-pack/packages/kbn-elastic-assistant/impl/assistant/index.test.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pair reviewed with @andrew-goldstein -- LGTU! Thank you @lgestc and @stephmilovic for the fix here 🙂
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
(elastic#161373) (cherry picked from commit ca3146f)
… (#161373) (#161743) # Backport This will backport the following commits from `main` to `8.9`: - [[Security Solution] Store last conversation in localstorage #6993 (#161373)](#161373) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Luke","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-12T01:02:11Z","message":"[Security Solution] Store last conversation in localstorage #6993 (#161373)","sha":"ca3146f0ca5dc1d003214878bbf60d0aa1f00a1d","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.9.0","Feature:Elastic Assistant","v8.10.0"],"number":161373,"url":"https://github.com/elastic/kibana/pull/161373","mergeCommit":{"message":"[Security Solution] Store last conversation in localstorage #6993 (#161373)","sha":"ca3146f0ca5dc1d003214878bbf60d0aa1f00a1d"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/161373","number":161373,"mergeCommit":{"message":"[Security Solution] Store last conversation in localstorage #6993 (#161373)","sha":"ca3146f0ca5dc1d003214878bbf60d0aa1f00a1d"}}]}] BACKPORT--> Co-authored-by: Luke <[email protected]>
Summary
Fixes #6993