Show files open by other users

This commit is contained in:
Andras Schmelczer 2025-08-27 22:31:29 +01:00
parent d513ad9824
commit b2f4e0c038
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 69 additions and 0 deletions

View file

@ -24,6 +24,7 @@ import {
import { LocalCursorUpdateListener } from "./views/cursors/local-cursor-update-listener";
import { slowFetchFactory } from "./debugging/slow-fetch-factory";
import { flakyWebSocketFactory } from "./debugging/flaky-websocket-factory";
import { renderCursorsInFileExplorer } from "./views/cursors/file-explorer";
const MIN_WAIT_BETWEEN_UPDATES_IN_MS = 250;
@ -94,6 +95,7 @@ export default class VaultLinkPlugin extends Plugin {
this.client.addRemoteCursorsUpdateListener((cursors) => {
RemoteCursorsPluginValue.setCursors(cursors, this.app);
renderCursorsInFileExplorer(cursors, this.app);
});
const cursorListener = new LocalCursorUpdateListener(