liuyi
7e61a0b2fc
refactor(graphql): codegen ( #10626 )
2025-03-06 12:06:19 +08:00
EYHN
fb084a9569
fix(core): fix awareness send message repeatedly ( #10643 )
2025-03-06 03:34:49 +00:00
akumatus
e990a5523e
fix(core): can not clear chat-panel history ( #10634 )
...
Close [BS-2754](https://linear.app/affine-design/issue/BS-2754 ).
### What Changed?
Use the latest session id and display the corresponding historical messages.
2025-03-06 03:19:02 +00:00
CatsJuice
6b08e3f5d4
feat(core): support create new template in starter-bar ( #10570 )
2025-03-06 02:05:29 +00:00
darkskygit
fbb6df3da8
chore(server): return parent id of sessions ( #10638 )
2025-03-05 14:03:36 +00:00
fengmk2
43ded6aa38
feat(server): add blocked state to workspace docs ( #10585 )
...
close CLOUD-162
2025-03-05 12:49:33 +00:00
fengmk2
70a0337ea3
refactor(server): use DocModel to access doc meta ( #10593 )
2025-03-05 12:10:28 +00:00
fengmk2
687c26304a
refactor(server): split HistoryModel from DocModel ( #10604 )
2025-03-05 12:10:28 +00:00
hackerESQ
fed0e0add3
fix: prevent sentry from loading when telemetry is disabled ( #10543 )
...
Co-authored-by: forehalo <forehalo@gmail.com >
2025-03-05 20:09:38 +08:00
fengmk2
b247b8e26c
refactor(server): merge PageModel into DocModel ( #10592 )
2025-03-05 19:49:14 +08:00
EYHN
0015bfbaf2
refactor(core): adjust sentry config ( #10631 )
2025-03-05 11:18:06 +00:00
JimmFly
bb4240f6ef
fix(core): add missing control of modifyDocDefaultRole track event ( #10625 )
2025-03-05 11:02:45 +00:00
JimmFly
cb37c25b14
chore: adjust share menu styles ( #10630 )
...
close AF-2270 AF-2193 AF-2067
2025-03-05 10:42:56 +00:00
Saul-Mirone
7e39893aac
refactor(editor): remove assert functions ( #10629 )
2025-03-05 10:20:02 +00:00
EYHN
201c3438ba
feat(core): add user list service for blocksuite ( #10627 )
2025-03-05 10:06:14 +00:00
pengx17
47d01f5f66
fix(core): db backlink infinite query issue ( #10628 )
...
fix AF-2301
2025-03-05 09:43:05 +00:00
Flrande
bd62634a76
feat(editor): add callout block ( #10563 )
...
- Add `CalloutBlockModel `
- Implement `CalloutBlockComponent `
- Integrate with slash menu (/)
2025-03-05 09:28:51 +00:00
akumatus
1c2a6eac85
feat: responsive chat-panel padding and request ( #10620 )
...
Close [BS-2751](https://linear.app/affine-design/issue/BS-2751 ).
### What Changed?
- Do not send AI gql request when chat-panel is not open.
- When the chat-panel width is greater than 540px, adjust the padding to 24px.
- Optimize the display and hide logic of scroll to end button.
2025-03-05 09:12:03 +00:00
liuyi
61162c59fc
refactor(server): permission ( #10449 )
2025-03-05 15:57:00 +08:00
Brooooooklyn
bf7b1646b3
fix(web): add Array#toReversed polyfill ( #10623 )
2025-03-05 07:20:16 +00:00
doouding
30f97892b1
fix: snap line offset & check alignment candidates in real time ( #10605 )
2025-03-05 07:05:21 +00:00
fengmk2
b88113a2d1
feat(server): add invalid oauth callback code error handling ( #10603 )
...
close CLOUD-130
2025-03-05 06:16:59 +00:00
darkskygit
0b8fa7904d
fix: adapt new abort behavior ( #10622 )
2025-03-05 06:03:43 +00:00
EYHN
59de4558bd
feat(core): fix sign in background arts block user interaction ( #10621 )
2025-03-05 05:57:01 +00:00
EYHN
61635aa77a
feat(core): add clipper import interface ( #10619 )
2025-03-05 04:22:03 +00:00
EYHN
4daa763c95
fix(core): fix table text content search ( #10488 )
2025-03-05 04:06:44 +00:00
Brooooooklyn
e99b25ae6a
fix(web): add Array#toSpliced and Array#toReversed polyfill ( #10614 )
2025-03-05 02:46:41 +00:00
fengmk2
3d2c4fe007
feat(server): add user existence check and optimize permission queries ( #10402 )
2025-03-05 01:49:33 +00:00
Saul-Mirone
b8ecfbdae6
refactor(editor): remove assertExists ( #10615 )
2025-03-05 00:13:08 +00:00
akumatus
a6692f70aa
fix(core): text style is not centered when chat-panel is wide ( #10607 )
...
Fix issue [BS-2751](https://linear.app/affine-design/issue/BS-2751 ).
Before:

After:

2025-03-04 15:25:35 +00:00
Saul-Mirone
66d9d576e0
refactor(editor): add gfx entry in bs global package ( #10612 )
2025-03-04 12:46:50 +00:00
Saul-Mirone
5ad3d3c94a
refactor(editor): move figma squircle to shared ( #10610 )
2025-03-04 10:26:58 +00:00
Saul-Mirone
fa5674166e
refactor(editor): cleanup list icons ( #10608 )
2025-03-04 10:13:01 +00:00
yoyoyohamapi
fd244f909d
fix(core): positioning error in fixed floating submenu ( #10606 )
...
Issue:Close [BS-2150](https://linear.app/affine-design/issue/BS-2150/图片-filterprocessing-二级菜单时而不出现 )
In the AI image menu (based on floating-ui):
- **Floating element**: Submenu items (e.g., "image filter/image processing")
- **Reference element**: Menu item
- **Positioning strategy**: `fixed`
- **Issue**: Specifying the `container` parameter caused the floating element (submenu) to be mounted to the reference element (menu item), leading to incorrect position calculations when floating-ui updated.
```jsx
<menu-item>
<submenu-item style={{ position: 'fixed' }}/>
</menu-item>
```
- **Fix**: Remove the `container` configuration and mount the `fixed`-positioned floating element to the `body` instead.
2025-03-04 09:58:39 +00:00
donteatfriedrice
40351295c9
fix(editor): should not select or open latex editor when readonly ( #10601 )
2025-03-04 07:27:58 +00:00
akumatus
16fd7bdf20
fix(core): add ai math syntax in prompt ( #10595 )
...
Close [BS-2121](https://linear.app/affine-design/issue/BS-2121 ).
2025-03-04 07:13:53 +00:00
Brooooooklyn
a486174669
build: add link args to prevent dso unloading error on GNU targets ( #10602 )
2025-03-04 06:58:41 +00:00
Saul-Mirone
22924c767c
fix(editor): onChange notification for flat model ( #10589 )
...
The primary purpose of this PR appears to be:
1. Simplifying the change notification API by removing the redundant value parameter from callbacks
2. Improving the reactive system's handling of specialized types (Text and Boxed) in flat data
3. Adding better test coverage for text handling in the flat data model
v0.20.5-canary.2
2025-03-04 05:57:06 +00:00
doodlewind
c418e89fb9
chore(editor): add feature flag entry for testing turbo renderer ( #10581 )
...
The debug pane will be displayed once the `enable_turbo_renderer` feature flag is enabled.

2025-03-04 05:38:44 +00:00
doouding
1c29d0e269
feat: optimize edgeless alignment ( #10435 )
...
### Changed
- alignment line style
- threshold of snapping
- optimize alignment checking performance
2025-03-04 03:03:31 +00:00
akumatus
321247a2fa
fix(core): add ai 7 day trial hint ( #10587 )
...
Fix issue [BS-2739](https://linear.app/affine-design/issue/BS-2739 ).
2025-03-03 15:10:16 +00:00
pengx17
8e5d7858c4
fix(core): only enable attachment preview for pdf ( #10584 )
2025-03-03 11:07:13 +00:00
L-Sun
37fbfbcf3e
fix(editor): zindex of frame child not updated ( #10580 )
...
Close [BS-2689](https://linear.app/affine-design/issue/BS-2689/[bug]-%E5%BD%93%E5%B1%82%E7%BA%A7%E4%BD%8E%E4%BA%8E-frame-%E7%9A%84yuan%E7%B4%A0%E8%A2%AB%E6%8B%96%E5%85%A5-frame-%E6%97%B6%E5%B1%82%E7%BA%A7%E5%BA%94%E8%AF%A5%E8%A2%AB%E8%87%AA%E5%8A%A8%E6%8B%89%E9%AB%98%E5%B5%8C%E5%85%A5-frame )
2025-03-03 10:51:27 +00:00
liuyi
889625cdaa
fix(server): reschedule busy doc merging ( #10583 )
2025-03-03 18:51:09 +08:00
Saul-Mirone
4c3c953a36
chore(editor): merge clamp functions ( #10577 )
...
Closes: [BS-2625](https://linear.app/affine-design/issue/BS-2625/合并clamp函数 )
2025-03-03 10:33:38 +00:00
Brooooooklyn
899a957fab
fix(native): do not crash on bootstrap if API is not available ( #10582 )
2025-03-03 10:15:42 +00:00
L-Sun
2cd83be621
fix(editor): code block toolbar float offset ( #10579 )
...
Close [BS-2736](https://linear.app/affine-design/issue/BS-2736/代码块工具栏偏移太大 ), [BS-1974](https://linear.app/affine-design/issue/BS-1974/code-block-浮标歪 )
## Before
https://github.com/user-attachments/assets/f4ec4d7d-8c18-43ea-9464-c18e8b8dce60
https://github.com/user-attachments/assets/76f89ce6-bd89-49d6-a987-e9e5d5f9842a
### After
https://github.com/user-attachments/assets/dac919b9-d19c-4fb3-99bf-be02a460ad8c
https://github.com/user-attachments/assets/e5329f84-f1cf-4776-a789-8d12bea17ece
2025-03-03 09:56:13 +00:00
donteatfriedrice
170066050e
feat(core): support latex in ai text renderer ( #10576 )
2025-03-03 09:19:31 +00:00
liuyi
abad289783
fix(server): limit max batch pulled doc updates ( #10578 )
2025-03-03 09:19:17 +00:00
Flrande
5d3c365d97
fix(editor): format text in code block ( #10575 )
...
Closes: [BS-2724](https://linear.app/affine-design/issue/BS-2724/code-block%E9%87%8C%E4%B8%8D%E5%BA%94%E8%AF%A5%E6%98%BE%E7%A4%BAtoolbar )
2025-03-03 08:52:38 +00:00