matomo-for-wordpress
matomo-for-wordpress copied to clipboard
Reporting and Tag Manager links don't open in new tab
I had always attributed the icon with an arrow through it to represent a link to an external resource which would open in a new tab, so I'm not sure if this is intended or not, but the the Reporting and Tag Manager links don't open in new tab.
Happy to do a PR for you, otherwise, close this :)
Thanks for creating the issue @matthew-horrocks . The icons was more meant to indicate you're about to leave the WP admin dashboard area. Could use other icons (probably not a good solution since there is no clear icon for it and nobody would understand it)? Could maybe remove them? Or open in new tab after all?
if anyone has thoughts on this let me know.
Looking at Elementor
they use their logo in one place (but not everywhere).
Wouldn't want to load a font for this though and our logo doesn't work so well there anyway when it's shown very small
Not 100% keen to actually open the links in a new window. So might otherwise at some point simply remove these icons not sure.
Anyone has more thoughts on this one?
in general i agree with @matthew-horrocks that you'd expect the link to open in a new table (because of the icons) . But i feel it's slightly better to load in the same window vs in a new tab... also it feels helpful to have some icons indicating the screen is going to change completely, and i couldn't think of better icons at this time.
(the maybe one related improvement we could make is to make even more clear how to get back to the WP admin. There is already the link in the top menu on the right, wondering if we could maybe show something in the top left also?)
I was expecting the same behaviour like @matthew-horrocks and personally I would prefer the new tab because of leaving the wp admin area. But then that's my personal preference. If you could change (or even remove?) the icons, it wouldn't be as "confusing" as it is now, not that I have better suggestions for icons.
FYI just had a quick look it seems like it's not actually easily possible to open this link in a new window except if we were to use JavaScript to add the target=_blank once the dom is ready.