L-Sun
|
f6279ee47f
|
chore(core): remove outline viewer feature flag (#7770)
|
2024-08-07 03:46:15 +00:00 |
|
L-Sun
|
bd31c8388c
|
fix(core): update outline viewer style (#7641)
## What changes
- Update responsive style and fix some bug of outline viewer (https://github.com/toeverything/blocksuite/pull/7759)
- Change left and right padding of full-width editor from `15px` to `72px`
- Hide outline viewer when side outline panel is opened ([BS-987](https://linear.app/affine-design/issue/BS-987/逻辑-bug-toc-入口和-toc-侧边栏共存))
- Add entries of outline panel and frame panel in more menu of detail page header ( [BS-996](https://linear.app/affine-design/issue/BS-996/page-mode-下的-page-option-缺少-view-table-of-contents-的入口) , [BS-1006](https://linear.app/affine-design/issue/BS-1006/edgeless-mode-的-page-options-里缺少-view-all-frames))
- Add outline viewer to dock peek preview ( [BS-995](https://linear.app/affine-design/issue/BS-995/center-peek-里缺少-quick-toc-的入口) )
- Add more e2e tests for outline viewer
|
2024-08-05 03:57:48 +00:00 |
|
L-Sun
|
545bd032a7
|
fix(core): app height exceeds viewport of mobile (#7706)
TL;DR
use `100dvh` instead of `100vh`.
https://stackoverflow.com/a/72245072
PS: The `100dvh` is tested in Firefox in macOS
## Before
iPad
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/c81548ed-7ca0-4f88-af7c-cce498958a28.png" width="250">
Phone
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/4559554d-6f3f-445f-82c1-39a0dc2eb664.png" width="250">
## After
iPad
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/51fe97f9-f488-432c-9866-20524efd08de.png" width="250">
Phone
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/a05cce56-38a5-47df-a0c6-f757d94ef6b8.png" width="250">
|
2024-08-05 03:42:15 +00:00 |
|
L-Sun
|
4719ffadc6
|
chore: bump blocksuite (#7696)
## Features
- https://github.com/toeverything/BlockSuite/pull/7807 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7786 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7797 @donteatfriedrice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7814 @fundon
- https://github.com/toeverything/BlockSuite/pull/7812 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7792 @fundon
- https://github.com/toeverything/BlockSuite/pull/7788 @fundon
- https://github.com/toeverything/BlockSuite/pull/7805 @doouding
- https://github.com/toeverything/BlockSuite/pull/7810 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7802 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7804 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7799 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7753 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7798 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7796 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7793 @doouding
- https://github.com/toeverything/BlockSuite/pull/7795 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7791 @fundon
- https://github.com/toeverything/BlockSuite/pull/7747 @doouding
- https://github.com/toeverything/BlockSuite/pull/7785 @fundon
- https://github.com/toeverything/BlockSuite/pull/7784 @akumatus
## Misc
- https://github.com/toeverything/BlockSuite/pull/7800 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7790 @fourdim
|
2024-08-02 01:29:10 +00:00 |
|
L-Sun
|
33fc00f8c7
|
chore(core): set read-only mode on mobile device (#7651)
Close [BS-795](https://linear.app/affine-design/issue/BS-795/affine-mobile-设置只读模式)
- Set read-only mode on mobile device
- Add mobile only support read-only warning toast
- remove `user-select: none` so that user can select text in read-only mode
|
2024-08-01 05:22:50 +00:00 |
|
L-Sun
|
2093685385
|
chore: bump blocksuite (#7680)
|
2024-07-31 21:57:51 +08:00 |
|
L-Sun
|
622715d2f3
|
feat(core): outline viewer (quick toc) (#7614)
Close: [BS-949](https://linear.app/affine-design/issue/BS-949/outline-viewer-加入到affine)
Details are in this PR: https://github.com/toeverything/blocksuite/pull/7704
|
2024-07-29 10:19:57 +00:00 |
|
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 |
|