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: Update useRepoOverview to fetch product status and languages #2558

Conversation

nicholas-codecov
Copy link
Contributor

Description

This PR updates the useRepoOverview hook to fetch product status, and the languages contained inside a repository so that we can use it to determine if we need to display the upcoming bundles tab or not.

GH codecov/engineering-team#1024

Notable Changes

  • Update useRepoOverview to grab product status, repo languages, and refactor to TS
  • Update tests

Copy link

netlify bot commented Feb 1, 2024

Deploy Preview for gazebo-staging ready!

Name Link
🔨 Latest commit 94d485f
🔍 Latest deploy log https://app.netlify.com/sites/gazebo-staging/deploys/65c2134a02d0480008a9204a
😎 Deploy Preview https://deploy-preview-2558--gazebo-staging.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov-releaser
Copy link
Contributor

Visit https://preview-pr-2558.codecov.dev for your PR preview. Expires after 1 month automatically.

@codecov-staging
Copy link

codecov-staging bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2558   +/-   ##
=======================================
  Coverage   98.35%   98.35%           
=======================================
  Files         813      813           
  Lines       10631    10640    +9     
  Branches     2663     2666    +3     
=======================================
+ Hits        10456    10465    +9     
  Misses        173      173           
  Partials        2        2           
Files Coverage Δ
src/services/branches/useBranchBundles.tsx 100.00% <ø> (ø)
src/services/repo/useRepoOverview.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 59.37% <ø> (ø)
Layouts 96.95% <ø> (ø)
Pages 99.28% <ø> (ø)
Services 99.56% <100.00%> (+<0.01%) ⬆️
Shared 99.82% <ø> (ø)
UI 94.23% <ø> (ø)

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 34f3dbe...94d485f. Read the comment docs.

Copy link

codecov-public-qa bot commented Feb 6, 2024

Codecov Report

Merging #2558 (94d485f) into main (34f3dbe) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2558   +/-   ##
=======================================
  Coverage   98.35%   98.35%           
=======================================
  Files         813      813           
  Lines       10631    10640    +9     
  Branches     2695     2698    +3     
=======================================
+ Hits        10456    10465    +9     
  Misses        173      173           
  Partials        2        2           
Files Coverage Δ
src/services/branches/useBranchBundles.tsx 100.00% <ø> (ø)
src/services/repo/useRepoOverview.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 59.37% <ø> (ø)
Layouts 96.95% <ø> (ø)
Pages 99.28% <ø> (ø)
Services 99.56% <100.00%> (+<0.01%) ⬆️
Shared 99.82% <ø> (ø)
UI 94.23% <ø> (ø)

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 34f3dbe...94d485f. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (34f3dbe) 98.35% compared to head (94d485f) 98.35%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2558   +/-   ##
=======================================
  Coverage   98.35%   98.35%           
=======================================
  Files         813      813           
  Lines       10631    10640    +9     
  Branches     2714     2717    +3     
=======================================
+ Hits        10456    10465    +9     
  Misses        173      173           
  Partials        2        2           
Files Coverage Δ
src/services/branches/useBranchBundles.tsx 100.00% <ø> (ø)
src/services/repo/useRepoOverview.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 59.37% <ø> (ø)
Layouts 96.95% <ø> (ø)
Pages 99.28% <ø> (ø)
Services 99.56% <100.00%> (+<0.01%) ⬆️
Shared 99.82% <ø> (ø)
UI 94.23% <ø> (ø)

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 34f3dbe...94d485f. Read the comment docs.

@nicholas-codecov nicholas-codecov merged commit b607488 into main Feb 6, 2024
52 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-1024-update-use-repo-overview-to-fetch-product-status-and-languages branch February 6, 2024 11:19
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