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
Currently in RTC mode, directories are handled differently than files. The latter use the YDocWebSocketHandler, while the former use HTTP.
With jupyterlab/jupyterlab#13527, JupyterLab drives will use the y-websocket, that will allow to drop the HTTP API for directories.
Proposed Solution
I think we should create a new YDirectory document for these "collaborative drives". It will allow listing directories, renaming/deleting files and directories, etc.
The text was updated successfully, but these errors were encountered:
I'm improving the IDrive interface and extracting RTC into an extension. Once this is done, we can implement the YDirectory without disruptions in JupyterLab.
Maybe a YDirectory should not be independent from the files that are being edited. The Yjs documentation has an example of file contents "mounted" on the directory document as subdocuments. It would make the "drive" a consistent document for everything stored on disk: listing directories, moving/renaming/deleting files or directories, as well as editing file contents.
Problem
Currently in RTC mode, directories are handled differently than files. The latter use the YDocWebSocketHandler, while the former use HTTP.
With jupyterlab/jupyterlab#13527, JupyterLab drives will use the
y-websocket
, that will allow to drop the HTTP API for directories.Proposed Solution
I think we should create a new
YDirectory
document for these "collaborative drives". It will allow listing directories, renaming/deleting files and directories, etc.The text was updated successfully, but these errors were encountered: