matomo-org / matomo-org/plugin-CustomAlerts

Changing Site IDs should repopulate available Alert Conditions

Open
#142 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
17
Forks
24
Avg merge
3d 3h
Merged PRs (30d)
7

Description

When creating a new alter, changing the Site ID has no impact on the list of possible alert conditions such as Goals and Custom Reports. The available conditions are set to the site ID in the address bar and are not impacted by the drop down 'Website' menu.

For example, if the site ID in the address bar was set to "1" prior to clicking "Create new alert", only the Goals associated with site ID 1 will be available as alter conditions, regardless of the website selected in the report settings...

![Screenshot from 2023-07-31 15-58-45](https://github.com/matomo-org/plugin-CustomAlerts/assets/20234985/de9e9dff-e445-4e70-a2e9-89ffc23543a2)

![Screenshot from 2023-07-31 15-59-10](https://github.com/matomo-org/plugin-CustomAlerts/assets/20234985/de984b1f-ca7a-44f8-849c-6b46d04d5071)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the new-alert form and trace how the Website dropdown supplies the available alert conditions. Reproduce the issue with a different site selected from the address-bar site, then verify that Goals and Custom Reports refresh for the selected website.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.