eui icon indicating copy to clipboard operation
eui copied to clipboard

[Meta] Deprecation and Beta schedule

Open snide opened this issue 6 years ago • 1 comments

This is a meta ticket to cover all deprecations planned for EUI. These dates can and will be moved up if upgrades happen swiftly. Deprecations will generally be a 3 month period.

See our deprecations wiki doc for recommended guidelines on how to deprecate features.

Deprecation Schedule

Ongoing betas

  • EuiCollapsibleNavBeta - This is dependent on Kibana changing classic to use this https://github.com/elastic/eui/issues/8458
  • EuiProvider componentDefaults - Should remain in beta until architecturally complete https://github.com/elastic/eui/issues/8451
  • EuiDataGrid canDragAndDropColumns - Once Discover team validates and uses this, we should consider making it the new default for data grids https://github.com/elastic/eui/issues/8454
  • EuiDataGrid rowHeightsOptions.autoBelowLineCount - Once Discover team validates there are no severe performance impacts we can lift it out of Beta. https://github.com/elastic/eui/issues/8456
  • High Contrast Mode - https://github.com/elastic/eui/issues/8567

PENDING

  • [ ] Remove EuiFilterSelectItem (consumers should use EuiSelectable instead) (NOTE: this requires elastic/eui#2841 first, and the deprecation date for this should be moved as necessary if not yet done)
  • [ ] Remove the Amsterdam theme

October 2025

Lift High Contrast mode from beta - It would have been in product for 2 full release cycles at this point.

March 2025

  • Checkpoint on canDragAndDropColumns beta
  • Checkpoint on EuiCollapsibleNavBeta beta
  • Checkpoint on rowHeightsOptions.autoBelowLineCount beta

February 2025

January 2025

December 2024

  • [x] Remove EuiPopover's hasDragDrop prop (#8048)

November 2024

  • [x] Remove EuiFormRow's display="columnCompressedSwitch" ~and display="rowCompressed"~ options (#7968)

June 2024

  • [x] Remove EuiFlyoutResizable from beta (#7808)
  • [x] Remove euiPalettePositive and euiPaletteNegative (#7570)
  • [x] Remove EUI_CHARTS_THEME_LIGHT, EUI_CHARTS_THEME_DARK, and EUI_SPARKLINE_THEME_PARTIAL (#7682)

March 2024

  • [x] Remove EuiTextTruncate from beta (https://github.com/elastic/eui/pull/7639)

January 2024

  • [x] Remove anchorClassName and buttonRef props from EuiPopover (#7311)
  • [x] Remove setSelection class method from EuiBasicTable (#7321)
  • [x] Remove toolTipTitle and toolTipPosition from EuiContextMenuItem (#7373)

December 2023

  • [x] Remove EuiControlBar + close any related open issues (#7122)
  • [x] Remove EuiNotificationEvent + close any related open issues (#7122)

November 2023

  • [x] Remove euiPaletteComplimentary. Consumers should use euiPaletteComplementary

October 2023

  • [x] Remove EuiSuggest + close any related open issues (#7122)
  • [x] Remove EuiColorStops + close any related open issues (#7122)
  • [x] Remove euiHeaderAffordForFixed Sass mixin
  • [x] Remove deprecated page components elastic/eui#5768 https://github.com/elastic/kibana/issues/161872

September 2023

  • [x] Remove isBeta flag from EuiInlineEdit component example in the docs elastic/eui#7181

August 2023

  • [x] elastic/eui#7021

May 2023

  • [x] Remove deprecated EuiLoadingContent (#6557)

September 2022

  • [x] Remove euiCallOutColor() Sass mixin

May 2022

  • [x] Remove Popper popoverPosition options from EuiDatePicker (https://github.com/elastic/eui/pull/5339#pullrequestreview-802994750)
  • [x] Remove PartitionConfig from Charts theme elastic/eui#5492
  • [x] Remove data-gridcell-id attribute from EuiDataGridCell #5515

January 2022

  • [x] Remove popoverClassName & repositionOnScroll props from EuiSuperSelect elastic/eui#5214

October 2021

  • [x] Remove EuiCodeEditor (#4683)
  • [x] Remove betaBadgeLabel, betaBadgeTooltipContent, betaBadgeTitle props from EuiCard (#4798)
  • [x] Remove EuiLoadingKibana (#4835)
  • [x] Remove secondary color prop options (#4874, elastic/eui#4888)
  • [x] Remove subdued color prop option from EuiButtonIcon (#4874)
  • [x] Remove panelPaddingSize from EuiPageContent (#4451)
  • [x] Remove makeId (#3112)
  • [x] Remove old mobile only props from EuiTableRowCell

June 2021

  • [x] Remove EuiKeyboardAccessible elastic/eui#4135 (#4991)

March 2021

  • [x] Remove onClick, betaBadgeLabel, betaBadgeTooltipContent, and betaBadgeTitle props of EuiPanel (#4194)

July 2020

  • EuiIcon's logoAPM type deprecated in favor of logoObservability
  • .euiHeaderNotification class (#2914)
  • Remove disabled colors of buttons and leave it to :disabled to style it elastic/eui#2874
  • Remove EuiNavDrawer in favor of EuiCollapsibleNav elastic/eui#2977

December 2019

  • EuiFormRow compressed prop in favor of display = "compressed" elastic/eui#2181
  • EuiFormRow displayOnly prop in favor of display = "center" elastic/eui#2181
  • EuiPopover's prop withTitle

July 2019 https://github.com/elastic/eui/pull/2108

  • EuiSeriestChart will be end of lifed. This was a beta component with only minor usage across Elastic. It will be replaced by a charting library that lives outside of EUI that is soon to be released.
  • Remove singular mobile props for tables that are now included in the mobileOptions object.
  • Any SASS deprecations

snide avatar Jan 23 '19 22:01 snide

Reminder to @cchaos. Can you add the newest deprecations into the above schedule? We can probably use the usual 6 month window?

snide avatar Sep 12 '19 04:09 snide