mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 19:16:29 +08:00
feat(editor): edgeless page block toolbar (#9707)
Close [BS-2315](https://linear.app/affine-design/issue/BS-2315/page-block-header) ### What Changes - Add header toolbar to page block (the first note in canvas) - Add e2e tests - Add some edgeless e2e test utils. **The package `@blocksuite/affine` was added to `"@affine-test/kit"`**
This commit is contained in:
@@ -239,6 +239,17 @@ export const AFFINE_FLAGS = {
|
||||
configurable: !isMobile,
|
||||
defaultState: isCanaryBuild,
|
||||
},
|
||||
// TODO(@L-Sun): remove this flag when ready
|
||||
enable_page_block_header: {
|
||||
category: 'blocksuite',
|
||||
bsFlag: 'enable_page_block_header',
|
||||
displayName:
|
||||
'com.affine.settings.workspace.experimental-features.enable-page-block-header.name',
|
||||
description:
|
||||
'com.affine.settings.workspace.experimental-features.enable-page-block-header.description',
|
||||
configurable: isCanaryBuild,
|
||||
defaultState: isCanaryBuild,
|
||||
},
|
||||
} satisfies { [key in string]: FlagInfo };
|
||||
|
||||
// oxlint-disable-next-line no-redeclare
|
||||
|
||||
Reference in New Issue
Block a user