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

chore: Migrate useSyncProviders to TS Query V5 #3573

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nicholas-codecov
Copy link
Contributor

Description

This PR migrates the useSyncProviders to the TS Query queryOptions version SyncProvidersQueryOpts

Ticket: codecov/engineering-team#2962

Notable Changes

  • Migrate useSyncProviders to SyncProvidersQueryOpts
  • Update usage in SyncProviderPage
  • Update tests

Copy link

codecov bot commented Dec 12, 2024

Bundle Report

Changes will increase total bundle size by 132 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 5.67MB 66 bytes (0.0%) ⬆️
gazebo-production-system-esm 5.72MB 66 bytes (0.0%) ⬆️

@codecov-staging
Copy link

codecov-staging bot commented Dec 12, 2024

Bundle Report

Changes will increase total bundle size by 132 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system-esm 5.72MB 66 bytes (0.0%) ⬆️
gazebo-staging-system 5.67MB 66 bytes (0.0%) ⬆️

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.90%. Comparing base (617411d) to head (acc32be).

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3573   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files         806      806           
  Lines       14485    14485           
  Branches     4116     4108    -8     
=======================================
  Hits        14327    14327           
  Misses        151      151           
  Partials        7        7           
Files with missing lines Coverage Δ
src/pages/SyncProviderPage/SyncProviderPage.tsx 100.00% <100.00%> (ø)
src/services/config/SyncProvidersQueryOpts.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <100.00%> (ø)
Services 99.33% <100.00%> (ø)
Shared 99.33% <ø> (ø)
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 617411d...acc32be. Read the comment docs.

@codecov-notifications
Copy link

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    #3573   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files         806      806           
  Lines       14485    14485           
  Branches     4116     4115    -1     
=======================================
  Hits        14327    14327           
  Misses        151      151           
  Partials        7        7           
Files with missing lines Coverage Δ
src/pages/SyncProviderPage/SyncProviderPage.tsx 100.00% <100.00%> (ø)
src/services/config/SyncProvidersQueryOpts.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <100.00%> (ø)
Services 99.33% <100.00%> (ø)
Shared 99.33% <ø> (ø)
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 617411d...acc32be. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.90%. Comparing base (617411d) to head (acc32be).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3573   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files         806      806           
  Lines       14485    14485           
  Branches     4116     4115    -1     
=======================================
  Hits        14327    14327           
  Misses        151      151           
  Partials        7        7           
Files with missing lines Coverage Δ
src/pages/SyncProviderPage/SyncProviderPage.tsx 100.00% <100.00%> (ø)
src/services/config/SyncProvidersQueryOpts.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <100.00%> (ø)
Services 99.33% <100.00%> (ø)
Shared 99.33% <ø> (ø)
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 617411d...acc32be. 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
acc32be Thu, 12 Dec 2024 13:11:13 GMT Cloud Enterprise

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.

2 participants