From 1a08936dc3c58fd350fb292b91adedbcf4bb3061 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 25 Dec 2024 15:04:37 +0800 Subject: [PATCH] feat: design menubar toolbar actions (#4268) * feat: design menubar toolbar actions * fix: ci --- packages/design/package.json | 3 ++- packages/design/src/browser/menu-bar/menu-bar.view.tsx | 2 ++ yarn.lock | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/design/package.json b/packages/design/package.json index 9cde45187d..046503fcd7 100644 --- a/packages/design/package.json +++ b/packages/design/package.json @@ -26,7 +26,8 @@ "@opensumi/ide-main-layout": "workspace:*", "@opensumi/ide-menu-bar": "workspace:*", "@opensumi/ide-overlay": "workspace:*", - "@opensumi/ide-theme": "workspace:*" + "@opensumi/ide-theme": "workspace:*", + "@opensumi/ide-toolbar": "workspace:*" }, "devDependencies": { "@opensumi/ide-core-browser": "workspace:*", diff --git a/packages/design/src/browser/menu-bar/menu-bar.view.tsx b/packages/design/src/browser/menu-bar/menu-bar.view.tsx index 174f707c70..2b603605ad 100644 --- a/packages/design/src/browser/menu-bar/menu-bar.view.tsx +++ b/packages/design/src/browser/menu-bar/menu-bar.view.tsx @@ -9,6 +9,7 @@ import { VIEW_CONTAINERS } from '@opensumi/ide-core-browser/lib/layout/view-id'; import { AbstractContextMenuService, ICtxMenuRenderer, MenuId } from '@opensumi/ide-core-browser/lib/menu/next'; import { CommandService } from '@opensumi/ide-core-common'; import { IMainLayoutService } from '@opensumi/ide-main-layout'; +import { ToolBar } from '@opensumi/ide-toolbar/lib/browser/toolbar.view'; import { DESIGN_MENU_BAR_LEFT, DESIGN_MENU_BAR_RIGHT } from '../../common'; @@ -144,6 +145,7 @@ export const DesignMenuBarView = () => {
+
diff --git a/yarn.lock b/yarn.lock index 8736f785ad..ad44e3ab9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3483,6 +3483,7 @@ __metadata: "@opensumi/ide-menu-bar": "workspace:*" "@opensumi/ide-overlay": "workspace:*" "@opensumi/ide-theme": "workspace:*" + "@opensumi/ide-toolbar": "workspace:*" languageName: unknown linkType: soft