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

Devices count in users view #1217

Open
GiedriusVdk opened this issue Jan 25, 2024 · 3 comments
Open

Devices count in users view #1217

GiedriusVdk opened this issue Jan 25, 2024 · 3 comments

Comments

@GiedriusVdk
Copy link

Is there a way to make the user view more customizable in admin? Or at least add the amount of user devices. Because now it is difficult to determine this, it is necessary to check each user. Now it's a problem because there are empty users who just sign up and don't add any devices.

Describe the solution you'd like
It's enough add one column in users view with devices count for this user.

Thanks.

@tananaev
Copy link
Member

The problem is that the query to count number of devices per user is expensive. Because you can have groups in between etc.

@GiedriusVdk
Copy link
Author

I understand, but since this is rarely needed, maybe an option can be added e.g. "Show additional information" and then perform a query and refresh the view. This way, the default view will remain the same.

@GiedriusVdk
Copy link
Author

Another option would be to export in that view window, where you can add more necessary values. I suggested this because when there are many users in the system it becomes more complicated to administer them, I think you understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants