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

Fix optimistic voting #1392

Merged
merged 1 commit into from
May 30, 2024
Merged

Conversation

micahmo
Copy link
Member

@micahmo micahmo commented May 29, 2024

Pull Request Description

This PR fixes a tiny issue with post and comment upvoting where separate counts would not update optimistically, but combined counts (and colors) would.

Copy link
Member

@hjiangsu hjiangsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's funny - I also noticed this issue when I was working on the post page refactor and made the changes there (although I did miss lib/post/utils/post.dart) 😅

Anyways, LGTM!

@hjiangsu hjiangsu added this to the 0.5.0 milestone May 30, 2024
@micahmo
Copy link
Member Author

micahmo commented May 30, 2024

Ah, I see we had very similar fixes! Not sure how much longer your refactor will take but it doesn't hurt to get this in now for existing usage. 😊

@hjiangsu hjiangsu merged commit 9827880 into thunder-app:develop May 30, 2024
1 check passed
@micahmo micahmo deleted the fix/optimistic-voting branch May 31, 2024 03:12
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

Successfully merging this pull request may close these issues.

2 participants