pengx17
814dfab0df
fix(core): ai affine label alignment ( #11952 )
...
before

after

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Style**
- Updated the visual structure of the assistant avatar for a cleaner appearance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-24 04:31:30 +00:00
Saul-Mirone
2200bd7b70
feat(editor): text gfx extension ( #11951 )
...
Closes: BS-3213
2025-04-24 03:21:54 +00:00
EYHN
4df75ec5d0
fix(core): subscribe search not unsubscribe ( #11929 )
2025-04-23 13:56:58 +00:00
Saul-Mirone
16831e8c0e
feat(editor): reference, mention and latex inline extension ( #11914 )
...
Closes: BS-3215
Closes: BS-3218
Closes: BS-3217
2025-04-23 09:22:16 +00:00
L-Sun
27ff9ab9f4
refactor(core): move actions to footer of notification card ( #11894 )
...
This PR move all actions button to the footer of `NotificationCard`. There are some example as following:
### No Changes



### Changes
### Before

#### After

2025-04-23 05:41:14 +00:00
Saul-Mirone
b1aecfc1c4
feat(editor): link inline extension ( #11910 )
...
Closes: BS-3216
2025-04-23 04:42:24 +00:00
Saul-Mirone
730ed16fc5
refactor(editor): remove old specs ( #11909 )
2025-04-23 02:57:01 +00:00
Saul-Mirone
2510e7a9a4
feat(editor): inline footnote extension ( #11908 )
...
Closes: BS-3219
2025-04-23 01:40:49 +00:00
Saul-Mirone
24edfc75bd
feat(editor): table extension ( #11906 )
...
Closes: BS-3205
2025-04-23 01:16:08 +00:00
Saul-Mirone
e57222b89a
feat(editor): surface ref extension ( #11902 )
...
Closes: BS-3203
2025-04-23 01:16:07 +00:00
L-Sun
020c1a7598
fix(editor): lit change-in-update warning ( #11904 )
...
This PR fixed that lit change-in-update warning. Related #9446
### Before

### After

2025-04-22 20:25:54 +00:00
Saul-Mirone
45b6cbe8d7
refactor(editor): cleanup dead code ( #11893 )
2025-04-22 15:51:23 +00:00
Saul-Mirone
43966a6c6b
feat(editor): use store extension manager ( #11891 )
...
Closes: BS-3284
2025-04-22 15:51:23 +00:00
Saul-Mirone
99ad4e871e
feat(editor): use migrated extensions ( #11886 )
...
Closes: BS-3283
2025-04-22 15:51:22 +00:00
darkskygit
597b27c22f
feat(server): enable web search for 4.1 ( #11825 )
2025-04-22 14:49:46 +00:00
pengx17
c17c335f9b
feat(core): add actions to transcription block ( #11896 )
2025-04-22 14:06:12 +00:00
Saul-Mirone
6d6504e2af
feat(editor): replace spec provider with extension manager ( #11861 )
...
Closes: BS-3273
2025-04-22 07:40:41 +00:00
fundon
824e66df58
fix(core): improve EdgelessCopilotPanel position ( #11814 )
...
Closes: [AF-2101](https://linear.app/affine-design/issue/AF-2101/ai-panel-的输入框menu定位错误,menu-应该出现在输入框下方 )
[Screen Recording 2025-04-18 at 20.51.01.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/67410349-b056-40a7-b1e6-6de5a5137789.mov " />](https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/67410349-b056-40a7-b1e6-6de5a5137789.mov )
2025-04-21 14:08:24 +00:00
Saul-Mirone
846410cdb6
feat(editor): note extension ( #11856 )
...
Closes: BS-3200
Closes: BS-3201
2025-04-21 13:18:35 +00:00
yoyoyohamapi
e9dab04990
fix(core): chat user message margin & max-width ( #11854 )
...
### TL;DR
Fix chat panel user message css: `margin-left` & `max-width`
2025-04-21 11:15:18 +00:00
yoyoyohamapi
fe03292346
fix(core): ai images are not right-aligned ( #11850 )
...
### TL;DR
Fix ai images are not right-aligned.
> CLOSE BS-3131
2025-04-21 11:15:18 +00:00
L-Sun
a2b40fea20
feat(editor): insertion and duplication actions for embed synced doc ( #11852 )
...
Close [BS-3068](https://linear.app/affine-design/issue/BS-3068/在edgeless-的embed-doc-block上,增加-insert-into-page的选项,类似frame )
Close [BS-3069](https://linear.app/affine-design/issue/BS-3069/edgeless下的-embed,覆盖现在的edit行为-,暂定叫做duplicate-into-a-note,复制一个-note )
2025-04-21 11:01:04 +00:00
Saul-Mirone
7c79b1f024
feat(editor): latex and list extensions ( #11851 )
...
Closes: BS-3198
Closes: BS-3199
2025-04-21 10:29:31 +00:00
Saul-Mirone
df6e17b82f
feat(editor): frame and image extensions ( #11849 )
...
Closes: BS-3196
Closes: BS-3197
2025-04-21 10:29:30 +00:00
Saul-Mirone
92ac8e3cad
feat(editor): embed extension ( #11848 )
...
Closes: BS-3195
2025-04-21 09:22:12 +00:00
Saul-Mirone
15a5264352
feat(editor): divider and edgeless text extensions ( #11846 )
...
Closes: BS-3193
Closes: BS-3194
2025-04-21 09:22:12 +00:00
Saul-Mirone
652d42ba1e
feat(editor): scaffolding store and view manager in affine ( #11840 )
...
Closes: BS-3254
2025-04-21 09:22:11 +00:00
yoyoyohamapi
f65c8f8fa6
fix(core): disable space ai guidance for non-paragraph block ( #11847 )
...
### TL;DR
Disable space ai guidance for non-paragraph block
> CLOSE AI-67
2025-04-21 08:04:51 +00:00
yoyoyohamapi
f87a6e17bd
fix(core): action items in the ai response are not optimized for dark mode ( #11839 )
...
### TL;DR
* Fix action items in the AI response are not optimized for dark mode.
* Fix answer content in the AI response are not optimized for edgeless theme.

[uploading 截屏2025-04-21 14.30.00.png...]
> CLOSE BS-3249
2025-04-21 07:24:18 +00:00
yoyoyohamapi
dcfc92347f
fix(core): unable to copy the selected ai answer content across multiple lines ( #11806 )
...
> CLOSE AI-76
2025-04-18 10:33:14 +00:00
fundon
9c02512d7c
fix(editor): chevron down icon on toolbar ( #11803 )
...
Uniform size: 16x16
2025-04-18 07:10:01 +00:00
akumatus
203e931e30
fix(core): filter embedding results to return only user-selected tags and documents ( #11770 )
...
Close [AI-73](https://linear.app/affine-design/issue/AI-73 )
2025-04-18 03:25:30 +00:00
EYHN
a9e4690d2d
fix(core): fix ai with multiple server ( #11570 )
2025-04-17 13:31:53 +00:00
JimmFly
c2c106f508
feat(core): add new loading doc component ( #11737 )
2025-04-17 18:54:38 +08:00
akumatus
e577bb7aa9
fix(core): ask ai loses user selected context ( #11767 )
...
Close [AI-72](https://linear.app/affine-design/issue/AI-72 )
2025-04-17 09:05:44 +00:00
pengx17
ebf1d5476d
feat(core): add summary to transcription block ( #11753 )
...
fix AF-2523
2025-04-17 06:33:04 +00:00
L-Sun
98899b4eea
feat(editor): affine to blocksuite doc dnd with prefered card view ( #11748 )
...
Close [BS-3070](https://linear.app/affine-design/issue/BS-3070/文档拖动进入edgeless,形成引用时,默认形成embeded的引用,但是记录上次选择 )
2025-04-17 04:06:50 +00:00
akumatus
50b3f5f7df
fix(core): ai history of new users is always loading, enable online search by default ( #11741 )
...
Close [AI-69](https://linear.app/affine-design/issue/AI-69 ).
2025-04-17 02:53:41 +00:00
pengx17
51316217af
feat(core): audio playback rate ( #11702 )
...
fix AF-2470
2025-04-16 07:49:12 +00:00
Saul-Mirone
b2694003c9
fix(editor): missing copy as png implementation ( #11716 )
2025-04-15 13:08:47 +00:00
fundon
8ca675b2ec
fix(editor): improve pdf embed viewer UX ( #11641 )
...
Closes: [BS-3101](https://linear.app/affine-design/issue/BS-3101/pdf-embed-模式的选中框选-和点开看详情有比较大的问题 )
### What's Changed!
* Fixed disable pointer event in native pdf viewer by dragging
* Disable opening peek view with pdf viewer in readonly and sharing modes
2025-04-15 08:51:02 +00:00
yoyoyohamapi
0df584bd5e
refactor(core): add keyPress event to fix IME space detection ( #11700 )
...
### TL;DR
Refactor space-triggered AI Widget activation logic from `keydown` to `keypress` event listeners
### Background
The `keydown` event triggered by a space may originate from:
1. Normal space insertion
2. Space triggered by input method confirming candidate words
In scenarios like (2), some browsers (see [ISSUE](https://github.com/toeverything/AFFiNE/issues/11541 )) and input method callbacks produce events identical to scenario (1),making it impossible to distinguish between the two.
To fix this, the space-activated AI listener uses the `keypress` event:
In scenario 2, `event.which !== 32` (may be `30430` or other values) can be used to differentiate from scenario 1.
> CLOSE BS-3081
2025-04-15 08:37:27 +00:00
pengx17
46f3dfc64c
fix(core): audio player ux ( #11685 )
2025-04-15 16:06:59 +08:00
donteatfriedrice
e02b159bf4
feat(core): remove preview footnote hover effect config ( #11695 )
...
Close [BS-3115](https://linear.app/affine-design/issue/BS-3115/侧边栏-footnote-ui-和用户行为与编辑器内统一 )
2025-04-15 07:02:51 +00:00
pengx17
575aa3c1c1
fix(editor): rework disable middle click settings for linux ( #11556 )
...
fix BS-3028
Unfortunately, I don't find out a way to disable this behavior on ff linux
2025-04-15 04:44:26 +00:00
Aki Chang
00bd05897e
feat(android): ai chat scaffold ( #11124 )
...
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: eyhn <cneyhn@gmail.com >
2025-04-14 06:05:47 +00:00
L-Sun
e1cb8198f1
fix(editor): android bs keyboard provider error ( #11647 )
...
### What Changes
- fixed keyboard service can not be initialized since a anonymous `BSKeyboardWithActionService` class was provider to di
- fixed tool panel was not closed when focus on other pragraph by clicking
- optimized code structure of fallback `show` and `hide` of keyboard
2025-04-13 09:59:24 +00:00
doodlewind
e1e5e8fc14
feat(editor): add basic image support in turbo renderer ( #11620 )
...
This PR adds basic support for image block:

2025-04-11 10:16:07 +00:00
yoyoyohamapi
9c6d94f597
fix(core): hide start-with-ai if service feature is not enabled ( #11633 )
...
> CLOSE BS-3062
2025-04-11 08:31:05 +00:00
akumatus
883b1d50f2
fix(core): ask AI input box in the whiteboard is blocked by the menu ( #11634 )
...
Close [AI-50](https://linear.app/affine-design/issue/AI-50 ).

2025-04-11 08:13:00 +00:00