CatsJuice
eebc7b751a
feat(component): apply animation for tooltip, remove triangle ( #11245 )
2025-04-04 05:24:18 +00:00
CatsJuice
46d8d30e62
feat(editor): disable clickToDrag for edgeless toolbar shape and mindmap ( #11310 )
2025-04-04 05:10:05 +00:00
JimmFly
adbd41130c
fix(admin): adjust import users dialog styles ( #11436 )
...
close AF-2456 AF-2454 AF-2441 AF-2422
2025-04-04 04:52:50 +00:00
JimmFly
7a1d5ab252
feat(core): upgrade icons package ( #11435 )
2025-04-04 04:52:49 +00:00
yoyoyohamapi
030af6f426
test(core): edgeless shape e2e ( #11446 )
...
### TL;DR
Add Edgeless shape ai e2e tests.
### What Changed
- Add Edgeless shape make it real e2e
- Add Edgeless shape generate image e2e
- Fix Edgeless generate headings e2e
2025-04-03 16:53:20 +00:00
pengx17
133be72ac2
refactor(electron): encoding recording on the fly ( #11457 )
...
fix AF-2460, AF-2463
When recording is started, we start polling the pending raw buffers that are waiting for encoding. The buffers are determined by the cursor of the original raw buffer file. When recording is stopped, we will flush the pending buffers and wrap the encoded chunks into WebM.
```mermaid
sequenceDiagram
participant App as App/UI
participant RecordingFeature as Recording Feature
participant StateMachine as State Machine
participant FileSystem as File System
participant StreamEncoder as Stream Encoder
participant OpusEncoder as Opus Encoder
participant WebM as WebM Muxer
Note over App,WebM: Recording Start Flow
App->>RecordingFeature: startRecording()
RecordingFeature->>StateMachine: dispatch(START_RECORDING)
StateMachine-->>RecordingFeature: status: 'recording'
RecordingFeature->>StreamEncoder: createStreamEncoder(id, {sampleRate, channels})
Note over App,WebM: Streaming Flow
loop Audio Data Streaming
RecordingFeature->>FileSystem: Write raw audio chunks to .raw file
StreamEncoder->>FileSystem: Poll raw audio data
FileSystem-->>StreamEncoder: Raw audio chunks
StreamEncoder->>OpusEncoder: Encode chunks
OpusEncoder-->>StreamEncoder: Encoded Opus frames
end
Note over App,WebM: Recording Stop Flow
App->>RecordingFeature: stopRecording()
RecordingFeature->>StateMachine: dispatch(STOP_RECORDING)
StateMachine-->>RecordingFeature: status: 'stopped'
StreamEncoder->>OpusEncoder: flush()
StreamEncoder->>WebM: muxToWebM(encodedChunks)
WebM-->>RecordingFeature: WebM buffer
RecordingFeature->>FileSystem: Save as .opus file
RecordingFeature->>StateMachine: dispatch(SAVE_RECORDING)
```
2025-04-03 15:56:53 +00:00
pengx17
8ce10e6d0a
feat(electron): add tray menu settings ( #11437 )
...
fix AF-2447
2025-04-03 15:56:52 +00:00
akumatus
0aeb3041b5
feat(core): add ai chat composer ( #11443 )
...
Close [BS-2583](https://linear.app/affine-design/issue/BS-2583 ).

2025-04-03 14:53:50 +00:00
akumatus
6cf182190c
refactor(core): remove useless chat-input components ( #11426 )
...
Close [BS-2583](https://linear.app/affine-design/issue/BS-2583 ).
2025-04-03 14:53:50 +00:00
akumatus
6033baeb86
refactor(core): add useAIChatConfig hook ( #11424 )
...
Close [BS-2583](https://linear.app/affine-design/issue/BS-2583 ).
2025-04-03 14:53:49 +00:00
fundon
363476a46c
fix(editor): add hoverable container for image and surface-ref ( #11458 )
...
Closes: [BS-3012](https://linear.app/affine-design/issue/BS-3012/hover-yuan素时冲突 )
2025-04-03 13:43:55 +00:00
L-Sun
90a3bd53cd
chore(editor): telemetry for slash menu ( #11438 )
...
Close [BS-2959](https://linear.app/affine-design/issue/BS-2959/slash-menu埋点 )
2025-04-03 13:31:09 +00:00
L-Sun
f2865c7bb0
fix(editor): prevent white edges in grid background by rounding grid gap ( #11454 )
...
Close [BS-2147](https://linear.app/affine-design/issue/BS-2147/%E7%A7%BB%E5%8A%A8%E7%AB%AF%EF%BC%8C%E5%8D%95%E6%8C%87%E6%BB%91%E5%8A%A8%E6%97%B6%E4%BC%9A%E5%87%BA%E7%8E%B0%E5%AF%B9%E9%BD%90%E7%BA%BF )
2025-04-03 13:17:47 +00:00
forehalo
2533a92873
chore(server): avoid config object been modified ( #11452 )
2025-04-03 12:57:29 +00:00
forehalo
6939e80827
chore(server): never reuse cls id for job handler ( #11449 )
2025-04-03 12:26:02 +00:00
forehalo
c8d22d97d5
refactor: webpack config ( #11421 )
2025-04-03 11:55:56 +00:00
fundon
565d7b2b1e
fix(editor): should not show inner toolbar of surface-ref in edgeless ( #11453 )
...
Closes: [BS-3015](https://linear.app/affine-design/issue/BS-3015/toolbar-有时会出现空状态且被显示 ) [BS-3023](https://linear.app/affine-design/issue/BS-3023/surface-ref-inner-toolbar-的标题圆角 )
2025-04-03 11:13:09 +00:00
EYHN
a9ba54a92e
feat(core): adjust notification style ( #11455 )
2025-04-03 10:59:37 +00:00
EYHN
093bffdf5c
fix(core): fix notification list ( #11423 )
2025-04-03 10:44:32 +00:00
Saul-Mirone
01429f8f66
fix(editor): clear remote selection when editor is deactive ( #11450 )
...
Closes: BS-3022
2025-04-03 09:36:28 +00:00
Saul-Mirone
773db7860a
feat(editor): not sync selection from awareness ( #11420 )
2025-04-03 09:22:26 +00:00
L-Sun
727c540fda
fix(editor): disable pointer event in surface-ref content ( #11448 )
...
Close [BS-3016](https://linear.app/affine-design/issue/BS-3016/当在-page-下框选时,如果遇到-affine-surface-ref-block-则会阻断框选 )
Close [BS-3020](https://linear.app/affine-design/issue/BS-3020/inserted-frame-%E7%82%B9%E5%87%BB%E9%87%8C%E9%9D%A2%E7%9A%84%E5%9B%BE%E7%89%87%E4%BC%9A%E7%9B%B4%E6%8E%A5%E6%89%93%E5%BC%80 )
2025-04-03 09:05:27 +00:00
L-Sun
56e98f26ff
refactor(editor): update surface-ref placeholder ( #11440 )
...
Close [BS-2996](https://linear.app/affine-design/issue/BS-2996/删除的-inserted-frame-需要更新样式 )
2025-04-03 09:05:27 +00:00
fundon
dd109459a9
fix(editor): adjust button background color of inner toolbar in dark mode ( #11439 )
...
Closes: [BS-3018](https://linear.app/affine-design/issue/BS-3018/在-dark-主题下,imagesurface-ref-inner-toolbar-没背景色 )
2025-04-03 08:39:53 +00:00
fundon
e334347592
fix(editor): disable touch events on toolbar ( #11447 )
...
Closes: [BS-3021](https://linear.app/affine-design/issue/BS-3021/在-toolbar-上禁止-touch-事件冒泡,触发白板缩放 )
2025-04-03 08:27:06 +00:00
L-Sun
64ed23d473
fix(editor): missing refFlavour in creation of surface-ref ( #11445 )
2025-04-03 07:57:10 +00:00
darkskygit
cfde175298
chore: remove structure output limit ( #11444 )
2025-04-03 07:45:03 +00:00
darkskygit
b4c643e8bc
chore(server): improve gql types ( #11441 )
2025-04-03 07:30:51 +00:00
fengmk2
70a318f1c4
fix(server): auto-accept pending invitations by link in team workspace ( #11433 )
...
close CLOUD-192
v0.21.0-beta.2
2025-04-03 07:19:14 +00:00
pengx17
a4c76ff485
fix(editor): link popover ui in modal ( #11415 )
...
fix AF-2316
2025-04-03 05:11:46 +00:00
donteatfriedrice
9206145a48
feat(editor): remove embed iframe feature flag ( #11432 )
...
Close [BS-3019](https://linear.app/affine-design/issue/BS-3019/remove-embed-iframe-feature-flag )
2025-04-03 04:59:52 +00:00
L-Sun
f2646796fc
refactor(editor): remove unused modal ( #11428 )
2025-04-03 04:21:20 +00:00
fundon
a1500e3ee1
fix(editor): textarea not focusing in AI panel ( #11429 )
...
Closes: [BS-3006](https://linear.app/affine-design/issue/BS-3006/insider上面,圈选yuan素后,ad-hoc的ai对话框焦点控制有大问题(无法对焦,总是会跳走) )
2025-04-03 03:27:26 +00:00
yoyoyohamapi
c61df18ab9
test(core): chat with collection & tags ( #11388 )
...
### TL:DR
* AI chat with collection E2E
* AI chat with tag E2E
> Close BS-3007
2025-04-03 02:46:08 +00:00
fundon
03dd073cb4
fix(editor): add recent open doc with mode button ( #11419 )
...
Closes: [BS-3013](https://linear.app/affine-design/issue/BS-3013/open-doc-分开两个按钮:一个快捷按钮和一个菜单 )
Split into two buttons: `recent open doc with mode button` and `open doc with dropdown menu`.
2025-04-03 02:06:14 +00:00
L-Sun
b53b2acfe3
fix(ios): mobile modal occlusion issues ( #11427 )
...
Close [BS-2925](https://linear.app/affine-design/issue/BS-2925/移动端-dialog-遮挡相关 )
2025-04-03 01:51:57 +00:00
L-Sun
80a663efe7
fix(ios): adjust bootom padding of body when keyboard toolbar existed ( #11410 )
...
Close [BS-2919](https://linear.app/affine-design/issue/BS-2919/【移动端】ios-页面底部点几,页面定位有问题,光标和浮层重叠,并且看不到新添加的-block )
Close [BS-2918](https://linear.app/affine-design/issue/BS-2918/【移动端】ios-添加标题无法展示对应-block,滑动页面也无效,光标位置也不对 )
## Changes
- Fixed body padding calculation when keyboard toolbar is present
- Removed redundant position controller logic and simplified the implementation
2025-04-03 01:51:57 +00:00
L-Sun
5109ceccec
fix(ios): can not open keyboard in editor ( #11401 )
...
Close [BS-2917](https://linear.app/affine-design/issue/BS-2917/【移动端】ios-唤起键盘的edge-case )
This PR fixes an issue where the keyboard cannot be re-triggered on iOS devices after the keyboard toolbar is hidden or executing some actions in keyboard toolbar.
Key changes:
- Preserve and restore the initial input mode when keyboard toolbar shows/hides
- Improve virtual keyboard service interface to better handle keyboard state
- Add proper cleanup of input mode state in component lifecycle
2025-04-03 01:51:56 +00:00
fundon
2026f12daa
fix(editor): improve color preview in custom tab of color picker ( #11411 )
...
Closes: [BS-3002](https://linear.app/affine-design/issue/BS-3002/color-picker-上-lightdark-按钮颜色丢失 )
[Screen Recording 2025-04-02 at 17.19.34.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/13288c59-ef11-4cbb-aec7-934a8a689feb.mov " />](https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/13288c59-ef11-4cbb-aec7-934a8a689feb.mov )
2025-04-03 01:38:27 +00:00
fengmk2
a5eb1b9985
fix(server): correct notification pagination by using 'lt' instead of 'gt' for createdAt ( #11430 )
2025-04-03 01:25:35 +00:00
EYHN
bd5428e311
feat(core): adjust notification button style ( #11425 )
2025-04-02 15:41:14 +00:00
darkskygit
90c43356c1
fix(server): copilot test condition ( #11417 )
2025-04-02 14:59:22 +00:00
pengx17
abfbf07712
fix(native): properly cleanup resource when activating device failed ( #11380 )
2025-04-02 14:46:34 +00:00
fengmk2
f3e9b4bbf0
feat(server): search workspace users support case insensitive ( #11422 )
...
close CLOUD-193
2025-04-02 14:33:07 +00:00
pengx17
90c3c4bf7f
feat(electron): recording popup ux ( #11403 )
...
fix AF-2444, AF-2443
2025-04-02 14:17:53 +00:00
pengx17
2adb8e1404
feat(core): allow retry transcription ( #11416 )
2025-04-02 14:05:12 +00:00
akumatus
c5c6978136
refactor(core): ai input ( #11381 )
...
Close [BS-2758](https://linear.app/affine-design/issue/BS-2758 ).
Support [BS-2583](https://linear.app/affine-design/issue/BS-2583 ).
### What changed?
- Extend `ChatPanelInput` and `ChatBlockInput` from the same abstract class `AIChatInput` to reduce duplication of code.
- Unify the context interface of `chat-panel` and `chat-block`.
- Rename `items` field to `messages`.
- Remove duplicated type declare.
2025-04-02 13:37:30 +00:00
fengmk2
c8392d0cbe
fix(server): auto-accept pending invitations by link ( #11409 )
...
close CLOUD-192
2025-04-02 13:24:03 +00:00
fundon
fde97dcf78
fix(editor): improve some experiences on note toolbar ( #11413 )
...
Closes: [BS-3004](https://linear.app/affine-design/issue/BS-3004/page-block-ui-adjust )
2025-04-02 13:11:33 +00:00
darkskygit
0f18585631
chore(server): update sign domain description ( #11407 )
2025-04-02 12:58:03 +00:00