matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.66k stars 2.62k forks source link

"Role for" list on Users page is incomplete #21576

Open pbb72 opened 10 months ago

pbb72 commented 10 months ago

What happened?

In the header of the users table on the "Manage Users" page, there is a "Role for" column, with a dropdown list where one can select from the various sites. This list only shows the 15 oldest sites, in alphabetical order. There is no indication anywhere that there may be more than 15 sites. The alphabetic ordering actually creates the impression the list is complete (as it goes from the start to the end of the alphabet).

image

The sites list on the Dashboard does this a little better by including an "All websites" item. (Though it is in the same font as the rest of the list, with no indication this opens another page, and still no indication there are more sites than those listed.)

image

What should happen?

The drop-down list should either (in order of preference):

  1. List all sites as long as there is enough screen space, and be scrollable if there are more than fit on the screen.
  2. Offer pagination buttons, with the full list being sorted alphabetically (instead of only the 15 oldest sites).
  3. Offer a clearly distinct link, something like "Show all xx sites".

How can this be reproduced?

Inside Matomo, go to "Administration" > "System" > "Users". In the header for the "Manage Users" table, open the "Role for" list of sites.

Now wonder if you're going crazy, or if you really only had 15 sites.

Matomo major version

Matomo 4

Matomo minor or patch Version

4.13.3

PHP version

8.1.20

Server operating system

Unsure

What browsers are you seeing the problem on?

Chrome

Computer operating system

Windows 10

Relevant log output

No response

Validations

sgiehl commented 10 months ago

Hi @pbb72 Thanks for the report. The currently solution indeed is not optimal. There already were a couple of requests around that topic. like #17864 or #9332 We are planning to improve the site selector usability and will consider your input. Thanks.

Stan-vw commented 10 months ago

Once we've built https://github.com/matomo-org/matomo/issues/15546 we can perhaps apply the same selector item to this dropdown 👍

pbb72 commented 10 months ago

Thanks, I didn't know the number was configurable!