L-Sun
9dbdd4b7ba
refactor(editor): add helper function for undo notification ( #11903 )
...
### What Changes
- Refactors the `notify` function call with undo button. It is called `notifyWithUndo`, which can associate the visibility of the `NotificationCard` with the top undo item in history stack, such as undo by shortcut `Cmd+Z`.
- change icon of the "Insert into page" button. Close [BS-3267](https://linear.app/affine-design/issue/BS-3267/frame和group的insert-into-page图标也更换一下 )
2025-04-23 05:56:23 +00:00
L-Sun
27ff9ab9f4
refactor(core): move actions to footer of notification card ( #11894 )
...
This PR move all actions button to the footer of `NotificationCard`. There are some example as following:
### No Changes



### Changes
### Before

#### After

2025-04-23 05:41:14 +00:00
doouding
b59f6ebde0
refactor: default-tool box selection ( #11800 )
...
### Changed
- Rewrite box selection in `default-tool`, the view can decide whether to be selected in box selection by return a boolean value in `onBoxSelected` method
- Cleanup unnecessary states in `default-tool` and some naming problem
2025-04-22 08:18:26 +00:00
Saul-Mirone
846410cdb6
feat(editor): note extension ( #11856 )
...
Closes: BS-3200
Closes: BS-3201
2025-04-21 13:18:35 +00:00
fundon
67832aab09
chore(editor): update file icons ( #11826 )
2025-04-21 09:18:29 +08:00
doodlewind
dba8e00fb6
feat(editor): add basic note support in turbo renderer ( #11607 )
...
After landing layout tree refactoring, this PR adds basic note support in turbo renderer.
In this demo recording, the code and image block needs to be further supported.
[Screen Recording 2025-04-10 at 5.16.15 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/2e416b41-5609-4e52-a90f-5b7bb77db682.mov " />](https://app.graphite.dev/media/video/lEGcysB4lFTEbCwZ8jMv/2e416b41-5609-4e52-a90f-5b7bb77db682.mov )
2025-04-10 09:52:33 +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