Commit Graph

1100 Commits

Author SHA1 Message Date
EYHN
ef01b6255e
fix(core): template image assets missing (#7171)
fix TOV-910
2024-06-08 17:28:24 +00:00
renovate
6147cd30b5
chore: bump up @blocksuite/icons version to v2.1.54 (#7102)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.52` -> `2.1.54`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.52/2.1.54) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.54?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.54?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.52/2.1.54?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.52/2.1.54?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/icons (@&#8203;blocksuite/icons)</summary>

### [`v2.1.54`](416c1a0e2c...baef47745e)

[Compare Source](416c1a0e2c...baef47745e)

### [`v2.1.53`](aab53a9544...416c1a0e2c)

[Compare Source](aab53a9544...416c1a0e2c)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-08 17:13:31 +00:00
renovate
5afa3f953f
chore: bump up blocksuite-canary to v0.15.0-canary-202406071542-063825f (#7100)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406070912-a8808e8` -> `0.15.0-canary-202406071542-063825f`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406070912-a8808e8` -> `0.15.0-canary-202406071542-063825f`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406070912-a8808e8` -> `0.15.0-canary-202406071542-063825f`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406070912-a8808e8` -> `0.15.0-canary-202406071542-063825f`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406070912-a8808e8` -> `0.15.0-canary-202406071542-063825f`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406070912-a8808e8` -> `0.15.0-canary-202406071542-063825f`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202406070912-a8808e8/0.15.0-canary-202406071542-063825f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-08 17:00:23 +00:00
EYHN
b34cfe6c7f
feat(core): enable synced doc block by default (#7176)
fix AFF-1244
2024-06-08 16:48:25 +00:00
pengx17
ab26e0f360
fix: render embed linked/synced doc as affine-reference for shared pages (#7179)
fix TOV-779
2024-06-07 11:42:48 +00:00
donteatfriedrice
8dc3fd2a99
feat: bump blocksuite (#7178)
## Bugfix
- https://github.com/toeverything/blocksuite/pull/7244 @donteatfriedrice
- https://github.com/toeverything/blocksuite/pull/7242 @golok727

## Misc
- https://github.com/toeverything/blocksuite/pull/7241 @Saul-Mirone
- https://github.com/toeverything/blocksuite/pull/7240 @Saul-Mirone
- https://github.com/toeverything/blocksuite/pull/7237 @fundon
2024-06-07 10:01:38 +00:00
pengx17
3464e30229
fix: quick search placeholder for docs search (#7175)
fix AFF-1236
2024-06-07 07:42:16 +00:00
pengx17
17a5900575
fix: adjust peek view modal container styles (#7173)
fix AFF-1233, AFF-1234
2024-06-07 05:12:15 +00:00
pengx17
e6ec506226
fix: insert link action in quick search callback (#7165) 2024-06-07 04:39:20 +00:00
EYHN
f20b78b824
fix(core): ui flash when open setting modal (#7170)
fix TOV-909
2024-06-07 04:27:13 +00:00
Saul-Mirone
5855f72b5b
chore: bump blocksuite to 0.15.0-canary-202406070336-e104622 (#7172)
## Features
- https://github.com/toeverything/BlockSuite/pull/7238 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7236 @Saul-Mirone

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7232 @fundon
- https://github.com/toeverything/BlockSuite/pull/7219 @oliseviche

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7239 @donteatfriedrice

## Misc
- https://github.com/toeverything/BlockSuite/pull/7227 @pengx17
2024-06-07 04:14:59 +00:00
donteatfriedrice
1a509d18a5
feat: add ai entry to code toolbar and image toolbar (#7169) 2024-06-07 03:14:46 +00:00
akumatus
38dde7f5b7 feat: add autofill and onClose params in notification service api (#7162)
This PR add autofill and onClose params in notification service api for better user experiences.

[Related PR in blocksuite](https://github.com/toeverything/blocksuite/pull/7230)
2024-06-07 02:48:36 +00:00
pengx17
79e1e8dd2f
fix: close peek view when clicking on reference link (#7137) 2024-06-06 15:40:22 +00:00
L-Sun
51429c957b
feat(core): update slash menu entries with quick search (#7167)
Close BS-351

refactor `Link` and `Linked Doc` entry with `quickSearchService`
2024-06-06 15:28:12 +00:00
pengx17
f78416021a
chore: bump blocksuite (#7163)
## Features
- https://github.com/toeverything/BlockSuite/pull/7230 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7220 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7228 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7216 @golok727
- https://github.com/toeverything/BlockSuite/pull/7224 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7217 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7144 @Flrande

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7231 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7229 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7222 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7226 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7218 @fundon
- https://github.com/toeverything/BlockSuite/pull/7213 @donteatfriedrice

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7212 @Flrande

## Misc
- https://github.com/toeverything/BlockSuite/pull/7223 @fundon
2024-06-06 12:04:07 +00:00
EYHN
d791ab73ba
fix(core): fix active view undefined (#7161) 2024-06-06 07:53:37 +00:00
EYHN
6abb401a2c
fix(core): remove extra console log (#7160) 2024-06-06 07:39:59 +00:00
pengx17
b99b964a78
fix: temp fix for showing peek view modal for edgeless (#7155)
workaround for AFF-1200
2024-06-06 07:27:29 +00:00
pengx17
10297766b8
fix: adjust peek view modal container styles (#7153) 2024-06-06 07:27:25 +00:00
pengx17
7095ca1be6
fix: cleanup usePromptModal (#7157) 2024-06-06 06:29:47 +00:00
pengx17
5bd9c7a2a3
feat: allow search for doc without showing modal (#7138)
depends on https://github.com/toeverything/blocksuite/pull/7199#pullrequestreview-2095567573

fix TOV-858, fix AFF-1132
2024-06-06 06:29:41 +00:00
pengx17
1439d00b61
feat: add search doc modal (#7136) 2024-06-06 06:29:36 +00:00
pengx17
de81527e29
refactor: move command registry to frontend/core (#7135)
move command registeration related logic out of infra module.
2024-06-05 14:09:20 +00:00
pengx17
fa4e4c738a
chore: bump blocksuite (#7152)
## Features
- https://github.com/toeverything/BlockSuite/pull/7208 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7207 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7206 @regischen
- https://github.com/toeverything/BlockSuite/pull/7194 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7209 @Saul-Mirone

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7205 @fundon
- https://github.com/toeverything/BlockSuite/pull/7211 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7210 @fundon

## Refactor

## Misc
- https://github.com/toeverything/BlockSuite/pull/7203 @fundon

Also added prompt implementation to fix type change issue

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/2c0efce1-c50f-4a8f-892c-bf8e2d99bef2.png)
2024-06-05 09:33:18 +00:00
L-Sun
ecff441516
chore(core): add padding when ai-panel is opened in page mode (#7151)
Close BS-394
Related PR: https://github.com/toeverything/blocksuite/pull/7211
2024-06-05 06:08:22 +00:00
EYHN
c8242fc066
refactor(core): remove unused trash relate data (#7142)
This parameter seemed to always be undefined, I decided to remove it.
2024-06-05 03:13:15 +00:00
EYHN
84c79f4dcf
fix(core): move to trash confirm modal missing (#7143)
move `MoveToTrash.ConfirmModal` from `RootAppSidebar ` to `CurrentWorkspaceModals `
2024-06-05 03:01:14 +00:00
pengx17
616d7073c9
chore: bump bs (#7146)
## Features
- https://github.com/toeverything/BlockSuite/pull/7202 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7200 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7199 @Saul-Mirone

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7201 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7197 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7195 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7179 @fundon
- https://github.com/toeverything/BlockSuite/pull/7191 @fundon
- https://github.com/toeverything/BlockSuite/pull/7190 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7189 @golok727
- https://github.com/toeverything/BlockSuite/pull/7187 @regischen

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7178 @golok727
- https://github.com/toeverything/BlockSuite/pull/7132 @L-Sun

## Misc
- https://github.com/toeverything/BlockSuite/pull/7183 @fourdim
2024-06-04 15:24:11 +00:00
EYHN
f67108c6f7
fix(core): fetch share docs on non-cloud workspace (#7144) 2024-06-04 09:45:35 +00:00
JimmFly
412b919ec6
fix(core): block sharing link cannot be created when selecting inline (#7090) 2024-06-04 02:38:36 +00:00
JimmFly
d43fcdcdd6
fix(core): unexpected autofill style in dark mode (#7130)
before:
<img width="395" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/028a6dcf-2b8f-465a-99e7-5ef147079b5c">

after:
<img width="420" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/1ae1b75d-bb64-4b2c-9021-8fb7bb41460b">
2024-06-04 02:21:28 +00:00
regischen
798af4efee
chore: bump blocksuite (#7120)
## Features
- https://github.com/toeverything/BlockSuite/pull/7176 @regischen

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7186 @golok727
- https://github.com/toeverything/BlockSuite/pull/7185 @shvixxl
2024-06-03 02:36:25 +00:00
fundon
235882f6f3
chore(core): password input should be focused (#7125) 2024-06-03 02:24:37 +00:00
fundon
5b8b2bbf48
fix(component): banner should not affect the editor layout (#7128)
Same as #6605
2024-06-03 02:13:24 +00:00
pengx17
03be1d66f9
feat: add feature flag for peek view (#7122) 2024-05-31 12:01:27 +00:00
forehalo
c96fb46751
feat(core): adjust admin panel style (#7116) 2024-05-31 10:43:30 +00:00
pengx17
002b9e80f8
feat: e2e tests for peek view (#7112)
fix AFF-1163
2024-05-31 10:28:42 +00:00
pengx17
ea0059fa1b
feat: center peek view (#7073)
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">Kapture 2024-05-30 at 19.42.46.mp4</video>
2024-05-31 10:28:37 +00:00
JimmFly
b65c01c5e1
fix(core): listFloatingToolbar does not appear as expected (#7124)
close AFF-1201
2024-05-31 10:16:42 +00:00
JimmFly
b13151b480
feat(core): add admin panel page (#7115)
The path is `/admin-panel`
2024-05-31 09:42:23 +00:00
regischen
004390f40c feat: add chat onboarding entry (#7109)
Upstream: https://github.com/toeverything/blocksuite/pull/7161
2024-05-31 07:39:37 +00:00
pengx17
fe38a3780f
chore: bump blocksuite (#7113)
## Features
- https://github.com/toeverything/BlockSuite/pull/7177 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7174 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7175 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7180 @fundon
2024-05-31 05:42:43 +00:00
pengx17
da3cbc69cf
fix: patch service syntax (#7080)
Not sure if there is a better pattern like "macros" that can make this more generic. 🤡

also added notify impl to notification service for bs
https://github.com/toeverything/blocksuite/pull/7160
2024-05-30 11:46:17 +00:00
pengx17
d7ced4a5d9
chore: bump blocksuite (#7107)
## Features
- https://github.com/toeverything/BlockSuite/pull/7161 @regischen
- https://github.com/toeverything/BlockSuite/pull/7142 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7166 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7151 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7164 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7163 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7156 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7160 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7158 @golok727
- https://github.com/toeverything/BlockSuite/pull/7157 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7154 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7106 @fundon
- https://github.com/toeverything/BlockSuite/pull/7136 @fourdim

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7171 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7169 @fundon
- https://github.com/toeverything/BlockSuite/pull/7165 @lawvs

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7162 @regischen
- https://github.com/toeverything/BlockSuite/pull/7153 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7149 @golok727
- https://github.com/toeverything/BlockSuite/pull/7152 @Flrande

## Misc
- https://github.com/toeverything/BlockSuite/pull/7170 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7155 @fundon
2024-05-30 06:39:17 +00:00
darkskygit
0dfcc97c52
chore: update cleanup history gql (#7103) 2024-05-29 07:34:08 +00:00
forehalo
638fc62601
feat(server): runtime setting support (#5602)
---

<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev">Graphite</a>)</summary>

> ## TL;DR
> This pull request adds a new migration file, a new model, and new modules related to runtime settings. It also introduces a new `Runtime` service that allows getting, setting, and updating runtime configurations.
>
> ## What changed
> - Added a new migration file `migration.sql` that creates a table called `application_settings` with columns `key` and `value`.
> - Added a new model `ApplicationSetting` with properties `key` and `value`.
> - Added a new module `RuntimeSettingModule` that exports the `Runtime` service.
> - Added a new service `Runtime` that provides methods for getting, setting, and updating runtime configurations.
> - Modified the `app.module.ts` file to import the `RuntimeSettingModule`.
> - Modified the `index.ts` file in the `fundamentals` directory to export the `Runtime` service.
> - Added a new file `def.ts` in the `runtime` directory that defines the runtime configurations and provides a default implementation.
> - Added a new file `service.ts` in the `runtime` directory that implements the `Runtime` service.
>
> ## How to test
> 1. Run the migration script to create the `application_settings` table.
> 2. Use the `Runtime` service to get, set, and update runtime configurations.
> 3. Verify that the runtime configurations are stored correctly in the database and can be retrieved and modified using the `Runtime` service.
>
> ## Why make this change
> This change introduces a new feature related to runtime settings. The `Runtime` service allows the application to dynamically manage and modify runtime configurations without requiring a restart. This provides flexibility and allows for easier customization and configuration of the application.
</details>
2024-05-28 06:43:53 +00:00
JimmFly
9d296c4b62
chore: adjust find in page modal style (#7087)
![image](https://github.com/toeverything/AFFiNE/assets/102217452/757a4ea3-2101-4610-852c-21be02e9b167)
![image](https://github.com/toeverything/AFFiNE/assets/102217452/c7c2ad1b-f220-4799-926c-6f3777b0daf9)
2024-05-28 06:19:59 +00:00
pengx17
2ca77d9170
refactor: find in page (#7086)
- refactor rxjs data flow
- use canvas text to mitigate searchable search box input text issue
2024-05-28 06:19:53 +00:00
JimmFly
bd9c929d05
feat(core): cmd+f search in doc function (#7040)
You can use the cmd+F shortcut key to trigger the FindInPage function.
2024-05-28 06:19:48 +00:00
renovate
5759c15de3
chore: bump up @blocksuite/icons version to v2.1.52 (#7046)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.51` -> `2.1.52`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.51/2.1.52) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.52?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.52?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.51/2.1.52?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.51/2.1.52?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/icons (@&#8203;blocksuite/icons)</summary>

### [`v2.1.52`](6390fb2163...aab53a9544)

[Compare Source](6390fb2163...aab53a9544)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2024-05-28 06:04:29 +00:00
CatsJuice
f4fdbbe6dd
feat(core): expose toggle ai onboarding apis (#7039)
```ts
import { toggleGeneralAIOnboarding } from '@affine/core/components/affine/ai-onboarding/apis';

// show
// toggleGeneralAIOnboarding();
toggleGeneralAIOnboarding(true);

// dismiss
toggleGeneralAIOnboarding(false);
```
2024-05-28 05:27:24 +00:00
renovate
aa4fa44e1a
chore: bump up blocksuite-canary to v0.15.0-canary-202405271425-84b069d (#7053)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-05-28 05:12:06 +00:00
JimmFly
50dcce891b
fix(core): clear input value after selecting a tag in page info (#7076)
close AFF-1140
2024-05-27 08:28:12 +00:00
EYHN
b356ddbe6e
fix(core): fix ui flashing (#7056) 2024-05-27 08:05:20 +00:00
EYHN
306cf2ae6f
fix(core): unexpected re-render in edgeless (#7077) 2024-05-27 07:52:00 +00:00
JimmFly
2d2a84927d
fix(core): unable to create blank lines correctly (#7032)
Close #7022
2024-05-27 07:40:14 +00:00
pengx17
8ed0ceb63e
fix: reset doc mode correctly (#7071)
it looks like a typo to me, but no obvious issue has been reported related to it?
2024-05-27 06:26:03 +00:00
EYHN
a440e85ffe
chore: bump blocksuite (#7075)
## Features
- toeverything/blocksuite#6937 @Flrande

## Bugfix
- toeverything/blocksuite#7137 @fundon
- toeverything/blocksuite#7126 @golok727
- toeverything/blocksuite#7128 @CatsJuice
- toeverything/blocksuite#7130 @fundon

## Refactor

## Misc
- toeverything/blocksuite#7131 @fundon

## Additional changes

Adjust the awareness provider so that it only obtains awareness instances when connect, and fixes the dependencies between workspace components.
2024-05-27 05:11:12 +00:00
pengx17
88d4351c28
feat: provide notification to bs (#7002)
upstream https://github.com/toeverything/blocksuite/pull/7101
fix AFF-1120
2024-05-24 10:36:50 +00:00
Chen
919e40f28e
feat: support more ai image actions (#7027) 2024-05-24 18:35:32 +08:00
donteatfriedrice
950e163314
feat(core): bump blocksuite (#7055)
## Features
- https://github.com/toeverything/BlockSuite/pull/7107 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7129 @fundon

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7134 @zzj3720

## Misc
2024-05-24 09:55:56 +00:00
renovate
ae00dfef08
chore: bump up blocksuite-canary to v0.15.0-canary-202405231409-6934e1f (#7047)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405221444-2192806` -> `0.15.0-canary-202405231409-6934e1f`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405221444-2192806` -> `0.15.0-canary-202405231409-6934e1f`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405221444-2192806` -> `0.15.0-canary-202405231409-6934e1f`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405221444-2192806` -> `0.15.0-canary-202405231409-6934e1f`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405221444-2192806` -> `0.15.0-canary-202405231409-6934e1f`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405221444-2192806` -> `0.15.0-canary-202405231409-6934e1f`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202405221444-2192806/0.15.0-canary-202405231409-6934e1f?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2024-05-24 05:00:08 +00:00
pengx17
5e1528b50b
fix: export then add test case (#7024) 2024-05-24 04:49:08 +00:00
Tao Chen
22a8a2663e
feat(server): add OIDC for AFFiNE (#6991)
Co-authored-by: LongYinan <lynweklm@gmail.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
2024-05-24 00:35:30 +08:00
renovate
6278523642
chore: bump up blocksuite-canary to v0.15.0-canary-202405221444-2192806 (#7028)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405220826-46746e0` -> `0.15.0-canary-202405221444-2192806`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405220826-46746e0` -> `0.15.0-canary-202405221444-2192806`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405220826-46746e0` -> `0.15.0-canary-202405221444-2192806`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405220826-46746e0` -> `0.15.0-canary-202405221444-2192806`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405220826-46746e0` -> `0.15.0-canary-202405221444-2192806`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405220826-46746e0` -> `0.15.0-canary-202405221444-2192806`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202405220826-46746e0/0.15.0-canary-202405221444-2192806?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2024-05-23 04:10:57 +00:00
CatsJuice
d066da3e8a
fix(core): right sidebar's content is not centered when clientBorder enabled (#7034)
- before
    ![CleanShot%202024-05-22%20at%2018.18.15@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/4fe8f114-6471-4e28-8788-0d50b39efe7a.png)
    ![CleanShot%202024-05-22%20at%2018.27.18@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/95ff58d7-2f6b-42ae-85f2-6b026ad48c05.png)

- after
    ![CleanShot 2024-05-22 at 19.10.30@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/920fc348-b53f-4e5e-aa85-3329372923b1.png)
2024-05-23 02:42:01 +00:00
Flrande
f3c9593606
feat(core): bump blocksuite to 0.15.0-canary-202405220826-46746e0 (#7026) 2024-05-22 09:22:23 +00:00
zzj3720
7a657b540b
feat(core): update blocksuite feature flag (#7025) 2024-05-22 09:03:24 +00:00
Flrande
0f5ae77032
feat(core): bump blocksuite (#7019)
## Features
- https://github.com/toeverything/BlockSuite/pull/7075 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7090 @doouding
- https://github.com/toeverything/BlockSuite/pull/7095
@golok727
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7108
@fundon

- https://github.com/toeverything/BlockSuite/pull/7110 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7105 @regischen
- https://github.com/toeverything/BlockSuite/pull/7064
@fundon

- https://github.com/toeverything/BlockSuite/pull/7102 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7091 @zzj3720
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7088
@Mirone
## Misc
- https://github.com/toeverything/BlockSuite/pull/7097
@CatsJuice
2024-05-22 08:48:28 +00:00
pengx17
fdc33bd3ec
refactor(electron): always save one update to electron (#7009)
not sure do we still need this one
2024-05-22 05:03:49 +00:00
JimmFly
609766d898
refactor(core): replace history to ViewService.history (#6972)
upstream: #6966
2024-05-22 04:01:33 +00:00
Brooooooklyn
278336168f
fix(web): add Promise.withResolvers polyfill (#7003)
- Fix https://github.com/toeverything/blocksuite/issues/7098
2024-05-22 01:08:18 +00:00
pengx17
96cdb041c6
fix(electron): incorrect db rows docId when doing trim (#7008) 2024-05-21 13:53:16 +00:00
Brooooooklyn
41c7215ef1
chore(electron): temporary remove @sentry/electron due to version mismatch (#7001) 2024-05-21 04:30:22 +00:00
renovate
d898dae280
chore: bump up fake-indexeddb version to v6 (#6998)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fake-indexeddb](https://togithub.com/dumbmatter/fakeIndexedDB) | [`^5.0.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/fake-indexeddb/5.0.2/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fake-indexeddb/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fake-indexeddb/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fake-indexeddb/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fake-indexeddb/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [fake-indexeddb](https://togithub.com/dumbmatter/fakeIndexedDB) | [`5.0.2` -> `6.0.0`](https://renovatebot.com/diffs/npm/fake-indexeddb/5.0.2/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fake-indexeddb/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fake-indexeddb/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fake-indexeddb/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fake-indexeddb/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>dumbmatter/fakeIndexedDB (fake-indexeddb)</summary>

### [`v6.0.0`](https://togithub.com/dumbmatter/fakeIndexedDB/blob/HEAD/CHANGELOG.md#600-2024-05-20)

[Compare Source](https://togithub.com/dumbmatter/fakeIndexedDB/compare/v5.0.2...v6.0.0)

I made this a new major version because it includes a few changes that could in theory break something in some weird situations. But I think the vast majority of users (possibly all users?) won't have any issue upgrading.

-   [#&#8203;48](https://togithub.com/dumbmatter/fakeIndexedDB/issues/48) - Switched to using `DOMException` errors rather than normal errors, since that's what the IndexedDB spec says to use, and Node.js now has a built-in DOMException in all supported versions.

-   [#&#8203;93](https://togithub.com/dumbmatter/fakeIndexedDB/issues/93) - [@&#8203;bryan-codaio](https://togithub.com/bryan-codaio) made the latest tweak to event scheduling, this time improving how `setImmediate` is used in some situations where people are mocking timers.

-   [#&#8203;99](https://togithub.com/dumbmatter/fakeIndexedDB/issues/99) - [@&#8203;sjnho](https://togithub.com/sjnho) fixed handling of `Date` objects to account for some edge cases, including jsdom overriding the native `Date` constructor.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-21 03:53:30 +00:00
EYHN
d5c93f10ac
fix(core): cant leave workspace (#6999) 2024-05-21 03:41:03 +00:00
EYHN
7fddd14f72
fix(core): fix active view with mouse (#6994) 2024-05-20 08:19:53 +00:00
renovate
53ee1801e6
chore: bump up @blocksuite/icons version to v2.1.51 (#6973)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.50` -> `2.1.51`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.50/2.1.51) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.51?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.51?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.50/2.1.51?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.50/2.1.51?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/icons (@&#8203;blocksuite/icons)</summary>

### [`v2.1.51`](937b436274...6390fb2163)

[Compare Source](937b436274...6390fb2163)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-20 04:25:25 +00:00
regischen
01eff4ff20 chore: bump blocksuite (#6975)
## Features
- https://github.com/toeverything/BlockSuite/pull/7085 @regischen
- https://github.com/toeverything/BlockSuite/pull/7077 @fourdim

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7087 @Mirone
- https://github.com/toeverything/BlockSuite/pull/7076 @donteatfriedrice
2024-05-20 01:38:18 +00:00
CatsJuice
03104cd8b1
fix(component): ui storybook's doc page can not scroll (#6909) 2024-05-20 01:26:37 +00:00
renovate
4156b3ae89
chore: bump up blocksuite-canary to v0.15.0-canary-202405161332-f0fb4ad (#6932)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-17 07:53:02 +00:00
Flrande
35a6cf655b
feat(core): bump blocksuite (#6965)
## Features
- https://github.com/toeverything/BlockSuite/pull/7052 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7072 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7073 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7062 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7066 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7061 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7058 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7060 @doouding
- https://github.com/toeverything/BlockSuite/pull/7051 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7054 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7023 @golok727
- https://github.com/toeverything/BlockSuite/pull/7022 @golok727
- https://github.com/toeverything/BlockSuite/pull/7047 @fundon
- https://github.com/toeverything/BlockSuite/pull/7043 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7041 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7038 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7040 @regischen

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7068 @doouding
- https://github.com/toeverything/BlockSuite/pull/7069 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7065 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7048 @fundon
- https://github.com/toeverything/BlockSuite/pull/7045 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7046 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7039 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7036 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7032 @Saul-Mirone

## Misc
- https://github.com/toeverything/BlockSuite/pull/7063 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7050 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7044 @doouding
- https://github.com/toeverything/BlockSuite/pull/7042 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6992 @doouding
2024-05-17 03:44:11 +00:00
pengx17
bd5023d4ab
fix(electron): remove all migration code in electron (#6969)
The migration code import blocksuite in the dependency tree and prevent affine from running because electron's helper process tries to run browser only code that is part of the side effect of `@blocksuite/blocks`.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/53da3972-7433-4631-b8c2-d3e322066c7d.png)

[The side effect free trick in esbuild config](https://github.com/toeverything/AFFiNE/pull/6415)  does not clean up these - not sure why.

It has been already 6 month since we introduced the migration code in DB.
Instead of finding out the real root cause, I think may be better to remove the migration code completely so that no blocksuite code will be in the import paths in helper.js.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/3b03522a-2a25-4bdb-8287-86a6b94623e1.png)
2024-05-17 03:01:14 +00:00
JimmFly
10015c59b7
feat(core): add private anchor link for sharing (#6966)
close AFF-1085
2024-05-16 13:35:02 +00:00
darkskygit
a3f3d09764
feat: add upscaler & bg remover (#6967) 2024-05-16 11:09:34 +00:00
renovate
f37bbb0784
chore: bump up @sentry/react version to v8 (#6919)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@sentry/react](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/react) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`^7.109.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/7.111.0/8.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2freact/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2freact/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2freact/7.111.0/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2freact/7.111.0/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>getsentry/sentry-javascript (@&#8203;sentry/react)</summary>

### [`v8.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#800-rc3)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.114.0...8.0.0)

##### Important Changes

-   **feat(bun): Add Bun Global Unhandled Handlers ([#&#8203;11960](https://togithub.com/getsentry/sentry-javascript/issues/11960))**

The Bun SDK will now capture global unhandled errors.

##### Other Changes

-   feat(node): Log process and thread info on initialisation ([#&#8203;11972](https://togithub.com/getsentry/sentry-javascript/issues/11972))
-   fix(aws-serverless): Include ESM artifacts in package ([#&#8203;11973](https://togithub.com/getsentry/sentry-javascript/issues/11973))
-   fix(browser): Only start `http.client` spans if there is an active parent span ([#&#8203;11974](https://togithub.com/getsentry/sentry-javascript/issues/11974))
-   fix(feedback): Improve CSS theme variable names and layout ([#&#8203;11964](https://togithub.com/getsentry/sentry-javascript/issues/11964))
-   fix(node): Ensure `execArgv` are not sent to worker threads ([#&#8203;11963](https://togithub.com/getsentry/sentry-javascript/issues/11963))
-   ref(feedback): Simplify feedback function params ([#&#8203;11957](https://togithub.com/getsentry/sentry-javascript/issues/11957))

### [`v7.114.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.114.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0)

##### Important Changes

-   **fix(browser/v7): Continuously record CLS ([#&#8203;11935](https://togithub.com/getsentry/sentry-javascript/issues/11935))**

This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the
cases where it should have been reported. With this change, the CLS web vital should now always be reported for
pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.

**Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.**

##### Other Changes

-   build(aws-lambda/v7): Turn off lambda layer publishing ([#&#8203;11875](https://togithub.com/getsentry/sentry-javascript/issues/11875))
-   feat(v7): Add `tunnel` support to multiplexed transport ([#&#8203;11851](https://togithub.com/getsentry/sentry-javascript/issues/11851))
-   fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#&#8203;11929](https://togithub.com/getsentry/sentry-javascript/issues/11929))
-   fix(react/v7): Fix react router v4/v5 span names ([#&#8203;11940](https://togithub.com/getsentry/sentry-javascript/issues/11940))

### [`v7.113.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.113.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0)

##### Important Changes

-   **feat(node): Support Node 22 ([#&#8203;11754](https://togithub.com/getsentry/sentry-javascript/issues/11754))**

This release adds support for Node 22! 🎉

It also adds prebuilt-binaries for Node 22 to `@sentry/profiling-node`.

##### Other Changes

-   feat(feedback): \[v7] New feedback button design ([#&#8203;11841](https://togithub.com/getsentry/sentry-javascript/issues/11841))
-   feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#&#8203;11752](https://togithub.com/getsentry/sentry-javascript/issues/11752))
-   fix(ember/v7): Ensure unnecessary spans are avoided ([#&#8203;11848](https://togithub.com/getsentry/sentry-javascript/issues/11848))

### [`v7.112.2`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.2)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2)

-   fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#&#8203;11765](https://togithub.com/getsentry/sentry-javascript/issues/11765))

### [`v7.112.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.1)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1)

-   fix(ember/v7): Do not create rendering spans without transaction ([#&#8203;11750](https://togithub.com/getsentry/sentry-javascript/issues/11750))

### [`v7.112.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0)

##### Important Changes

-   **feat: Export pluggable integrations from SDK packages ([#&#8203;11723](https://togithub.com/getsentry/sentry-javascript/issues/11723))**

Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK
package:

```js
// Before
import * as Sentry fromv '@&#8203;sentry/browser';
import { dedupeIntegration } from '@&#8203;sentry/integrations';

Sentry.init({
  integrations: [dedupeIntegration()],
});

// After
import * as Sentry from '@&#8203;sentry/browser';

Sentry.init({
  integrations: [Sentry.dedupeIntegration()],
});
```

Note that only the functional integrations (e.g. `xxxIntegration()`) are re-exported.

##### Other Changes

-   feat(replay): Add "maxCanvasSize" option for replay canvases ([#&#8203;11732](https://togithub.com/getsentry/sentry-javascript/issues/11732))
-   fix(serverless): \[v7] Check if cloud event callback is a function ([#&#8203;11734](https://togithub.com/getsentry/sentry-javascript/issues/11734))

#### Bundle size 📦

| Path                                                                               | Size              |
| ---------------------------------------------------------------------------------- | ----------------- |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped)              | 80.72 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped)                        | 71.69 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay with Canvas) - Webpack (gzipped)            | 75.91 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped)                                | 35.62 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. browserTracingIntegration) - Webpack (gzipped)              | 35.5 KB   |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) - Webpack (gzipped)                               | 31.57 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. sendFeedback) - Webpack (gzipped)                           | 31.58 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped)                                                | 22.78 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)       | 78.9 KB   |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)                 | 70.27 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped)                         | 36.02 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped)                                         | 25.28 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)         | 109.01 KB |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed)                         | 75.79 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped)                         | 39.3 KB   |
| [@&#8203;sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped)                          | 72.18 KB  |
| [@&#8203;sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped)                                                  | 22.81 KB  |
| [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped)                  | 90.01 KB  |
| [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped)                                          | 54.15 KB  |
| [@&#8203;sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped)                                      | 17.32 KB  |

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 10:06:35 +00:00
Brooooooklyn
6d5d09bb74
chore: use workspace dependencies (#6964) 2024-05-16 09:49:23 +00:00
Brooooooklyn
94af2caba8
chore: simplify renovate config and upgrade msw (#6961) 2024-05-16 08:40:00 +00:00
JimmFly
b8612f3071
refactor(core): replace the loading state written in useState with useDebouncedValue (#6925)
close TOV-856

refactor(core): replace the loading state written in useState with useDebouncedState

fix(core): cloudSvg obscures toggle button
2024-05-16 08:11:31 +00:00
CatsJuice
46140039d9
fix(core): local onboarding should dismiss after clicking learn more (#6942) 2024-05-16 07:41:49 +00:00
CatsJuice
6cef03c4c3
fix(core): adjust ai onboarding trigger logic, launch by auth status (#6941)
- if signed in, show ai-onboarding dialog
- if not signed in, show ai onboarding toast
2024-05-16 07:41:39 +00:00
CatsJuice
301586c0f4
fix(component): avoid close button of the notification being invisible in dark mode and bright bg (#6946) 2024-05-16 06:43:47 +00:00
pengx17
3cca879a83
refactor(electron): use sqlite to store server clock & sync meta (#6957)
After this PR, IDB should not be used in desktop any longer.
2024-05-16 06:31:05 +00:00
pengx17
27af9b4d1a
perf(electron): add index for updates (#6951)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/cd2e982a-f78a-4cc3-b090-ee4c0090e19d.png)

Above image shows the performance on querying a 20k rows of updates table, which is super slow at 150+ms. After adding index for doc_id the performance should be greatly improved.

After:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/45ea4389-1833-4dc5-bd64-84d8c99cd647.png)

fix TOV-866
2024-05-16 06:30:53 +00:00
JimmFly
a61ded3f25
fix(core): add affine.pro to trustedDomain (#6943) 2024-05-15 09:00:15 +00:00
JimmFly
f48cd0dfef
fix(core): unexpected history preview style (#6944)
close TOV-865

https://github.com/toeverything/AFFiNE/assets/102217452/3ca12496-b4d9-4caf-a30b-981b52a2f42f
2024-05-15 08:48:37 +00:00
renovate
6da566c5f6
chore: bump up nx-cloud version to v19 (#6937)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [nx-cloud](https://nx.app) | [`^18.0.0` -> `^19.0.0`](https://renovatebot.com/diffs/npm/nx-cloud/18.0.0/19.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nx-cloud/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nx-cloud/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nx-cloud/18.0.0/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nx-cloud/18.0.0/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-15 08:21:22 +00:00
renovate
0d3180fd94
chore: bump up all non-major dependencies (#6918)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.574.0` -> `3.575.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`19.0.2` -> `19.0.3`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.0.2/19.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/19.0.2/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/19.0.2/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [electron-squirrel-startup](https://togithub.com/mongodb-js/electron-squirrel-startup) | [`1.0.0` -> `1.0.1`](https://renovatebot.com/diffs/npm/electron-squirrel-startup/1.0.0/1.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/electron-squirrel-startup/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/electron-squirrel-startup/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/electron-squirrel-startup/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/electron-squirrel-startup/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-s3)</summary>

### [`v3.575.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35750-2024-05-13)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.574.0...v3.575.0)

**Note:** Version bump only for package [@&#8203;aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3)

</details>

<details>
<summary>nrwl/nx (@&#8203;nx/vite)</summary>

### [`v19.0.3`](https://togithub.com/nrwl/nx/releases/tag/19.0.3)

[Compare Source](https://togithub.com/nrwl/nx/compare/19.0.2...19.0.3)

##### 19.0.3 (2024-05-13)

##### 🚀 Features

-   **nx-dev:** show banner on documentation pages ([#&#8203;23266](https://togithub.com/nrwl/nx/pull/23266))
-   **nx-dev:** check for missing images ([#&#8203;23248](https://togithub.com/nrwl/nx/pull/23248))
-   **nx-dev:** put banner above menu ([#&#8203;23335](https://togithub.com/nrwl/nx/pull/23335))
-   **react:** Add SvgOptions for NxReactWebpackPlugin and WithNx ([#&#8203;23283](https://togithub.com/nrwl/nx/pull/23283))

##### 🩹 Fixes

-   **core:** include more binary extensions ([#&#8203;22788](https://togithub.com/nrwl/nx/pull/22788), [#&#8203;22861](https://togithub.com/nrwl/nx/pull/22861))
-   **core:** workspace remove generator should handle no root jest config ([#&#8203;23328](https://togithub.com/nrwl/nx/pull/23328))
-   **core:** addPlugin should not conflict on project.json targets ([#&#8203;23264](https://togithub.com/nrwl/nx/pull/23264))
-   **core:** throw a specific error for print-affected and affected graph ([#&#8203;23336](https://togithub.com/nrwl/nx/pull/23336))
-   **js:** Adds mjs files to prettierrcNameOptions ([#&#8203;21796](https://togithub.com/nrwl/nx/pull/21796))
-   **linter:** ensure all spreads are removed from rules before parsing ([#&#8203;23292](https://togithub.com/nrwl/nx/pull/23292))
-   **linter:** log transpilation errors of workspace rules ([#&#8203;21503](https://togithub.com/nrwl/nx/pull/21503))
-   **linter:** rename languageSettings to languageOptions for flat config migration ([#&#8203;22924](https://togithub.com/nrwl/nx/pull/22924))
-   **linter:** fix migrating projects with the eslint plugin ([#&#8203;23147](https://togithub.com/nrwl/nx/pull/23147))
-   **misc:** move e2e-ci to a separate parallel 1 command ([#&#8203;23305](https://togithub.com/nrwl/nx/pull/23305))
-   **module-federation:** Throw an error if remote is invalid ([#&#8203;23100](https://togithub.com/nrwl/nx/pull/23100))
-   **nx-cloud:** ensure generated ci workflows use dlx for nx-cloud ([#&#8203;23333](https://togithub.com/nrwl/nx/pull/23333))
-   **nx-dev:** move table of contents down ([#&#8203;23350](https://togithub.com/nrwl/nx/pull/23350))
-   **storybook:** should handle inferred cypress when generating cypress project [#&#8203;21770](https://togithub.com/nrwl/nx/issues/21770) ([#&#8203;23327](https://togithub.com/nrwl/nx/pull/23327), [#&#8203;21770](https://togithub.com/nrwl/nx/issues/21770))
-   **testing:** resolve absolute paths for ts path mappings in jest resolver ([#&#8203;23346](https://togithub.com/nrwl/nx/pull/23346))
-   **vite:** support passing --watch to inferred vitest commands ([#&#8203;23298](https://togithub.com/nrwl/nx/pull/23298))
-   **vite:** generate vitest cache dir scoped to each project root and normalize vite cache dir ([#&#8203;23330](https://togithub.com/nrwl/nx/pull/23330))

##### ❤️  Thank You

-   Colum Ferry [@&#8203;Coly010](https://togithub.com/Coly010)
-   Denis Bendrikov
-   Dmitry Zakharov [@&#8203;pumano](https://togithub.com/pumano)
-   Isaac Mann [@&#8203;isaacplmann](https://togithub.com/isaacplmann)
-   James Henry [@&#8203;JamesHenry](https://togithub.com/JamesHenry)
-   Jason Jean [@&#8203;FrozenPandaz](https://togithub.com/FrozenPandaz)
-   Leosvel Pérez Espinosa [@&#8203;leosvelperez](https://togithub.com/leosvelperez)
-   Mehrad Rafigh [@&#8203;mehrad-rafigh](https://togithub.com/mehrad-rafigh)
-   Nicholas Cunningham [@&#8203;ndcunningham](https://togithub.com/ndcunningham)
-   Patrick P [@&#8203;ppfenning92](https://togithub.com/ppfenning92)

</details>

<details>
<summary>mongodb-js/electron-squirrel-startup (electron-squirrel-startup)</summary>

### [`v1.0.1`](https://togithub.com/mongodb-js/electron-squirrel-startup/compare/v1.0.0...v1.0.1)

[Compare Source](https://togithub.com/mongodb-js/electron-squirrel-startup/compare/v1.0.0...v1.0.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-14 09:07:15 +00:00
JimmFly
419f1b34b3
fix(core): unexpected toast style in editor (#6924)
<img width="1327" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/16115440-5265-44d6-9f05-b5621436cd59">
2024-05-14 07:39:24 +00:00