You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using json1 as the primary type in my application, and I have rich-text objects nested within those records.
I'd like to implement the Presence API, but the ShareDB docs say that Currently, only rich-text supports presence information. There are no examples of creating a rich-text presence on a nested object. Is that a simple straightforward case, or more complicated?
I've been reading through the issue report for Issue #423: transformPresence is not a function so that I can better understand how the Presence API works, and thinking through possible solutions, but I thought I'd ask for advice here first. Do you have any suggestions? If there need to be any changes to the raw json1 type or to the ShareDB presence implementation, I'd be happy to work on it and contribute my code, if you're interested...
The text was updated successfully, but these errors were encountered:
I've got a PR open against json0: ottypes/json0#48 (@ericyhwang we should actually get back to looking at that!), so you can probably use that as some vague inspiration/starting point.
The json0 implementation includes handling text transforms, as well as embedded subtypes (which would include rich-text). I'm completely unfamiliar with json1, but I imagine that it should be a similar thing...?
I'm using
json1
as the primary type in my application, and I haverich-text
objects nested within those records.I'd like to implement the Presence API, but the ShareDB docs say that
Currently, only rich-text supports presence information
. There are no examples of creating a rich-text presence on a nested object. Is that a simple straightforward case, or more complicated?I've been reading through the issue report for Issue #423: transformPresence is not a function so that I can better understand how the Presence API works, and thinking through possible solutions, but I thought I'd ask for advice here first. Do you have any suggestions? If there need to be any changes to the raw json1 type or to the ShareDB presence implementation, I'd be happy to work on it and contribute my code, if you're interested...
The text was updated successfully, but these errors were encountered: