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

⚡ feat: ProEditor ConvigProvider 优化改造,Prefix 动态获取 #120

Merged
merged 14 commits into from
Jan 2, 2024

Conversation

ONLY-yours
Copy link
Collaborator

@ONLY-yours ONLY-yours commented Dec 14, 2023

Provider & Prefix 改造

ConfigProvider

  • ThemeProvider
  • useTheme、useStyle
  • ConfigProvider

Components

  • Highlight
  • ActionIcon & IconGroup
  • CollapseTitle
  • ContextMenu
  • DraggablePannel
  • FieldIcon
  • FieldSelect
  • FreeCanvas
  • Markdown
  • Snippet
  • TipGuide
  • DataFill
  • DataPreviewer
  • IconPicker
  • InteractContainer
  • LevaPanel
  • SortableList
  • SortableTree
  • ColumnList
  • ProBuilder
  • AppContainer

Hooks

  • useContextCanvas.ts

Copy link

github-actions bot commented Dec 14, 2023

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

🕐 Build time: 72.971s

🤖 By surge-preview

@ONLY-yours
Copy link
Collaborator Author

@arvinxx 这样子好像会导致,这串代码拿到的亮色和暗色疯狂切换,最后都会落到 dark 上。能帮忙看看是什么地方组合不对么

const { appearance } = useThemeMode();

@ONLY-yours
Copy link
Collaborator Author

link:#132
一并在这个pr修掉了

@codecov-commenter
Copy link

codecov-commenter commented Jan 2, 2024

Codecov Report

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

Comparison is base (b4e49e4) 83.88% compared to head (600ed26) 83.89%.
Report is 1 commits behind head on main.

Files Patch % Lines
src/ContextMenu/MenuItem/style.ts 3.50% 55 Missing ⚠️
src/CollapseTitle/index.tsx 95.45% 2 Missing ⚠️
src/IconPicker/components/ScriptEditor.tsx 50.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   83.88%   83.89%           
=======================================
  Files         434      435    +1     
  Lines       30978    30902   -76     
  Branches     1241     1248    +7     
=======================================
- Hits        25987    25926   -61     
+ Misses       4991     4976   -15     

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

@ONLY-yours ONLY-yours changed the title ⚡ feat: update prefix & config provider logic ⚡ feat: ProEditor ConvigProvider 优化改造,Prefix 动态获取 Jan 2, 2024
@ONLY-yours ONLY-yours merged commit 54f265f into main Jan 2, 2024
4 checks passed
@ONLY-yours ONLY-yours deleted the update/Provider branch January 2, 2024 07:36
arvinxx pushed a commit that referenced this pull request Jan 2, 2024
## [Version 0.38.0](v0.37.0...v0.38.0)
<sup>Released on **2024-01-02**</sup>

#### ✨ 新特性

- ProEditor ConvigProvider 优化改造,Prefix 动态获取.

<br/>

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

#### What's improved

* ProEditor ConvigProvider 优化改造,Prefix 动态获取, closes [#120](#120) ([54f265f](54f265f))

</details>

<div align="right">

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

</div>
Copy link

github-actions bot commented Jan 2, 2024

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

3 participants