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

Improve website selector - setting to display list as URLs #9859

Open
mgonera opened this issue Feb 29, 2016 · 2 comments
Open

Improve website selector - setting to display list as URLs #9859

mgonera opened this issue Feb 29, 2016 · 2 comments
Labels
c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins.

Comments

@mgonera
Copy link

mgonera commented Feb 29, 2016

Website selector could use an option to display URLs instead of names. Or names along with URLs.

@sgiehl
Copy link
Member

sgiehl commented Mar 5, 2016

Adding the URL to the displayed value or the tooltip (title attribute) is quite easy. Making it switchable is a bit more complex I guess as we need to adjust the autocomplete, search etc.

@tsteur
Copy link
Member

tsteur commented Mar 6, 2016

This should be developed in a new - custom - plugin. This would cause too much pain as a setting in core over time. We could possibly add an attribute like piwik-siteselector-website to <a ...>sitename</a> so that another plugin could listen to this attribute and replace the site name with the link from href. This should work. The site and autocomplete does likely not need to be adjusted as this is happening server side and already searching in name, url, ... but I'm not 100% sure.

One more reason why I don't want to have this in core: Future "sites" or "measurables" won't have URLs. Eg Mobile websites. Therefore we need to always display the name. This is a custom feature request that has to be developed in a custom plugin.

@mattab mattab added the c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins. label Mar 15, 2016
@mattab mattab added this to the Long term milestone Mar 15, 2016
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins.
Projects
None yet
Development

No branches or pull requests

4 participants