Skip to content

[UiActions][Drilldowns] Actions sorting in context menu #76923

@Dosant

Description

@Dosant

When attaching actions to a trigger there is no way to control actions ordering in context menu except relying on the order in which actions are attached. Relying on that we achived desired order in drilldown before:

Before ~7.9:

  1. Default "apply filter to current view" first
  2. Dynamic actions (Drilldowns) go after

image

After ~7.9:

We introduced nested triggers. So the actions in context menu aggregated from multiple triggers. In case of URL drilldown the order is not the one we'd want:

image

That's because when user clicks, there is VALUE_CLICK_TRIGGER which gets "Show on Github" action. Then there is APPLY_FILTER_TRIGGER triggered as nested trigger which finds "Apply filter on current view".

Part of: #71854

Metadata

Metadata

Assignees

Labels

Feature:DrilldownsEmbeddable panel DrilldownsFeature:UIActionsUI actions. These are client side only, not related to the server side actions..bugFixes for quality problems that affect the customer experienceimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.loe:mediumMedium Level of Effortregressionv7.9.0

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions