Skip to content

Conversation

SamuelWei
Copy link
Contributor

What does this PR do?

The list of available users is now sorted by name, resulting on the fixed order if the user list doesn't change.

The previous implementation resulted in a flickering user list, that should be fixed with this issue.

Closes Issue(s)

Closes #57

@gustavotrott
Copy link

I believe the hook useUsersBasicInfo should be used here, and the query should include an order_by clause from the start.
That way, we can prevent unnecessary updates.
With your patch, the sorting fixes the bug visually, but the component will still receive updates and trigger network traffic just because the database changes the order (even if the data itself hasn’t changed).

See: bigbluebutton/bigbluebutton-html-plugin-sdk#206

@SamuelWei
Copy link
Contributor Author

@gustavotrott That would be great!

Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

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

Successfully merging this pull request may close these issues.

List of users shuffling in options menu
2 participants