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

Subdocs #583

Open
ImSingee opened this issue Apr 20, 2023 · 7 comments
Open

Subdocs #583

ImSingee opened this issue Apr 20, 2023 · 7 comments

Comments

@ImSingee
Copy link

Is there any plan to support yjs’s sub docs feature? It’a useful to develop a notes app (like the official example, use folder as root document).

https://docs.yjs.dev/api/subdocuments

@janthurau
Copy link
Collaborator

hey @ImSingee, supports for subdocuments is planned, but probably towards the end of the year. We haven't started on this yet, so feel free to help if you can :-)

@ImSingee
Copy link
Author

@janthurau Thanks for your reply! This must be a killing feature since there is almost no provider supports the sub document feature.

I'm planning to develop an app with this feature, I will look into hocuspocus's implementation and have a look to see if I can help.

@janthurau
Copy link
Collaborator

👍 let me know if you wanna discuss on Discord, I have some idea already (not sure if it would work though). There is also an idea here (not for hocuspocus, but it kinda shows the idea): https://discuss.yjs.dev/t/multiple-room-sync-subdocument/403/4

@iojanis
Copy link

iojanis commented May 21, 2023

Can someone explain to me what already works and what doesn't in terms of subdocuments? I mean, are at least the GUID's in the map synced?

@wmertens
Copy link

I'm also interested in subdocuments, but it's not clear to me if it's at all possible even via workarounds?

What is the current thinking on how it will be supported? The current API seems very focused on documents, which would not allow pretending that a subdocument is a document?

@ArihantBapna
Copy link

Hi any updates on this?

@dorukgunes
Copy link

Hi @janthurau are there any updates on this 🙋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants