Commit Graph

904 Commits

Author SHA1 Message Date
Peng Xiao
2c92e97c48
fix: embed doc link rendering (#7361) 2024-06-27 17:58:33 +08:00
Cats Juice
fa2305b0e2
feat(core): replace all radio-button-group usage (#7352) 2024-06-27 17:54:30 +08:00
EYHN
3b3b7ec054
chore: bump blocksuite (#7360) 2024-06-27 17:53:42 +08:00
pengx17
81462fe000
refactor(core): view transition api for peek-view modal animation (#7350)
Remaining issue:
modal controls' position is not relatively moved to the parent container during transitioning.
2024-06-27 08:38:16 +00:00
fundon
03af538989
chore: bump theme (#7338) 2024-06-27 08:26:26 +00:00
donteatfriedrice
742c10ac94
feat: make width and height of generated image same with input image (#7356)
[BS-641](https://linear.app/affine-design/issue/BS-641/通过image-action生成的图像尺寸应与原图保持一致)
2024-06-27 08:02:32 +00:00
JimmFly
4af6223dc3
chore(core): removed obsolete TODO (#7337)
Cleaned up some TODOs that no longer need to be done
2024-06-27 06:30:29 +00:00
JimmFly
f15d1911ee
refactor(core): remove the automatic URL change feature (#7339)
close [AF-954](https://linear.app/affine-design/issue/AF-954/center-peek-中-editor-selection-变化不应修改-location-hash)

Since the URL changes constantly with the selection, causing the editor to render frequently and also affecting the use of center peek, we decided to remove the function of automatically changing the URL.
2024-06-27 05:52:04 +00:00
EYHN
595b904d24
fix(core): fix ui flickering on startup (#7349) 2024-06-27 03:33:14 +00:00
renovate
6f31d5ee6a
chore: bump up blocksuite-canary to v0.15.0-canary-202406261546-9adba83 (#7353)
[![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-202406260417-3b9fb16` -> `0.15.0-canary-202406261546-9adba83`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202406261546-9adba83?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-202406261546-9adba83?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-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?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-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406260417-3b9fb16` -> `0.15.0-canary-202406261546-9adba83`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406260417-3b9fb16` -> `0.15.0-canary-202406261546-9adba83`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406260417-3b9fb16` -> `0.15.0-canary-202406261546-9adba83`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406260417-3b9fb16` -> `0.15.0-canary-202406261546-9adba83`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406260417-3b9fb16` -> `0.15.0-canary-202406261546-9adba83`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202406260417-3b9fb16/0.15.0-canary-202406261546-9adba83?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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-27 01:46:14 +00:00
Fangdun Tsai
a5662e3de2
fix(core): optimize request chat cards fn (#7331) 2024-06-26 23:50:45 +08:00
EYHN
dcf766f0ee
feat(core): impl ai onboarding templates (#7341) 2024-06-26 13:49:23 +00:00
akumatus
6344456d37 fix: doc update time outdated (#7344)
Fix issue [BS-603](https://linear.app/affine-design/issue/BS-603).

- Move observe `blockUpdated` logic in `blocksuite-editor` component, so it can be excuted on both page-detail and center-peek mode.
- Remove useless `getDocUpdatedAt` service, because blocksuite can get `docMeta` directly.

https://github.com/toeverything/blocksuite/pull/7434

https://github.com/toeverything/AFFiNE/assets/12724894/e01e3f97-f1d0-4d1d-a8ed-e70e27e39bdb
2024-06-26 12:46:00 +00:00
donteatfriedrice
6f9a4bb01a
feat: optimize edgeless ai action insert handler (#7342)
[BS-653](https://linear.app/affine-design/issue/BS-653/在-edgeless-text-上使用-ai-功能时,应该在-edgeless-text-内换行插入,而不是新建一个-note)
2024-06-26 10:17:19 +00:00
L-Sun
59fe5fb57a
chore(core): update inline reference icon (#7340)
Close [BS-659](https://linear.app/affine-design/issue/BS-659/deleted-doc%E7%8A%B6%E6%80%81%E7%BC%BA%E5%A4%B1)
Related PR: https://github.com/toeverything/blocksuite/pull/7433

Before:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/aa74cb3f-5eca-4456-992c-a04e58760edd.png)

After:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/0e2c437c-7317-47fb-8d90-07d32efe53df.png)
2024-06-26 08:34:23 +00:00
pengx17
7baa260e97
refactor(core): image block use peek view workflow (#7329)
depends on https://github.com/toeverything/blocksuite/pull/7424
2024-06-26 07:49:25 +00:00
EYHN
092c639b0a
fix(core): optimize performance when editing doc title (#7328) 2024-06-26 07:37:26 +00:00
EYHN
ad746b6376
fix(core): fix error overflow (#7335) 2024-06-26 07:25:29 +00:00
akumatus
4df334bfdb fix: cannot read properties of undefined editor.host (#7333)
Fix issue [BS-657](https://linear.app/affine-design/issue/BS-657).

Unable to obtain `editor.host` synchronously on `editor` reference callback. Maybe we should have a separate host reference callback. @pengx17

![截屏2024-06-26 11.58.54.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/7d442ce3-86c9-4f4d-85c5-000d923702b6.png)
2024-06-26 06:31:25 +00:00
EYHN
2d74e4c340
fix(core): fix the page loading style (#7336) 2024-06-26 06:20:20 +00:00
L-Sun
16096978d8
fix(core): add synced doc content to edgeless ai context (#7327)
Closes: [BS-633](https://linear.app/affine-design/issue/BS-633/synced-block-%E7%99%BD%E6%9D%BF%E6%94%AF%E6%8C%81%EF%BC%9A%E4%BD%9C%E4%B8%BA%E4%B8%8A%E4%B8%8B%E6%96%87%E6%8F%90%E4%BE%9B%E7%BB%99-ai#comment-f336c6d5)
Related PR: https://github.com/toeverything/blocksuite/pull/7417

Read content from synced doc model as AI context in edgeless model.
2024-06-26 04:05:19 +00:00
akumatus
61f2617128 fix: bump blocksuite (#7332)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7415 @doouding
- https://github.com/toeverything/BlockSuite/pull/7421 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7422 @golok727
- https://github.com/toeverything/BlockSuite/pull/7418 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7416 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7411 @L-Sun

## Refactor

## Misc
- https://github.com/toeverything/BlockSuite/pull/7417 @L-Sun
2024-06-26 03:29:23 +00:00
fundon
2278cfc9ce
fix(core): direct replacement of old card with new card in ai chat input (#7324)
Closes: [BS-643](https://linear.app/affine-design/issue/BS-643/continue-with-ai-:-在存在候选内容的情况下,点击-continue-with-ai-应该将选区内容直接替换)

https://github.com/toeverything/AFFiNE/assets/27926/ff6e2c31-9d2e-462b-aa7e-6ef1eba50ef5
2024-06-25 15:56:47 +00:00
fundon
a92515b5aa
fix(core): ai chat opening and append card (#7322)
Closes: [BS-642](https://linear.app/affine-design/issue/BS-642/continue-with-ai-:-侧边栏关闭的情况下,先唤起-侧边栏,同时插入选中的内容)

https://github.com/toeverything/AFFiNE/assets/27926/3022d808-d560-4bc8-8a04-735b76056121
2024-06-25 15:56:44 +00:00
L-Sun
532a628989
fix(core): add synced doc block content to ai context (#7312)
Closes: [AF-955](https://linear.app/affine-design/issue/AF-955/synced-block-%E6%96%87%E6%A1%A3%E6%94%AF%E6%8C%81%EF%BC%9A%E8%AF%BB%E5%8F%96%E6%96%87%E6%A1%A3%E5%86%85%E5%AE%B9%E4%BD%9C%E4%B8%BA-ai-%E7%9A%84%E4%B8%8A%E4%B8%8B%E6%96%87-cotent)

Related PR: https://github.com/toeverything/blocksuite/pull/7405
2024-06-25 10:42:50 +00:00
renovate
45b3b833d4
chore: bump up blocksuite-canary to v0.15.0-canary-202406250711-0cc66f8 (#7323)
[![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-202406241511-430be2a` -> `0.15.0-canary-202406250711-0cc66f8`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202406250711-0cc66f8?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-202406250711-0cc66f8?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-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?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-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406241511-430be2a` -> `0.15.0-canary-202406250711-0cc66f8`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406241511-430be2a` -> `0.15.0-canary-202406250711-0cc66f8`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406241511-430be2a` -> `0.15.0-canary-202406250711-0cc66f8`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406241511-430be2a` -> `0.15.0-canary-202406250711-0cc66f8`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406241511-430be2a` -> `0.15.0-canary-202406250711-0cc66f8`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202406241511-430be2a/0.15.0-canary-202406250711-0cc66f8?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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-25 07:51:20 +00:00
pengx17
f51da066a8
refactor: image preview component issues in center peek (#7313)
fix AF-948

- remove jotai
- every editor got its own image block modal
- image block uses center peek modal for animation and style
2024-06-25 07:34:18 +00:00
renovate
76f6d91cdd
chore: bump up blocksuite-canary to v0.15.0-canary-202406241511-430be2a (#7317)
[![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-202406211230-ebc0dfb` -> `0.15.0-canary-202406241511-430be2a`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202406241511-430be2a?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-202406241511-430be2a?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-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?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-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406211230-ebc0dfb` -> `0.15.0-canary-202406241511-430be2a`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406211230-ebc0dfb` -> `0.15.0-canary-202406241511-430be2a`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406211230-ebc0dfb` -> `0.15.0-canary-202406241511-430be2a`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406211230-ebc0dfb` -> `0.15.0-canary-202406241511-430be2a`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406211230-ebc0dfb` -> `0.15.0-canary-202406241511-430be2a`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202406211230-ebc0dfb/0.15.0-canary-202406241511-430be2a?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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-25 06:17:11 +00:00
L-Sun
daceed922b
fix(core): incorrect icon of initial reference (#7314)
Closes: [AF-940](https://linear.app/affine-design/issue/AF-940/doc-created-with-%5B-%5B-syntax-are-by-default-in-doc-mode-but-shown-as)
2024-06-25 01:44:49 +00:00
CatsJuice
b38c46649f
feat(core): adjust ai help island style and behavior, add animation (#7310)
- Move right-sidebar activeTab state into `RightSidebarService`
- Remove `styled` usage and adjust the UI
- Fix the issue that ai-button clicking not work when sidebar opened
- Add an animation if AI-Chat panel hasn't been opened.

![CleanShot 2024-06-24 at 18.10.27.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/14c86fbc-ad4c-44bf-93fe-ca3450db908b.gif)
2024-06-24 14:37:38 +00:00
donteatfriedrice
0918730274
fix: text renderer last child margin bottom (#7309) 2024-06-24 09:57:16 +00:00
renovate
d54a7467c8
chore: bump up blocksuite-canary to v0.15.0-canary-202406211230-ebc0dfb (#7305)
[![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-202406210833-74cd878` -> `0.15.0-canary-202406211230-ebc0dfb`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202406211230-ebc0dfb?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-202406211230-ebc0dfb?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-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?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-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406210833-74cd878` -> `0.15.0-canary-202406211230-ebc0dfb`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406210833-74cd878` -> `0.15.0-canary-202406211230-ebc0dfb`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406210833-74cd878` -> `0.15.0-canary-202406211230-ebc0dfb`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406210833-74cd878` -> `0.15.0-canary-202406211230-ebc0dfb`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406210833-74cd878` -> `0.15.0-canary-202406211230-ebc0dfb`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202406210833-74cd878/0.15.0-canary-202406211230-ebc0dfb?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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-24 07:46:47 +00:00
fundon
8d602d4398
fix(core): selected content should not be activated when executing open in chat (#7302)
Closes: [AF-949](https://linear.app/affine-design/issue/AF-949/执行-open-in-chat-时,不应该激活选中内容)
2024-06-21 12:06:22 +00:00
pengx17
2482c3c266
fix(electron): center peek for links in electron (#7301) 2024-06-21 09:27:13 +00:00
EYHN
6865a52172
chore: bump blocksuite (#7300)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7392 @doouding
- https://github.com/toeverything/BlockSuite/pull/7391 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7387 @zzj3720

## Refactor

## Misc
2024-06-21 09:05:46 +00:00
forehalo
7b3673ae82
chore: assign todos (#7297) 2024-06-21 07:54:14 +00:00
pengx17
e085b927f6
feat(core): peek view api enhancements (#7288)
upstream https://github.com/toeverything/blocksuite/pull/7390
fix AF-917
2024-06-21 07:38:42 +00:00
akumatus
f85a321bfa
feat: bump blocksuite (#7298)
## Features
- https://github.com/toeverything/BlockSuite/pull/7390 @pengx17

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7380 @CatsJuice

## Refactor

## Misc
2024-06-21 07:07:58 +00:00
akumatus
1dc254a755 fix: auto focus and select the input when notification modal prompt (#7286)
- Use `autofill` attribute instead of `input.focus()` on ref
- Auto focus and select all content of the input when prompt
2024-06-21 03:01:14 +00:00
CatsJuice
f24c0caaea
feat(core): add ai-usage info in sidebar user avatar menu (#7294) 2024-06-21 02:47:20 +00:00
fundon
92be6b2ff7
fix(core): open ai chat for first time (#7291)
There are two issues here:

1. open right sidebar with chat
2. notify chat-panel of selected content

The second issue will be fixed in a subsequent PR.
2024-06-21 10:32:34 +08:00
renovate
bf0cba31d3
chore: bump up blocksuite-canary to v0.15.0-canary-202406201313-199dab1 (#7192)
[![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-202406191254-48ad2e0` -> `0.15.0-canary-202406201313-199dab1`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202406201313-199dab1?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-202406201313-199dab1?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-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?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-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406191254-48ad2e0` -> `0.15.0-canary-202406201313-199dab1`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406191254-48ad2e0` -> `0.15.0-canary-202406201313-199dab1`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406191254-48ad2e0` -> `0.15.0-canary-202406201313-199dab1`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406191254-48ad2e0` -> `0.15.0-canary-202406201313-199dab1`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202406191254-48ad2e0` -> `0.15.0-canary-202406201313-199dab1`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202406191254-48ad2e0/0.15.0-canary-202406201313-199dab1?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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-21 02:12:20 +00:00
renovate[bot]
95743a3b14
chore: bump up @types/uuid version to v10 (#7293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 09:50:24 +08:00
fundon
dbd678cc31
fix(core): ai chat bugs (#7283)
Closes: [AF-929](https://linear.app/affine-design/issue/AF-929/continue-with-ai-点击后应当是立即激活选区)

* [x] remove icon background on `chat-input`
* [x] activate the selected card immediately
* [x] fix quote when selecting `Start with this doc`
* [x] clear candidate card list when switching doc

https://github.com/toeverything/AFFiNE/assets/27926/706d499e-b738-4bb4-9353-510f73613875
2024-06-20 11:57:36 +00:00
L-Sun
b99e8b1e8a
chore: adjust padding of ask ai panel (#7287)
Related PR: https://github.com/toeverything/blocksuite/pull/7389
2024-06-20 19:20:23 +08:00
regischen
e0c6d23691 feat: ai onboarding (#7279) 2024-06-20 07:48:10 +00:00
L-Sun
1a8bbc6951
fix: ask ai panel not auto flip (#7284)
Close [AF-928](https://linear.app/affine-design/issue/AF-928/ask-ai-%E5%87%BA%E7%8E%B0%E5%9C%A8%E5%BA%95%E9%83%A8%E7%9A%84%E6%97%B6%E5%80%99-menu-%E5%BC%B9%E5%87%BA%E4%BD%8D%E7%BD%AE%E4%B8%8D%E5%AF%B9)

The CSS rule for portal content uses `position: absolute` which causes the portal size to become zero. As a result, the `computePosition` function returns incorrect results.

Before:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/5ae1d556-d818-42d4-a84c-ee5531015182.png)

After:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/a61c47bc-541a-499a-8f20-3b3dd03b4e1d.png)
2024-06-20 07:33:25 +00:00
CatsJuice
1fdfa834a0
feat(core): responsive detail page header (#7263) 2024-06-20 05:47:43 +00:00
EYHN
b4212d54ed
chore(core): delete center peek feature flag (#7281) 2024-06-20 04:24:47 +00:00
fundon
671fa1149d
feat(core): continue with AI (#7253)
Closes: [AFF-1251](https://linear.app/affine-design/issue/AFF-1251/continue-with-ai-的-action-的入口区分-open-with-ai) [BS-515](https://linear.app/affine-design/issue/BS-515/添加白板选区的-continue-with-ai-支持) [AFF-1256](https://linear.app/affine-design/issue/AFF-1256/continue-with-ai-当只有不支持的-block-时,需要特殊处理) [AF-919](https://linear.app/affine-design/issue/AF-919/内容为空时,不需要显示-start-with-this-doc)

* add the selected element to the candidate card list
* select the candidate card to hide the candidate card list and add quote into input
* close quote to show the candidate card list
* show only the three newest candidates
* **`Start with this doc`**: Currently only determines if a document has content after the first load

https://github.com/toeverything/AFFiNE/assets/27926/d19c8ab6-37eb-495f-9c38-e579b2f57000

https://github.com/toeverything/AFFiNE/assets/27926/3ba654c3-6af4-4662-a641-17cfe2ed5ff7
2024-06-20 04:05:11 +00:00