[AiButton/Security] Migrate ai-related buttons to use custom styles#259847
Merged
paulinashakirova merged 7 commits intoelastic:mainfrom Apr 2, 2026
Merged
[AiButton/Security] Migrate ai-related buttons to use custom styles#259847paulinashakirova merged 7 commits intoelastic:mainfrom
paulinashakirova merged 7 commits intoelastic:mainfrom
Conversation
| <AiButton | ||
| aria-label={i18n.ADD_TO_CHAT} | ||
| color={color} | ||
| variant="empty" |
Contributor
Author
| onClick={onShowOverlay} | ||
| > | ||
| {i18n.ASK_ASSISTANT_ERROR_BUTTON} | ||
| </AiButton> |
| > | ||
| {i18n.translate('xpack.elasticAssistantPlugin.aiAssistant.regenerateResponseButtonLabel', { | ||
| defaultMessage: 'Regenerate', | ||
| })} |
|
|
||
| return ( | ||
| <EuiButtonEmpty | ||
| <AiButton |
Contributor
Author
There was a problem hiding this comment.
I couldn't reproduce it in UI, so please check it locally and share the screenshot here. Thank you
| > | ||
| {i18n.TRY_AI_AGENT} | ||
| </EuiButton> | ||
| </AiButton> |
dhurley14
approved these changes
Mar 31, 2026
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
History
|
andrew-goldstein
approved these changes
Apr 1, 2026
PhilippeOberti
approved these changes
Apr 2, 2026
Contributor
PhilippeOberti
left a comment
There was a problem hiding this comment.
LGTM for the @elastic/security-threat-hunting-investigations team
mbondyra
added a commit
to mbondyra/kibana
that referenced
this pull request
Apr 2, 2026
…heck * commit 'af66aadafa7470ca8ba3e3edd3793bde81fa4596': (31 commits) [Scout] Update test config manifests (elastic#260850) [SLO]: register alerts schema embeddable (elastic#256570) [Discover][Flyout] Update overview fields table with new prop headerVisibility set to false (elastic#260692) [AiButton/Security] Migrate ai-related buttons to use custom styles (elastic#259847) [One Workflow] Fix connector step icons falling back to generic plugs in YAML editor (elastic#260785) [Agent Builder] Dashboard skill: Guard against editing non-ESQL based panels (elastic#260714) Security quality gate Cypress cleanup - Periodic Pipeline (elastic#260820) [Search] Deprecate search indices in favour of index management (elastic#260210) Upgrade dependency @elastic/charts to v71.4.0 (elastic#260593) [Security Solution] [HDQ]: integration-based targeting and descriptor versioning (elastic#258418) docs(saved-objects): consolidate docs and document scoped vs system client (elastic#260743) Fix observability UIAM config and add CPS observability variant (elastic#260485) [Security Solution] Add "matched_indices_count" rule execution metric (elastic#259938) [SigEvents] Add callout with working promote action. (elastic#260433) [Alerting V2] Episode table actions (elastic#260195) [Automatic Migration] Add ability to skip Reference Set step in QRadar upload workflow (elastic#259959) [Rules] KQL-to-DSL conversion without data view produces incorrect queries for keyword fields for Metric threshold rule (elastic#260046) Update dependency lightningcss to v1.32.0 (main) (elastic#259017) Update postcss (main) (elastic#255420) Migrate server-side apm.addLabels to OTel dual-write helpers (elastic#259619) ...
paulinashakirova
added a commit
to paulinashakirova/kibana
that referenced
this pull request
Apr 2, 2026
…lastic#259847) ## Summary Migrate AI related buttons to use Kibana's custom component. Storybook in the description.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Summary
This PR is a part of initiative to migrate our Ai related buttons to use our new AiButton custom component.
Here is a Storybook to see how they look.
Please, let me know if there are more buttons that can benefit from this migration, so we can add them here, or you could push the additional instances.