Compare commits

..

63 Commits

Author SHA1 Message Date
李华桥
e083378d63 chore: v0.11.0-beta.1 2023-12-21 14:27:00 +08:00
李华桥
a231474dd2 Merge branch 'canary' into stable 2023-12-21 14:26:01 +08:00
Cats Juice
34c1d2a674 feat(core): responsive for onboarding (#5361)
fix(core): use light-theme for onboarding back button

feat(core): responsive for onboarding
2023-12-21 04:27:49 +00:00
Chen
4dc41fcd09 feat: bump blocksuite (#5357) 2023-12-21 12:22:39 +08:00
Peng Xiao
bfbdde212f fix(storybook): disable onboarding for storybook (#5351) 2023-12-21 03:11:44 +00:00
李华桥
833b42000b Merge branch 'canary' into stable 2023-12-20 16:36:44 +08:00
李华桥
7690c48710 Merge branch 'canary' into stable 2023-12-20 16:32:36 +08:00
DarkSky
579828a700 fix: use secure websocket (#5297) 2023-12-13 22:28:04 +08:00
DarkSky
746db2ccfc feat: only follow serverUrlPrefix at redirect to client (#5295) 2023-12-13 20:37:20 +08:00
李华桥
eff344a9c1 Merge branch 'canary' into stable 2023-12-12 16:45:47 +08:00
李华桥
c89ebab596 Merge branch 'canary' into stable 2023-12-12 11:04:33 +08:00
liuyi
62f4421b7c fix(server): avoid updates persist forever (#5258) 2023-12-11 17:42:25 +08:00
李华桥
42383dbd29 Merge branch 'canary' into stable 2023-12-10 21:04:15 +08:00
李华桥
120e7397ba Merge branch 'canary' into stable 2023-12-01 16:12:17 +08:00
李华桥
24123ad01c Revert "Revert "Merge remote-tracking branch 'origin/canary' into stable""
This reverts commit 89197bacef.
2023-12-01 13:29:43 +08:00
李华桥
ad50320391 v0.10.3 2023-12-01 12:52:15 +08:00
李华桥
eb21a60dda v0.10.3-beta.7 2023-12-01 12:12:20 +08:00
Joooye_34
c0e3be2d40 fix(core): rerender error boundary when route change and improve sentry report (#5147) 2023-12-01 04:04:44 +00:00
李华桥
09d3b72358 v0.10.3-beta.6 2023-11-30 23:02:26 +08:00
Joooye_34
246e16c6c0 fix(infra): compatibility logic follow blocksuite (#5143) 2023-11-30 23:01:38 +08:00
李华桥
dc279d062b v0.10.3-beta.5 2023-11-30 16:49:55 +08:00
Joooye_34
47d5f9e1c2 fix(infra): use blocksuite api to check compatibility (#5137) 2023-11-30 08:48:13 +00:00
Joooye_34
a226eb8d5f fix(core): expose catched editor load error (#5133) 2023-11-29 20:31:35 +08:00
Joooye_34
908c4e1a6f ci: add sentry env when frontend assets build (#5131) 2023-11-29 10:03:49 +00:00
李华桥
1d0bcc80a0 v0.10.3-beta.4 2023-11-29 16:14:06 +08:00
Joooye_34
50010bd824 fix(core): implement editor timeout and report error from boundary (#5105) 2023-11-29 08:10:38 +00:00
liuyi
c0ede1326d fix(server): wrong OTEL config (#5084) 2023-11-29 11:19:13 +08:00
李华桥
89197bacef Revert "Merge remote-tracking branch 'origin/canary' into stable"
This reverts commit 992ed89a89, reversing
changes made to d272d7922d.
2023-11-29 11:18:45 +08:00
李华桥
f97d323ab5 Revert "Revert "refactor(server): standarderlize metrics and trace with OTEL (#5054)""
This reverts commit c1cd1713b9.
2023-11-29 11:07:28 +08:00
EYHN
2acb219dcc fix(workspace): filter awareness from other workspace (#5093) 2023-11-28 16:47:45 +08:00
LongYinan
992ed89a89 Merge remote-tracking branch 'origin/canary' into stable 2023-11-28 15:12:52 +08:00
李华桥
d272d7922d v0.10.3-beta.2 2023-11-25 23:50:40 +08:00
李华桥
c1cd1713b9 Revert "refactor(server): standarderlize metrics and trace with OTEL (#5054)"
This reverts commit 91efca107a.
2023-11-25 23:50:39 +08:00
李华桥
b20e91bee0 v0.10.3-beta.1 2023-11-25 14:14:40 +08:00
李华桥
9a4e5ec8c3 Merge branch 'canary' into stable 2023-11-25 14:14:14 +08:00
李华桥
2019838ae7 v0.10.3-beta.0 2023-11-24 11:39:23 +08:00
李华桥
30ff25f400 Merge branch 'canary' into stable 2023-11-23 23:40:32 +08:00
李华桥
e766208c18 chore: reset merge wrong codes 2023-11-23 22:53:06 +08:00
李华桥
8742f28148 Merge branch 'canary' into stable 2023-11-23 21:31:42 +08:00
LongYinan
cd291bb60e build: remove useless source-map-loader to speedup webpack (#4910) 2023-11-20 10:52:28 +08:00
LongYinan
62c0efcfd1 fix(core): handle the getSession network error properly (#4909)
If network offline or API error happens, the `session` returned by the `useSession` hook will be null, so we can't assume it is not null.

There should be following changes:
1. create a page in ErrorBoundary to let the user refetch the session.
2. The `SessionProvider` stop to pull the new session once the session is null, we need to figure out a way to pull the new session when the network is back or the user click the refetch button.
2023-11-17 16:50:48 +08:00
liuyi
87248b3337 fix(server): all viewers can share public link (#4968) 2023-11-17 12:34:15 +08:00
Joooye_34
00c940f7df chore: bump affine version to 0.10.2 (#4959) 2023-11-16 15:48:37 +08:00
Flrande
931b459fbd chore: bump blocksuite (#4958) 2023-11-16 14:27:39 +08:00
LongYinan
51e71f4a0a ci: prevent error if rust build is cached by nx (#4951)
If Rust build was cached by nx, only the output file will be presented. The chmod command will be failed in this case like: https://github.com/toeverything/AFFiNE/actions/runs/6874496337/job/18697360212
2023-11-16 10:31:51 +08:00
Peng Xiao
9b631f2328 fix(infra): page id compat fix for page ids in workspace.meta (#4950)
since we strip `page:` in keys of workspacedoc.spaces, we should also strip the prefix in meta.pages as well.
2023-11-15 17:36:08 +08:00
LongYinan
01f481a9b6 ci: only disable postinstall on macOS in nightly desktop build (#4938) 2023-11-14 23:00:30 +08:00
Joooye_34
0177ab5c87 fix(infra): workspace migration without blockVersions (#4936) 2023-11-14 14:38:11 +01:00
Peng Xiao
4db35d341c perf(component): use png instead of svg for rendering noise svg (#4935) 2023-11-14 11:52:51 +00:00
DarkSky
3c4a803c97 fix: change password token check (#4934) (#4932) 2023-11-14 11:15:54 +00:00
LongYinan
05154dc7ca ci: disable postinstall in nightly desktop build (#4930)
Should be part of https://github.com/toeverything/AFFiNE/pull/4885
2023-11-14 14:13:55 +08:00
Peng Xiao
c90b477f60 fix(core): change server url of stable to insider (#4902) (#4926) 2023-11-14 12:05:52 +08:00
李华桥
6f18ddbe85 v0.10.1 2023-11-13 19:49:26 +08:00
LongYinan
dde779a71d test(e2e): add subdoc migration test (#4921)
test(e2e): add subdoc migration test

fix: remove .only
2023-11-13 18:00:40 +08:00
Peng Xiao
bd9f66fbc7 fix(infra): compatibility fix for space prefix (#4912)
It seems there are some cases that [this upstream PR](https://github.com/toeverything/blocksuite/pull/4747) will cause data loss.

Because of some historical reasons, the page id could be different with its doc id.
It might be caused by subdoc migration in the following (not 100% sure if all white screen issue is caused by it) 0714c12703/packages/common/infra/src/blocksuite/index.ts (L538-L540)

In version 0.10, page id in spaces no longer has prefix "space:"
The data flow for fetching a doc's updates is:
- page id in `meta.pages` -> find `${page-id}` in `doc.spaces` -> `doc` -> `doc.guid`
if `doc` is not found in `doc.spaces`, a new doc will be created and its `doc.guid` is the same with its pageId
- because of guid logic change, the doc that previously prefixed with `space:` will not be found in `doc.spaces`
- when fetching the rows of this doc using the doc id === page id,
  it will return EMPTY since there is no updates associated with the page id

The provided fix in the PR will patch the `spaces` field of the root doc so that after 0.10 the page doc can still be found in the `spaces` map. It shall apply to both of the idb & sqlite datasources.

Special thanks to @lawvs 's db file for investigation!
2023-11-13 17:57:56 +08:00
liuyi
92f1f40bfa fix(server): wrap updates applying in a transaction (#4922) 2023-11-13 08:49:30 +00:00
LongYinan
48dc1049b3 Merge pull request #4913 from toeverything/darksky/cleanup-depolyment
chore: cleanup deployment
2023-11-12 11:20:02 +08:00
DarkSky
9add530370 chore: cleanup deployment 2023-11-12 11:03:25 +08:00
LongYinan
b77460d871 Merge pull request #4908 from toeverything/61/hotfix-websocket-payload
fix(server): increase server acceptable websocket payload size
2023-11-10 22:01:48 +08:00
forehalo
42db41776b fix(server): increase server acceptable websocket payload size 2023-11-10 21:31:45 +08:00
李华桥
075439c74f fix(core): change server url of stable to insider 2023-11-10 18:32:53 +08:00
Yifeng Wang
fc6c553ece chore: bump theme (#4904)
Co-authored-by: 李华桥 <joooye1991@gmail.com>
2023-11-10 15:40:38 +08:00
Joooye_34
59cb3d5df1 fix(core): change server url of stable to insider (#4902) 2023-11-10 14:50:57 +08:00
52 changed files with 260 additions and 261 deletions

View File

@@ -1,20 +0,0 @@
name: Setup Version
description: 'Setup Version'
runs:
using: 'composite'
steps:
- name: 'Write Version'
id: version
shell: bash
run: |
if [ "${{ github.ref_type }}" == "tag" ]; then
APP_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
else
PACKAGE_VERSION=$(node -p "require('./package.json').version")
TIME_VERSION=$(date +%Y%m%d%H%M)
GIT_SHORT_HASH=$(git rev-parse --short HEAD)
APP_VERSION=$PACKAGE_VERSION-nightly-$TIME_VERSION-$GIT_SHORT_HASH
fi
echo $APP_VERSION
echo "APP_VERSION=$APP_VERSION" >> "$GITHUB_OUTPUT"
./scripts/set-version.sh $APP_VERSION

View File

@@ -3,4 +3,4 @@ name: affine
description: AFFiNE cloud chart
type: application
version: 0.0.0
appVersion: "0.11.0"
appVersion: "0.11.0-beta.1"

View File

@@ -3,7 +3,7 @@ name: graphql
description: AFFiNE GraphQL server
type: application
version: 0.0.0
appVersion: "0.11.0"
appVersion: "0.11.0-beta.1"
dependencies:
- name: gcloud-sql-proxy
version: 0.0.0

View File

@@ -3,7 +3,7 @@ name: sync
description: AFFiNE Sync Server
type: application
version: 0.0.0
appVersion: "0.11.0"
appVersion: "0.11.0-beta.1"
dependencies:
- name: gcloud-sql-proxy
version: 0.0.0

View File

@@ -4,14 +4,10 @@ on:
workflow_dispatch:
inputs:
flavor:
description: 'Select what enverionment to deploy to'
type: choice
description: 'Build type (canary, beta, or stable or internal)'
type: string
default: canary
options:
- canary
- beta
- stable
- internal
env:
APP_NAME: affine
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
@@ -22,8 +18,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Version
uses: ./.github/actions/setup-version
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
@@ -42,8 +36,6 @@ jobs:
environment: ${{ github.event.inputs.flavor }}
steps:
- uses: actions/checkout@v4
- name: Setup Version
uses: ./.github/actions/setup-version
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Build Plugins
@@ -75,8 +67,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Version
uses: ./.github/actions/setup-version
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Build Rust
@@ -98,8 +88,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Version
uses: ./.github/actions/setup-version
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Build Rust
@@ -219,8 +207,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Version
uses: ./.github/actions/setup-version
- name: setup deploy version
id: version
run: |
export APP_VERSION=`node -e "console.log(require('./package.json').version)"`
echo $APP_VERSION
echo "APP_VERSION=$APP_VERSION" >> "$GITHUB_OUTPUT"
- name: Deploy to ${{ github.event.inputs.flavor }}
uses: ./.github/actions/deploy
with:

View File

@@ -1,6 +1,6 @@
{
"name": "@affine/monorepo",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"private": true,
"author": "toeverything",
"license": "MIT",

View File

@@ -1,7 +1,7 @@
{
"name": "@affine/server",
"private": true,
"version": "0.11.0",
"version": "0.11.0-beta.1",
"description": "Affine Node.js server",
"type": "module",
"bin": {

View File

@@ -1,6 +1,6 @@
{
"name": "@affine/storage",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"engines": {
"node": ">= 10.16.0 < 11 || >= 11.8.0"
},

View File

@@ -8,5 +8,5 @@
"react": "18.2.0",
"react-dom": "18.2.0"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -9,5 +9,5 @@
"@types/debug": "^4.1.9",
"vitest": "1.0.4"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -3,8 +3,8 @@
"private": true,
"type": "module",
"devDependencies": {
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
"react": "18.2.0",
"react-dom": "18.2.0",
"vitest": "1.0.4",
@@ -26,5 +26,5 @@
"dependencies": {
"lit": "^3.0.2"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -62,9 +62,9 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/sdk": "workspace:*",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
"jotai": "^2.5.1",
"jotai-effect": "^0.2.3",
"tinykeys": "^2.1.0",
@@ -73,8 +73,8 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
"@testing-library/react": "^14.0.0",
"async-call-rpc": "^6.3.1",
"electron": "link:../../frontend/electron/node_modules/electron",
@@ -114,5 +114,5 @@
"optional": true
}
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -1,6 +1,6 @@
{
"name": "@affine/sdk",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"type": "module",
"scripts": {
"build": "vite build",
@@ -22,11 +22,11 @@
"dist"
],
"dependencies": {
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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/presets": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
"jotai": "^2.5.1",
"zod": "^3.22.4"
},

View File

@@ -1,7 +1,7 @@
{
"name": "@toeverything/y-indexeddb",
"type": "module",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"description": "IndexedDB database adapter for Yjs",
"repository": "toeverything/AFFiNE",
"author": "toeverything",
@@ -37,8 +37,8 @@
"y-provider": "workspace:*"
},
"devDependencies": {
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
"fake-indexeddb": "^5.0.0",
"vite": "^5.0.6",
"vite-plugin-dts": "3.6.0",

View File

@@ -1,7 +1,7 @@
{
"name": "y-provider",
"type": "module",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"description": "Yjs provider protocol for multi document support",
"exports": {
".": "./src/index.ts"
@@ -24,7 +24,7 @@
"build": "vite build"
},
"devDependencies": {
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
"vite": "^5.0.6",
"vite-plugin-dts": "3.6.0",
"vitest": "1.0.4",

View File

@@ -72,12 +72,12 @@
"uuid": "^9.0.1"
},
"devDependencies": {
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/icons": "2.1.36",
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
@@ -106,5 +106,5 @@
"vitest": "1.0.4",
"yjs": "^13.6.10"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -2,7 +2,7 @@
"name": "@affine/core",
"type": "module",
"private": true,
"version": "0.11.0",
"version": "0.11.0-beta.1",
"scripts": {
"build": "yarn -T run build-core",
"dev": "yarn -T run dev-core",
@@ -25,14 +25,14 @@
"@affine/i18n": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*",
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@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/icons": "2.1.36",
"@blocksuite/inline": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^8.0.0",
"@emotion/cache": "^11.11.0",

View File

@@ -14,6 +14,9 @@ export const edgelessSwitchWindow = style({
fontFamily: 'var(--affine-font-family)',
color: onboardingVars.paper.textColor,
maxWidth: 'calc(100vw - 48px)',
maxHeight: 'calc(100vh - 48px)',
selectors: {
'&[data-mode="edgeless"]': {
width: onboardingVars.edgeless.w,

View File

@@ -224,7 +224,15 @@ export const EdgelessSwitch = ({
<div data-no-drag className={styles.noDragWrapper}>
<header className={styles.header}>
<Button size="extraLarge" onClick={onBack}>
<Button
style={{
background: 'white',
borderColor: '#E3E2E4',
color: '#424149',
}}
size="extraLarge"
onClick={onBack}
>
Back
</Button>
<EdgelessSwitchButtons

View File

@@ -133,16 +133,25 @@ export const paperLocation = style({
export const tipsWrapper = style({
position: 'absolute',
width: `calc(${onboardingVars.article.w} - 48px)`,
top: `calc(-${onboardingVars.article.h} / 2 + 24px)`,
maxWidth: 'calc(100vw - 96px)',
bottom: 0,
height: `calc(${onboardingVars.article.h} / 2 - 24px)`,
maxHeight: 'calc(50vh - 48px)',
pointerEvents: 'none',
display: 'flex',
justifyContent: 'center',
opacity: 0,
transition: '0.3s ease 1s',
transition: '0.3s ease',
selectors: {
'&[data-visible="true"]': {
pointerEvents: 'auto',
opacity: 1,
},
},
});
globalStyle(`${tipsWrapper} > *`, {
display: 'inline-block',
height: 'fit-content',
});
globalStyle(`${tipsWrapper}[data-visible="true"] > *`, {
pointerEvents: 'auto',
});

View File

@@ -1,7 +1,7 @@
{
"name": "@affine/electron",
"private": true,
"version": "0.11.0",
"version": "0.11.0-beta.1",
"author": "toeverything",
"repository": {
"url": "https://github.com/toeverything/AFFiNE",
@@ -32,10 +32,10 @@
"@affine/sdk": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/vue-hello-world-plugin": "workspace:*",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@electron-forge/cli": "^7.2.0",
"@electron-forge/core": "^7.2.0",
"@electron-forge/core-utils": "^7.2.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@affine/graphql",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"description": "Autogenerated GraphQL client for affine.pro",
"license": "MIT",
"type": "module",

View File

@@ -20,12 +20,12 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/workspace": "workspace:*",
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@testing-library/react": "^14.0.0",
"@toeverything/infra": "workspace:*",
"@types/image-blob-reduce": "^4.1.3",
@@ -65,5 +65,5 @@
"optional": true
}
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -36,5 +36,5 @@
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -58,5 +58,5 @@
"test": "ava",
"version": "napi version"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -7,5 +7,5 @@
"./v1/*.json": "./v1/*.json",
"./preloading.json": "./preloading.json"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -46,5 +46,5 @@
"vitest": "1.0.4",
"ws": "^8.14.2"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -37,5 +37,5 @@
"react": "*",
"react-dom": "*"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -3,7 +3,7 @@
"type": "module",
"private": true,
"description": "Hello world plugin",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"scripts": {
"dev": "af dev",
"build": "af build"

View File

@@ -1,7 +1,7 @@
{
"name": "@affine/image-preview-plugin",
"type": "module",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"description": "Image preview plugin",
"affinePlugin": {
"release": true,

View File

@@ -3,7 +3,7 @@
"type": "module",
"private": true,
"description": "Outline plugin",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"scripts": {
"dev": "af dev",
"build": "af build"

View File

@@ -3,7 +3,7 @@
"type": "module",
"private": true,
"description": "Vue hello world plugin",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"scripts": {
"dev": "af dev",
"build": "af build"

View File

@@ -9,5 +9,5 @@
"@affine-test/kit": "workspace:*",
"@playwright/test": "^1.39.0"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -11,5 +11,5 @@
"@types/fs-extra": "^11.0.2",
"fs-extra": "^11.1.1"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -12,5 +12,5 @@
"fs-extra": "^11.1.1",
"playwright": "^1.39.0"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -9,14 +9,14 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -9,14 +9,14 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -9,14 +9,14 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -9,14 +9,14 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
"serve": "^14.2.1"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -9,5 +9,5 @@
"@affine-test/kit": "workspace:*",
"@playwright/test": "^1.39.0"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -7,11 +7,11 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@playwright/test": "^1.39.0"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -9,5 +9,5 @@
"@affine-test/kit": "workspace:*",
"@playwright/test": "^1.39.0"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -3,5 +3,5 @@
"exports": {
"./*": "./*"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -2,7 +2,7 @@
"name": "@affine-test/kit",
"private": true,
"type": "module",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"exports": {
"./electron": "./electron.ts",
"./playwright": "./playwright.ts",

View File

@@ -107,6 +107,13 @@ const ThemeChange = () => {
};
localStorage.clear();
// do not show onboarding for storybook
window.localStorage.setItem(
'app_config',
'{"onBoarding":false, "dismissWorkspaceGuideModal":true}'
);
const store = createStore();
_setCurrentStore(store);
setup();

View File

@@ -31,14 +31,14 @@
"wait-on": "^7.2.0"
},
"devDependencies": {
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
"@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/icons": "2.1.36",
"@blocksuite/inline": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
"@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",
"@dnd-kit/sortable": "^8.0.0",
"@tomfreudenberg/next-auth-mock": "^0.5.6",
"chromatic": "^9.1.0",
@@ -56,5 +56,5 @@
"@blocksuite/presets": "*",
"@blocksuite/store": "*"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -7,5 +7,5 @@
"@affine/env": "workspace:*",
"@toeverything/infra": "workspace:*"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -22,5 +22,5 @@
"peerDependencies": {
"ts-node": "*"
},
"version": "0.11.0"
"version": "0.11.0-beta.1"
}

View File

@@ -1,6 +1,6 @@
{
"name": "@affine/commitlint-config",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"private": true,
"devDependencies": {
"@commitlint/cli": "^18.4.3",

View File

@@ -1,7 +1,7 @@
{
"name": "@affine/plugin-cli",
"type": "module",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"bin": {
"af": "./src/af.mjs"
},

View File

@@ -1,6 +1,6 @@
{
"name": "@affine/workers",
"version": "0.11.0",
"version": "0.11.0-beta.1",
"private": true,
"scripts": {
"dev": "wrangler dev"

222
yarn.lock
View File

@@ -25,10 +25,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
"@blocksuite/icons": "npm:2.1.36"
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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/icons": "npm:2.1.36"
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9"
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
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-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
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-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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/icons": "npm:2.1.36"
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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-202312200102-8254dc9":
version: 0.11.0-nightly-202312200102-8254dc9
resolution: "@blocksuite/block-std@npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
dependencies:
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
lz-string: "npm:^1.5.0"
w3c-keyname: "npm:^2.2.8"
zod: "npm:^3.22.4"
peerDependencies:
"@blocksuite/store": 0.11.0-nightly-202312200102-8254dc9
checksum: 223f704ad15e5473be1c2c617964e665dd05c278a3100e79618d5e194c7670fff20daf9652372fa8d6f9145b7f535862674d13bd443cad87dbe8f30da414c850
"@blocksuite/store": 0.11.0-nightly-202312210105-edfa58e
checksum: eb20c1b8a497562676c3d91b9470add50fdb01e4ec68243dc2349fa7cb943cd77f013b2d38db8d61de03caba8ca04de21ce84bb7d56cb6991d9e8b7901a05d41
languageName: node
linkType: hard
"@blocksuite/blocks@npm:0.11.0-nightly-202312200102-8254dc9":
version: 0.11.0-nightly-202312200102-8254dc9
resolution: "@blocksuite/blocks@npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
dependencies:
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@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: dcefc3b3309fc743b78a248acd4dc3cbe60a666ea747c4fadc370a60597ed35156d42310e5232c6ec806c7c4cffad6e130917e4051c14fd14b7a7ca9866775a0
checksum: fc4fecfb2dd3bfdf0e91fd91bda40d7ba9c02533f6e5f2de17b32265288d0b44dbb64402c6f6a1b8adb469046df14d89beb15d1ba24e0724b9145495c2f0174d
languageName: node
linkType: hard
"@blocksuite/global@npm:0.11.0-nightly-202312200102-8254dc9":
version: 0.11.0-nightly-202312200102-8254dc9
resolution: "@blocksuite/global@npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
dependencies:
zod: "npm:^3.22.4"
checksum: a871324674b5b7b50753e66a95baefa2c4054f79a5dddcbea4572a780551ba75be93b44d0efde6c83662463acf9fdd860f20f7340dd0c5f3dd3abc8ef36d6e45
checksum: f1943b1e456197d7e90775cdeda8bab01361f81c665cdcf025efe39c7d1e3f8e370873c80d5fcb02427410b4457a92deb3334d9e7401a47b276bd46714fbcf1a
languageName: node
linkType: hard
@@ -4156,55 +4156,55 @@ __metadata:
languageName: node
linkType: hard
"@blocksuite/inline@npm:0.11.0-nightly-202312200102-8254dc9":
version: 0.11.0-nightly-202312200102-8254dc9
resolution: "@blocksuite/inline@npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
dependencies:
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
zod: "npm:^3.22.4"
peerDependencies:
lit: ^3.0.2
yjs: ^13
checksum: 9cc1e7b7b965928362294962b97f5517259a01a8bed29fa8a51c837d35a9b6330cc1d0fcb372815e68945b12950e9230d452941065eed5cb1e332a60651e2844
checksum: 066a2141351acbcb0d8a73244057e6d6d900681572cd9cc65226b7e4fba8ad5e4b0ff25aa9a9eade04c2a003d7d9794ce21fd55fade6eac7356c9e4b3fd8be4d
languageName: node
linkType: hard
"@blocksuite/lit@npm:0.11.0-nightly-202312200102-8254dc9":
version: 0.11.0-nightly-202312200102-8254dc9
resolution: "@blocksuite/lit@npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
dependencies:
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
"@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
lit: "npm:^3.1.0"
peerDependencies:
"@blocksuite/block-std": 0.11.0-nightly-202312200102-8254dc9
"@blocksuite/store": 0.11.0-nightly-202312200102-8254dc9
checksum: e9cfbdebd24c20f69b6b9c9295a3da32a3b56f1b7ed535f72246cb17d9644794f097c134a409c1b21c055aed1468331ec99f4f85ebd373d0ab4a947210a9cc9c
"@blocksuite/block-std": 0.11.0-nightly-202312210105-edfa58e
"@blocksuite/store": 0.11.0-nightly-202312210105-edfa58e
checksum: a736fbd9b8bcbb9e0341943c4a033a526ee6270049db4ba1eef3bfe937283f786b397cc6e086123b1b9d8f6b3f4d94d442722864a2f0ca3f1c6bcdfe9ad08db9
languageName: node
linkType: hard
"@blocksuite/presets@npm:0.11.0-nightly-202312200102-8254dc9":
version: 0.11.0-nightly-202312200102-8254dc9
resolution: "@blocksuite/presets@npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
dependencies:
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@toeverything/theme": "npm:^0.7.27"
lit: "npm:^3.1.0"
openai: "npm:^4.20.1"
checksum: 19f45cdaaa68551be4682d76cf696726d18faa9892b20e79d616a83c6f1a259732446c70e5b221a7dcf70cd1a1f71ab63a1b2f546f460c767174cd3d4776df4d
checksum: 471e5f4748dc695cff7bdba939e3cc9f8d9e302442d7b366b03c8a207280c2c2532c3abdd767f041a47a644e23faa7a2860c8a0b28b4530e0b194f076562acbe
languageName: node
linkType: hard
"@blocksuite/store@npm:0.11.0-nightly-202312200102-8254dc9":
version: 0.11.0-nightly-202312200102-8254dc9
resolution: "@blocksuite/store@npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
dependencies:
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
"@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
"@types/flexsearch": "npm:^0.7.3"
flexsearch: "npm:0.7.21"
idb-keyval: "npm:^6.2.1"
@@ -4217,7 +4217,7 @@ __metadata:
peerDependencies:
async-call-rpc: ^6
yjs: ^13
checksum: 0d64da33b8dd916638c10661fc1ed80812cb6dd5ff57c4866f34599164e94f2aa53a1a26a4d8fc5b2ad69984d846bc3c63e1024d2d90990b24d5512516ce6db5
checksum: afd08bbb37060102de1cf5d0ce6f14a7197cd7b9f8e8cd306246de61e11122dabe01713e570ee7d4f38c8deed5090a0077bb628ed3421552d7c583da58ca5670
languageName: node
linkType: hard
@@ -13726,12 +13726,12 @@ __metadata:
"@affine/debug": "workspace:*"
"@affine/env": "workspace:*"
"@affine/workspace": "workspace:*"
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@testing-library/react": "npm:^14.0.0"
"@toeverything/infra": "workspace:*"
"@types/image-blob-reduce": "npm:^4.1.3"
@@ -13782,11 +13782,11 @@ __metadata:
"@affine/env": "workspace:*"
"@affine/sdk": "workspace:*"
"@affine/templates": "workspace:*"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@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"
"@testing-library/react": "npm:^14.0.0"
async-call-rpc: "npm:^6.3.1"
electron: "link:../../frontend/electron/node_modules/electron"
@@ -13835,8 +13835,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-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
fake-indexeddb: "npm:^5.0.0"
idb: "npm:^8.0.0"
nanoid: "npm:^5.0.3"
@@ -36954,7 +36954,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "y-provider@workspace:packages/common/y-provider"
dependencies:
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
vite: "npm:^5.0.6"
vite-plugin-dts: "npm:3.6.0"
vitest: "npm:1.0.4"