L-Sun
|
662a3d4b76
|
refactor(core): use lit customelement decorator (#7560)
Close: [BS-585](https://linear.app/affine-design/issue/BS-585/更新affine侧lit自定义yuan素的写法)
### What changes:
- using `@customElement(xxx)` instead of `window.customElements.define(xxx)`
- remove `registerOutlinePanelComponents` and `registerFramePanelComponents`, Related PR https://github.com/toeverything/blocksuite/pull/7700
|
2024-07-25 07:45:41 +00:00 |
|
L-Sun
|
9160469a18
|
fix(core): can not preview image in shared page (#7466)
FIx BS-798
|
2024-07-18 06:33:52 +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 |
|
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:

After:

|
2024-06-26 08:34:23 +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 |
|
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 |
|
L-Sun
|
daceed922b
|
fix(core): incorrect icon of initial reference (#7314)
Closes: [AF-940](https://linear.app/affine-design/issue/AF-940/doc-created-with-%5B-%5B-syntax-are-by-default-in-doc-mode-but-shown-as)
|
2024-06-25 01:44:49 +00:00 |
|
L-Sun
|
b99e8b1e8a
|
chore: adjust padding of ask ai panel (#7287)
Related PR: https://github.com/toeverything/blocksuite/pull/7389
|
2024-06-20 19:20:23 +08:00 |
|
L-Sun
|
1a8bbc6951
|
fix: ask ai panel not auto flip (#7284)
Close [AF-928](https://linear.app/affine-design/issue/AF-928/ask-ai-%E5%87%BA%E7%8E%B0%E5%9C%A8%E5%BA%95%E9%83%A8%E7%9A%84%E6%97%B6%E5%80%99-menu-%E5%BC%B9%E5%87%BA%E4%BD%8D%E7%BD%AE%E4%B8%8D%E5%AF%B9)
The CSS rule for portal content uses `position: absolute` which causes the portal size to become zero. As a result, the `computePosition` function returns incorrect results.
Before:

After:

|
2024-06-20 07:33:25 +00:00 |
|
L-Sun
|
0d711667a8
|
chore: adjust order of slash menu items (#7278)
Before -> After
<p float="left">
<img src="https://github.com/toeverything/AFFiNE/assets/20479050/b3937947-7c7c-4463-ae05-87b8f2694989" width="45%" />
<img src="https://github.com/toeverything/AFFiNE/assets/20479050/e886c20d-e436-4190-aebf-a6b7d711b61e" width="45%" />
</p>
|
2024-06-20 02:33:18 +00:00 |
|
L-Sun
|
84ad23625f
|
chore: remove tree shaking (#7271)
remove `sideEffects` field from `frontend/core/packages.json`
|
2024-06-19 07:57:05 +00:00 |
|
L-Sun
|
fa1e7c6be0
|
fix: cycle import (#7264)
Sometimes the GitHub Action (Lint) will fail.

|
2024-06-19 05:19:17 +00:00 |
|
L-Sun
|
d84eea85b6
|
fix: ai slide render initialize error (#7261)
Need add `collection.meta.initialize()` in AI slide render.
Similar codes:
https://github.com/toeverything/AFFiNE/blob/b3ec3a2b3efc0a88770c855e25e7f21ef8142d9c/packages/frontend/core/src/blocksuite/presets/ai/utils/markdown-utils.ts#L177-L195
|
2024-06-19 04:26:57 +00:00 |
|
L-Sun
|
501fa0bb91
|
fix(core): ai lit element import (#7257)
Fix ai lit component import error.
https://github.com/toeverything/AFFiNE/blob/f57a6658190ee55105b08905344d83ec272b6eb3/packages/frontend/core/package.json#L13-L16
|
2024-06-19 04:26:49 +00:00 |
|
L-Sun
|
09201d42a0
|
chore: bump up @blocksuite/icons version (#7233)
|
2024-06-18 17:07:11 +08:00 |
|
L-Sun
|
b3ec3a2b3e
|
refactor(core): migrate ai preset to AFFiNE (#7219)
## TL;DR
Move `@blocksuite/presets/ai` to AFFiNE. After this PR is merged, you can use AI features from `@affine/core/blocksuite/presets/ai`.
|
2024-06-18 07:31:06 +00:00 |
|
L-Sun
|
9b89c9ed38
|
chore: bump up blocksuite version (#7243)
## Features
- https://github.com/toeverything/BlockSuite/pull/7330 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7348 @zzj3720
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7338 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7353 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7351 @lawvs
- https://github.com/toeverything/BlockSuite/pull/7357 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7355 @akumatus
## Misc
- https://github.com/toeverything/BlockSuite/pull/7352 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7349 @pengx17
|
2024-06-18 04:29:55 +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 |
|
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 |
|
L-Sun
|
7d131ee9fc
|
fix(core): viewport element not found in share page (#6453)
|
2024-04-10 15:26:22 +08:00 |
|
L-Sun
|
46cc0810e9
|
test(server): incorrect prisma overriding (#5857)
|
2024-02-22 11:55:37 +08:00 |
|