mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 00:11:33 +03:00
24cb0d3757
This PR provide `DocModeService` to manage document mode, which is used by blocksuite. ### What Changed? - Add document mode apis from `DocService` and `DocsService` - Remove useless `pageService.getEditorMode` and `pageService.slots.editorModeSwitch` api [Related PR in blocksuite](https://github.com/toeverything/blocksuite/pull/7288) [Bump Blocksuite](https://github.com/toeverything/AFFiNE/pull/7209) > ## Features > * [feat(presets): support different tracker control for actions blocksuite#7285](https://github.com/toeverything/blocksuite/pull/7285) @donteatfriedrice > * [feat(edgeless): add default color and editing border for edgeless text blocksuite#7278](https://github.com/toeverything/blocksuite/pull/7278) @Flrande > * [feat(blocks): center peek entries blocksuite#7275](https://github.com/toeverything/blocksuite/pull/7275) @pengx17 > > ## Bugfix > * [fix(blocks): affine-embed-synced-doc-block peek on dblclick blocksuite#7284](https://github.com/toeverything/blocksuite/pull/7284) @pengx17 > * [fix(edgeless): edgeless text rect should automatically update when changing font blocksuite#7292](https://github.com/toeverything/blocksuite/pull/7292) @Flrande > * [fix(edgeless): align panel not work blocksuite#7293](https://github.com/toeverything/blocksuite/pull/7293) @Flrande > * [fix(blocks): filterable list unexpected hover style blocksuite#7291](https://github.com/toeverything/blocksuite/pull/7291) @golok727 > * [fix(blocks): slash menu unexpected hover style blocksuite#7290](https://github.com/toeverything/blocksuite/pull/7290) @golok727 > * [fix(blocks): bookmark block error on undo or delete while loading blocksuite#7276](https://github.com/toeverything/blocksuite/pull/7276) @golok727 > * [fix(presets): chat input max-height blocksuite#7283](https://github.com/toeverything/blocksuite/pull/7283) @fundon > * [fix(presets): get image blob from selection blocksuite#7286](https://github.com/toeverything/blocksuite/pull/7286) @donteatfriedrice > * [fix(blocks): connectors resize and rotate blocksuite#7256](https://github.com/toeverything/blocksuite/pull/7256) @fundon > > ## Refactor > * [refactor: add DocModeService for doc mode get, set, toogle and observe change blocksuite#7288](https://github.com/toeverything/blocksuite/pull/7288) @akumatus > * [refactor(edgeless): rewrite auto-connect component as a widget blocksuite#7287](https://github.com/toeverything/blocksuite/pull/7287) @doouding > > ## Misc > * [test: fix flaky blocksuite#7295](https://github.com/toeverything/blocksuite/pull/7295) @L-Sun > * [style(page): adjust heading font-weight and letter-spacing blocksuite#7277](https://github.com/toeverything/blocksuite/pull/7277) @CatsJuice > * [chore: apply member ordering rule blocksuite#7279](https://github.com/toeverything/blocksuite/pull/7279) @Saul-Mirone --- |
||
---|---|---|
.. | ||
blocksuite | ||
all-page.spec.ts | ||
change-page-mode.spec.ts | ||
contact-us.spec.ts | ||
drag-page.spec.ts | ||
duplicate-page.spec.ts | ||
exception-page.spec.ts | ||
image-preview.spec.ts | ||
layout.spec.ts | ||
local-first-avatar.spec.ts | ||
local-first-collections-items.spec.ts | ||
local-first-delete-page.spec.ts | ||
local-first-delete-workspace.spec.ts | ||
local-first-export-page.spec.ts | ||
local-first-favorite-page.spec.ts | ||
local-first-favorites-items.spec.ts | ||
local-first-new-page.spec.ts | ||
local-first-openpage-newtab.spec.ts | ||
local-first-restore-page.spec.ts | ||
local-first-show-delete-modal.spec.ts | ||
local-first-trash-page.spec.ts | ||
local-first-workspace-list.spec.ts | ||
local-first-workspace.spec.ts | ||
navigation.spec.ts | ||
open-affine.spec.ts | ||
page-properties.spec.ts | ||
peek-view.spec.ts | ||
quick-search.spec.ts | ||
router.spec.ts | ||
settings.spec.ts | ||
shortcuts.spec.ts | ||
subpage.spec.ts | ||
theme.spec.ts |