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
Collaborator

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!

@github-actions
Copy link

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

@antobinary
Copy link
Member

Closing in favor of #71

@antobinary antobinary closed this Sep 11, 2025
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

3 participants