Skip to content

[EuiIcon] Add translate icon - #9842

Merged
weronikaolejniczak merged 1 commit into
elastic:mainfrom
MichaelMarcialis:translate-icon
Jul 27, 2026
Merged

weronikaolejniczak merged 1 commit into
elastic:mainfrom
MichaelMarcialis:translate-icon

Conversation

@MichaelMarcialis

@MichaelMarcialis MichaelMarcialis commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Screenshots

image image

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

Release Readiness

QA instructions for reviewer

  • Open EuiIcon documentation page.
  • Confirm that translate icon appears.
  • Confirm that translate icon renders properly in both light/dark modes.

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.

@MichaelMarcialis
MichaelMarcialis marked this pull request as ready for review July 23, 2026 19:22
@MichaelMarcialis
MichaelMarcialis requested a review from a team as a code owner July 23, 2026 19:22
Copilot AI review requested due to automatic review settings July 23, 2026 19:22

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 translate glyph to EUI’s icon set to address the need for a canonical “translate” action icon (ref #9816), making it available via EuiIcon and included in the normal icon test/snapshot coverage.

Changes:

  • Added the translate SVG source and generated React icon asset.
  • Registered the new icon in typeToPathMap (with search synonyms) so it can be referenced by type="translate".
  • Updated EuiIcon snapshot coverage and added an upcoming changelog entry.

Reviewed changes

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

Show a summary per file
File Description
packages/eui/src/components/icon/svgs/translate.svg Adds the raw 16x16 SVG source for the new icon.
packages/eui/src/components/icon/assets/translate.tsx Adds the generated React component wrapper for the SVG.
packages/eui/src/components/icon/icon_map.ts Registers translate in the icon type map with metadata/synonyms.
packages/eui/src/components/icon/snapshots/icon.test.tsx.snap Updates snapshots to include rendering of the new translate icon.
packages/eui/changelogs/upcoming/9842.md Adds an upcoming changelog entry for the new icon.

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

@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 (2 differences)

StoryBeforeAfterDiff
all icons desktop
all icons mobile

@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! 🟢 Thanks, Michael!

@MichaelMarcialis

Copy link
Copy Markdown
Contributor Author

buildkite test it

@weronikaolejniczak weronikaolejniczak added skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR) and removed skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR) labels Jul 27, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

@weronikaolejniczak
weronikaolejniczak merged commit babb4f1 into elastic:main Jul 27, 2026
1 check passed
@MichaelMarcialis
MichaelMarcialis deleted the translate-icon branch July 27, 2026 13:18
weronikaolejniczak added a commit to elastic/kibana that referenced this pull request Jul 31, 2026
## Dependency updates

`@elastic/eui` - v117.1.0 ⏩ v118.0.0
`@elastic/eslint-plugin-eui` - v2.14.1 ⏩ v2.15.0

## Changes

Fixes for the failures surfaced by the [nightly build
CI](#279387):

- **Nested tooltips
([eui#9749](elastic/eui#9749 Cherry-picked
the prepared migration commit
[`383f06f5b57f`](383f06f)
from [#278588](#278588): nested
tooltips are no longer supported, so they are removed where exposed
(`hoverable_avatar`, `small_user_avatar`, `user_avatar_tip`) and the
affected components/tests updated. Fixes the `add to timeline`,
`AllCasesListGeneric`, `AnonymizedStat`, `HoverableAvatar`,
`InfrastructureTabHelpPopover`, `LabelNode`/`RelationshipNode` tooltip
test failures.
- **Removed beta nav i18n tokens
([eui#9813](elastic/eui#9813
`EuiCollapsibleNavBeta` and the related beta nav components were
removed, so their now-orphaned i18n tokens are deleted from the EUI
mapping and the `de`/`fr`/`ja`/`zh` translation files. Fixes the
`@elastic/eui i18n tokens` test and the type/i18n quick checks.
- **Internal display-name renames.** EUI renamed some internal component
display names (`EuiSideNavClass` → `EuiSideNav`,
`EuiFilterSelectItemClass` → `EuiFilterSelectItemComponent`); refreshed
the affected `SolutionNav` snapshots and the `GroupsFilterPopover`
snapshot + enzyme selector.

## Package updates

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

- Added new `translate` icon.
([#9842](elastic/eui#9842))
- Updated `EuiToolTip` to skip the entry animation when hovering between
adjacent triggers in quick succession, so a group of tooltips behaves
like a single continuous tooltip following the cursor
([#9749](elastic/eui#9749))

**Bug fixes**

- Fixed `EuiToolTip` rare flicker when the cursor moved between inner
children of the trigger
([#9749](elastic/eui#9749))

**Breaking changes**

- Removed `EuiCollapsibleNavBeta` and all related beta navigation
components (`EuiCollapsibleNavItem`, `EuiCollapsibleNavButton`,
`KibanaCollapsibleNavSolution`, etc.).
([#9813](elastic/eui#9813))
- Hover behavior for nested `EuiToolTip` triggers has changed - parent
tooltips will not open when the pointer is over a child tooltip trigger
(only the innermost tooltip is shown)
([#9749](elastic/eui#9749))

### `@elastic/eslint-plugin-eui`
[v2.15.0](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

- Added `callout-prefer-props-for-content` rule
([#9821](elastic/eui#9821))

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
mdefazio pushed a commit to mdefazio/kibana that referenced this pull request Aug 3, 2026
`@elastic/eui` - v117.1.0 ⏩ v118.0.0
`@elastic/eslint-plugin-eui` - v2.14.1 ⏩ v2.15.0

Fixes for the failures surfaced by the [nightly build
CI](elastic#279387):

- **Nested tooltips
([eui#9749](elastic/eui#9749 Cherry-picked
the prepared migration commit
[`383f06f5b57f`](elastic@383f06f)
from [elastic#278588](elastic#278588): nested
tooltips are no longer supported, so they are removed where exposed
(`hoverable_avatar`, `small_user_avatar`, `user_avatar_tip`) and the
affected components/tests updated. Fixes the `add to timeline`,
`AllCasesListGeneric`, `AnonymizedStat`, `HoverableAvatar`,
`InfrastructureTabHelpPopover`, `LabelNode`/`RelationshipNode` tooltip
test failures.
- **Removed beta nav i18n tokens
([eui#9813](elastic/eui#9813
`EuiCollapsibleNavBeta` and the related beta nav components were
removed, so their now-orphaned i18n tokens are deleted from the EUI
mapping and the `de`/`fr`/`ja`/`zh` translation files. Fixes the
`@elastic/eui i18n tokens` test and the type/i18n quick checks.
- **Internal display-name renames.** EUI renamed some internal component
display names (`EuiSideNavClass` → `EuiSideNav`,
`EuiFilterSelectItemClass` → `EuiFilterSelectItemComponent`); refreshed
the affected `SolutionNav` snapshots and the `GroupsFilterPopover`
snapshot + enzyme selector.

[v118.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Added new `translate` icon.
([elastic#9842](elastic/eui#9842))
- Updated `EuiToolTip` to skip the entry animation when hovering between
adjacent triggers in quick succession, so a group of tooltips behaves
like a single continuous tooltip following the cursor
([elastic#9749](elastic/eui#9749))

**Bug fixes**

- Fixed `EuiToolTip` rare flicker when the cursor moved between inner
children of the trigger
([elastic#9749](elastic/eui#9749))

**Breaking changes**

- Removed `EuiCollapsibleNavBeta` and all related beta navigation
components (`EuiCollapsibleNavItem`, `EuiCollapsibleNavButton`,
`KibanaCollapsibleNavSolution`, etc.).
([elastic#9813](elastic/eui#9813))
- Hover behavior for nested `EuiToolTip` triggers has changed - parent
tooltips will not open when the pointer is over a child tooltip trigger
(only the innermost tooltip is shown)
([elastic#9749](elastic/eui#9749))

[v2.15.0](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

- Added `callout-prefer-props-for-content` rule
([elastic#9821](elastic/eui#9821))

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EuiIcon] Add a "translate" glyph

3 participants