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, ref: Round 2 - More language support and some tweaks to Prism setup #3165

Merged

Conversation

nicholas-codecov
Copy link
Contributor

Description

Some additional language support, and locating all prism stuff within a single directory. Second round, turns out we do need the types package.

Closes codecov/engineering-team#2398

@nicholas-codecov nicholas-codecov changed the title feat, ref: More language support and some tweaks to Prism setup round 2 feat, ref: Round 2 - More language support and some tweaks to Prism setup Sep 5, 2024
@codecov-staging
Copy link

Bundle Report

Changes will increase total bundle size by 7.42kB ⬆️

Bundle name Size Change
gazebo-staging-array-push 5.99MB 7.42kB ⬆️

Copy link

codecov bot commented Sep 6, 2024

Bundle Report

Changes will increase total bundle size by 7.42kB ⬆️

Bundle name Size Change
gazebo-production-array-push 5.99MB 7.42kB ⬆️

Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.24%. Comparing base (74d2e9e) to head (8f52936).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3165      +/-   ##
==========================================
- Coverage   98.25%   98.24%   -0.01%     
==========================================
  Files         932      933       +1     
  Lines       14458    14458              
  Branches     3917     3917              
==========================================
- Hits        14205    14204       -1     
- Misses        248      249       +1     
  Partials        5        5              
Files Coverage Δ
...DetailPage/CommitCoverage/YamlModal/YAMLViewer.jsx 100.00% <ø> (ø)
src/shared/utils/prism/prismLanguageMapper.ts 100.00% <ø> (ø)
src/shared/utils/prism/prismLanguages.ts 100.00% <100.00%> (ø)
src/shared/utils/prism/prismTheme.css 100.00% <ø> (ø)
src/ui/CodeRenderer/CodeRenderer.tsx 100.00% <ø> (ø)
src/ui/VirtualFileRenderer/VirtualFileRenderer.tsx 99.12% <ø> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.48% <ø> (ø)
Layouts 98.87% <ø> (ø)
Pages 99.03% <ø> (ø)
Services 99.44% <ø> (-0.04%) ⬇️
Shared 99.51% <100.00%> (ø)
UI 94.60% <ø> (ø)

Continue to review full report in Codecov by Sentry.

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

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.24%. Comparing base (74d2e9e) to head (8f52936).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##               main      #3165        +/-   ##
================================================
- Coverage   98.25000   98.24000   -0.01000     
================================================
  Files           932        933         +1     
  Lines         14458      14458                
  Branches       3944       3862        -82     
================================================
- Hits          14205      14204         -1     
- Misses          248        249         +1     
  Partials          5          5                
Files with missing lines Coverage Δ
...DetailPage/CommitCoverage/YamlModal/YAMLViewer.jsx 100.00% <ø> (ø)
src/shared/utils/prism/prismLanguageMapper.ts 100.00% <ø> (ø)
src/shared/utils/prism/prismLanguages.ts 100.00% <100.00%> (ø)
src/shared/utils/prism/prismTheme.css 100.00% <ø> (ø)
src/ui/CodeRenderer/CodeRenderer.tsx 100.00% <ø> (ø)
src/ui/VirtualFileRenderer/VirtualFileRenderer.tsx 99.12% <ø> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.48% <ø> (ø)
Layouts 98.87% <ø> (ø)
Pages 99.03% <ø> (ø)
Services 99.44% <ø> (-0.04%) ⬇️
Shared 99.51% <100.00%> (ø)
UI 94.60% <ø> (ø)

Continue to review full report in Codecov by Sentry.

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

@codecov-notifications
Copy link

codecov-notifications bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3165      +/-   ##
==========================================
- Coverage   98.25%   98.24%   -0.01%     
==========================================
  Files         932      933       +1     
  Lines       14458    14458              
  Branches     3949     3949              
==========================================
- Hits        14205    14204       -1     
- Misses        248      249       +1     
  Partials        5        5              
Files Coverage Δ
...DetailPage/CommitCoverage/YamlModal/YAMLViewer.jsx 100.00% <ø> (ø)
src/shared/utils/prism/prismLanguageMapper.ts 100.00% <ø> (ø)
src/shared/utils/prism/prismLanguages.ts 100.00% <100.00%> (ø)
src/shared/utils/prism/prismTheme.css 100.00% <ø> (ø)
src/ui/CodeRenderer/CodeRenderer.tsx 100.00% <ø> (ø)
src/ui/VirtualFileRenderer/VirtualFileRenderer.tsx 99.12% <ø> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.48% <ø> (ø)
Layouts 98.87% <ø> (ø)
Pages 99.03% <ø> (ø)
Services 99.44% <ø> (-0.04%) ⬇️
Shared 99.51% <100.00%> (ø)
UI 94.60% <ø> (ø)

Continue to review full report in Codecov by Sentry.

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

@nicholas-codecov nicholas-codecov added this pull request to the merge queue Sep 6, 2024
@codecov-qa
Copy link

codecov-qa bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.24%. Comparing base (74d2e9e) to head (8f52936).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3165      +/-   ##
==========================================
- Coverage   98.25%   98.24%   -0.01%     
==========================================
  Files         932      933       +1     
  Lines       14458    14458              
  Branches     3917     3862      -55     
==========================================
- Hits        14205    14204       -1     
- Misses        248      249       +1     
  Partials        5        5              
Files with missing lines Coverage Δ
...DetailPage/CommitCoverage/YamlModal/YAMLViewer.jsx 100.00% <ø> (ø)
src/shared/utils/prism/prismLanguageMapper.ts 100.00% <ø> (ø)
src/shared/utils/prism/prismLanguages.ts 100.00% <100.00%> (ø)
src/shared/utils/prism/prismTheme.css 100.00% <ø> (ø)
src/ui/CodeRenderer/CodeRenderer.tsx 100.00% <ø> (ø)
src/ui/VirtualFileRenderer/VirtualFileRenderer.tsx 99.12% <ø> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.48% <ø> (ø)
Layouts 98.87% <ø> (ø)
Pages 99.03% <ø> (ø)
Services 99.44% <ø> (-0.04%) ⬇️
Shared 99.51% <100.00%> (ø)
UI 94.60% <ø> (ø)

Continue to review full report in Codecov by Sentry.

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

@codecov-releaser
Copy link
Contributor

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
8f52936 Fri, 06 Sep 2024 09:57:23 GMT Cloud Enterprise

Merged via the queue into main with commit e6a4224 Sep 6, 2024
62 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-2398-feat-dynamically-import-prism-langs branch September 6, 2024 09: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.

feat: Dynamically import prism langs
3 participants