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
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
7af5e53838
refactor(editor): image toolbar config extension ( #11329 )
...
Closes: [BS-2378](https://linear.app/affine-design/issue/BS-2378/image-toolbar-迁移 )
2025-04-01 10:04:28 +00:00
pengx17
d96f00925c
fix(core): should not close peek view when clicking at menu items ( #11344 )
...
fix AF-2329
2025-04-01 07:00:04 +00:00
Flrande
6ed9c33c33
fix(editor): inline editor should not change event source editable ( #11331 )
...
Close [BS-2988: database block会把顶层content editable设成false](https://linear.app/affine-design/issue/BS-2988/database-block会把顶层content-editable设成false )
2025-04-01 05:24:27 +00:00
donteatfriedrice
1dbd34177e
feat(editor): embed iframe block event tracking ( #11313 )
...
Close [BS-2958](https://linear.app/affine-design/issue/BS-2958/埋点相关 )
2025-04-01 02:50:23 +00:00
L-Sun
fec698fd8b
chore(editor): improve selection of doc in canvas ( #11314 )
...
Close [BS-2705](https://linear.app/affine-design/issue/BS-2705/[improvement]-通过-viability-control-选择-hide-in-edgeless )
This PR disabled selecting operation of notes that are only shown in page mode.
2025-03-31 12:35:02 +00:00
fundon
587fea02b8
feat(editor): add cursor to drawing tools ( #11311 )
...
Closes: [BS-2862](https://linear.app/affine-design/issue/BS-2862/pencil与highlighter光标改成 )
2025-03-31 12:22:20 +00:00
doouding
51dddc10be
fix: template panel tooltip overflow ( #11304 )
...
Close #10171
Fixes [BS-2577](https://linear.app/affine-design/issue/BS-2577/title-overflow-in-edgeless-mode-in-web-interface )
2025-03-31 09:51:33 +00:00
doouding
ee66545ac9
fix: mind map created in page mode has incorrect style ( #11265 )
...
Fixes [BS-2878](https://linear.app/affine-design/issue/BS-2878/slashmenu插入mindmap,style没有应用上 )
2025-03-29 04:13:29 +00:00
Saul-Mirone
205cd7a86d
refactor(editor): rename block-std to std ( #11250 )
...
Closes: BS-2946
2025-03-28 07:20:34 +00:00
Flrande
4498676a96
fix(editor): update at menu width ( #11257 )
...
Close [BS-2952](https://linear.app/affine-design/issue/BS-2952/at面板长宽为280390 )
2025-03-28 06:46:45 +00:00
L-Sun
e2c752d56f
feat(editor): inner toolbar layout for block ( #11243 )
...
Close [BS-2808](https://linear.app/affine-design/issue/BS-2808/组件内-toolbar-重构 )
2025-03-28 03:47:37 +00:00
Flrande
3303684056
fix(editor): disable at menu member group for collaborator ( #11208 )
...
Close [BS-2893](https://linear.app/affine-design/issue/BS-2893/无邀请权限的member-时不需要显示invite入口 )
Close [BS-2891](https://linear.app/affine-design/issue/BS-2891/mention-members-sention默认需显示3个人 )
2025-03-27 09:45:14 +00:00
CatsJuice
e855197acf
feat(editor): responsive edgeless toolbar pen menu ( #11150 )
...
close BS-2855
2025-03-27 08:53:27 +00:00
fundon
2c4278058b
feat(editor): add highlighter ( #10573 )
...
Closes: [BS-2909](https://linear.app/affine-design/issue/BS-2909/新增highlighter )
### What's Changed!
Currently the highlighter tool is very similar to brush, but for the future, it's a standalone module.
* Added `Highlighter` element model
* Added `Highlighter` tool
* Added `Highlighter` entry to the global toolbar
2025-03-27 08:53:26 +00:00
Saul-Mirone
ce39117953
fix(editor): table data lost when converted to linked doc ( #11212 )
...
Closes: BS-2908
2025-03-26 13:07:22 +00:00
Saul-Mirone
0a8d8e0a6b
feat: seperate createDoc and createStore ( #11182 )
2025-03-26 11:03:47 +00:00
L-Sun
c23b8f604b
fix(editor): incorrect edgeless viewport in peek view ( #11040 )
...
### What Changes
- Fixed incorrect edgeless viewport display in peek view
- Moved page block viewport fit animation logic from `EdgelessRootBlockComponent` to note config extension
- Disabled page block viewport fit animation in peek view, using default `fitToScreen` instead
- @doodlewind Fixed viewport resizing issues by adding a immediate update mechanism to ensure proper rendering during peek view operations. The setViewportByBound is only called once during peek view initialization, so there are barely perf overhead.
- Updated related test cases
- Refactored peek view test cases to make them clearer and more reliable
- Added new test helper function `getViewportBound` for getting viewport boundary information
2025-03-26 09:29:05 +00:00
donteatfriedrice
b5945c7e7d
feat(editor): limit embed edgeless iframe block width and height ( #11192 )
...
[BS-2841](https://linear.app/affine-design/issue/BS-2841/iframe-embed-block-edgeless-block-component-限制-resize-时的最大最小宽高 )
2025-03-26 08:38:06 +00:00
donteatfriedrice
39fa8e87cf
feat(editor): add idle status for embed iframe block ( #11142 )
...
To close:
[BS-2843](https://linear.app/affine-design/issue/BS-2843/iframe-embed-block-占位态 )
[BS-2844](https://linear.app/affine-design/issue/BS-2844/iframe-embed-block-create-modal-ui-调整 )
[BS-2880](https://linear.app/affine-design/issue/BS-2880/spotify-选中时圆角有问题 )
[BS-2881](https://linear.app/affine-design/issue/BS-2881/miro-圆角有问题-点击-see-the-board-加载之后就好了 )
2025-03-26 08:38:06 +00:00
doouding
ace5d44a61
refactor: rewrite dblclick and selection logic of default-tool ( #11036 )
...
continue #10824
### Changed
- Moved double-click-to-edit behavior from the default tool to individual model views
- Introduced `onSelected` callback interface in gfx view components to allows developers to override default selection logic
2025-03-26 07:32:43 +00:00
Saul-Mirone
27d07a6e24
feat(editor): add command for edgeless clipboard ( #11173 )
2025-03-25 12:09:24 +00:00
Saul-Mirone
1871428021
feat(editor): extensionize clipboards ( #11172 )
2025-03-25 12:09:24 +00:00
Saul-Mirone
a4033f5596
feat(editor): clipboard config extensions ( #11171 )
2025-03-25 12:09:24 +00:00
Saul-Mirone
e84c60f53d
feat(editor): add provider for base adapter ( #11169 )
2025-03-25 12:09:23 +00:00
Saul-Mirone
df057b4c12
feat(editor): edgeless clipboard config extension ( #11168 )
2025-03-25 12:09:23 +00:00
Flrande
7ea43118fb
fix(editor): update at menu max height ( #11174 )
2025-03-25 09:36:09 +00:00
Saul-Mirone
f914775885
refactor(editor): improve the implementation of auto complete ( #11135 )
2025-03-24 12:05:57 +00:00
Saul-Mirone
4d3eee3bad
feat(editor): brush gfx package ( #11131 )
2025-03-24 09:28:46 +00:00
Saul-Mirone
ef1ed383cb
feat(editor): command for ungroup and group ( #11116 )
2025-03-24 15:34:38 +09:00
Flrande
4bacfbd640
feat(editor): support member node ( #11075 )
...
Close [BS-2793](https://linear.app/affine-design/issue/BS-2793/inline-member )
2025-03-24 05:57:03 +00:00
Saul-Mirone
b8df65a2b0
refactor(editor): move mindmap transform to its package ( #11115 )
2025-03-24 05:19:30 +00:00
Flrande
29fdbb7105
fix(editor): disable popover when start with space ( #11092 )
2025-03-24 03:53:17 +00:00
Saul-Mirone
dfd633b8b0
refactor(editor): remove unused panels ( #11103 )
2025-03-24 03:14:23 +00:00
Saul-Mirone
5525c2bc8d
refactor(editor): move mindmap view to mindmap package ( #11102 )
2025-03-24 03:14:23 +00:00
Saul-Mirone
8e08b9000d
feat(editor): create gfx mindmap package ( #11100 )
2025-03-24 03:14:22 +00:00
Saul-Mirone
1f0fc9d47a
feat(editor): gfx connector package ( #11091 )
2025-03-22 14:39:05 +00:00
Saul-Mirone
d398ee4dfa
refactor(editor): move present components to its package ( #11089 )
2025-03-22 14:39:05 +00:00
Saul-Mirone
e3735f40b8
feat(editor): gfx note package ( #11088 )
2025-03-22 14:39:04 +00:00
Saul-Mirone
e1fa10af47
refactor(editor): improve page viewport implementation ( #11090 )
2025-03-22 04:41:40 +00:00
Saul-Mirone
c1d426d8e9
refactor(editor): move frame toolbar config and components to its package ( #11084 )
2025-03-21 16:47:40 +00:00
Saul-Mirone
f5fb5c848e
refactor(editor): move text toolbar config and components to its package ( #11083 )
2025-03-21 16:47:40 +00:00
Saul-Mirone
f762797772
refactor(editor): move shape toolbar config and components to its package ( #11082 )
2025-03-21 16:47:39 +00:00
Saul-Mirone
73807193cb
refactor(editor): extract common toolbar config ( #11069 )
2025-03-21 11:45:33 +00:00
Saul-Mirone
ee3494e01d
refactor(editor): extract draggable helper of edgeless toolbar ( #11068 )
2025-03-21 11:45:33 +00:00
Saul-Mirone
35e986cb94
refactor(editor): extract common mixin of edgeless toolbar ( #11067 )
2025-03-21 11:45:32 +00:00
Saul-Mirone
6777c16683
feat(editor): edgeless toolbar widget package ( #11064 )
2025-03-21 11:45:32 +00:00
Saul-Mirone
51d89edb02
refactor(editor): use extension to register edgeless toolbar button ( #11062 )
2025-03-21 11:45:31 +00:00