akumatus
3bf3068650
fix(core): after clearing the history, new chat will report an error ( #11549 )
...
Close [BS-3025](https://linear.app/affine-design/issue/BS-3025 )
2025-04-09 07:22:31 +00:00
akumatus
82ade96b3f
fix(core): online search button status not updated to the search prompt ( #11542 )
...
Close [BS-3079](https://linear.app/affine-design/issue/BS-3079 ).
2025-04-09 06:51:35 +00:00
akumatus
c9790ed854
refactor(core): ai session create ( #11539 )
...
Close [BS-3079](https://linear.app/affine-design/issue/BS-3079 ).
- Separate the create session logic from the `createMessage function`.
- Ensure the session is created before executing any chat or actions.
- Convert the `AIActions` into asynchronous functions.
- Transfer the update prompt name logic to the chat action.
- Introduce a networkSearch field in `AITextActionOptions`.
- Eliminate the redundant `LAST_ROOT_SESSION_ID`.
2025-04-09 06:18:57 +00:00
akumatus
1e9561b46c
fix(core): retry on chat-block, view components not update as expected ( #11553 )
...
Close [BS-3026](https://linear.app/affine-design/issue/BS-3026 )
2025-04-09 03:30:19 +00:00
Saul-Mirone
be3024c0c1
chore(editor): remove unused inner modal widget ( #11552 )
2025-04-09 02:55:00 +00:00
pengx17
f0aafda509
fix(electron): cannot restart recording the same app again ( #11498 )
...
fix AF-2455
v0.21.1
v0.21.1-beta.1
2025-04-09 02:37:50 +00:00
fundon
c57f41805f
fix(editor): should auto close dropdown menus on toolbar ( #11522 )
...
Closes: [BS-2524](https://linear.app/affine-design/issue/BS-2524/切换-block-后,刷新-toolbar-时,应该自动关闭已经打开的-dropdown )
2025-04-09 01:29:44 +00:00
darkskygit
984a6763ae
chore(server): try repair text in structured outputs ( #11543 )
2025-04-08 16:48:22 +00:00
Saul-Mirone
dd1cf14069
refactor(editor): cleanup duplicated code ( #11548 )
2025-04-08 16:35:25 +00:00
doouding
d7268ce04c
test: add std gfx test ( #11442 )
...
### Changed
- Move some intergraion tests to std as they are more like basic tests
- Add some basic gfx-related tests
2025-04-08 16:20:36 +00:00
donteatfriedrice
e4e3d8ef59
fix(editor): paste to code block should delete selected text ( #11546 )
...
Close [BS-3064](https://linear.app/affine-design/issue/BS-3064/fix-bug-pasting-in-code-block-does-not-replace-text )
2025-04-08 12:37:36 +00:00
Saul-Mirone
1081d6281f
feat(editor): adjust url input ui ( #11535 )
...
Closes: BS-1074
2025-04-08 11:05:24 +00:00
L-Sun
3820186512
fix(editor): incorrect brush bound with rotation and line width ( #11524 )
...
This transfered PR from [BS/#9058](https://github.com/toeverything/blocksuite/pull/9058 ) fixes an issue where the selection rectangle of a brush element was incorrect after resizing and rotating.
2025-04-08 10:48:12 +00:00
L-Sun
7d4bb5150e
chore(editor): improve bookmark UI&UX ( #11525 )
...
Close [BS-2804](https://linear.app/affine-design/issue/BS-2804/[ui-bug]-link-card-view-ui-布局错了,url-应该是-text-secondary-color )
Close [BS-3034](https://linear.app/affine-design/issue/BS-3034/link-card-view-链接需要-fix-在底部 )
### What Changes
- remove url selected color
- improve url click area by moving `@click` callback to inner small url container
- improve layout
2025-04-08 10:34:36 +00:00
pengx17
a2125787c2
fix(electron): use another origin for popup to disable zoom in/out issue of the popup window ( #11506 )
...
fix AF-2473
2025-04-08 10:18:09 +00:00
pengx17
93d8e22b07
feat(electron): meeting recording permissions checks ( #11505 )
...
fix AF-2472, AF-2446


2025-04-08 10:18:08 +00:00
Saul-Mirone
780c35eabe
fix(editor): prevent Tab key propagation outside editor ( #11531 )
...
Closes: BS-2964
v0.21.1-canary.1
2025-04-08 10:03:06 +00:00
CatsJuice
280227fa5f
feat(editor): change note cursor to crosshair ( #11499 )
2025-04-08 09:49:29 +00:00
renovate[bot]
0887c1864c
chore: bump up Rust crate tokio to v1.44.2 [SECURITY] ( #11521 )
...
Co-authored-by: renovate <29139614+renovate@users.noreply.github.com >
2025-04-08 17:47:36 +08:00
liuyi
1b858e1e6c
chore: wrong $shcmea field in config example ( #11526 )
2025-04-08 17:46:35 +08:00
Flrande
8c87d2a39e
fix(editor): disable mention node select ( #11512 )
...
Close [BS-3011: inline at 有时候会进入可以选中的状态](https://linear.app/affine-design/issue/BS-3011/inline-at-有时候会进入可以选中的状态 )
2025-04-08 09:31:19 +00:00
Saul-Mirone
238ec59dd2
fix(editor): image icon color ( #11536 )
...
Closes: BS-2166
2025-04-08 09:18:26 +00:00
Saul-Mirone
ca75162fc9
fix(editor): text overflow in journal card ( #11537 )
...
Closes: BS-3000
2025-04-08 09:04:48 +00:00
Saul-Mirone
bda5562f90
fix(editor): allow copy in readonly mode ( #11538 )
2025-04-08 08:52:20 +00:00
donteatfriedrice
b8e7ca3214
test(editor): fix flaky embed iframe e2e test ( #11530 )
2025-04-08 08:37:12 +00:00
liuyi
ebdeaf3783
chore(core): reorg polyfill ( #11528 )
2025-04-08 14:59:54 +08:00
Saul-Mirone
d1b82f0c58
fix: sentry-6337909140 ( #11534 )
...
Closes: BS-3076
2025-04-08 06:44:37 +00:00
Saul-Mirone
a28b8b1b11
fix: sentry-6451187280 ( #11533 )
...
Closes: BS-3075
2025-04-08 06:06:16 +00:00
darkskygit
558e84138c
chore: remove lame encoder ( #11529 )
2025-04-08 05:02:30 +00:00
yoyoyohamapi
49c6ad7c04
feat(core): ai panel adaptation for edgeless theme ( #11509 )
...
### TL;DR
AI panel adaptation for Edgeless theme
> CLOSE BS-3017

2025-04-08 02:29:57 +00:00
liuyi
646182ea2a
fix(server): duplicate registered otel providers ( #11513 )
2025-04-08 10:25:36 +08:00
fundon
e927d02c96
fix(editor): improve link popup positioning with autoUpdate ( #11510 )
...
Closes: [BS-3038](https://linear.app/affine-design/issue/BS-3038/遇到一个新bug-抽象的一p )
Maybe the `mock selection widget` is needed.
2025-04-07 13:33:11 +00:00
Saul-Mirone
1f45cc5dec
refactor(editor): unify directories naming ( #11516 )
...
**Directory Structure Changes**
- Renamed multiple block-related directories by removing the "block-" prefix:
- `block-attachment` → `attachment`
- `block-bookmark` → `bookmark`
- `block-callout` → `callout`
- `block-code` → `code`
- `block-data-view` → `data-view`
- `block-database` → `database`
- `block-divider` → `divider`
- `block-edgeless-text` → `edgeless-text`
- `block-embed` → `embed`
2025-04-07 12:34:40 +00:00
darkskygit
e1bd2047c4
feat(server): add table support for doc parse ( #11508 )
...
fix AF-2478
2025-04-07 09:59:20 +00:00
donteatfriedrice
43809838ef
test(editor): add embed iframe block e2e tests ( #11502 )
...
Close [BS-2669](https://linear.app/affine-design/issue/BS-2669/iframe-embed-block-添加测试 )
2025-04-07 09:43:36 +00:00
darkskygit
3792464fa0
fix(server): early exit in doc parse ( #11507 )
2025-04-07 09:30:06 +00:00
JimmFly
af48df230d
feat(core): add docRole to inviteUserDocRole tracking event ( #11501 )
...
close AF-2476
2025-04-07 08:51:45 +00:00
EYHN
f93acc6635
fix(android): fix uniffi bindgen ( #11500 )
2025-04-07 08:37:35 +00:00
forehalo
40f218c898
chore: set base version to 0.21
v0.21.0-beta.4
v0.21.0
2025-04-07 16:10:32 +08:00
pengx17
952f1878a6
fix(core): add option to disable middle click paste behavior on linux ( #11496 )
...
fix BS-3028
2025-04-07 07:01:37 +00:00
fundon
6e10fe6205
fix(editor): popover style on link popup ( #11495 )
...
Closes: [BS-3039](https://linear.app/affine-design/issue/BS-3039/这个输入框样式也g了 )
2025-04-07 06:43:37 +00:00
fundon
eb0bcd9b99
fix(editor): improve menu content UX on toolbar ( #11491 )
...
* Added scrollbar style

* Used `padding` instead of `offset`
2025-04-07 06:30:07 +00:00
pengx17
92240fc1a2
chore(electron): add community link for meeting feature ( #11494 )
...
fix AF-2471

2025-04-07 06:15:50 +00:00
pengx17
fddf68f061
fix(core): stop media when audio block is removed ( #11492 )
2025-04-07 06:15:50 +00:00
L-Sun
4e33059d58
fix(editor): remove copy-as-png from toolbar of surface-ref ( #11493 )
2025-04-07 06:03:49 +00:00
darkskygit
ea9de7b542
feat(server): add transcript block indexing ( #11487 )
...
fix AF-2469
2025-04-07 05:51:06 +00:00
Saul-Mirone
c306d98370
fix(editor): range sync in lit portal ( #11490 )
...
Closes: BS-3032
2025-04-07 05:38:20 +00:00
JimmFly
53dff7a158
fix(admin): adjust available upgrade button style ( #11489 )
2025-04-07 05:25:34 +00:00
Saul-Mirone
8c473cf685
fix(editor): adjust block meta info ( #11488 )
...
Closes: BS-2901
2025-04-07 05:12:04 +00:00
yoyoyohamapi
da580076b0
fix(core): cannot select text in electron ( #11486 )
2025-04-07 03:19:34 +00:00