L-Sun
440239809c
refactor(editor): refactor page note empty checker ( #9570 )
...
Close [BS-2320](https://linear.app/affine-design/issue/BS-2320/内容为空的状态判断 )
2025-01-07 11:24:40 +00:00
Saul-Mirone
5e51018c03
fix(editor): remove ts ignore ( #9567 )
2025-01-07 08:48:05 +00:00
Saul-Mirone
26fb9d148c
chore: remove awareness sync since it's not used ( #9563 )
2025-01-07 06:12:08 +00:00
Saul-Mirone
0d2eb64817
chore: move page not found error out of constants ( #9547 )
2025-01-07 05:57:38 +00:00
L-Sun
6e0468c70a
chore(editor): revert padding and layout of code block toolbar ( #9562 )
...
Close [BS-1767](https://linear.app/affine-design/issue/BS-1767/code-block调整边距 )
This PR reverts padding and layout of code block toolbar.

2025-01-07 04:53:04 +00:00
L-Sun
ded17abf7e
fix(editor): add childElementIds to ai generated frame ( #9537 )
...
Close [BS-1354](https://linear.app/affine-design/issue/BS-1354/更新-ai-slide-template-到新的-frame )
This PR add `childElementIds` to frame block in ai presentation templates
2025-01-07 04:19:09 +00:00
donteatfriedrice
52f2e8d5d5
refactor(editor): surface markdown adapter extensionalize ( #9560 )
...
[BS-2212](https://linear.app/affine-design/issue/BS-2212/adapter-extension化修复 )
2025-01-07 03:14:08 +00:00
donteatfriedrice
69e9aa087e
refactor(editor): extract mix-text adapter to shared ( #9559 )
2025-01-07 03:14:07 +00:00
fundon
69e73af2a8
refactor(editor): add native clipboard extension ( #9502 )
...
Closes: [BS-2239](https://linear.app/affine-design/issue/BS-2239/不应该通过window注入affine的api )
2025-01-06 15:36:43 +00:00
Saul-Mirone
f778d1a28a
refactor(editor): move extension to store ( #9552 )
2025-01-06 15:15:14 +00:00
EYHN
46c8c4a408
feat(nbstore): improve nbstore ( #9512 )
2025-01-06 09:38:04 +00:00
Saul-Mirone
36d027ae4b
fix(editor): remote selection refresh rate ( #9543 )
...
Closes: [BS-2307](https://linear.app/affine-design/issue/BS-2307/%E7%90%86%E8%AE%BA%E4%B8%8A%E5%85%89%E6%A0%87%E5%BA%94%E8%AF%A5%E4%B8%8D%E6%B6%88%E5%A4%B1%EF%BC%8C%E4%B8%80%E7%9B%B4%E6%98%BE%E7%A4%BA )
2025-01-06 09:09:00 +00:00
Saul-Mirone
fc863e484c
refactor(editor): remove selection global types ( #9532 )
...
Closes: [BS-2217](https://linear.app/affine-design/issue/BS-2217/remove-global-types-in-selection )
2025-01-06 03:45:11 +00:00
CatsJuice
09937a8e4d
chore: bump icons with new design source ( #9529 )
2025-01-06 03:10:03 +00:00
Saul-Mirone
c22804766d
chore(editor): remove common utils in surface block ( #9527 )
2025-01-06 02:41:39 +00:00
Saul-Mirone
3d168ba2d2
refactor(editor): reorg code structure of store package ( #9525 )
2025-01-05 12:49:02 +00:00
Saul-Mirone
1180e9bc15
refactor(editor): move workspace meta to affine ( #9524 )
2025-01-05 06:49:31 +00:00
Saul-Mirone
be0de6dc21
refactor(editor): remove legacy blocksuite doc ( #9521 )
2025-01-05 01:25:59 +00:00
Saul-Mirone
c773982ced
refactor(editor): rename store api ( #9518 )
2025-01-04 12:51:56 +00:00
Saul-Mirone
dcf4993265
refactor(core): move block collection to affine and implement as doc ( #9514 )
2025-01-04 06:28:55 +00:00
Saul-Mirone
4457cb7266
refactor(editor): rename doc to blocks ( #9510 )
2025-01-03 12:49:33 +00:00
Flrande
2074bda8ff
fix(editor): at menu position in split view ( #9500 )
2025-01-03 12:20:31 +00:00
Saul-Mirone
b17dac2201
fix(editor): block selection error when unloaded ( #9511 )
...
Closes: [BS-2305](https://linear.app/affine-design/issue/BS-2305/typeerror-thisblock-is-null )
2025-01-03 10:09:02 +00:00
Saul-Mirone
ee5f13cd03
fix(editor): surface ref find element error ( #9508 )
2025-01-03 09:55:00 +00:00
Saul-Mirone
51b109ee53
chore(editor): move legacy doc collection to test workspace ( #9507 )
2025-01-03 09:40:33 +00:00
Saul-Mirone
cfd64f1fa5
refactor(core): move workspace implementation to affine ( #9504 )
2025-01-03 08:13:57 +00:00
Saul-Mirone
897c7d4284
refactor(editor): should not rely on doc collection type ( #9501 )
2025-01-03 06:30:27 +00:00
doouding
cb5d7eaabc
feat: add scroll wheel zoom setting ( #9476 )
...
### Changed
Add `scroll wheel to zoom` setting option, when the option enables, user can zoom in and out with scroll wheel without pressing the cmd/ctrl key.
2025-01-03 06:09:10 +00:00
Saul-Mirone
0699205721
chore(editor): move helper to playground ( #9498 )
2025-01-03 04:23:59 +00:00
doouding
a4e94ab72f
feat: add shortcut of zooming to selection ( #9447 )
...
### Changed
- change edgeless shortcut `cmd + 0`, `cmd + 1` to `alt + 0`, `alt + 1`
- add new shortcut `alt + 2` to zoom to currently selected elements
2025-01-03 03:57:05 +00:00
Saul-Mirone
30a181da38
refactor(editor): move mini mindmap to ai module ( #9497 )
2025-01-03 03:34:56 +00:00
doodlewind
cbc84ff672
fix(editor): blur in edgeless content zooming ( #9496 )
...
Fix [BS-2294](https://linear.app/affine-design/issue/BS-2294/edgeless-%E7%BC%A9%E6%94%BE%E5%AD%97%E5%8F%B7%E6%A8%A1%E7%B3%8A )
2025-01-03 02:36:57 +00:00
Saul-Mirone
8b6c81f76d
refactor(editor): reduce dependency to doc collection ( #9492 )
2025-01-03 01:59:25 +00:00
Saul-Mirone
53f7480cb8
refactor(editor): merge docCreated and docAdded slot ( #9489 )
2025-01-02 11:47:14 +00:00
Saul-Mirone
bae0cc349d
chore(editor): remove @types/dompurify dependency ( #9490 )
2025-01-02 11:33:19 +00:00
Saul-Mirone
edb5e1d87a
refactor(editor): job should not rely on doc collection directly ( #9488 )
2025-01-02 10:50:15 +00:00
Flrande
72e343c379
fix(editor): replace checkVisibility ( #9481 )
2025-01-02 08:25:48 +00:00
Saul-Mirone
ad422d2f05
refactor(editor): move crud to doc ( #9479 )
2025-01-02 07:27:08 +00:00
Saul-Mirone
be387a6f33
refactor(editor): set readonly ( #9475 )
2025-01-02 04:02:15 +00:00
Saul-Mirone
4be031b311
chore(editor): disable legacy validation ( #9473 )
2025-01-01 13:45:37 +00:00
Saul-Mirone
4b21dac4f8
chore: remove unused methods on slot ( #9472 )
2025-01-01 12:21:41 +00:00
Oleg
ade764b188
fix(editor): too many digits after decimal point in table calculations ( #9471 )
2025-01-01 18:19:59 +08:00
fundon
d97c4b5632
fix(editor): wrong style of mindmap in dark mode ( #9462 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/87aa060a-12c3-46dc-85fd-28980ba5b2bd.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/87aa060a-12c3-46dc-85fd-28980ba5b2bd.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/87aa060a-12c3-46dc-85fd-28980ba5b2bd.mov ">Screen Recording 2024-12-31 at 18.05.36.mov</video>
2024-12-31 11:54:13 +00:00
Saul-Mirone
36c1b103df
test(editor): remove jsx snapshot ( #9463 )
2024-12-31 10:27:12 +00:00
Saul-Mirone
6c33eaace0
refactor(editor): extract frame title widget ( #9458 )
2024-12-31 10:12:03 +00:00
L-Sun
b51de2ac4c
fix(editor): add index checking to selected elements array ( #9453 )
...
Close https://toeverything.sentry.io/issues/6187666983/?alert_rule_id=15031714&alert_type=issue¬ification_uuid=fe3f4b9d-1e86-420e-a715-c3ca0fa932e4&project=4506307500179456&referrer=slack
2024-12-31 08:05:13 +00:00
Saul-Mirone
597b631918
refactor(editor): extract color picker component ( #9456 )
2024-12-31 07:23:37 +00:00
Fangdun Tsai
83915c2e90
fix(editor): white-space should be set to normal in tooltip ( #9454 )
2024-12-31 15:03:58 +08:00
Saul-Mirone
9dc1b5e25b
refactor(editor): remove duplicated method ( #9451 )
2024-12-31 06:32:12 +00:00
Saul-Mirone
1e34ec8487
refactor(editor): extract data view block ( #9452 )
2024-12-31 06:15:35 +00:00