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 bug for collab #92

Merged
merged 3 commits into from
Nov 13, 2024
Merged

Fix bug for collab #92

merged 3 commits into from
Nov 13, 2024

Conversation

limcaaarl
Copy link

@limcaaarl limcaaarl commented Nov 12, 2024

  • Previously, on successful forfeit call, we still set a new entry in the yjs doc when the last remaining user forfeits. This causes the yjs doc to be reintialised in the db even though both users have already forfeited.
  • Refactor Collaboration Service

- Previously, on successful forfeit call, we still set
a new entry in the yjs doc. This causes the yjs doc
to be reintialise when both users has already forfeited
@limcaaarl limcaaarl added the bug Something isn't working label Nov 12, 2024
@limcaaarl limcaaarl requested a review from KhoonSun47 November 12, 2024 15:23
@limcaaarl limcaaarl self-assigned this Nov 12, 2024
Copy link

@KhoonSun47 KhoonSun47 left a comment

Choose a reason for hiding this comment

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

LGTM!

KhoonSun47 and others added 2 commits November 13, 2024 11:55
- Refactor comments in collab service
- Move interface from controller folder to types folder
- Refactor README.md
- Remove unused variable in queue: MATCH_FOUND
@limcaaarl limcaaarl merged commit 1a61971 into main Nov 13, 2024
6 checks passed
@samuelim01 samuelim01 deleted the fix-collab branch November 13, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants