diff --git a/packages/frontend/core/src/components/affine/setting-modal/account-setting/style.css.ts b/packages/frontend/core/src/components/affine/setting-modal/account-setting/style.css.ts
index e560fdf67d..87648a1dc2 100644
--- a/packages/frontend/core/src/components/affine/setting-modal/account-setting/style.css.ts
+++ b/packages/frontend/core/src/components/affine/setting-modal/account-setting/style.css.ts
@@ -43,8 +43,3 @@ globalStyle(`${avatarWrapper} .camera-icon-wrapper`, {
export const button = style({
padding: '4px 12px',
});
-
-export const userNameInput = style({
- height: '32px',
- width: '280px',
-});
diff --git a/packages/frontend/core/src/components/pure/workspace-slider-bar/workspace-card/index.tsx b/packages/frontend/core/src/components/pure/workspace-slider-bar/workspace-card/index.tsx
index 1fef59aa3c..ddaa00e087 100644
--- a/packages/frontend/core/src/components/pure/workspace-slider-bar/workspace-card/index.tsx
+++ b/packages/frontend/core/src/components/pure/workspace-slider-bar/workspace-card/index.tsx
@@ -97,9 +97,16 @@ const useSyncEngineSyncProgress = () => {
useEffect(() => {
setSyncEngineStatus(currentWorkspace.engine.sync.status);
const disposable = currentWorkspace.engine.sync.onStatusChange.on(
- debounce(status => {
- setSyncEngineStatus(status);
- }, 500)
+ debounce(
+ status => {
+ setSyncEngineStatus(status);
+ },
+ 300,
+ {
+ maxWait: 500,
+ trailing: true,
+ }
+ )
);
return () => {
disposable?.dispose();
diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.json
index 72bdf8aaf4..52fda6c7cb 100644
--- a/packages/frontend/electron/package.json
+++ b/packages/frontend/electron/package.json
@@ -32,10 +32,10 @@
"@affine/sdk": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/vue-hello-world-plugin": "workspace:*",
- "@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/blocks": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/lit": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/presets": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/store": "0.11.0-nightly-202312212326-e2b48df",
"@electron-forge/cli": "^7.2.0",
"@electron-forge/core": "^7.2.0",
"@electron-forge/core-utils": "^7.2.0",
diff --git a/packages/frontend/hooks/package.json b/packages/frontend/hooks/package.json
index 28b4a5d8fd..40b245689c 100644
--- a/packages/frontend/hooks/package.json
+++ b/packages/frontend/hooks/package.json
@@ -20,12 +20,12 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/workspace": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/block-std": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/blocks": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/global": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/lit": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/presets": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/store": "0.11.0-nightly-202312212326-e2b48df",
"@testing-library/react": "^14.0.0",
"@toeverything/infra": "workspace:*",
"@types/image-blob-reduce": "^4.1.3",
diff --git a/packages/frontend/workspace/src/engine/sync/engine.ts b/packages/frontend/workspace/src/engine/sync/engine.ts
index f1a9ab297c..ba1a734e9f 100644
--- a/packages/frontend/workspace/src/engine/sync/engine.ts
+++ b/packages/frontend/workspace/src/engine/sync/engine.ts
@@ -92,7 +92,7 @@ export class SyncEngine {
}
canGracefulStop() {
- return !!this.status.local && this.status.local.pendingPushUpdates > 0;
+ return !!this.status.local && this.status.local.pendingPushUpdates === 0;
}
async waitForGracefulStop(abort?: AbortSignal) {
diff --git a/packages/frontend/workspace/src/impl/cloud/awareness.ts b/packages/frontend/workspace/src/impl/cloud/awareness.ts
index cfb91ab3a9..7c2be0dc63 100644
--- a/packages/frontend/workspace/src/impl/cloud/awareness.ts
+++ b/packages/frontend/workspace/src/impl/cloud/awareness.ts
@@ -76,6 +76,11 @@ export function createCloudAwarenessProvider(
removeAwarenessStates(awareness, [awareness.clientID], 'window unload');
};
+ function handleConnect() {
+ socket.emit('client-handshake-awareness', workspaceId);
+ socket.emit('awareness-init', workspaceId);
+ }
+
return {
connect: () => {
socket.on('server-awareness-broadcast', awarenessBroadcast);
@@ -86,16 +91,19 @@ export function createCloudAwarenessProvider(
socket.connect();
+ socket.on('connect', handleConnect);
+
socket.emit('client-handshake-awareness', workspaceId);
socket.emit('awareness-init', workspaceId);
},
disconnect: () => {
+ removeAwarenessStates(awareness, [awareness.clientID], 'disconnect');
awareness.off('update', awarenessUpdate);
socket.emit('client-leave-awareness', workspaceId);
socket.off('server-awareness-broadcast', awarenessBroadcast);
socket.off('new-client-awareness-init', newClientAwarenessInitHandler);
+ socket.off('connect', handleConnect);
window.removeEventListener('unload', windowBeforeUnloadHandler);
- socket.disconnect();
},
};
}
diff --git a/packages/frontend/workspace/src/impl/cloud/sync/index.ts b/packages/frontend/workspace/src/impl/cloud/sync/index.ts
index 187b39d83b..c5a092cce1 100644
--- a/packages/frontend/workspace/src/impl/cloud/sync/index.ts
+++ b/packages/frontend/workspace/src/impl/cloud/sync/index.ts
@@ -51,8 +51,7 @@ export function createAffineStorage(
});
});
- // TODO: handle error
- socket.on('connect', () => {
+ function handleConnect() {
socket.emit(
'client-handshake-sync',
workspaceId,
@@ -62,10 +61,22 @@ export function createAffineStorage(
}
}
);
- });
+ }
+
+ socket.on('connect', handleConnect);
socket.connect();
+ socket.emit(
+ 'client-handshake-sync',
+ workspaceId,
+ (response: { error?: any }) => {
+ if (!response.error) {
+ syncSender.start();
+ }
+ }
+ );
+
return {
name: 'affine-cloud',
async pull(docId, state) {
@@ -124,14 +135,6 @@ export function createAffineStorage(
await syncSender.send(docId, update);
},
async subscribe(cb, disconnect) {
- const response: { error?: any } = await socket
- .timeout(10000)
- .emitWithAck('client-handshake-sync', workspaceId);
-
- if (response.error) {
- throw new Error('client-handshake error, ' + response.error);
- }
-
const handleUpdate = async (message: {
workspaceId: string;
guid: string;
@@ -157,7 +160,7 @@ export function createAffineStorage(
disconnect() {
syncSender.stop();
socket.emit('client-leave-sync', workspaceId);
- socket.disconnect();
+ socket.off('connect', handleConnect);
},
};
}
diff --git a/packages/frontend/workspace/src/upgrade/index.ts b/packages/frontend/workspace/src/upgrade/index.ts
index 53e06a5dc7..48c7a14bc3 100644
--- a/packages/frontend/workspace/src/upgrade/index.ts
+++ b/packages/frontend/workspace/src/upgrade/index.ts
@@ -49,7 +49,8 @@ export class WorkspaceUpgradeController {
checkIfNeedUpgrade() {
const needUpgrade = !!checkWorkspaceCompatibility(
- this.workspace.blockSuiteWorkspace
+ this.workspace.blockSuiteWorkspace,
+ this.workspace.flavour === WorkspaceFlavour.AFFINE_CLOUD
);
this.status = {
...this.status,
@@ -69,7 +70,8 @@ export class WorkspaceUpgradeController {
await this.workspace.engine.sync.waitForSynced();
const step = checkWorkspaceCompatibility(
- this.workspace.blockSuiteWorkspace
+ this.workspace.blockSuiteWorkspace,
+ this.workspace.flavour === WorkspaceFlavour.AFFINE_CLOUD
);
if (!step) {
diff --git a/packages/plugins/copilot/src/UI/debug-content.tsx b/packages/plugins/copilot/src/UI/debug-content.tsx
index 849288a2e0..5ccea36fb8 100644
--- a/packages/plugins/copilot/src/UI/debug-content.tsx
+++ b/packages/plugins/copilot/src/UI/debug-content.tsx
@@ -5,7 +5,6 @@ import { type ReactElement, useCallback } from 'react';
import { openAIApiKeyAtom } from '../core/hooks';
import { conversationHistoryDBName } from '../core/langchain/message-history';
-import * as styles from './index.css';
export const DebugContent = (): ReactElement => {
const [key, setKey] = useAtom(openAIApiKeyAtom);
@@ -13,7 +12,7 @@ export const DebugContent = (): ReactElement => {
{
diff --git a/packages/plugins/copilot/src/UI/index.css.ts b/packages/plugins/copilot/src/UI/index.css.ts
index 3b2bc775a9..5299348700 100644
--- a/packages/plugins/copilot/src/UI/index.css.ts
+++ b/packages/plugins/copilot/src/UI/index.css.ts
@@ -41,7 +41,3 @@ export const sendButtonStyle = style({
backgroundColor: 'transparent',
},
});
-
-export const debugContentInput = style({
- width: '280px',
-});
diff --git a/tests/affine-legacy/0.6.1-beta.1/package.json b/tests/affine-legacy/0.6.1-beta.1/package.json
index 29dffa3971..e3e8b05663 100644
--- a/tests/affine-legacy/0.6.1-beta.1/package.json
+++ b/tests/affine-legacy/0.6.1-beta.1/package.json
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/block-std": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/blocks": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/global": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/store": "0.11.0-nightly-202312212326-e2b48df",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
diff --git a/tests/affine-legacy/0.7.0-canary.18/package.json b/tests/affine-legacy/0.7.0-canary.18/package.json
index b1c814bcb7..016ba419f3 100644
--- a/tests/affine-legacy/0.7.0-canary.18/package.json
+++ b/tests/affine-legacy/0.7.0-canary.18/package.json
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/block-std": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/blocks": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/global": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/store": "0.11.0-nightly-202312212326-e2b48df",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
diff --git a/tests/affine-legacy/0.8.0-canary.7/package.json b/tests/affine-legacy/0.8.0-canary.7/package.json
index aff316c01b..2700a16d27 100644
--- a/tests/affine-legacy/0.8.0-canary.7/package.json
+++ b/tests/affine-legacy/0.8.0-canary.7/package.json
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/block-std": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/blocks": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/global": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/store": "0.11.0-nightly-202312212326-e2b48df",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
diff --git a/tests/affine-legacy/0.8.4/package.json b/tests/affine-legacy/0.8.4/package.json
index 1bfb26742a..56ffc66e76 100644
--- a/tests/affine-legacy/0.8.4/package.json
+++ b/tests/affine-legacy/0.8.4/package.json
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/block-std": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/blocks": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/global": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/store": "0.11.0-nightly-202312212326-e2b48df",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
diff --git a/tests/affine-migration/package.json b/tests/affine-migration/package.json
index a01cf08d6d..b1e782745f 100644
--- a/tests/affine-migration/package.json
+++ b/tests/affine-migration/package.json
@@ -7,10 +7,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/block-std": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/blocks": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/global": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/store": "0.11.0-nightly-202312212326-e2b48df",
"@playwright/test": "^1.39.0"
},
"version": "0.11.0"
diff --git a/tests/storybook/package.json b/tests/storybook/package.json
index 8cdd2a6f28..016ba15ae3 100644
--- a/tests/storybook/package.json
+++ b/tests/storybook/package.json
@@ -31,14 +31,14 @@
"wait-on": "^7.2.0"
},
"devDependencies": {
- "@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/block-std": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/blocks": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/global": "0.11.0-nightly-202312212326-e2b48df",
"@blocksuite/icons": "2.1.36",
- "@blocksuite/inline": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
- "@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
+ "@blocksuite/inline": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/lit": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/presets": "0.11.0-nightly-202312212326-e2b48df",
+ "@blocksuite/store": "0.11.0-nightly-202312212326-e2b48df",
"@dnd-kit/sortable": "^8.0.0",
"@tomfreudenberg/next-auth-mock": "^0.5.6",
"chromatic": "^9.1.0",
diff --git a/yarn.lock b/yarn.lock
index 36d7527dab..257c5f6c9f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -25,10 +25,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
@@ -42,10 +42,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
@@ -59,10 +59,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
@@ -76,10 +76,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
@@ -138,10 +138,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@playwright/test": "npm:^1.39.0"
languageName: unknown
linkType: soft
@@ -222,12 +222,12 @@ __metadata:
"@affine/graphql": "workspace:*"
"@affine/i18n": "workspace:*"
"@affine/workspace": "workspace:*"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
"@blocksuite/icons": "npm:2.1.36"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@dnd-kit/core": "npm:^6.0.8"
"@dnd-kit/modifiers": "npm:^7.0.0"
"@dnd-kit/sortable": "npm:^8.0.0"
@@ -351,14 +351,14 @@ __metadata:
"@affine/templates": "workspace:*"
"@affine/workspace": "workspace:*"
"@aws-sdk/client-s3": "npm:3.433.0"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
"@blocksuite/icons": "npm:2.1.36"
- "@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/inline": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@dnd-kit/core": "npm:^6.0.8"
"@dnd-kit/sortable": "npm:^8.0.0"
"@emotion/cache": "npm:^11.11.0"
@@ -468,10 +468,10 @@ __metadata:
"@affine/sdk": "workspace:*"
"@affine/templates": "workspace:*"
"@affine/vue-hello-world-plugin": "workspace:*"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@electron-forge/cli": "npm:^7.2.0"
"@electron-forge/core": "npm:^7.2.0"
"@electron-forge/core-utils": "npm:^7.2.0"
@@ -520,8 +520,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@affine/env@workspace:packages/common/env"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
lit: "npm:^3.0.2"
react: "npm:18.2.0"
react-dom: "npm:18.2.0"
@@ -711,11 +711,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "@affine/sdk@workspace:packages/common/sdk"
dependencies:
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
jotai: "npm:^2.5.1"
vite: "npm:^5.0.6"
vite-plugin-dts: "npm:3.6.0"
@@ -840,14 +840,14 @@ __metadata:
dependencies:
"@affine/component": "workspace:*"
"@affine/i18n": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
"@blocksuite/icons": "npm:2.1.36"
- "@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/inline": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@dnd-kit/sortable": "npm:^8.0.0"
"@storybook/addon-actions": "npm:^7.5.3"
"@storybook/addon-essentials": "npm:^7.5.3"
@@ -4077,29 +4077,29 @@ __metadata:
languageName: node
linkType: hard
-"@blocksuite/block-std@npm:0.11.0-nightly-202312210105-edfa58e":
- version: 0.11.0-nightly-202312210105-edfa58e
- resolution: "@blocksuite/block-std@npm:0.11.0-nightly-202312210105-edfa58e"
+"@blocksuite/block-std@npm:0.11.0-nightly-202312212326-e2b48df":
+ version: 0.11.0-nightly-202312212326-e2b48df
+ resolution: "@blocksuite/block-std@npm:0.11.0-nightly-202312212326-e2b48df"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
lz-string: "npm:^1.5.0"
w3c-keyname: "npm:^2.2.8"
zod: "npm:^3.22.4"
peerDependencies:
- "@blocksuite/store": 0.11.0-nightly-202312210105-edfa58e
- checksum: eb20c1b8a497562676c3d91b9470add50fdb01e4ec68243dc2349fa7cb943cd77f013b2d38db8d61de03caba8ca04de21ce84bb7d56cb6991d9e8b7901a05d41
+ "@blocksuite/store": 0.11.0-nightly-202312212326-e2b48df
+ checksum: 43302954cd31c745a887d0a4faada527c3b584747b908d07ac98cccbc82ccd31b5ca7e92ee97e2b15aefac095133e6534383b848a686ac33878c4406043e9215
languageName: node
linkType: hard
-"@blocksuite/blocks@npm:0.11.0-nightly-202312210105-edfa58e":
- version: 0.11.0-nightly-202312210105-edfa58e
- resolution: "@blocksuite/blocks@npm:0.11.0-nightly-202312210105-edfa58e"
+"@blocksuite/blocks@npm:0.11.0-nightly-202312212326-e2b48df":
+ version: 0.11.0-nightly-202312212326-e2b48df
+ resolution: "@blocksuite/blocks@npm:0.11.0-nightly-202312212326-e2b48df"
dependencies:
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/inline": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@floating-ui/dom": "npm:^1.5.3"
"@toeverything/theme": "npm:^0.7.27"
"@types/hast": "npm:^3.0.3"
@@ -4133,16 +4133,16 @@ __metadata:
unified: "npm:^11.0.4"
webfontloader: "npm:^1.6.28"
zod: "npm:^3.22.4"
- checksum: fc4fecfb2dd3bfdf0e91fd91bda40d7ba9c02533f6e5f2de17b32265288d0b44dbb64402c6f6a1b8adb469046df14d89beb15d1ba24e0724b9145495c2f0174d
+ checksum: 48cd02a389317477c866618c898a2d4839fbb4466752c2de295159fd6c073bde903a1fc46ae2ffcf823ce2e0e01cbb49db406ae728c53f27f14ef5e4159b3078
languageName: node
linkType: hard
-"@blocksuite/global@npm:0.11.0-nightly-202312210105-edfa58e":
- version: 0.11.0-nightly-202312210105-edfa58e
- resolution: "@blocksuite/global@npm:0.11.0-nightly-202312210105-edfa58e"
+"@blocksuite/global@npm:0.11.0-nightly-202312212326-e2b48df":
+ version: 0.11.0-nightly-202312212326-e2b48df
+ resolution: "@blocksuite/global@npm:0.11.0-nightly-202312212326-e2b48df"
dependencies:
zod: "npm:^3.22.4"
- checksum: f1943b1e456197d7e90775cdeda8bab01361f81c665cdcf025efe39c7d1e3f8e370873c80d5fcb02427410b4457a92deb3334d9e7401a47b276bd46714fbcf1a
+ checksum: 3121af8a225e012b836b94c40923227a9d0b999d7c2f68b7eabcaf15fed77788f662a38d87bba664231d591ac363e9cd48b6f234625b938ae674ca4c372d908f
languageName: node
linkType: hard
@@ -4156,55 +4156,56 @@ __metadata:
languageName: node
linkType: hard
-"@blocksuite/inline@npm:0.11.0-nightly-202312210105-edfa58e":
- version: 0.11.0-nightly-202312210105-edfa58e
- resolution: "@blocksuite/inline@npm:0.11.0-nightly-202312210105-edfa58e"
+"@blocksuite/inline@npm:0.11.0-nightly-202312212326-e2b48df":
+ version: 0.11.0-nightly-202312212326-e2b48df
+ resolution: "@blocksuite/inline@npm:0.11.0-nightly-202312212326-e2b48df"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
zod: "npm:^3.22.4"
peerDependencies:
lit: ^3.0.2
yjs: ^13
- checksum: 066a2141351acbcb0d8a73244057e6d6d900681572cd9cc65226b7e4fba8ad5e4b0ff25aa9a9eade04c2a003d7d9794ce21fd55fade6eac7356c9e4b3fd8be4d
+ checksum: 3ccc79d45731ae1d326d79d9dbc5c3c4583c9b6bd7c67b03565eaca3378242df26351283b0b3ced7ba0c9ccc7e343be3413c1490f71e5e9784017db57f5bde92
languageName: node
linkType: hard
-"@blocksuite/lit@npm:0.11.0-nightly-202312210105-edfa58e":
- version: 0.11.0-nightly-202312210105-edfa58e
- resolution: "@blocksuite/lit@npm:0.11.0-nightly-202312210105-edfa58e"
+"@blocksuite/lit@npm:0.11.0-nightly-202312212326-e2b48df":
+ version: 0.11.0-nightly-202312212326-e2b48df
+ resolution: "@blocksuite/lit@npm:0.11.0-nightly-202312212326-e2b48df"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/inline": "npm:0.11.0-nightly-202312212326-e2b48df"
lit: "npm:^3.1.0"
peerDependencies:
- "@blocksuite/block-std": 0.11.0-nightly-202312210105-edfa58e
- "@blocksuite/store": 0.11.0-nightly-202312210105-edfa58e
- checksum: a736fbd9b8bcbb9e0341943c4a033a526ee6270049db4ba1eef3bfe937283f786b397cc6e086123b1b9d8f6b3f4d94d442722864a2f0ca3f1c6bcdfe9ad08db9
+ "@blocksuite/block-std": 0.11.0-nightly-202312212326-e2b48df
+ "@blocksuite/store": 0.11.0-nightly-202312212326-e2b48df
+ checksum: 53d9b672de67a4d2108d132faa76b74f68e6ae926ce6c4e8de9f13f82d34fe19f619a93c1a347ea69833293c3f365d66684b5cdfe5c0ab066d1f9d5e24959512
languageName: node
linkType: hard
-"@blocksuite/presets@npm:0.11.0-nightly-202312210105-edfa58e":
- version: 0.11.0-nightly-202312210105-edfa58e
- resolution: "@blocksuite/presets@npm:0.11.0-nightly-202312210105-edfa58e"
+"@blocksuite/presets@npm:0.11.0-nightly-202312212326-e2b48df":
+ version: 0.11.0-nightly-202312212326-e2b48df
+ resolution: "@blocksuite/presets@npm:0.11.0-nightly-202312212326-e2b48df"
dependencies:
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/inline": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@toeverything/theme": "npm:^0.7.27"
lit: "npm:^3.1.0"
openai: "npm:^4.20.1"
- checksum: 471e5f4748dc695cff7bdba939e3cc9f8d9e302442d7b366b03c8a207280c2c2532c3abdd767f041a47a644e23faa7a2860c8a0b28b4530e0b194f076562acbe
+ checksum: 21d3a8e569b8beb6a3a446a814b2aa131eb2f9315dc436943b58ce702a1d6ffdfcfd6371c0de54b7c45e9821d121002820918ce617a0077c9d495f535bf8345e
languageName: node
linkType: hard
-"@blocksuite/store@npm:0.11.0-nightly-202312210105-edfa58e":
- version: 0.11.0-nightly-202312210105-edfa58e
- resolution: "@blocksuite/store@npm:0.11.0-nightly-202312210105-edfa58e"
+"@blocksuite/store@npm:0.11.0-nightly-202312212326-e2b48df":
+ version: 0.11.0-nightly-202312212326-e2b48df
+ resolution: "@blocksuite/store@npm:0.11.0-nightly-202312212326-e2b48df"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/inline": "npm:0.11.0-nightly-202312212326-e2b48df"
"@types/flexsearch": "npm:^0.7.3"
flexsearch: "npm:0.7.21"
idb-keyval: "npm:^6.2.1"
@@ -4217,7 +4218,7 @@ __metadata:
peerDependencies:
async-call-rpc: ^6
yjs: ^13
- checksum: afd08bbb37060102de1cf5d0ce6f14a7197cd7b9f8e8cd306246de61e11122dabe01713e570ee7d4f38c8deed5090a0077bb628ed3421552d7c583da58ca5670
+ checksum: 3666801967eb301ca9df5f605bcb27d6e780e8883af5f9bc964898056c4558d5bbdfe12d24c61eb1ea6d3156ab9687ab28f2b9905dc50d7b54b7fbd9d71029a3
languageName: node
linkType: hard
@@ -13743,12 +13744,12 @@ __metadata:
"@affine/debug": "workspace:*"
"@affine/env": "workspace:*"
"@affine/workspace": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@testing-library/react": "npm:^14.0.0"
"@toeverything/infra": "workspace:*"
"@types/image-blob-reduce": "npm:^4.1.3"
@@ -13799,11 +13800,11 @@ __metadata:
"@affine/env": "workspace:*"
"@affine/sdk": "workspace:*"
"@affine/templates": "workspace:*"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
"@testing-library/react": "npm:^14.0.0"
async-call-rpc: "npm:^6.3.1"
electron: "link:../../frontend/electron/node_modules/electron"
@@ -13852,8 +13853,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb"
dependencies:
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312212326-e2b48df"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
fake-indexeddb: "npm:^5.0.0"
idb: "npm:^8.0.0"
nanoid: "npm:^5.0.3"
@@ -37017,7 +37018,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "y-provider@workspace:packages/common/y-provider"
dependencies:
- "@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312212326-e2b48df"
vite: "npm:^5.0.6"
vite-plugin-dts: "npm:3.6.0"
vitest: "npm:1.0.4"