Skip to content

fix: Bundle dropdown being empty when bundles are present - #2720

Merged
nicholas-codecov merged 2 commits into
mainfrom
gh-eng-1430-fix-bundle-dropdown-being-empty
Mar 20, 2024
Merged

nicholas-codecov merged 2 commits into
mainfrom
gh-eng-1430-fix-bundle-dropdown-being-empty

Conversation

@nicholas-codecov

Copy link
Copy Markdown
Contributor

Description

This PR updates the BundleSelect component to use a state initializer function to set the initial state of the value only once, so search patterns are still maintained properly.

Closes codecov/engineering-team#1430

@codecov-qa

codecov-qa Bot commented Mar 20, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.44%. Comparing base (18059a3) to head (1e480b3).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2720   +/-   ##
=======================================
  Coverage   98.44%   98.44%           
=======================================
  Files         854      854           
  Lines       11956    11956           
  Branches     3147     3102   -45     
=======================================
  Hits        11770    11770           
  Misses        183      183           
  Partials        3        3           
Files Coverage Δ
...Tab/BundleContent/BundleSummary/BundleSelector.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 55.55% <ø> (ø)
Layouts 97.13% <ø> (ø)
Pages 99.34% <100.00%> (ø)
Services 99.61% <ø> (ø)
Shared 99.83% <ø> (ø)
UI 94.17% <ø> (ø)

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 18059a3...1e480b3. Read the comment docs.

@codecov-public-qa

codecov-public-qa Bot commented Mar 20, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (18059a3) 98.44% compared to head (1e480b3) 98.44%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2720   +/-   ##
=======================================
  Coverage   98.44%   98.44%           
=======================================
  Files         854      854           
  Lines       11956    11956           
  Branches     3147     3100   -47     
=======================================
  Hits        11770    11770           
  Misses        183      183           
  Partials        3        3           
Files Coverage Δ
...Tab/BundleContent/BundleSummary/BundleSelector.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 55.55% <ø> (ø)
Layouts 97.13% <ø> (ø)
Pages 99.34% <100.00%> (ø)
Services 99.61% <ø> (ø)
Shared 99.83% <ø> (ø)
UI 94.17% <ø> (ø)

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 18059a3...1e480b3. Read the comment docs.

@codecov-staging

Copy link
Copy Markdown

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    #2720   +/-   ##
=======================================
  Coverage   98.44%   98.44%           
=======================================
  Files         854      854           
  Lines       11956    11956           
  Branches     3100     3135   +35     
=======================================
  Hits        11770    11770           
  Misses        183      183           
  Partials        3        3           
Files Coverage Δ
...Tab/BundleContent/BundleSummary/BundleSelector.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 55.55% <ø> (ø)
Layouts 97.13% <ø> (ø)
Pages 99.34% <100.00%> (ø)
Services 99.61% <ø> (ø)
Shared 99.83% <ø> (ø)
UI 94.17% <ø> (ø)

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 18059a3...1e480b3. Read the comment docs.

@codecov

codecov Bot commented Mar 20, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.44%. Comparing base (18059a3) to head (1e480b3).

✅ All tests successful. No failed tests found ☺️

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #2720   +/-   ##
=====================================
  Coverage   98.44   98.44           
=====================================
  Files        854     854           
  Lines      11956   11956           
  Branches    3147    3154    +7     
=====================================
  Hits       11770   11770           
  Misses       183     183           
  Partials       3       3           
Files Coverage Δ
...Tab/BundleContent/BundleSummary/BundleSelector.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 55.55% <ø> (ø)
Layouts 97.13% <ø> (ø)
Pages 99.34% <100.00%> (ø)
Services 99.61% <ø> (ø)
Shared 99.83% <ø> (ø)
UI 94.17% <ø> (ø)

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 18059a3...1e480b3. Read the comment docs.

@codecov-staging

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 20 bytes ⬆️

Bundle name Size Change
gazebo-staging-array-push 5.94MB 20 bytes ⬆️

@codecov

codecov Bot commented Mar 20, 2024

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 20 bytes ⬆️

Bundle name Size Change
gazebo-production-array-push 5.94MB 20 bytes ⬆️

@codecov-releaser

Copy link
Copy Markdown
Collaborator

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Commit Created Cloud Enterprise
1e480b3 Wed, 20 Mar 2024 17:41:58 GMT Cloud Enterprise

@nicholas-codecov
nicholas-codecov merged commit 4ee5ce9 into main Mar 20, 2024
@nicholas-codecov
nicholas-codecov deleted the gh-eng-1430-fix-bundle-dropdown-being-empty branch March 20, 2024 21:57
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.

BUG: bundle dropdown shows it being empty

4 participants