Skip to content

[Icon] New AddToChat icon - #9768

Merged
weronikaolejniczak merged 5 commits into
elastic:mainfrom
JoseLuisGJ:addToChat_icon
Jun 29, 2026
Merged

weronikaolejniczak merged 5 commits into
elastic:mainfrom
JoseLuisGJ:addToChat_icon

Conversation

@JoseLuisGJ

@JoseLuisGJ JoseLuisGJ commented Jun 29, 2026 •

Copy link
Copy Markdown
Member

Summary

API Changes

component / parent prop / child change description
EuiIcon type addToChat new register new icon addition

Screenshots

Before After
CleanShot 2026-06-29 at 12 49 25@2x

Impact Assessment

Note: Most PRs should be tested in Kibana to help gauge their Impact before merging.

  • 🔴 Breaking changes — What will break? How many usages in Kibana/Cloud UI are impacted?
  • 💅 Visual changes — May impact style overrides; could require visual testing. Explain and estimate impact.
  • 🧪 Test impact — May break functional or snapshot tests (e.g., HTML structure, class names, default values).
  • 🔧 Hard to integrate — If changes require substantial updates to Kibana, please stage the changes and link them here.

Impact level: 🟢 None / 🟢 Low / 🟡 Moderate / 🔴 High

Release Readiness

  • Documentation: {link to docs page(s)}
  • Figma: {link to Figma or issue}
  • Migration guide: {steps or link, for breaking/visual changes or deprecations}
  • Adoption plan (new features): {link to issue/doc or outline who will integrate this and where}

QA instructions for reviewer

Checklist before marking Ready for Review

Reviewer checklist

  • Approved Impact Assessment — Acceptable to merge given the consumer impact.
  • Approved Release Readiness — Docs, Figma, and migration info are sufficient to ship.

@JoseLuisGJ JoseLuisGJ changed the title AddToChat icon [Icon] New AddToChat icon Jun 29, 2026
@JoseLuisGJ JoseLuisGJ self-assigned this Jun 29, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
1 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euiicon (1 difference)

StoryBeforeAfterDiff
all icons desktop

@JoseLuisGJ
JoseLuisGJ marked this pull request as ready for review June 29, 2026 11:02
@JoseLuisGJ
JoseLuisGJ requested a review from a team as a code owner June 29, 2026 11:02
Copilot AI review requested due to automatic review settings June 29, 2026 11:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new addToChat icon to EUI’s icon system and surfaces it in the icon documentation and tests, enabling consumers (e.g., Agent Builder UI patterns) to use type="addToChat".

Changes:

  • Added new SVG glyph (add_to_chat.svg) and generated React asset component (add_to_chat.tsx).
  • Registered the new icon in typeToPathMap so EuiIcon can dynamically import it.
  • Updated website icon docs list, Jest snapshots, and added an upcoming changelog entry.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/website/docs/components/display/icons/icon_types.ts Adds addToChat to the docs/demo icon type list.
packages/eui/src/components/icon/svgs/add_to_chat.svg Introduces the new source SVG for the icon pipeline.
packages/eui/src/components/icon/icon_map.ts Registers addToChat for dynamic import lookup.
packages/eui/src/components/icon/assets/add_to_chat.tsx Adds the generated React component used by EuiIcon.
packages/eui/src/components/icon/snapshots/icon.test.tsx.snap Updates snapshots to include rendering of addToChat.
packages/eui/changelogs/upcoming/9760.md Documents the new icon addition for release notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@weronikaolejniczak
weronikaolejniczak self-requested a review June 29, 2026 11:11

@weronikaolejniczak weronikaolejniczak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @JoseLuisGJ! I "Approved visual changes" so that the "All icons" story gets updated. Let's wait for that and if the CI failes due to flakes, we can add skip-vrt and comment buildkite test this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This filename should be: 9768.md

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch @weronikaolejniczak , fixed here 58d335d

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
2 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euiicon (1 difference)

StoryBeforeAfterDiff
all icons desktop

euipopover (1 difference)

StoryBeforeAfterDiff
playground desktop

@elastic elastic deleted a comment from infra-vault-gh-plugin-prod Bot Jun 29, 2026
@JoseLuisGJ JoseLuisGJ linked an issue Jun 29, 2026 that may be closed by this pull request
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
2 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euiicon (1 difference)

StoryBeforeAfterDiff
all icons desktop

euipopover (1 difference)

StoryBeforeAfterDiff
playground desktop

@weronikaolejniczak

Copy link
Copy Markdown
Contributor

@JoseLuisGJ I ran the "update VRT" step, let's not make any changes to the PR until the kibanamachine commit is added.

@elastic elastic deleted a comment from infra-vault-gh-plugin-prod Bot Jun 29, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
1 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euipopover (1 difference)

StoryBeforeAfterDiff
playground desktop

@weronikaolejniczak weronikaolejniczak added the skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR) label Jun 29, 2026
@weronikaolejniczak

Copy link
Copy Markdown
Contributor

buildkite test this

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @JoseLuisGJ

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @JoseLuisGJ

@weronikaolejniczak
weronikaolejniczak merged commit fea089e into elastic:main Jun 29, 2026
3 checks passed
mgadewoll added a commit to elastic/kibana that referenced this pull request Jul 17, 2026
## Dependency updates

`@elastic/eui` - v116.5.0 ⏩ v117.0.0

## Changes

- removes temporary custom styles in
`src/core/packages/notifications/browser-internal/src/toasts/global_toast_list.tsx`
(added previously in #273985)
- removes custom icon usages passed via `children` on `EuiCallOut` to
prevent duplication (callouts now have internal default icons per type)
- updates tests and snapshots due to `EuiCallOut` changes

## Package updates

### `@elastic/eui`
[`v117.0.0`](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Added `EuiIllustration` for rendering SVG illustrations (e.g. from
`@elastic/eui-illustrations`) that respond to the active EUI color mode
([#9779](elastic/eui#9779))
- Added `compressed` prop to `EuiSearchBar` to enable compact display
mode for the search box and filter buttons
([#9743](elastic/eui#9743))
- Added `addToChat` glyph to `EuiIcon`
([#9768](elastic/eui#9768))
- Updated `EuiCallOut`:
([#9642](elastic/eui#9642))
    - Updated component styles
- Added `text` prop on `EuiCallOut` which renders the main, inline
callout description text - use this instead of `children` where possible
- Added `actionProps` prop on `EuiCallOut` which renders primary and
secondary action buttons
- Added `showErrorTooltip` (defaulting to `true`) to `EuiSearchBar` to
allow consumers to opt-out of the built-in parse-error tooltip
([#9773](elastic/eui#9773))

**Bug fixes**

- Fixed `EuiToast` cutting off absolute positioned content by removing
`overflow: hidden`. ([#9791](elastic/eui#9791))
- Fixed `EuiFlyout` container-scoped flyouts shrinking below usable
widths for named sizes `s` and `m` by applying minimum width floors
derived from theme breakpoints
([#9787](elastic/eui#9787))
- Fixed `EuiSelectable` with group labels rendering options with stale
heights ([#9770](elastic/eui#9770))

**Breaking changes**

- Removed the `accent` variant for `color` on `EuiCallOut`
([#9642](elastic/eui#9642))
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Dependency updates

`@elastic/eui` - v116.5.0 ⏩ v117.0.0

## Changes

- removes temporary custom styles in
`src/core/packages/notifications/browser-internal/src/toasts/global_toast_list.tsx`
(added previously in elastic#273985)
- removes custom icon usages passed via `children` on `EuiCallOut` to
prevent duplication (callouts now have internal default icons per type)
- updates tests and snapshots due to `EuiCallOut` changes

## Package updates

### `@elastic/eui`
[`v117.0.0`](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Added `EuiIllustration` for rendering SVG illustrations (e.g. from
`@elastic/eui-illustrations`) that respond to the active EUI color mode
([elastic#9779](elastic/eui#9779))
- Added `compressed` prop to `EuiSearchBar` to enable compact display
mode for the search box and filter buttons
([elastic#9743](elastic/eui#9743))
- Added `addToChat` glyph to `EuiIcon`
([elastic#9768](elastic/eui#9768))
- Updated `EuiCallOut`:
([elastic#9642](elastic/eui#9642))
    - Updated component styles
- Added `text` prop on `EuiCallOut` which renders the main, inline
callout description text - use this instead of `children` where possible
- Added `actionProps` prop on `EuiCallOut` which renders primary and
secondary action buttons
- Added `showErrorTooltip` (defaulting to `true`) to `EuiSearchBar` to
allow consumers to opt-out of the built-in parse-error tooltip
([elastic#9773](elastic/eui#9773))

**Bug fixes**

- Fixed `EuiToast` cutting off absolute positioned content by removing
`overflow: hidden`. ([elastic#9791](elastic/eui#9791))
- Fixed `EuiFlyout` container-scoped flyouts shrinking below usable
widths for named sizes `s` and `m` by applying minimum width floors
derived from theme breakpoints
([elastic#9787](elastic/eui#9787))
- Fixed `EuiSelectable` with group labels rendering options with stale
heights ([elastic#9770](elastic/eui#9770))

**Breaking changes**

- Removed the `accent` variant for `color` on `EuiCallOut`
([elastic#9642](elastic/eui#9642))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Icon] add to chat productRobot icon

4 participants