Real-time collaboration within space (#411)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export const collabPingInterval = 2500;
|
||||
@@ -0,0 +1,5 @@
|
||||
import { editor } from "$sb/silverbullet-syscall/mod.ts";
|
||||
|
||||
export async function accountLogoutCommand() {
|
||||
await editor.openUrl("/.client/logout.html", true);
|
||||
}
|
||||
@@ -326,22 +326,21 @@ functions:
|
||||
path: ./debug.ts:parsePageCommand
|
||||
command:
|
||||
name: "Debug: Parse Document"
|
||||
resetClientCommand:
|
||||
path: ./debug.ts:resetClientCommand
|
||||
command:
|
||||
name: "Debug: Reset Client"
|
||||
|
||||
|
||||
versionCommand:
|
||||
path: ./help.ts:versionCommand
|
||||
command:
|
||||
name: "Help: Version"
|
||||
|
||||
gettingStartedCommand:
|
||||
path: ./help.ts:gettingStartedCommand
|
||||
command:
|
||||
name: "Help: Getting Started"
|
||||
|
||||
accountLogoutCommand:
|
||||
path: ./account.ts:accountLogoutCommand
|
||||
command:
|
||||
name: "Account: Logout"
|
||||
|
||||
# Link unfurl infrastructure
|
||||
unfurlLink:
|
||||
path: ./link.ts:unfurlCommand
|
||||
|
||||
@@ -10,7 +10,3 @@ export async function parsePageCommand() {
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
export async function resetClientCommand() {
|
||||
editor.openUrl("/.client/reset.html");
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ import {
|
||||
index,
|
||||
markdown,
|
||||
space,
|
||||
system,
|
||||
} from "$sb/silverbullet-syscall/mod.ts";
|
||||
|
||||
import { events } from "$sb/plugos-syscall/mod.ts";
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { events } from "$sb/plugos-syscall/mod.ts";
|
||||
import type { Manifest } from "../../common/manifest.ts";
|
||||
import { editor, space, system } from "$sb/silverbullet-syscall/mod.ts";
|
||||
import { readYamlPage } from "$sb/lib/yaml_page.ts";
|
||||
import { builtinPlugNames } from "../builtin_plugs.ts";
|
||||
@@ -21,7 +20,7 @@ export async function updatePlugsCommand() {
|
||||
);
|
||||
}
|
||||
} catch (e: any) {
|
||||
if (e.message.includes("Could not read file")) {
|
||||
if (e.message.includes("Not found")) {
|
||||
console.warn("No PLUGS page found, not loading anything");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user