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 |
|
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 |
|
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 |
|
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
|
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 |
|
Saul-Mirone
|
c22804766d
|
chore(editor): remove common utils in surface block (#9527)
|
2025-01-06 02:41:39 +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
|
897c7d4284
|
refactor(editor): should not rely on doc collection type (#9501)
|
2025-01-03 06:30:27 +00:00 |
|
Saul-Mirone
|
8b6c81f76d
|
refactor(editor): reduce dependency to doc collection (#9492)
|
2025-01-03 01:59:25 +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
|
1e34ec8487
|
refactor(editor): extract data view block (#9452)
|
2024-12-31 06:15:35 +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
|
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 |
|
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
|
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 |
|
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 |
|
Brooooooklyn
|
706b614006
|
style: add sonarjs/no-gratuitous-expressions rule (#9360)
|
2024-12-27 03:30:20 +00:00 |
|
Saul-Mirone
|
5eb48343a3
|
chore(editor): cleanup dead code (#9359)
|
2024-12-27 03:13:23 +00:00 |
|
Saul-Mirone
|
6afa1d542f
|
feat(editor): add edgeless crud extension (#9335)
|
2024-12-26 08:58:06 +00:00 |
|
doodlewind
|
71b5cddea1
|
fix(editor): use nullable inline editor root element (#9320)
Fixes `sentry-7906c03b79a54ede819c56cc15ad9889`
|
2024-12-26 07:55:15 +00:00 |
|
Flrande
|
cb4dd127fd
|
fix(editor): merge drag function and fix it (#9329)
|
2024-12-26 07:41:07 +00:00 |
|
Saul-Mirone
|
0220ba4572
|
fix: should bring children to new doc created (#9316)
Closes: [BS-2186](https://linear.app/affine-design/issue/BS-2186/created-linked-doc-%E6%97%B6%EF%BC%8C%E4%BC%9A%E6%B8%85%E9%99%A4list%E7%9A%84-children)
|
2024-12-26 03:37:10 +00:00 |
|
Saul-Mirone
|
a595a145f0
|
fix(editor): should remove drag preview after drop (#9313)
Closes: [BS-2219](https://linear.app/affine-design/issue/BS-2219/拖拽后,原编辑器内容有残留)
|
2024-12-26 02:41:09 +00:00 |
|
Saul-Mirone
|
2ffd0e561c
|
refactor(editor): extract note block (#9310)
|
2024-12-26 01:30:44 +00:00 |
|
Saul-Mirone
|
5274441e14
|
refactor(editor): extract image block (#9309)
|
2024-12-25 13:26:29 +00:00 |
|
Saul-Mirone
|
ebd97752bf
|
refactor(editor): extract attachment block (#9308)
|
2024-12-25 12:19:58 +00:00 |
|
Saul-Mirone
|
d8bc145465
|
refactor(editor): extract bookmark block (#9304)
|
2024-12-25 11:22:29 +00:00 |
|
akumatus
|
5e2e58de09
|
fix: font of AI panel should not be affected by the font of Editor settings (#9305)
Fix issue [BS-2210](https://linear.app/affine-design/issue/BS-2210).
|
2024-12-25 10:54:58 +00:00 |
|
Saul-Mirone
|
16c59d96d9
|
refactor(editor): move menu context to components (#9302)
|
2024-12-25 07:34:04 +00:00 |
|
Saul-Mirone
|
d63ba079ee
|
refactor(editor): cleanup dead code (#9294)
|
2024-12-24 15:27:36 +00:00 |
|
Saul-Mirone
|
f5dea2a990
|
refactor(editor): remove legacy dnd config (#9291)
|
2024-12-24 13:59:36 +00:00 |
|