mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(editor): slash menu and toolbar widget extensions (#12002)
Closes: BS-3226 Closes: BS-3227 Closes: BS-3228 Closes: BS-3229 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced new view extensions for remote selection, scroll anchoring, slash menu, and toolbar widgets, enhancing customization and integration capabilities. - **Refactor** - Updated export paths and module structure for widget-related packages to improve modularity and accessibility. - Reorganized internal dependencies and removed redundant widget imports from core block packages. - Refactored edgeless-related widgets and components to use a standardized scope interface for improved context and state management. - Centralized graphics controller access and slot management through standardized context objects. - **Chores** - Added and updated dependencies to streamline extension loading and workspace management. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -344,8 +344,6 @@ export const PackageList = [
|
||||
'blocksuite/affine/rich-text',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/affine/widgets/edgeless-toolbar',
|
||||
'blocksuite/affine/widgets/remote-selection',
|
||||
'blocksuite/affine/widgets/scroll-anchoring',
|
||||
'blocksuite/affine/widgets/slash-menu',
|
||||
'blocksuite/affine/widgets/toolbar',
|
||||
'blocksuite/affine/data-view',
|
||||
@@ -859,6 +857,7 @@ export const PackageList = [
|
||||
workspaceDependencies: [
|
||||
'blocksuite/affine/blocks/surface',
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/ext-loader',
|
||||
'blocksuite/affine/model',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/global',
|
||||
@@ -869,6 +868,7 @@ export const PackageList = [
|
||||
location: 'blocksuite/affine/widgets/scroll-anchoring',
|
||||
name: '@blocksuite/affine-widget-scroll-anchoring',
|
||||
workspaceDependencies: [
|
||||
'blocksuite/affine/ext-loader',
|
||||
'blocksuite/affine/model',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/global',
|
||||
@@ -880,6 +880,7 @@ export const PackageList = [
|
||||
name: '@blocksuite/affine-widget-slash-menu',
|
||||
workspaceDependencies: [
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/ext-loader',
|
||||
'blocksuite/affine/rich-text',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/global',
|
||||
@@ -895,6 +896,7 @@ export const PackageList = [
|
||||
'blocksuite/affine/blocks/surface',
|
||||
'blocksuite/affine/blocks/table',
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/ext-loader',
|
||||
'blocksuite/affine/model',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/global',
|
||||
|
||||
Reference in New Issue
Block a user