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 : new components app #39046

Merged
merged 23 commits into from Dec 6, 2022
Merged

feat : new components app #39046

merged 23 commits into from Dec 6, 2022

Conversation

heiyu4585
Copy link
Contributor

@heiyu4585 heiyu4585 commented Nov 28, 2022

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

#38901

📝 Changelog

Language Changelog
🇺🇸 English new components app
🇨🇳 Chinese 新组件app

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@github-actions
Copy link
Contributor

github-actions bot commented Nov 28, 2022

components/app/index.tsx Outdated Show resolved Hide resolved
components/app/index.tsx Outdated Show resolved Hide resolved
components/app/index.tsx Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 30, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (d05884f) compared to base (943df6a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##           feature    #39046   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          548       550    +2     
  Lines         9407      9424   +17     
  Branches      2675      2676    +1     
=========================================
+ Hits          9407      9424   +17     
Impacted Files Coverage Δ
components/app/context.ts 100.00% <100.00%> (ø)
components/app/index.tsx 100.00% <100.00%> (ø)
components/theme/util/genComponentStyleHook.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MadCcc
Copy link
Member

MadCcc commented Nov 30, 2022

字号和行高影响 demo 了,一会再看看

@MadCcc
Copy link
Member

MadCcc commented Nov 30, 2022

看样子是纠正了一波 image snapshot,approve 了
image

components/app/demo/message.md Outdated Show resolved Hide resolved
components/app/demo/message.tsx Outdated Show resolved Hide resolved
@afc163
Copy link
Member

afc163 commented Dec 5, 2022

ci 怎么没跑?

@heiyu4585
Copy link
Contributor Author

heiyu4585 commented Dec 5, 2022

ci 怎么没跑?

我也在纳闷 - -!,可能是我rebase的原因

@heiyu4585 heiyu4585 merged commit db4ee53 into ant-design:feature Dec 6, 2022
@@ -0,0 +1,7 @@
## zh-CN

获取 `message` 静态方法.
Copy link
Member

Choose a reason for hiding this comment

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

找个地方写一下这种方式和 useMessage 的差异是啥?前提是啥,好处是啥?

@@ -0,0 +1,7 @@
## zh-CN

获取 `notification` 静态方法.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
获取 `notification` 静态方法.
获取 `notification` 静态方法

@allynlin
Copy link

对于一些非 hooks 就无法使用全局的样式,比如 axios 封装中使用 message 的时候,当动态切换了主题的情况下,这个 message 仍旧会是默认的浅色。这种情况怎么解决?

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

Successfully merging this pull request may close these issues.

None yet

5 participants