Commit Graph

1051 Commits

Author SHA1 Message Date
renovate
36dcbc1ef7
chore: bump up @testing-library/react version to v16 (#7133)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>testing-library/react-testing-library (@&#8203;testing-library/react)</summary>

### [`v16.0.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v16.0.0)

[Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.7...v16.0.0)

##### Features

-   Move `@testing-library/dom` and `@types/react-dom`  to peer dependencies ([#&#8203;1305](https://togithub.com/testing-library/react-testing-library/issues/1305)) ([a4744fa](a4744fa904))

##### BREAKING CHANGES

-   `@testing-library/dom` was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of `@testing-library/dom` installed that frequently caused bugs when used with `@testing-library/user-event`. We will also be able to allow new versions of `@testing-library/dom` being used without a SemVer major release of `@testing-library/react` by just widening the peer dependency.
    `@types/react-dom` needs to be installed if you're typechecking files using `@testing-library/react`.

Co-authored-by: Matan Borenkraout <matanbobi@gmail.com>

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-09 12:53:41 +00:00
EYHN
ef01b6255e
fix(core): template image assets missing (#7171)
fix TOV-910
2024-06-08 17:28:24 +00:00
renovate
6147cd30b5
chore: bump up @blocksuite/icons version to v2.1.54 (#7102)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

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

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

</details>

---

### Configuration

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

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

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

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

---

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

---

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

This PR contains the following updates:

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

---

### Configuration

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

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

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

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

---

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

---

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

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

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

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

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

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

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

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

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

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

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

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

## Refactor

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

Also added prompt implementation to fix type change issue

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

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

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

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

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

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

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

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

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

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

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

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

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