Skip to content

Feat/9577 add to dashboard icon#9590

Merged
l-suarez merged 3 commits into
elastic:mainfrom
l-suarez:feat/9577-add-to-dashboard-icon
Apr 13, 2026
Merged

Feat/9577 add to dashboard icon#9590
l-suarez merged 3 commits into
elastic:mainfrom
l-suarez:feat/9577-add-to-dashboard-icon

Conversation

@l-suarez
Copy link
Copy Markdown
Contributor

@l-suarez l-suarez commented Apr 13, 2026

Summary

  • What: Added the addToDashboard icon, registered it in icon_map, documented it in the website icon types list, and updated Jest snapshots.
  • Why: Provides a dedicated glyph for “add to dashboard” actions so product UIs can avoid ambiguous reuse of generic plus / plusInCircle icons or dashboardApp alone, as described in the issue.
  • How: New artwork depicting a dashboard motif with a small “+” sub-glyph.

Fixes #9577

API Changes

component / parent prop / child change description
EuiIcon type Added addToDashboard

Screenshots

Before After
(no addToDashboard type) 11

Impact Assessment

  • Breaking changes
  • Visual changes — New optional EuiIcon type only; existing icons unchanged.
  • Test impact — EuiIcon snapshot updates for the new type.
  • Hard to integrate
    Impact level: Low

Release Readiness

  • Documentation: Listed in website icon types / icons docs once merged.
  • Figma: Tracked via #9577; further visual tuning in Figma if needed.
  • Migration guide: N/A
  • Adoption plan: Discover / Kibana (and similar flows) can switch to type="addToDashboard" where the action needs a distinct icon.

QA instructions for reviewer

  • Confirm addToDashboard appears in the Icons docs and Storybook icon listing.
  • Confirm the glyph is clear at 16×16 in light and dark mode (frame, chart, and + read as one concept).

Checklist before marking Ready for Review

  • Filled out sections above (per template).
  • QA: Light/dark, high contrast.
  • QA: CodeSandbox / Kibana (optional for icon-only change).
  • QA: Docs/types updated for the new icon name, added to Figma file
  • Tests: Jest snapshots updated (including after SVG simplification).
  • Changelog: `packages/eui/changelo

Adds the addToDashboard glyph (dashboard + sub-glyph +) for add-to-dashboard actions.

Refs: elastic#9577
Made-with: Cursor
Replace mask and ids with a single evenodd frame path, drop mask fill,
and recompile the icon asset. Update Jest snapshots.

Made-with: Cursor
@l-suarez l-suarez self-assigned this Apr 13, 2026
@l-suarez l-suarez requested a review from a team as a code owner April 13, 2026 10:43
@l-suarez l-suarez added the icons label Apr 13, 2026
Use L-shaped frame via mask to clear the bottom-right corner for the
plus glyph, and merge the chart line and plus into a single path.

Made-with: Cursor
@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

cc @l-suarez

@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

cc @l-suarez

Copy link
Copy Markdown
Contributor

@weronikaolejniczak weronikaolejniczak left a comment

Choose a reason for hiding this comment

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

LGTM, @l-suarez! 🟢 Thank you for contributing 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[New icon] Add to dashboard

3 participants