Skip to content

Drive the report actions from the header menu - #237

Open
tzi wants to merge 2 commits into
feature-new-report-headerfrom
report-header-actions-move
Open

Drive the report actions from the header menu#237
tzi wants to merge 2 commits into
feature-new-report-headerfrom
report-header-actions-move

Conversation

@tzi

@tzi tzi commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Description

Drives the flatten action from the report header's actions menu, which is where matomo-org/matomo#25064 moves it.

The visualisation switcher and the configure items no longer render as icon bars around the table. They are entries in the single menu behind the report header's 3-dots trigger, and the header is rendered outside the .dataTable, so a selector scoped by [data-report="…"] cannot reach them any more. One call site scoped that way and now climbs to the wrapper holding both the header and the table; the other is scoped by widget id, which already contains both.

Base branch

This targets feature-new-report-header, because the selectors it uses only exist once the core change lands. On 6.x-dev the spec would fail.

Impact

None visible to users: this changes a UI test only.

Step by step tests

Automated

  1. Wait for UI-plugins (MarketingCampaignsReporting) on ReportHeader - Move the report actions into a dropdown menu matomo#25064, which pins this commit.
    👁️ The flatten specs open the actions menu and pass, where they previously failed with No element found for selector: .dropdownConfigureIcon.

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

The visualisation switcher and the configure items moved into the menu behind the
report header's 3-dots trigger, which twig renders outside the table, so a
selector scoped by `[data-report]` no longer reaches them.
@tzi
tzi force-pushed the report-header-actions-move branch from c40c793 to 0e5e920 Compare August 17, 2026 12:26
Taken from the run that first had the spec change above, so the two flat-page tests
reach the flatten entry through the header menu and capture a flattened report instead
of erroring before their assertion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant