Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Sticky Navigation: 'Update Goal' Page Requires Double-Click to Access 'Manage Goals' section #22081

Open
4 tasks done
hamzzaa12 opened this issue Apr 8, 2024 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.

Comments

@hamzzaa12
Copy link

What happened?

The 'Manage Goals' option in the left-side navigation bar requires a double click to function properly when accessed from the 'Update Goal' form page. The first click doesn't works as expected, keeping the user on the 'Update Goal' form's page, instead of navigating to the 'Manage Goals' page.

And this happens when user's is accessing 'Update goal' page via Manage Goals, or Manage Funnels (new) section.

What should happen?

When 'Manage Goals' is clicked from the 'Update Goal' form page, it should take the user to the 'Manage Goals' page with a single click, as expected.

How can this be reproduced?

  1. Navigate to the 'Update Goal' form page, from either Manage Goals or Manager Funnels section
  2. Click on 'Manage Goals' in the left-side navigation bar.
  3. Observe that the click does not navigate away from the 'Update Goal' page.
  4. Click 'Manage Goals' again.
  5. Notice the navigation to the 'Manage Goals' page occurs after the second click.

Matomo version

5.0.3

PHP version

8.1.27

Server operating system

Mac 10.15

What browsers are you seeing the problem on?

Firefox, Chrome, Safari

Computer operating system

No response

Relevant log output

No response

Validations

@hamzzaa12 hamzzaa12 added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Apr 8, 2024
@sgiehl
Copy link
Member

sgiehl commented Apr 9, 2024

That one actually is sort of caused by the way the Funnel plugins links to the Update goal form. It includes the idGoal in the hash, which causes that param to be passed to the request when clicking on Manage Goals afterwards.
I guess this could be a more global problem, as the question is, if id entities should be all removed when querying a new report page or not.

@sgiehl sgiehl added Bug For errors / faults / flaws / inconsistencies etc. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Apr 9, 2024
@sgiehl sgiehl added this to the For Prioritization milestone Apr 9, 2024
@sgiehl sgiehl added the c: Usability For issues that let users achieve a defined goal more effectively or efficiently. label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Projects
None yet
Development

No branches or pull requests

2 participants