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

Opengroup Poller Reaction Conflict Resolution + Fixes #2454

Merged
merged 11 commits into from
Aug 31, 2022

Conversation

yougotwill
Copy link
Collaborator

@yougotwill yougotwill commented Aug 29, 2022

  • Created a cache for opengroup reactions, which we use to create an "optimistic" state for message reactions in an opengroup (this compares local state vs server state and resolves).
  • Added more information about the current number of reactors for an opengroup message when viewing the Reaction List Modal
  • Fixed reaction Notifications for 1-1 conversations.
  • In opengroups, when sending a reaction or clearing a reaction we update the local state triggering a UI update when the message is sent and if anything failed it will be resolved by the poll update since we overwrite all local state of reactions in open groups. This improves the perceived responsiveness of reacting to a message or moderators clearing a reaction.

@yougotwill yougotwill changed the title Opengroup Poller Reaction Conflict Resolution + Fixes WIP Opengroup Poller Reaction Conflict Resolution + Fixes Aug 29, 2022
@yougotwill yougotwill changed the title WIP Opengroup Poller Reaction Conflict Resolution + Fixes Opengroup Poller Reaction Conflict Resolution + Fixes Aug 31, 2022
@Bilb Bilb merged commit 25f54a1 into oxen-io:clearnet Aug 31, 2022
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.

None yet

2 participants