ant-design / pro-editor

🕹️ The Ultimate Editor UI Framework and Components
https://pro-editor.antdigital.dev
MIT License
208 stars 26 forks source link

feat: SortableList and ColumnList 去除初始化逻辑,支持 id 通过 getId 方法获取 #71

Closed rdmclin2 closed 1 year ago

github-actions[bot] commented 1 year ago

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

:clock1: Build time: 128.273s

🤖 By surge-preview

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 87.14% and project coverage change: -0.04% :warning:

Comparison is base (fe954db) 87.66% compared to head (59f1b55) 87.63%. Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #71 +/- ## ========================================== - Coverage 87.66% 87.63% -0.04% ========================================== Files 335 335 Lines 21629 21619 -10 Branches 972 967 -5 ========================================== - Hits 18961 18945 -16 - Misses 2668 2674 +6 ``` | [Files Changed](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/SortableList/demos/renderItem.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9kZW1vcy9yZW5kZXJJdGVtLnRzeA==) | `73.84% <0.00%> (ø)` | | | [src/SortableList/hooks/useSortableList.ts](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9ob29rcy91c2VTb3J0YWJsZUxpc3QudHM=) | `91.66% <0.00%> (-1.30%)` | :arrow_down: | | [src/SortableList/store/store.ts](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9zdG9yZS9zdG9yZS50cw==) | `50.87% <14.28%> (-1.96%)` | :arrow_down: | | [src/SortableList/demos/getId.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9kZW1vcy9nZXRJZC50c3g=) | `93.33% <93.33%> (ø)` | | | [src/ColumnList/ColumnList.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0NvbHVtbkxpc3QvQ29sdW1uTGlzdC50c3g=) | `96.66% <95.12%> (-1.61%)` | :arrow_down: | | [src/ColumnList/ColumnItem.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0NvbHVtbkxpc3QvQ29sdW1uSXRlbS50c3g=) | `96.25% <100.00%> (+0.02%)` | :arrow_up: | | [src/ColumnList/demos/actions.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0NvbHVtbkxpc3QvZGVtb3MvYWN0aW9ucy50c3g=) | `96.82% <100.00%> (ø)` | | | [src/ColumnList/demos/column.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0NvbHVtbkxpc3QvZGVtb3MvY29sdW1uLnRzeA==) | `98.38% <100.00%> (ø)` | | | [src/ColumnList/demos/controlled.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0NvbHVtbkxpc3QvZGVtb3MvY29udHJvbGxlZC50c3g=) | `95.00% <100.00%> (ø)` | | | [src/ColumnList/demos/creatorButtonProps.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0NvbHVtbkxpc3QvZGVtb3MvY3JlYXRvckJ1dHRvblByb3BzLnRzeA==) | `95.90% <100.00%> (ø)` | | | ... and [10 more](https://app.codecov.io/gh/ant-design/pro-editor/pull/71?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 0.16.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: