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: internationalization support #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat: internationalization support #2

wants to merge 2 commits into from

Conversation

nictownsend
Copy link
Owner

  • react-i18next and i18next libaries
  • jest mock for consistent test translations
  • updated Home component with examples

Contributes to: strimzi#19

Signed-off-by: Nic Townsend [email protected]

@github-actions
Copy link

github-actions bot commented Nov 9, 2020

PR Report

Bundle Sizes

View bundle sizes for 'client'
Bundle New Size Original Size Increase/Decrease File
1.bundle.js 178.72KB 126.45KB 41% 1.bundle.js
Strimzi UI JS Bundle 3.63KB 2.4KB 51% main.bundle.js
Overall bundle size change: 41.52%
View bundle sizes for 'server'
Bundle New Size Original Size Increase/Decrease File
Strimzi UI Server JS Bundle 14.57KB 14.57KB 0% main.js
Overall bundle size change: 0%

Test Coverage

View test coverage
File Lines Statement Functions Branches
Total 100% 100% 100% 100%
client/Panels/Home/Home.tsx 100% 100% 100% 100%
File Lines Statement Functions Branches
Total 100% 100% 100% 100%
server/api/controller.ts 100% 100% 100% 100%
server/api/router.ts 100% 100% 100% 100%
server/client/controller.ts 100% 100% 100% 100%
server/client/router.ts 100% 100% 100% 100%
server/config/router.ts 100% 100% 100% 100%
server/core/app.ts 100% 100% 100% 100%
server/core/modules.ts 100% 100% 100% 100%
server/log/router.ts 100% 100% 100% 100%
server/mockapi/router.ts 100% 100% 100% 100%

Triggered by commit: 92b0930

- coverage is unreliable when projects use different tsconfig
- split jest into two tests, server + client
- seperate npm runs
- seperate coverage output and github action

Contributes to: strimzi#91

Signed-off-by: Nic Townsend <[email protected]>
- react-i18next and i18next libaries
- jest mock for consistent test translations
- updated Home component with examples

Contributes to: strimzi#19

Signed-off-by: Nic Townsend <[email protected]>
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.

1 participant