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
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
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
51b109ee53
chore(editor): move legacy doc collection to test workspace ( #9507 )
2025-01-03 09:40:33 +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
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
Saul-Mirone
8b6c81f76d
refactor(editor): reduce dependency to doc collection ( #9492 )
2025-01-03 01:59:25 +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
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
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
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
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
doodlewind
2b47625deb
refactor(editor): render presentation toolbar on demand ( #9442 )
2024-12-31 02:01:35 +00:00
Saul-Mirone
397a48380e
refactor(editor): simplify tsconfig ( #9439 )
2024-12-30 16:15:34 +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
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
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
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
dc92d78895
refactor(editor): remove re-exports ( #9406 )
2024-12-28 06:51: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
Saul-Mirone
cbfe38b189
refactor(editor): add middlewares in shared adapter ( #9395 )
2024-12-27 12:32:44 +00:00
Saul-Mirone
76d9712f21
chore(editor): remove pie menu ( #9394 )
2024-12-27 12:32:42 +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
6da10f9a93
refactor(editor): merge get surface util ( #9371 )
2024-12-27 09:42:13 +00:00
pengx17
6977b0a948
fix(core): optimize at menu config loading 2 ( #9366 )
...
fix AF-2028
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">Recording at 2024-12-27 11.50.54.mp4</video>
2024-12-27 09:26:03 +00:00