Saul-Mirone
6feb4def2f
fix(editor): exisiting slice import should be move instead of add ( #9616 )
...
Closes: [BS-2339](https://linear.app/affine-design/issue/BS-2339/%E6%8B%96%E6%8B%BD%E9%87%8A%E6%94%BE%E5%90%8E%E7%9A%84%E4%BD%8D%E7%BD%AE%E4%B8%8D%E5%AF%B9 )
2025-01-09 12:14:54 +00:00
Saul-Mirone
126ab18967
feat(editor): selection as store extension ( #9605 )
2025-01-09 11:49:23 +00:00
zzj3720
b23e980250
fix(editor): prototype-polluting assignment ( #9606 )
2025-01-09 08:20:26 +00:00
pengx17
f78857bb11
feat(editor): add more open doc options to editor toolbar ( #9588 )
...
fix AF-2036, AF-2092
2025-01-09 08:04:21 +00:00
doodlewind
890a962196
chore(editor): fix playground vscode tsc warning ( #9603 )
2025-01-09 07:49:16 +00:00
zzj3720
f46a7a073a
fix(editor): component name for the mobile menu is incorrect ( #9604 )
2025-01-09 07:32:49 +00:00
Yifeng Wang
cac0b7fd66
refactor(editor): remove default entry ( #9600 )
2025-01-09 14:01:48 +08:00
Saul-Mirone
422bac6cbe
refactor(editor): remove readonly in awareness ( #9597 )
2025-01-09 05:15:35 +00:00
Saul-Mirone
d21ef47ae8
chore(editor): rename std.doc to std.store ( #9596 )
2025-01-09 04:16:28 +00:00
akumatus
58ce86533e
feat(core): support ai network search ( #9357 )
...
### What Changed?
- Add `PerplexityProvider` in backend.
- Update session prompt name if user toggle network search mode in chat panel.
- Add experimental flag for AI network search feature.
- Add unit tests and e2e tests.
Search results are streamed and appear word for word:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">录屏2024-12-27 18.58.40.mov</video>
Click the little globe icon to manually turn on/off Internet search:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">录屏2024-12-27 19.01.16.mov</video>
When there is an image, it will automatically switch to the openai model:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">录屏2024-12-27 19.02.13.mov</video>
2025-01-09 04:00:59 +00:00
Yifeng Wang
4f10457815
refactor(editor): remove legacy console formatter ( #9599 )
2025-01-09 12:00:08 +08:00
doodlewind
e269cce141
refactor(editor): playground doc collection typing migration ( #9593 )
2025-01-09 03:07:43 +00:00
Saul-Mirone
3683297ccf
feat(editor): add feature flag service ( #9592 )
2025-01-08 15:46:31 +00:00
Saul-Mirone
5842d45ab1
feat(editor): merge store and blocks ( #9591 )
2025-01-08 13:01:19 +00:00
L-Sun
a0cba55a5b
feat(mobile): mobile toc menu ( #9582 )
...
Close [BS-1787](https://linear.app/affine-design/issue/BS-1787/toc-移动端适配 )
2025-01-08 08:03:11 +00:00
Saul-Mirone
fe727412be
feat(editor): add editor store ( #9584 )
2025-01-08 07:47:43 +00:00
forehalo
c0ed74dfed
chore: standardize tsconfig ( #9568 )
2025-01-08 04:07:56 +00:00
fourdim
ebaceb481d
fix(editor): enumerate ancestors ( #9540 )
2025-01-07 11:40:10 +00:00
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