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

♻️ refactor:remove large dependency & unnecessary components #157

Merged
merged 15 commits into from
Jan 31, 2024

Conversation

rdmclin2
Copy link
Member

@rdmclin2 rdmclin2 commented Jan 25, 2024

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • ⚡️ perf
  • 📝 docs

🔀 变更说明 | Description of Change

  • 删除 DataFill,不常用组件
  • Awareness 组件支持 user 用户信息传入
  • 添加 Awareness Demo
  • 去掉 fakejs,dwrandom, mui, json-viewer 等大依赖

📝 补充信息 | Additional Information

#close #150

Copy link

github-actions bot commented Jan 25, 2024

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

🕐 Build time: 62.283s

🤖 By surge-preview

@codecov-commenter
Copy link

Codecov Report

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

Comparison is base (e53d6d0) 81.32% compared to head (6bd5e98) 81.02%.
Report is 1 commits behind head on main.

Files Patch % Lines
...editor/demos/realtimeCollaboration/SessionForm.tsx 0.00% 54 Missing ⚠️
...cs/pro-editor/demos/realtimeCollaboration/demo.tsx 0.00% 40 Missing ⚠️
src/Awareness/store.ts 0.00% 8 Missing ⚠️
src/Awareness/Awareness.tsx 0.00% 7 Missing ⚠️
docs/pro-editor/demos/controlledPresence.tsx 0.00% 2 Missing ⚠️
src/Awareness/Cursors/index.tsx 0.00% 1 Missing ⚠️
src/ProBuilder/components/Code/index.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
- Coverage   81.32%   81.02%   -0.30%     
==========================================
  Files         399      356      -43     
  Lines       25861    23471    -2390     
  Branches     1156     1028     -128     
==========================================
- Hits        21031    19018    -2013     
+ Misses       4830     4453     -377     

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

@rdmclin2 rdmclin2 changed the title Chore/remove large dependency ♻️ refactor:remove large dependency & unnecessary components Jan 31, 2024
@rdmclin2 rdmclin2 merged commit 8c631b1 into main Jan 31, 2024
5 checks passed
@rdmclin2 rdmclin2 deleted the chore/remove-large-dependency branch January 31, 2024 02:41
arvinxx pushed a commit that referenced this pull request Jan 31, 2024
## [Version 0.40.0](v0.39.0...v0.40.0)
<sup>Released on **2024-01-31**</sup>

#### ✨ 新特性

- Awareness support user config,remove large dependency & unnecessary components.

<br/>

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

#### What's improved

* Awareness support user config,remove large dependency & unnecessary components, closes [#157](#157) ([8c631b1](8c631b1))

</details>

<div align="right">

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

</div>
Copy link

🎉 This PR is included in version 0.40.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.

[Request] 去除 @mui/material 依赖
3 participants