Commit Graph

6274 Commits

Author SHA1 Message Date
regischen
e877f20955 fix: add onboarding entry (#7375)
Don't know why it's missed..
https://github.com/toeverything/AFFiNE/pull/7109
2024-06-28 07:03:33 +00:00
regischen
f4f84d2793
fix: click continue with ai not work (#7374) 2024-06-28 14:43:45 +08:00
pengx17
34b6a3bf1f
fix: escape key handling compatibility issue with blocksuite (#7365)
fix PD-1347

See
https://github.com/radix-ui/primitives/blob/main/packages/react/use-escape-keydown/src/useEscapeKeydown.tsx#L19-L20

This behavior in radix-ui is not possible to be prevented since escape keydown is bound to document with capturing, unless dialogs in blocksuite is also implemented with radix-ui.
2024-06-28 06:21:36 +00:00
EYHN
eca484dc28
fix(core): add loading for insert ai template (#7369) 2024-06-28 14:19:59 +08:00
Fangdun Tsai
855d555480
fix(core): should return a cleanup function (#7371) 2024-06-28 14:18:24 +08:00
forehalo
d51fd8b54b
fix(core): correct image action icon (#7370)
fix AF-1002

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/5c0ymolP9B7QStCsS1RP/b2e7afb1-e6bf-4589-8c60-32bede366350.png)
2024-06-28 05:24:06 +00:00
Saul-Mirone
f020cd353e
chore: bump bs (#7368)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7444 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7445 @doouding
- https://github.com/toeverything/BlockSuite/pull/7443 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7440 @doouding

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

## Misc
2024-06-28 04:10:46 +00:00
renovate
6f217f61b6
chore: bump up oxlint version to v0.5.0 (#7357)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs) ([source](https://togithub.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.4.4` -> `0.5.0`](https://renovatebot.com/diffs/npm/oxlint/0.4.4/0.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.4.4/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.4.4/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>oxc-project/oxc (oxlint)</summary>

### [`v0.5.0`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.5.0): oxlint v0.5.0

[Compare Source](2173f23d9c...1d74db7774)

##### \[0.5.0] - 2024-06-27

##### Features

-   [`3ae2628`](https://togithub.com/oxc-project/oxc/commit/3ae2628) linter: Change `no-import-assign` to correctness ([#&#8203;3928](https://togithub.com/oxc-project/oxc/issues/3928)) (Boshen)
-   [`a89d501`](https://togithub.com/oxc-project/oxc/commit/a89d501) linter: [@&#8203;typescript-eslint/no-non-null-asserted-nullish-coalescing](https://togithub.com/typescript-eslint/no-non-null-asserted-nullish-coalescing) ([#&#8203;3850](https://togithub.com/oxc-project/oxc/issues/3850)) (kaykdm)
-   [`fc48cb4`](https://togithub.com/oxc-project/oxc/commit/fc48cb4) linter: eslint-plugin-jest/prefer-jest-mocked ([#&#8203;3865](https://togithub.com/oxc-project/oxc/issues/3865)) (cinchen)
-   [`328445b`](https://togithub.com/oxc-project/oxc/commit/328445b) linter: vitest/no-disabled-tests ([#&#8203;3717](https://togithub.com/oxc-project/oxc/issues/3717)) (mysteryven)
-   [`8c61f9c`](https://togithub.com/oxc-project/oxc/commit/8c61f9c) linter: [@&#8203;typescript-eslint/no-non-null-assertion](https://togithub.com/typescript-eslint/no-non-null-assertion) ([#&#8203;3825](https://togithub.com/oxc-project/oxc/issues/3825)) (kaykdm)
-   [`9493fbe`](https://togithub.com/oxc-project/oxc/commit/9493fbe) linter: oxc/no-optional-chaining ([#&#8203;3700](https://togithub.com/oxc-project/oxc/issues/3700)) (mysteryven)
-   [`139adfe`](https://togithub.com/oxc-project/oxc/commit/139adfe) linter: @&#8203;typescript-eslint/no-import-type-side_effects ([#&#8203;3699](https://togithub.com/oxc-project/oxc/issues/3699)) (mysteryven)
-   [`5f84500`](https://togithub.com/oxc-project/oxc/commit/5f84500) linter: react/prefer-es6-class ([#&#8203;3812](https://togithub.com/oxc-project/oxc/issues/3812)) (Jelle van der Waa)
-   [`fafe67c`](https://togithub.com/oxc-project/oxc/commit/fafe67c) linter: max-dependencies ([#&#8203;3814](https://togithub.com/oxc-project/oxc/issues/3814)) (Jelle van der Waa)

##### Bug Fixes

-   [`5902331`](https://togithub.com/oxc-project/oxc/commit/5902331) cli: properly report configuration error ([#&#8203;3889](https://togithub.com/oxc-project/oxc/issues/3889)) (Luca Bruno)

##### Refactor

-   [`7302429`](https://togithub.com/oxc-project/oxc/commit/7302429) linter/prefer_number_properties: Remove the unused `IdentifierName` check ([#&#8203;3822](https://togithub.com/oxc-project/oxc/issues/3822)) (Boshen)

</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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-27 13:04:51 +00:00
pengx17
4f07a2cc2a
fix(core): debounce doc update time update (#7363) 2024-06-27 10:37:43 +00:00
forehalo
ae230354c6
chore: bump base version to 0.15.0 2024-06-27 18:17:36 +08:00
liuyi
08fa356a02
fix(core): not found info in workspace page is not in center (#7362) 2024-06-27 10:15:21 +00:00
Peng Xiao
c8f418f9c5
fix: use sgtpooki/file-type for resolving image type (#7326) 2024-06-27 10:08:08 +00:00
EYHN
c6c4ed9711
fix(infra): recover deleted item in orm (#7359) 2024-06-27 17:58:47 +08:00
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
EYHN
33bb2b5fcd
feat(infra): use yjs mergeupdate for performance (#7343) 2024-06-27 08:14:17 +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
EYHN
e892d55134
test: add test for undo empty page (#7348) 2024-06-27 06:18:16 +00:00
CatsJuice
827c952e9f
refactor(component): new Radio component (#6910)
# New `RadioGroup` component to replace `RadioButton`

![CleanShot 2024-06-25 at 17.18.02.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/77241b07-a2dd-4d27-a322-3056f483f75a.gif)

### what's new
- [x] Change the API
- [x] More customizable options
- [x] Indicator animation
- [x] Dynamic width support(responsive)
- [x] Storybook
- [x] JSDoc
2024-06-27 06:04:19 +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
a7ea74923a
fix(templates): use url safe base64 in templates (#7354) 2024-06-27 03:44:14 +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
darkskygit
aeb666f95e
feat: integrate i18n error for copilot (#7311)
fix PD-1333 CLOUD-42
2024-06-26 13:36:23 +00:00
JimmFly
6b47c6beda
fix(core): unexpected text overflow style in dialog (#7345)
close AF-967
before:
<img width="502" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/839096b2-62b1-4ca3-b410-99c478eeac53">

after:
<img width="496" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/9f02c305-e122-4c6c-a3c6-32647fa9e4c5">
2024-06-26 13:21:28 +00:00
L-Sun
3bb8253e13
fix(core): clear op history when create a new doc (#7347)
Closes: [AF-969](https://linear.app/affine-design/issue/AF-969/%E5%9C%A8%E6%96%B0%E5%BB%BA%E7%9A%84%E6%96%87%E6%A1%A3undo%E6%8A%A5%E9%94%99-%E4%B8%94%E6%97%A0%E6%B3%95%E9%87%8D%E6%96%B0%E6%89%93%E5%BC%80%E6%96%87%E6%A1%A3)

## Bug Description
When creating a new document, the user can undo directly inside the document, which will make the blocks of document empty and unable to render after opening this document again.

## What changed
Clear operation history of doc initialization.
2024-06-26 12:58:49 +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
forehalo
bd9cb41f8a
fix(server): websocket error backward compatibility (#7346) 2024-06-26 12:22:33 +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
renovate
10bc0d1e29
chore: bump up stripe version to v16 (#7318)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [stripe](https://togithub.com/stripe/stripe-node) | [`^15.0.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/stripe/15.12.0/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/stripe/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/stripe/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/stripe/15.12.0/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/stripe/15.12.0/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>stripe/stripe-node (stripe)</summary>

### [`v16.0.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1600---2024-06-24)

[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.12.0...v16.0.0)

-   [#&#8203;2113](https://togithub.com/stripe/stripe-node/pull/2113)

    This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.

##### ⚠️ Breaking changes

    * Remove the unused resource `PlatformTaxFee`
    * Rename `volume_decimal` to `quantity_decimal` on
      *  `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel`,
      *  `Issuing.Transaction.purchase_details.fuel`,
      *  `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel`, and
      *  `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel`
    * `Capabilities.Requirements.disabled_reason` and `Capabilities.Requirements.disabled_reason` are now enums with the below values
      * `other`
      * `paused.inactivity`
      * `pending.onboarding`
      * `pending.review`
      * `platform_disabled`
      * `platform_paused`
      * `rejected.inactivity`
      * `rejected.other`
      * `rejected.unsupported_business`
      * `requirements.fields_needed`

##### Additions

    * Add support for new values `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, and `pound` on enums `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit`
    * Add support for new values `card_canceled`, `card_expired`, `cardholder_blocked`, `insecure_authorization_method`, and `pin_blocked` on enum `Issuing.Authorization.request_history[].reason`

-   Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
-   Add support for new value `ch_uid` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
-   Add support for new value `ch_uid` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
-   Add support for `fleet` on `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details`, `Issuing.AuthorizationCreateParams.testHelpers`, `Issuing.Authorization`, `Issuing.Transaction.purchase_details`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details`
-   Add support for `fuel` on `Issuing.AuthorizationCreateParams.testHelpers` and `Issuing.Authorization`
-   Add support for `industry_product_code` and `quantity_decimal` on `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel`, `Issuing.Transaction.purchase_details.fuel`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel`
-   Add support for new value `2024-06-20` on enum `WebhookEndpointCreateParams.api_version`
-   [#&#8203;2118](https://togithub.com/stripe/stripe-node/pull/2118) Use worker module in Bun

</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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-26 07:03:31 +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
darkskygit
cffaf815e1
feat: add more workflow executor (#7231) 2024-06-25 10:54:16 +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
darkskygit
fe89ecb1d3
feat: workflow executor (#7159)
fix AFF-1221 AFF-1232
2024-06-25 08:40:47 +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