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: Add bundle cache modal to bundles tab #3653

Merged

Conversation

nicholas-codecov
Copy link
Contributor

@nicholas-codecov nicholas-codecov commented Jan 13, 2025

Description

Note

This PR requires #3652 before reviewing/merging

This PR adds in a button to the bundles tab that toggles the newly bundle caching modal, that is hidden behind a feature flag.

Ticket: codecov/engineering-team#3157

Notable Changes

  • Add in button and modal to BundleSelection component
  • Add in new tests

Screenshots

Screenshot 2025-01-13 at 14 52 13

@nicholas-codecov nicholas-codecov changed the title Gh eng 3157 feat add bundle cache modal to bundles tab feat: Add bundle cache modal to bundles tab Jan 13, 2025
Copy link

codecov bot commented Jan 13, 2025

Bundle Report

Changes will increase total bundle size by 2.51kB (0.01%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 6.05MB 1.33kB (0.02%) ⬆️
gazebo-production-esm 6.1MB 1.18kB (0.02%) ⬆️

@codecov-notifications
Copy link

codecov-notifications bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../BundleContent/BundleSelection/BundleSelection.tsx 80.00% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3653      +/-   ##
==========================================
- Coverage   98.93%   98.93%   -0.01%     
==========================================
  Files         815      815              
  Lines       14681    14686       +5     
  Branches     4158     4160       +2     
==========================================
+ Hits        14525    14529       +4     
- Misses        149      150       +1     
  Partials        7        7              
Files with missing lines Coverage Δ
...reCachedBundleModal/ConfigureCachedBundleModal.tsx 100.00% <ø> (ø)
.../BundleContent/BundleSelection/BundleSelection.tsx 94.11% <80.00%> (-5.89%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.62% <80.00%> (-0.02%) ⬇️
Services 99.34% <ø> (ø)
Shared 99.37% <ø> (ø)
UI 99.14% <ø> (ø)

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 12d8acb...6510c26. Read the comment docs.

Copy link

codecov-public-qa bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.93%. Comparing base (12d8acb) to head (6510c26).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../BundleContent/BundleSelection/BundleSelection.tsx 80.00% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3653      +/-   ##
==========================================
- Coverage   98.93%   98.93%   -0.01%     
==========================================
  Files         815      815              
  Lines       14681    14686       +5     
  Branches     4158     4168      +10     
==========================================
+ Hits        14525    14529       +4     
- Misses        149      150       +1     
  Partials        7        7              
Files with missing lines Coverage Δ
...reCachedBundleModal/ConfigureCachedBundleModal.tsx 100.00% <ø> (ø)
.../BundleContent/BundleSelection/BundleSelection.tsx 94.11% <80.00%> (-5.89%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.62% <80.00%> (-0.02%) ⬇️
Services 99.34% <ø> (ø)
Shared 99.37% <ø> (ø)
UI 99.14% <ø> (ø)

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 12d8acb...6510c26. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.93%. Comparing base (12d8acb) to head (6510c26).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../BundleContent/BundleSelection/BundleSelection.tsx 80.00% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3653      +/-   ##
==========================================
- Coverage   98.93%   98.93%   -0.01%     
==========================================
  Files         815      815              
  Lines       14681    14686       +5     
  Branches     4158     4168      +10     
==========================================
+ Hits        14525    14529       +4     
- Misses        149      150       +1     
  Partials        7        7              
Files with missing lines Coverage Δ
...reCachedBundleModal/ConfigureCachedBundleModal.tsx 100.00% <ø> (ø)
.../BundleContent/BundleSelection/BundleSelection.tsx 94.11% <80.00%> (-5.89%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.62% <80.00%> (-0.02%) ⬇️
Services 99.34% <ø> (ø)
Shared 99.37% <ø> (ø)
UI 99.14% <ø> (ø)

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 12d8acb...6510c26. Read the comment docs.

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.93%. Comparing base (12d8acb) to head (6510c26).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../BundleContent/BundleSelection/BundleSelection.tsx 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3653      +/-   ##
==========================================
- Coverage   98.93%   98.93%   -0.01%     
==========================================
  Files         815      815              
  Lines       14681    14686       +5     
  Branches     4166     4160       -6     
==========================================
+ Hits        14525    14529       +4     
- Misses        149      150       +1     
  Partials        7        7              
Files with missing lines Coverage Δ
...reCachedBundleModal/ConfigureCachedBundleModal.tsx 100.00% <ø> (ø)
.../BundleContent/BundleSelection/BundleSelection.tsx 94.11% <80.00%> (-5.89%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.62% <80.00%> (-0.02%) ⬇️
Services 99.34% <ø> (ø)
Shared 99.37% <ø> (ø)
UI 99.14% <ø> (ø)

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 12d8acb...6510c26. Read the comment docs.

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Jan 13, 2025

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
95fd2f4 Mon, 13 Jan 2025 18:43:55 GMT Expired Expired
12f72a0 Mon, 13 Jan 2025 18:58:18 GMT Expired Expired
a5490a4 Tue, 14 Jan 2025 19:40:54 GMT Expired Expired
604d1f7 Wed, 15 Jan 2025 12:09:41 GMT Expired Expired
6510c26 Wed, 15 Jan 2025 12:21:27 GMT Cloud Enterprise

@codecov-staging
Copy link

codecov-staging bot commented Jan 13, 2025

Bundle Report

Changes will increase total bundle size by 6.1MB (100.65%) ⬆️⚠️, exceeding the configured threshold of 5%.

Bundle name Size Change
gazebo-staging-esm 6.1MB 6.1MB (100%) ⬆️⚠️

@nicholas-codecov nicholas-codecov force-pushed the gh-eng-3157-feat-add-bundle-cache-modal-to-bundles-tab branch from 12f72a0 to a5490a4 Compare January 14, 2025 19:34
Copy link
Contributor

@calvin-codecov calvin-codecov left a comment

Choose a reason for hiding this comment

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

1 copy suggestion. Looking good!

@nicholas-codecov nicholas-codecov added this pull request to the merge queue Jan 15, 2025
Merged via the queue into main with commit a916ed4 Jan 15, 2025
50 of 62 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-3157-feat-add-bundle-cache-modal-to-bundles-tab branch January 15, 2025 12:47
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.

3 participants