Skip to content

Remove the All Websites link from the site selector #21057

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

Merged
merged 5 commits into from
Jul 27, 2023

Conversation

bx80
Copy link
Contributor

@bx80 bx80 commented Jul 24, 2023

Description:

Fixes #20492

This PR simple removes the 'All websites' link from the site selector. The overview of sites is still always available via the 'All Websites' link on the top right main menu bar.

Review

@bx80 bx80 added the c: Design / UI For issues that impact Matomo's user interface or the design overall. label Jul 24, 2023
@bx80 bx80 added this to the 5.0.0 milestone Jul 24, 2023
@bx80 bx80 self-assigned this Jul 24, 2023
@bx80 bx80 added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Jul 25, 2023
Copy link
Member

@sgiehl sgiehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change would be a breaking change. The siteselector element can also be used by plugins to allow selecting sites in forms or similar. In theory a plugin could allow selecting All sites as a valid option, so removing it might have an effect on plugin.
I think the purpose was to remove it from the site selector in the top controls. An easier way would be to simply set the attribute show-ll-sites-item=false

@sgiehl sgiehl merged commit 02f3a46 into 5.x-dev Jul 27, 2023
@sgiehl sgiehl deleted the m20492-no-allwebsites-selector branch July 27, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Design / UI For issues that impact Matomo's user interface or the design overall. Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Development

Successfully merging this pull request may close these issues.

Remove "ALL WEBSITES" from the website selection dropdown
2 participants