Skip to content

Commit

Permalink
feat: design menubar toolbar actions (#4268)
Browse files Browse the repository at this point in the history
* feat: design menubar toolbar actions

* fix: ci
  • Loading branch information
Ricbet authored Dec 25, 2024
1 parent f230c4d commit 1a08936
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:*",
Expand Down
2 changes: 2 additions & 0 deletions packages/design/src/browser/menu-bar/menu-bar.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -144,6 +145,7 @@ export const DesignMenuBarView = () => {
<SlotRenderer id='design-menubar-left' slot={DESIGN_MENU_BAR_LEFT} flex={1} />
</div>
<div className={styles.right}>
<ToolBar />
<SlotRenderer id='design-menubar-right' slot={DESIGN_MENU_BAR_RIGHT} flex={1} />
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

1 comment on commit 1a08936

@opensumi
Copy link
Contributor

@opensumi opensumi bot commented on 1a08936 Dec 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Next publish successful!

3.6.5-next-1735177632.0

Please sign in to comment.