matomo-org / tag-manager

Free Open Source Matomo Tag Manager - A simple way to manage and maintain all of your (third-party) tags on your website.
https://matomo.org
GNU General Public License v3.0
170 stars 58 forks source link

[bug] Alert does not disappear #891

Open atom-box opened 1 week ago

atom-box commented 1 week ago

To reproduce:

  1. Open MTM, open a container, click Tags, click Manage Tags
  2. Pause the tag with the new :pause_button: icon
  3. See a success Alert: "Fantastic! The tag has been paused successfully." (Screenshot 1, below)
  4. Click on a different tag on the edit tag icon (pencil) :memo:
  5. In the new view, the green success alert is a lingering holdover, still visible :^(

Expected behavior: In Step 5, the green success alert should be gone. But it's not: see second screenshot below.

Reproduced? I reproduced this in my Matomo Cloud, today.

image image

snake14 commented 1 week ago

Hi @atom-box . Thank you for taking the time to create this issue and providing helpful screenshots. I think that's common behaviour in the system when it comes to alerts. The alert didn't get cleared because the page didn't refresh. We could maybe look into clearing the notification store when an edit icon is clicked.

atom-box commented 1 week ago

That would be great - it seems very unusual UX to have an alert just hang around through the user's journey.