forehalo
33d57b455a
chore(server): revert access control in sync module ( #11011 )
2025-03-19 12:58:56 +00:00
fundon
03ffc688c3
refactor(editor): edgeless brush toolbar config extension ( #10796 )
2025-03-19 12:34:19 +00:00
fundon
c44a339bd9
refactor(editor): edgeless group toolbar config extension ( #10787 )
2025-03-19 12:34:19 +00:00
fundon
f87cc0f599
refactor(editor): edgeless frame toolbar config extension ( #10769 )
2025-03-19 12:34:18 +00:00
fundon
e320552594
refactor(editor): edgeless note toolbar config extension ( #10719 )
2025-03-19 12:34:18 +00:00
fundon
b5406fa57a
refactor(editor): edgeless image toolbar config extension ( #10718 )
2025-03-19 12:34:18 +00:00
fundon
e686a6aecc
refactor(editor): edgeless internal embed card toolbar config extension ( #10717 )
2025-03-19 12:34:17 +00:00
fengmk2
ddd6c97b08
refactor(server): improve workspace content retrieval from database ( #10964 )
2025-03-19 12:16:53 +00:00
Saul-Mirone
a9b53839a6
refactor(editor): improve std structure ( #10993 )
2025-03-19 11:37:55 +00:00
L-Sun
9211fbf68c
refactor(editor): move surface-ref toolbar to its block folder ( #10938 )
2025-03-19 10:54:22 +00:00
yoyoyohamapi
afc4158f47
refactor(core): separate rendering logic for user and assistant messages ( #10909 )
...
### TL;DR
Separate rendering logic for user and assistant messages.
> CLOSE AF-2323
### What Changed
- Rendering user message with `<chat-panel-message-user />` component.
- Rendering assistant message with `<chat-panel-message-assistant />` Component
2025-03-19 10:28:56 +00:00
fundon
a8ac3bdb3e
fix(editor): adjust creation position to avoid being blocked by banner ( #10992 )
...

2025-03-19 10:01:53 +00:00
Saul-Mirone
ae3cb61943
chore: align vitest versions ( #10990 )
2025-03-19 08:57:24 +00:00
fengmk2
d00fd8316d
refactor(server): remove unused randomDoc method ( #10985 )
...
close CLOUD-177
2025-03-19 06:45:22 +00:00
fundon
0442430971
refactor(editor): edgeless html embed card toolbar config extension ( #10716 )
2025-03-19 05:03:00 +00:00
doodlewind
80f62a995b
perf(editor): improve resize frame rate ( #10967 )
...
This PR improves panel toggling FPS by minimizing DOM and canvas updates during resizing.
[Screen Recording 2025-03-18 at 11.57.45 PM.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/lEGcysB4lFTEbCwZ8jMv/d36beeab-a2e4-4fd6-923a-705ce7fbcdf7.mov " />](https://app.graphite.dev/media/video/lEGcysB4lFTEbCwZ8jMv/d36beeab-a2e4-4fd6-923a-705ce7fbcdf7.mov )
### What changed?
- Added a debounced resize handling mechanism using RxJS's `debounceTime` operator
- Implemented a new resize strategy that preserves the top-left corner position during resizing
- Added state tracking for resize operations with `_isResizing` flag and `_initialTopLeft` coordinates
2025-03-19 04:42:23 +00:00
akumatus
47206b8d47
feat(core): support tag search for ai chat ( #10965 )
...
Close [BS-2785](https://linear.app/affine-design/issue/BS-2785 ).
Close [BS-2786](https://linear.app/affine-design/issue/BS-2786 ).

2025-03-19 04:22:11 +00:00
akumatus
b470eafd55
feat(core): add keyboard event listener to ai popover ( #10952 )
...
Close [BS-2827](https://linear.app/affine-design/issue/BS-2827 ).
2025-03-19 04:22:10 +00:00
akumatus
efe7e1d527
feat(core): add tags and collections menu item ( #10951 )
...
Close [BS-2827](https://linear.app/affine-design/issue/BS-2827 ).

2025-03-19 04:22:09 +00:00
fundon
7f4b56e05c
refactor(editor): edgeless external embed card toolbar config extension ( #10712 )
2025-03-19 04:05:36 +00:00
CatsJuice
284aae9b52
fix(core): remove unexpected comma ( #10984 )
2025-03-19 03:49:53 +00:00
L-Sun
68bc2db560
fix(editor): descendant elements are missing in edgelessToCanvas ( #10933 )
...
### Before

### After

2025-03-19 03:35:06 +00:00
pengx17
a118cbd036
fix(editor): chat panel text render link preview base url ( #10791 )
...
fix AF-2322
2025-03-19 03:19:09 +00:00
donteatfriedrice
3a2d386275
feat(editor): support add embed iframe block in mobile ( #10955 )
...
To close [BS-2664](https://linear.app/affine-design/issue/BS-2664/iframe-embed-block-移动端支持 )
2025-03-19 02:58:51 +00:00
pengx17
6b73e8ebb5
fix(core): allow unused blobs to preview in new tab ( #10874 )
...
fix AF-2330
2025-03-19 02:40:06 +00:00
fundon
d8567e669a
refactor(editor): edgeless bookmark toolbar config extension ( #10711 )
2025-03-19 02:24:26 +00:00
JimmFly
70fe521300
fix(core): copy link should not have mode ( #10904 )
2025-03-19 01:50:34 +00:00
fundon
251d1d8782
refactor(editor): edgeless attacment toolbar config extension ( #10710 )
2025-03-19 00:52:22 +00:00
fundon
3cce147c60
refactor(editor): improve query methods in toolbar context ( #10714 )
2025-03-19 00:52:22 +00:00
doodlewind
02d707feab
fix(editor): adapt font size in turbo renderer ( #10858 )
2025-03-18 19:01:48 +00:00
fundon
cb37d25d7b
refactor(editor): edgeless element toolbar with new pattern ( #10511 )
2025-03-18 15:36:25 +00:00
zzj3720
3939cc1c52
feat(editor): support file column and member column for database block ( #10932 )
...
close: BS-2630, BS-2631, BS-2629, BS-2632, BS-2635
2025-03-18 14:51:45 +00:00
Saul-Mirone
321e3449ec
fix(editor): block can be null in widget ( #10959 )
...
Closes: [BS-2826](https://linear.app/affine-design/issue/BS-2826/typeerror-thisblock-is-null )
2025-03-18 10:58:19 +00:00
darkskygit
b7ab49a263
chore(server): improve stream read ( #10960 )
2025-03-18 10:24:59 +00:00
JimmFly
0cb06668cd
refactor(core): split the billing component into a separate file ( #10924 )
...
refactor(core): split the billing component into a separate file
feat(core): show subscription status in billing settings


2025-03-18 10:05:45 +00:00
fengmk2
4fc3e92205
feat(server): separate storage quota limit and blob size limit ( #10957 )
...
close CLOUD-171
2025-03-18 09:28:50 +00:00
fengmk2
86c4e0705f
fix(server): convert 4xx status HttpError to UserFriendlyError ( #10956 )
2025-03-18 09:28:50 +00:00
Saul-Mirone
5cb2abab76
docs(editor): add doc for reactive types in store ( #10958 )
2025-03-18 09:07:42 +00:00
CatsJuice
ff8c3d1cee
feat(core): intilize integration module and basic readwise impl ( #10726 )
...
close AF-2257, AF-2261, AF-2260, AF-2259
### Feat
- New `Integration` Module
- Basic Readwise integration
- connect
- import
- disconnect
- Common Integration UI
- Common Integration Writer (Transform markdown to AFFiNE Doc)
### Not Implemented
> will be implemented in down-stack
- delete docs when disconnect
- readwise settiing UI
- integration property rendering
2025-03-18 08:13:58 +00:00
Saul-Mirone
ef00a158fc
docs(editor): improve documentation for store class ( #10949 )
2025-03-18 07:57:58 +00:00
pengx17
99370573c8
refactor(editor): use stable stringify for snapshots ( #10948 )
2025-03-18 05:41:20 +00:00
L-Sun
83af78d9ee
chore(editor): update icon color of link doc card ( #10943 )
...
Close [BS-2679](https://linear.app/affine-design/issue/BS-2679/card-view-icon-color-incorrect )
2025-03-18 05:00:26 +00:00
Oleg
804d08423b
feat(core): improve text preview in editor settings ( #10070 )
2025-03-18 13:00:13 +08:00
darkskygit
e09b5fee12
feat(server): init gemini provider & transcript action ( #10731 )
2025-03-18 04:28:18 +00:00
pengx17
a016630a82
feat(electron): create recording through tray ( #10526 )
...
- added tray menu for controlling recording status
- recording watcher for monitoring system audio input events
2025-03-18 04:12:30 +00:00
akumatus
05329e96c7
fix(core): add timeout params to graphql request options ( #10919 )
...
Close [BS-2813](https://linear.app/affine-design/issue/BS-2813 ).
2025-03-18 03:53:47 +00:00
Saul-Mirone
9f3cf271e3
feat(editor): support user provided role and role schema ( #10939 )
...
Let me analyze the key changes in this diff:
1. **Role System Changes**:
- Changed from a fixed enum of roles (`root`, `hub`, `content`) to a more flexible string-based system
- Removed strict role hierarchy validation rules (hub/content/root relationships)
- Added support for role-based matching using `@` prefix (e.g., `@root`, `@content`)
2. **Schema Validation Updates**:
- Added new `_matchFlavourOrRole` method to handle both flavour and role-based matching
- Updated `_validateParent` to consider both roles and flavours when validating parent-child relationships
- Simplified `_validateRole` by removing specific role hierarchy constraints
3. **Block Schema Changes**:
- Updated parent/children references in various block schemas to use the new `@` prefix notation
- Changed parent definitions from `['affine:page']` to `['@root']` in several blocks
- Updated children definitions to use role-based references (e.g., `['@content']`)
4. **Test Updates**:
- Added new test cases for role-based schema validation
- Introduced new test block schemas (`TestRoleBlockSchema`, `TestParagraphBlockSchema`) to verify role-based functionality
This appears to be a significant architectural change that makes the block schema system more flexible by:
1. Moving away from hardcoded role hierarchies
2. Introducing a more dynamic role-based relationship system
3. Supporting both flavour-based and role-based parent-child relationships
4. Using the `@` prefix convention to distinguish role references from flavour references
The changes make the system more extensible while maintaining backward compatibility with existing flavour-based relationships.
2025-03-18 01:58:59 +00:00
fengmk2
4a3180ee04
feat(server): display date in yyyy-MM-dd format on email ( #10916 )
2025-03-18 01:00:14 +00:00
fengmk2
3f0981a6fa
feat(server): add settings resolver ( #10797 )
...
close CLOUD-166
2025-03-18 00:41:21 +00:00
fengmk2
5dcbae6f86
feat(server): add settings model ( #10755 )
...
close CLOUD-166
2025-03-18 00:41:21 +00:00