Commit Graph

1030 Commits

Author SHA1 Message Date
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