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(comp:locales): use useGlobalConfig instead of useI18n #764

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

danranVm
Copy link
Member

BREAKING CHANGE: useI18n was removed.

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Component style update
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Application (the showcase website) / infrastructure changes
  • Other... Please describe:

What is the current behavior?

What is the new behavior?

Other information

@idux-bot
Copy link

idux-bot bot commented Feb 24, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Feb 24, 2022

Codecov Report

Merging #764 (a24f86b) into main (825066e) will decrease coverage by 0.08%.
The diff coverage is 78.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #764      +/-   ##
==========================================
- Coverage   83.99%   83.90%   -0.09%     
==========================================
  Files         466      465       -1     
  Lines       12100    12020      -80     
  Branches     2881     2872       -9     
==========================================
- Hits        10163    10085      -78     
+ Misses       1937     1935       -2     
Impacted Files Coverage Δ
...ckages/components/_private/date-panel/src/token.ts 100.00% <ø> (ø)
packages/components/config/src/numFormatter.ts 100.00% <ø> (ø)
packages/components/date-picker/src/token.ts 100.00% <ø> (ø)
packages/components/locales/src/langs/en-US.ts 100.00% <ø> (ø)
packages/components/locales/src/langs/zh-CN.ts 100.00% <ø> (ø)
packages/components/modal/src/token.ts 100.00% <ø> (ø)
packages/components/pagination/src/token.ts 100.00% <ø> (ø)
packages/components/popconfirm/src/token.ts 100.00% <ø> (ø)
...table/src/main/head/triggers/FilterableTrigger.tsx 18.96% <0.00%> (ø)
packages/components/table/src/token.ts 100.00% <ø> (ø)
... and 31 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 825066e...a24f86b. Read the comment docs.

@danranVm danranVm merged commit 4f50728 into IDuxFE:main Feb 24, 2022
@danranVm danranVm deleted the refactor-i18n branch February 24, 2022 08:58
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

1 participant