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
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
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
6c33eaace0
refactor(editor): extract frame title widget ( #9458 )
2024-12-31 10:12:03 +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
1e34ec8487
refactor(editor): extract data view block ( #9452 )
2024-12-31 06:15:35 +00:00
Saul-Mirone
0f03c3fc5e
fix(editor): missing resource files in exported snapshot zip ( #9450 )
...
Closes: [BS-2280](https://linear.app/affine-design/issue/BS-2280/导出-zip-snapshot-丢失-blob )
2024-12-31 05:13:44 +00:00
Saul-Mirone
09427e846e
refactor(editor): extract markdown adapter ( #9443 )
2024-12-31 04:13:02 +00:00
Saul-Mirone
397a48380e
refactor(editor): simplify tsconfig ( #9439 )
2024-12-30 16:15:34 +00:00
Saul-Mirone
8d269c838d
fix(editor): touch event browser copability ( #9437 )
...
Fix: https://toeverything.sentry.io/issues/6180659644/events/82bf2e7bb8fc4ad69678261522b7fdf3/
2024-12-30 14:59:10 +00:00
Saul-Mirone
ade317d26b
fix(editor): caret can be null in firefox ( #9438 )
...
Fix: https://toeverything.sentry.io/issues/6185588184/events/b205b6caf0224b51882c1d10bb3dd9bc/
2024-12-30 14:44:11 +00:00
Saul-Mirone
a9f890017e
fix(editor): missing dependencies ( #9436 )
2024-12-30 14:10:37 +00:00
Saul-Mirone
c28f918527
refactor(editor): extract database block ( #9435 )
...
Part of: [BS-2269](https://linear.app/affine-design/issue/BS-2269/%E8%BF%81%E7%A7%BB-database-block-%E5%88%B0-affine-%E6%96%87%E4%BB%B6%E5%A4%B9%E4%B8%8B%E5%B9%B6%E5%BC%80%E5%90%AF-nouncheckedindexedaccess )
2024-12-30 12:59:57 +00:00
Saul-Mirone
e526106f45
refactor(editor): extract surface ref block ( #9433 )
2024-12-30 12:09:26 +00:00
fundon
580e3eb13c
chore(editor): use colors from default theme instead ( #9425 )
2024-12-30 09:41:00 +00:00
Saul-Mirone
b66a64bc9a
refactor(editor): use spec builder ( #9424 )
2024-12-30 08:42:58 +00:00
Flrande
4fee0e2eb3
fix(editor): should delete collapsed siblings when delete heading ( #9376 )
2024-12-30 08:12:04 +00:00
pengx17
ea6fed127b
fix(editor): tooltip styles when having span tags ( #9422 )
...
fix AF-2040
2024-12-30 06:54:03 +00:00
Saul-Mirone
e3b6841944
refactor(editor): reorg block specs ( #9421 )
2024-12-30 05:59:25 +00:00
fundon
b9f2650369
feat(editor): store real color values in edgeless ( #9254 )
...
### What's Changed!
* adds theme type: `ThemeSchema`
* adds default theme: `DefaultTheme`
* stores real color values
2024-12-30 03:36:35 +00:00
fundon
a5641ae608
feat(editor): update edgeless color palette ( #9243 )
...
Closes: [BS-1475](https://linear.app/affine-design/issue/BS-1475/颜色主题更新 ) [BS-1803](https://linear.app/affine-design/issue/BS-1803/fill-color色板影响的yuan素 ) [BS-1804](https://linear.app/affine-design/issue/BS-1804/border-color色板影响的yuan素 ) [BS-1815](https://linear.app/affine-design/issue/BS-1815/连线文字配色略瞎 )
### What's Changed
* refactor `EdgelessLineWidthPanel` component, the previous width is fixed and cannot be used in the new design
* refactor `EdgelessColorPanel` and `EdgelessColorButton` components, make them simple and reusable
* delete redundant `EdgelessOneRowColorPanel` component
* unity and update color palette, if the previously set color is not in the latest color palette, the custom color button will be selected
2024-12-30 03:36:34 +00:00
Saul-Mirone
6b1865ff92
fix(editor): prevent errors from isStrictUrl ( #9419 )
...
Closes: [BS-2277](https://linear.app/affine-design/issue/BS-2277/typeerror-failed-to-construct-url-invalid-url )
2024-12-30 02:45:59 +00:00
Saul-Mirone
cec4a4b2c0
refactor(editor): extract drag handle widget ( #9415 )
2024-12-29 06:51:48 +00:00
Saul-Mirone
b96a03b283
refactor(editor): remote selection widget ( #9408 )
2024-12-28 08:47:09 +00:00
Saul-Mirone
1e4b1807be
refactor(editor): query methods in edgeless api ( #9407 )
2024-12-28 07:48:41 +00:00
Saul-Mirone
901965b61e
refactor(editor): remove components in blocks/_common ( #9401 )
2024-12-28 01:10:23 +00:00
forehalo
12542f51f9
chore: bump base version to 0.19.0
2024-12-28 00:27:50 +08:00
Saul-Mirone
6ebefbbf2b
refactor(editor): extract code block ( #9397 )
2024-12-27 14:45:11 +00:00
doodlewind
5e1d936c2e
fix(editor): sentry-b0cfc9953ff64c53b9994697171bb91a ( #9396 )
2024-12-27 14:02:00 +00:00
Saul-Mirone
cbfe38b189
refactor(editor): add middlewares in shared adapter ( #9395 )
2024-12-27 12:32:44 +00:00
Saul-Mirone
003ce4c9e9
refactor(editor): extract divider block ( #9393 )
2024-12-27 12:12:17 +00:00
Saul-Mirone
80dc0e8271
refactor(editor): extract edgeless text ( #9375 )
2024-12-27 10:48:12 +00:00
Saul-Mirone
5c4058cd73
fix(editor): dnd lag ( #9378 )
2024-12-27 10:34:00 +00:00
Saul-Mirone
6da10f9a93
refactor(editor): merge get surface util ( #9371 )
2024-12-27 09:42:13 +00:00
Saul-Mirone
1fbb462389
fix(editor): move insert link command to bookmark to remove ts ignore ( #9370 )
2024-12-27 09:09:29 +00:00
donteatfriedrice
fee86304ae
refactor(editor): extract adapters to shared ( #9344 )
...
Extract AttachmentAdapter, ImageAdapter, NotionTextAdapter to shared.
2024-12-27 08:52:03 +00:00
donteatfriedrice
4a3caaf766
refactor(editor): extract notion html adapter to shared ( #9341 )
2024-12-27 08:00:19 +00:00
fundon
6fcdd015aa
fix(component): lit portal not re-rendering in inline links case ( #9321 )
...
* uses `portal.key` in templates
* updates `portal.id` for use in queries
2024-12-27 15:43:13 +08:00
donteatfriedrice
835e7c434e
fix(editor): throttle render linked doc card when blockUpdated ( #9361 )
...
[BS-2223](https://linear.app/affine-design/issue/BS-2223/性能问题:linked-doc-card-view加载西藏的文档,app-直接挂了 )
2024-12-27 07:24:56 +00:00
Saul-Mirone
2b27d62b0e
refactor(editor): cleanup ts-expect-error ( #9369 )
2024-12-27 05:14:23 +00:00
Saul-Mirone
3ae3ae98c8
refactor(editor): extract edgeless legacy slots ( #9363 )
2024-12-27 04:22:52 +00:00
zzj3720
188cabc7d7
refactor(editor): enable the noUncheckedIndexedAccess rule for the data-view package ( #9351 )
...
close: BS-2230
2024-12-26 14:00:11 +00:00