Skip to content

feat: support ai native layout config#3423

Merged
Ricbet merged 4 commits intomainfrom
feat/support-useMergeRightWithLeftPanel
Mar 21, 2024
Merged

feat: support ai native layout config#3423
Ricbet merged 4 commits intomainfrom
feat/support-useMergeRightWithLeftPanel

Conversation

@Ricbet
Copy link
Copy Markdown
Member

@Ricbet Ricbet commented Mar 20, 2024

Types

  • 🎉 New Features

Background or solution

ai native 模块新增 useMergeRightWithLeftPanel 和 useMenubarView 配置,可以将 right 面板与 left 面板进行合并,保留一定空间给 chat 面板,默认关闭(可在集成方开启)

默认:
image

开启后:
image

Changelog

@Ricbet Ricbet self-assigned this Mar 20, 2024
@opensumi opensumi Bot added the 🎨 feature feature required label Mar 20, 2024
@Ricbet Ricbet changed the title feat: support useMergeRightWithLeftPanel api feat: support useMergeRightWithLeftPanel config Mar 20, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 57.12%. Comparing base (426adea) to head (9c19561).

Files Patch % Lines
...es/core-browser/src/ai-native/ai-config.service.ts 13.63% 17 Missing and 2 partials ⚠️
packages/menu-bar/src/browser/menu-bar.store.ts 30.00% 7 Missing ⚠️
...ages/ai-native/src/browser/layout/layout-config.ts 0.00% 5 Missing ⚠️
packages/ai-native/src/browser/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3423      +/-   ##
==========================================
- Coverage   57.14%   57.12%   -0.02%     
==========================================
  Files        1441     1441              
  Lines       88874    88903      +29     
  Branches    18310    18315       +5     
==========================================
+ Hits        50784    50788       +4     
- Misses      34655    34679      +24     
- Partials     3435     3436       +1     
Flag Coverage Δ
jsdom 52.38% <20.00%> (-0.02%) ⬇️
node 15.95% <2.50%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Ricbet Ricbet changed the title feat: support useMergeRightWithLeftPanel config WIP: feat: support useMergeRightWithLeftPanel config Mar 20, 2024
@Ricbet Ricbet force-pushed the feat/support-useMergeRightWithLeftPanel branch from 28f265a to 77e0f6a Compare March 21, 2024 07:28
@Ricbet Ricbet changed the title WIP: feat: support useMergeRightWithLeftPanel config feat: support ai native layout config Mar 21, 2024
Comment thread packages/ai-native/src/browser/layout/menu-bar/menu-bar.view.tsx
@Ricbet Ricbet merged commit 1178bb0 into main Mar 21, 2024
@Ricbet Ricbet deleted the feat/support-useMergeRightWithLeftPanel branch March 21, 2024 11:03
@erha19 erha19 added the v3 OpenSumi 3.0 label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 feature feature required v3 OpenSumi 3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants