Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparkles: feat: add Editor Layout new Components #108

Merged
merged 38 commits into from
Dec 20, 2023
Merged

sparkles: feat: add Editor Layout new Components #108

merged 38 commits into from
Dec 20, 2023

Conversation

ONLY-yours
Copy link
Collaborator

@ONLY-yours ONLY-yours commented Nov 28, 2023

  • 定义Layout组件的结构和基本功能
    • Header 和 Footer 部分及其相应的配置项
    • 通用 Pannel 的配置项
    • 特定 Pannel 的渲染逻辑
  • 不同类型的布局(左和右、左全屏、右全屏、底部)
  • Header和Footer部分的属性(Icon、extra、flex、hide)
  • Pannel组件及其属性(children、direction、tabs、icon、extra、hide、minWidth、minHeight)
  • Layout组件的默认预设(如VsCode、Unity等)
  • 演示示例,展示Layout组件的功能和用法

先不补单元测试了 :) 以后有时间赶上去
单测

Copy link

github-actions bot commented Nov 28, 2023

🎊 PR Preview d45814c has been successfully built and deployed to https://ant-design-pro-editor-preview-pr-108.surge.sh

🕐 Build time: 72.065s

🤖 By surge-preview

@codecov-commenter
Copy link

codecov-commenter commented Nov 29, 2023

Codecov Report

Attention: 86 lines in your changes are missing coverage. Please review.

Comparison is base (a2b788d) 81.03% compared to head (d45814c) 81.51%.
Report is 1 commits behind head on main.

❗ Current head d45814c differs from pull request most recent head 7504da3. Consider uploading reports for the commit 7504da3 to get more accurate results

Files Patch % Lines
src/Layout/demos/components/sessinList.tsx 72.05% 38 Missing ⚠️
src/Layout/components/LayoutTypeContainer.tsx 67.02% 31 Missing ⚠️
src/Layout/demos/themeType.tsx 85.91% 10 Missing ⚠️
src/Layout/components/HeaderAndFooter.tsx 96.74% 4 Missing ⚠️
src/Layout/demos/dingding.tsx 98.68% 2 Missing ⚠️
src/Layout/components/PannelDefault.tsx 99.09% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
+ Coverage   81.03%   81.51%   +0.48%     
==========================================
  Files         419      432      +13     
  Lines       25746    26886    +1140     
  Branches     1164     1231      +67     
==========================================
+ Hits        20862    21916    +1054     
- Misses       4884     4970      +86     

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

ONLY-yours and others added 7 commits November 29, 2023 11:31
## [Version 0.29.0-rc.1](v0.28.0...v0.29.0-rc.1)
<sup>Released on **2023-12-04**</sup>

#### ✨ 新特性

- Add Editor Layout new Components, sortablelist support renderHeader", update pannel defaultSize, update snapshot.

#### 🐛 修复

- Revert workflow, test workflow.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Add Editor Layout new Components ([927cc46](927cc46))
* Sortablelist support renderHeader" ([53d75fd](53d75fd))
* Update pannel defaultSize ([af323ec](af323ec))
* Update snapshot ([5f77048](5f77048))

#### What's fixed

* Revert workflow ([7785cc1](7785cc1))
* Test workflow ([2905ee9](2905ee9))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.30.0-rc.1](v0.29.2...v0.30.0-rc.1)
<sup>Released on **2023-12-04**</sup>

#### ✨ 新特性

- Add Editor Layout new Components, update pannel defaultSize, update snapshot, update styles & props.

#### 🐛 修复

- Merge main, revert workflow, test workflow.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Add Editor Layout new Components ([927cc46](927cc46))
* Update pannel defaultSize ([af323ec](af323ec))
* Update snapshot ([5f77048](5f77048))
* Update styles & props ([decb858](decb858))

#### What's fixed

* Merge main ([ae678e0](ae678e0))
* Revert workflow ([7785cc1](7785cc1))
* Test workflow ([2905ee9](2905ee9))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@ONLY-yours ONLY-yours changed the title 「WIP」:sparkles: feat: add Editor Layout new Components sparkles: feat: add Editor Layout new Components Dec 5, 2023
ONLY-yours and others added 16 commits December 5, 2023 16:38
## [Version&nbsp;0.30.0-rc.2](v0.30.0-rc.1...v0.30.0-rc.2)
<sup>Released on **2023-12-05**</sup>

#### 🐛 修复

- Ci bulid fixed, update styles.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Ci bulid fixed ([24df343](24df343))
* Update styles ([241de5b](241de5b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.31.0-rc.1](v0.30.0...v0.31.0-rc.1)
<sup>Released on **2023-12-06**</sup>

#### ✨ 新特性

- Add Editor Layout new Components, Change Name as EdiorLayout, merge master & update snapshot, update pannel defaultSize, update snapshot, update styles & props.

#### 🐛 修复

- Ci bulid fixed, merge main, release workflow update, revert workflow, test workflow, update styles.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Add Editor Layout new Components ([927cc46](927cc46))
* Change Name as EdiorLayout ([c1e4c00](c1e4c00))
* Merge master & update snapshot ([fed6ff8](fed6ff8))
* Update pannel defaultSize ([af323ec](af323ec))
* Update snapshot ([5f77048](5f77048))
* Update styles & props ([decb858](decb858))

#### What's fixed

* Ci bulid fixed ([24df343](24df343))
* Merge main ([ae678e0](ae678e0))
* Release workflow update ([59acc60](59acc60))
* Revert workflow ([7785cc1](7785cc1))
* Test workflow ([2905ee9](2905ee9))
* Update styles ([241de5b](241de5b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.31.0-rc.2](v0.31.0-rc.1...v0.31.0-rc.2)
<sup>Released on **2023-12-06**</sup>

#### 🐛 修复

- Merge branch, update Layout Pannel Styles, update snapshot.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Merge branch ([5b4c5a1](5b4c5a1))
* Update Layout Pannel Styles ([a3144ac](a3144ac))
* Update snapshot ([f2665ef](f2665ef))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
semantic-release-bot and others added 11 commits December 18, 2023 09:39
## [Version&nbsp;0.32.0-rc.1](v0.31.0...v0.32.0-rc.1)
<sup>Released on **2023-12-18**</sup>

#### ✨ 新特性

- Add Editor Layout new Components, Change Name as EdiorLayout, header & footer config & layout type was dont, merge main, merge master & update snapshot, reflact code struct, update pannel defaultSize, update snapshot, update snapshot, update styles & props.

#### 🐛 修复

- Ci bulid fixed, ci fixed, merge branch, merge main, release workflow update, revert workflow, test workflow, update Layout Pannel Styles, update snapshot, update styles.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Add Editor Layout new Components ([927cc46](927cc46))
* Change Name as EdiorLayout ([c1e4c00](c1e4c00))
* Header & footer config & layout type was dont ([5dfbdfb](5dfbdfb))
* Merge main ([11c65d8](11c65d8))
* Merge master & update snapshot ([fed6ff8](fed6ff8))
* Reflact code struct ([2c78710](2c78710))
* Update pannel defaultSize ([af323ec](af323ec))
* Update snapshot ([68de22d](68de22d))
* Update snapshot ([5f77048](5f77048))
* Update styles & props ([decb858](decb858))

#### What's fixed

* Ci bulid fixed ([24df343](24df343))
* Ci fixed ([be8c8c4](be8c8c4))
* Merge branch ([5b4c5a1](5b4c5a1))
* Merge main ([ae678e0](ae678e0))
* Release workflow update ([59acc60](59acc60))
* Revert workflow ([7785cc1](7785cc1))
* Test workflow ([2905ee9](2905ee9))
* Update Layout Pannel Styles ([a3144ac](a3144ac))
* Update snapshot ([f2665ef](f2665ef))
* Update styles ([241de5b](241de5b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.32.0-rc.2](v0.32.0-rc.1...v0.32.0-rc.2)
<sup>Released on **2023-12-19**</sup>

#### ✨ 新特性

- Udpate snapshot, update dingding demo & pannel config done.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Udpate snapshot ([050fa45](050fa45))
* Update dingding demo & pannel config done ([172dc14](172dc14))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.32.0-rc.3](v0.32.0-rc.2...v0.32.0-rc.3)
<sup>Released on **2023-12-20**</sup>

#### 🐛 修复

- Fix markdown & highlight not support memo, remove demo old api.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* Fix markdown & highlight not support memo ([136850f](136850f))
* Remove demo old api ([fd9ff8c](fd9ff8c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
## [Version&nbsp;0.33.0-rc.1](v0.32.0...v0.33.0-rc.1)
<sup>Released on **2023-12-20**</sup>

#### ✨ 新特性

- Add Editor Layout new Components, Change Name as EdiorLayout, header & footer config & layout type was dont, merge main, merge master & update snapshot, reflact code struct, udpate snapshot, update dingding demo & pannel config done, update pannel defaultSize, update snapshot, update snapshot, update styles & props.

#### 🐛 修复

- Ci bulid fixed, ci fixed, delete console.log, merge branch, merge main, merge main, release workflow update, revert workflow, test workflow, update Layout Pannel Styles, update snapshot, update styles.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Add Editor Layout new Components ([927cc46](927cc46))
* Change Name as EdiorLayout ([c1e4c00](c1e4c00))
* Header & footer config & layout type was dont ([5dfbdfb](5dfbdfb))
* Merge main ([11c65d8](11c65d8))
* Merge master & update snapshot ([fed6ff8](fed6ff8))
* Reflact code struct ([2c78710](2c78710))
* Udpate snapshot ([050fa45](050fa45))
* Update dingding demo & pannel config done ([172dc14](172dc14))
* Update pannel defaultSize ([af323ec](af323ec))
* Update snapshot ([68de22d](68de22d))
* Update snapshot ([5f77048](5f77048))
* Update styles & props ([decb858](decb858))

#### What's fixed

* Ci bulid fixed ([24df343](24df343))
* Ci fixed ([be8c8c4](be8c8c4))
* Delete console.log ([d45814c](d45814c))
* Merge branch ([5b4c5a1](5b4c5a1))
* Merge main ([1df83ce](1df83ce))
* Merge main ([ae678e0](ae678e0))
* Release workflow update ([59acc60](59acc60))
* Revert workflow ([7785cc1](7785cc1))
* Test workflow ([2905ee9](2905ee9))
* Update Layout Pannel Styles ([a3144ac](a3144ac))
* Update snapshot ([f2665ef](f2665ef))
* Update styles ([241de5b](241de5b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Copy link
Member

@rdmclin2 rdmclin2 left a comment

Choose a reason for hiding this comment

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

+1

src/Layout/components/LayoutTypeContainer.tsx Outdated Show resolved Hide resolved
@rdmclin2 rdmclin2 merged commit d84612a into main Dec 20, 2023
1 check passed
@rdmclin2 rdmclin2 deleted the rc branch December 20, 2023 07:13
Copy link

🎉 This PR is included in version 0.33.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants