-
Notifications
You must be signed in to change notification settings - Fork 2
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
Triplit / Quill: Quick Inserations #10
Comments
PS: I also just noticed that the demo is using Quill v.1.3. Maybe simply using v.2 would fix the issue ? |
I believe the issues I was seeing were related to Triplit's transactions / live queries; they did not seem Quill related: list-positions-demos/triplit-quill/src/main.ts Lines 113 to 115 in 05a5d77
Though I do need to update to Quill v2 anyway, because Quill v1 is going to break in Chrome soon 😬️ yjs/y-quill#16 |
Yes, Quill v2 would be much appreciated!
|
One big consideration in collaborative systems is traceability / accountability: knowing which user changed what. I was wondering if there is a pattern that you can recommend on how to best associate a userId to a change in quill, list-positions & triplit? |
You can track the For more granular history, you'd probably need to store the actual log of changes somewhere, perhaps batched into ~30 second increments. |
Thank you! |
You described the weird quick insertions bug in the quill / triplit implementation. I was wondering if using
microtask
could help solve it?source: https://stackoverflow.com/a/77667825/5037146
Reference
Quill Source Code:
https://github.com/quilljs/quill/blob/65ede1e2ecb3335acc14cc73cf54e9898d847d30/packages/quill/src/core/composition.ts#L28
comment:
slab/quill#2558 (comment)
The text was updated successfully, but these errors were encountered: