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

Bug 1916637 - Fix order of names for emoji comment reactions #2311

Merged

Conversation

kyoshino
Copy link
Collaborator

@kyoshino kyoshino commented Sep 5, 2024

Bug 1916637 - Fix order of names for emoji comment reactions

The longdescs_reactions table doesn’t store the date/time for each reaction, but since the id column is auto-incrementing, it can be used to sort the reactions by date instead of user id.

This change may make the API response slightly slower because the id column is not included in the index, but it shouldn’t be critical since user names are fetched only when an emoji is hovered.

@dklawren dklawren merged commit 905af3a into mozilla-bteam:master Sep 5, 2024
17 checks passed
@kyoshino kyoshino deleted the 1916637-reactions-name-order branch September 5, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants