AFFiNE/tests/affine-local/e2e
akumatus 24cb0d3757
refactor: add docsService for blocksuite to change and observe doc mode (#7200)
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

---
2024-06-13 16:53:42 +08:00
..
blocksuite fix(core): flaky tests (#5804) 2024-02-06 03:20:54 +00:00
all-page.spec.ts feat(core): add multiDelete to trash page (#6798) 2024-05-07 06:54:59 +00:00
change-page-mode.spec.ts feat: bump blocksuite (#5953) 2024-02-29 14:33:50 +08:00
contact-us.spec.ts chore: prohibit unnecessary await (#4586) 2023-10-12 05:04:58 +00:00
drag-page.spec.ts feat(core): fav item reordering (#6302) 2024-03-29 04:04:27 +00:00
duplicate-page.spec.ts test(core): rewrite some flaky assertions (#5287) 2023-12-13 07:51:59 +00:00
exception-page.spec.ts chore: prohibit unnecessary await (#4586) 2023-10-12 05:04:58 +00:00
image-preview.spec.ts feat(core): bump blocksuite (#7019) 2024-05-22 08:48:28 +00:00
layout.spec.ts refactor(core): side bar resizing (#5280) 2023-12-13 07:52:01 +00:00
local-first-avatar.spec.ts fix(core): fix ui flashing (#7056) 2024-05-27 08:05:20 +00:00
local-first-collections-items.spec.ts test(core): add tests for page info ui (#5769) 2024-02-22 09:37:55 +00:00
local-first-delete-page.spec.ts test(core): add tests for page info ui (#5769) 2024-02-22 09:37:55 +00:00
local-first-delete-workspace.spec.ts feat(infra): framework 2024-04-17 15:09:09 +08:00
local-first-export-page.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
local-first-favorite-page.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
local-first-favorites-items.spec.ts feat(core): fav item reordering (#6302) 2024-03-29 04:04:27 +00:00
local-first-new-page.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
local-first-openpage-newtab.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
local-first-restore-page.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
local-first-show-delete-modal.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
local-first-trash-page.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
local-first-workspace-list.spec.ts fix: remove dnd for workspace list (#6754) 2024-04-30 14:57:38 +00:00
local-first-workspace.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
navigation.spec.ts style: enable import-x/no-duplicates (#6279) 2024-03-25 03:55:33 +00:00
open-affine.spec.ts chore: remove preloading pages (#5854) 2024-02-21 12:57:18 +00:00
page-properties.spec.ts feat(infra): new doc sync engine (#6205) 2024-03-22 16:43:26 +00:00
peek-view.spec.ts refactor: add docsService for blocksuite to change and observe doc mode (#7200) 2024-06-13 16:53:42 +08:00
quick-search.spec.ts chore: bump blocksuite (#7163) 2024-06-06 12:04:07 +00:00
router.spec.ts refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
settings.spec.ts fix: modify experimental features to app-level (#6823) 2024-05-08 12:21:02 +08:00
shortcuts.spec.ts test(core): rewrite some flaky assertions (#5287) 2023-12-13 07:51:59 +00:00
subpage.spec.ts test: improve data migration suite (#4124) 2023-09-02 03:31:07 +00:00
theme.spec.ts feat(electron): onboarding at first launch logic for client and web (#5183) 2023-12-19 07:17:54 +00:00