Skip to content

Conversation

@stephmilovic
Copy link
Contributor

@stephmilovic stephmilovic commented Aug 1, 2025

Summary

Resolves #221251

Hides the reset conversation button on new chats, since there is no conversation to reset.

Before

Screenshot 2025-08-01 at 11 22 35 AM

After

Screenshot 2025-08-01 at 11 22 11 AM

@stephmilovic stephmilovic added the release_note:skip Skip the PR/issue when compiling release notes label Aug 1, 2025
@stephmilovic stephmilovic requested a review from a team as a code owner August 1, 2025 17:30
@stephmilovic stephmilovic added Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Security Generative AI Security Generative AI backport:version Backport to applied version labels v9.2.0 v9.0.5 v9.1.1 v8.18.5 v8.19.1 labels Aug 1, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
elasticAssistant 273.7KB 273.7KB +74.0B

History

@stephmilovic stephmilovic merged commit 456e757 into elastic:main Aug 1, 2025
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.18, 8.19, 9.0, 9.1

https://github.com/elastic/kibana/actions/runs/16686402713

@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.18 Backport failed because of merge conflicts
8.19 Backport failed because of merge conflicts
9.0 Backport failed because of merge conflicts
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 230288

Questions ?

Please refer to the Backport tool documentation

stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Aug 1, 2025
…#230288)

(cherry picked from commit 456e757)

# Conflicts:
#	x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.test.tsx
stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Aug 1, 2025
…#230288)

(cherry picked from commit 456e757)

# Conflicts:
#	x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.test.tsx
#	x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.tsx
@stephmilovic
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.0
8.19
8.18

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Aug 1, 2025
…#230288)

(cherry picked from commit 456e757)

# Conflicts:
#	x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.test.tsx
#	x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.tsx
kibanamachine added a commit that referenced this pull request Aug 2, 2025
…230288) (#230322)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[AI Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)](#230288)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-08-01T22:28:32Z","message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[AI
Assistant] Hide `Reset Conversation` option on New
Chat.","number":230288,"url":"https://github.com/elastic/kibana/pull/230288","mergeCommit":{"message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","9.1","8.18","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230288","number":230288,"mergeCommit":{"message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
stephmilovic added a commit that referenced this pull request Aug 4, 2025
…230288) (#230325)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[AI Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)](#230288)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-08-01T22:28:32Z","message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[AI
Assistant] Hide `Reset Conversation` option on New
Chat.","number":230288,"url":"https://github.com/elastic/kibana/pull/230288","mergeCommit":{"message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230288","number":230288,"mergeCommit":{"message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230322","number":230322,"state":"OPEN"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
stephmilovic added a commit that referenced this pull request Aug 4, 2025
…230288) (#230326)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[AI Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)](#230288)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-08-01T22:28:32Z","message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[AI
Assistant] Hide `Reset Conversation` option on New
Chat.","number":230288,"url":"https://github.com/elastic/kibana/pull/230288","mergeCommit":{"message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230288","number":230288,"mergeCommit":{"message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230322","number":230322,"state":"OPEN"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
stephmilovic added a commit that referenced this pull request Aug 4, 2025
…230288) (#230327)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[AI Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)](#230288)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-08-01T22:28:32Z","message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[AI
Assistant] Hide `Reset Conversation` option on New
Chat.","number":230288,"url":"https://github.com/elastic/kibana/pull/230288","mergeCommit":{"message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230288","number":230288,"mergeCommit":{"message":"[AI
Assistant] Hide `Reset Conversation` option on New Chat.
(#230288)","sha":"456e757bca9c88c0a903ae219fc93f9fc7a5b856"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230322","number":230322,"state":"OPEN"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
szaffarano pushed a commit to szaffarano/kibana that referenced this pull request Aug 5, 2025
delanni pushed a commit to delanni/kibana that referenced this pull request Aug 5, 2025
@wildemat wildemat mentioned this pull request Aug 7, 2025
10 tasks
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.18.5 v8.19.1 v9.0.5 v9.1.1 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AI4SOC] [Bug] For Elastic AI Assistant, Reset Conversation option is enabled even for New Chat.

4 participants