Skip to content

[Icons] Remove persisted deprecated aliases #9832

Open

Description

@weronikaolejniczak

This is a follow-up to #9561. The purpose is to remove the leftover deprecated icon aliases:

  • alert (new handle: warning)
  • compute (new handle: processor)
  • editorComment (new handle: comment)
  • list (new handle: listBullet)
  • mapMarker (new handle: waypoint)
  • pinFilled (new handle: pinFill)
  • search (new handle: magnify)
  • starEmpty (new handle: star)
  • starFilled (new handle: starFill)
  • temperature (new handle: thermometer)
  • visArea (new handle: chartArea)
  • visBarVertical (new handle: chartBarVertical)
  • visGauge (new handle: chartGauge)
  • visLine (new handle: chartLine)
  • visPie (new handle: chartPie)
  • visTable (new handle: table)

They were left to avoid breaking persisted cases in Kibana. We can only remove them once a migration mechanism is in place:

@elastic/kibana-visualizations

  • src/platform/packages/shared/kbn-event-annotation-common/index.ts
  • src/platform/packages/shared/kbn-lens-common/visualizations/metric/constants.ts
  • src/platform/packages/shared/kbn-lens-common/visualizations/xy/constants.ts
  • src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/metric.ts
  • src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/xy/helpers.ts
  • src/platform/packages/shared/kbn-visualization-ui-components/types.ts
  • src/platform/packages/shared/kbn-visualization-ui-components/util.ts
  • src/platform/plugins/shared/chart_expressions/expression_metric/common/constants.ts
  • src/platform/plugins/shared/chart_expressions/expression_xy/common/constants.ts
  • src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/constants/icons.ts
  • x-pack/platform/plugins/private/graph/public/helpers/style_choices.ts
  • x-pack/platform/plugins/shared/lens/public/shared_components/icon_set.tsx

@elastic/actionable-obs-team

  • x-pack/solutions/observability/plugins/observability/public/components/annotations/icon_set.ts
  • x-pack/solutions/observability/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx
  • x-pack/solutions/observability/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.tsx
  • x-pack/solutions/observability/plugins/slo/public/components/slo/error_rate_chart/use_lens_definition.ts

See for more context: elastic/kibana#279452 (comment)

Activity

  1. changed the title [-][Icons] Remove deprecated aliases[/-] [+][Icons] Remove persisted deprecated aliases[/+] on Jul 27, 2026
  2. added a commit that references this issue on Aug 13, 2026
  3. added a commit that references this issue on Aug 13, 2026
  4. biamalveiro commented on Oct 13, 2026

    @biamalveiro
    Contributor

    Visualizations side done in elastic/kibana#280691, persisted icon ids are now resolved through a new resolveVisIcon helper from @kbn/chart-icons.

    @elastic/actionable-obs-team I believe this also sorts most of the impacted obs files, but worth a double check. At least x-pack/solutions/observability/plugins/observability/public/components/annotations/components/annotation_icon.tsx still passes the stored icon directly to EuiIcon, so it needs updating before the aliases can be removed. The resolveVisIcon should help there, and let me know if I can help with something.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions