Skip to main content

SegmentSelector

  • Changelog

Use the SegmentSelector as a top-level filter to narrow data by segment, setting the scope for any additional filters applied alongside it.

Package @dynatrace/strato-components, latest version 3.15.1. Below are the changes to SegmentSelector. See Components changelog for all changes to the package.

3.15.1 Released Oct 8, 2026​

Updates​

  • Fixed the full-screen application error when reopening the overlay while segments load. (APPDEV-20470)

3.15.0 Released Oct 1, 2026​

Updates​

Filters​

  • Portaled overlays in FilterField, SegmentSelector, TimeframeSelector, and FilterBar now carry the correct behavioral tracking attributes. (APPDEV-19825)
  • Added a non-blocking warning in the overlay when the selected segment doesn't cover a view's declared data needs, set via <SegmentsProvider requires> or <SegmentApplicabilityProvider requires>. (PAPA-34065)
How to opt in
import {
SegmentsProvider,
SegmentSelector,
} from '`@dynatrace/strato-components/filters';`

<SegmentsProvider
requires={[{ dataObject: 'entities', entityTypes: ['K8S_CLUSTER'] }]}
>
<SegmentSelector />
</SegmentsProvider>;

Omitting requires (the default) keeps the previous behavior, with no warning shown.

3.14.0 Released Sep 17, 2026​

Updates​

  • The trigger's chevron icon now rotates to point up while the overlay is open and back down when it closes, matching the expand/collapse affordance of other selectors such as the TimeframeSelector. (PAPA-36178)

3.11.3 Released Aug 20, 2026​

Updates​

  • Fixed inline error not being associated with both select triggers via aria-describedby when a segment is missing required variables. (APPDEV-19001)
  • You can now listen for onFocus and onBlur events at the whole-component boundary. onBlur is not emitted when focus moves between the trigger and the overlay. (APPDEV-17914)
  • Pin, unpin, and remove buttons for segment presets now have a unique accessible name that includes the preset's name, so screen reader users can tell them apart. (APPDEV-19193)

3.11.0 Released Aug 10, 2026​

Updates​

  • Segment definitions are now refreshed in the background when the overlay is opened, ensuring variable query freshness after cross-tab changes. (APPDEV-16585)
  • Segment presets that contain unavailable segments now show a "Remove" button instead of the pin/unpin button, allowing you to clean up broken presets. (APPDEV-18342)
  • Now gives users better guidance in case of unavailable variables. (APPDEV-15882)

3.10.0 Released Jul 28, 2026​

Updates​

  • Resolved an issue in the tooltip handler that could cause a React update loop when a segment was selected. (APPDEV-18786)

3.9.0 Released Jul 10, 2026​

Updates​

  • Validates variable names against the defined includes filters.
  • Fixed validation error being shown too early when selecting a segment with variables. (APPDEV-17459)
  • Increased the maximum number of result records from 10,000 to 15,000. (APPDEV-18655)

3.8.2 Released Jul 10, 2026​

Updates​

  • Increased the maximum number of result records from 10,000 to 15,000. (APPDEV-18655)

3.8.0 Released Jul 1, 2026​

Updates​

Filters​

  • You can now use the onValidityChange prop on FilterField, SegmentSelector, and TimeframeSelector to react to validation state changes. (APPDEV-17939)
  • Improved tracking of segment variable usage. (PAPA-34118)

3.7.2 Released Jul 10, 2026​

Updates​

  • Increased the maximum number of result records from 10,000 to 15,000. (APPDEV-18655)

3.7.0 Released Jun 12, 2026​

Updates​

  • Removed the 320 px width cap on the empty state so Manage segments and Learn more about segments no longer truncate. (PAPA-33581)

3.6.1 Released Jul 10, 2026​

Updates​

  • Increased the maximum number of result records from 10,000 to 15,000. (APPDEV-18655)

3.6.0 Released May 29, 2026​

Updates​

  • The "Manage segments" button now opens the Segments management page in a new browser tab instead of a modal overlay. (PAPA-33167)
  • Now safeguards possible empty strings more thoroughly. (APPDEV-16653)

3.5.3 Released Jul 10, 2026​

Updates​

  • Increased the maximum number of result records from 10,000 to 15,000. (APPDEV-18655)

3.4.0 Released May 5, 2026​

Updates​

General​

  • Behavior tracking attributes are now supported in all button components, including Button, IntentButton, NotifyButton, and RunQueryButton. (APPDEV-16876)
  • The text and icon color tokens for the success on accent button are now correct. (APPDEV-17388)
  • Behavior tracking attributes are now supported in all form components, including Calendar, Checkbox, DateTimePicker, DateTimeRangePicker, FieldSet, FormField, Label, NumberInput, NumberInputV2, PasswordInput, Radio, SearchInput, Select, Switch, TextArea, TextInput, and ToggleButtonGroup. (APPDEV-16882)
  • Behavior tracking attributes are now supported in FilterBar, FilterField, SegmentSelector, and TimeframeSelector. FilterField.Suggestions and TimeframeSelector.Presets now also support behavior tracking attributes. (APPDEV-16881)
  • Added feature flag and css overrides for design tokens for visual refresh. (APPDEV-17223)

3.3.0 Released Apr 21, 2026​

Updates​

  • Added data-dt-properties attribute to the 'Pin' and 'Unpin' buttons, and the 'Show more' and 'Show less' buttons.

3.2.0 Released Apr 7, 2026​

Updates​

  • data-dt-name attribute is now available on the following interactive elements: recent/pinned segments, clear all, apply, manage segments, pin/unpin, add segments, and remove segment buttons and "Learn more about segments" link. (APPDEV-16603)
  • The SegmentSelector doesn't close when deselecting a segment variable. (APPDEV-16678)

3.1.4 Released Apr 7, 2026​

Updates​

  • The SegmentSelector doesn't close when deselecting a segment variable. (APPDEV-16678)

3.1.0 Released Mar 19, 2026​

Updates​

  • Add default aria-label which is also shown in an empty compact SegmentSelector. (APPDEV-16433)
Still have questions?
Find answers in the Dynatrace Community