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

Suspense wrapper for ResourceCache #3408

Merged
merged 6 commits into from
Apr 12, 2023
Merged

Suspense wrapper for ResourceCache #3408

merged 6 commits into from
Apr 12, 2023

Conversation

fiskus
Copy link
Member

@fiskus fiskus commented Apr 10, 2023

useVoila uses ResourceCache.useData(..., ..., { suspnese: true }), so it's required to wrap it with <Suspense />

  • Changelog entry (skip if change is not significant to end users, e.g. docs only)

@fiskus fiskus requested a review from nl0 April 10, 2023 21:55
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #3408 (6944699) into master (6a05a0d) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #3408      +/-   ##
==========================================
- Coverage   35.78%   35.78%   -0.01%     
==========================================
  Files         680      680              
  Lines       29691    29693       +2     
  Branches     4377     4377              
==========================================
  Hits        10626    10626              
- Misses      17902    17904       +2     
  Partials     1163     1163              
Flag Coverage Δ
api-python 91.23% <ø> (ø)
catalog 9.57% <0.00%> (-0.01%) ⬇️
lambda 86.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...atalog/app/components/Preview/loaders/Notebook.tsx 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fiskus fiskus requested a review from nl0 April 11, 2023 16:15
Copy link
Member

@nl0 nl0 left a comment

Choose a reason for hiding this comment

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

👍

@fiskus fiskus merged commit aae2416 into master Apr 12, 2023
@fiskus fiskus deleted the voila-suspend branch April 12, 2023 12:01
nl0 added a commit that referenced this pull request Apr 25, 2023
* master: (24 commits)
  Rename hash to hashOrTag because tag is also acceptable (#3430)
  Type for `theme.typography.monospace` (#3428)
  Fix thumbnail lambda CI fail (#3433)
  Add link from side navigation and update text (#3431)
  Add "unreleased" section, fix entry (#3429)
  Fix file URL for embed (#3419)
  Add snapshot test for BucketIcon (#3422)
  doc: fix push args line breaks (#3424)
  Fix thumbnail lambda CI job (#3426)
  Breadcrumbs refactoring (#3417)
  Switch debug-harness from token to code (#3418)
  pkgselect: Ensure path ends with slash (#3411)
  Suspense wrapper for ResourceCache (#3408)
  Make gendocs bash scripts fail loudly (#3414)
  Bump debian in /s3-proxy (#3415)
  Bump debian in /lambdas/thumbnail (#3416)
  Quilt3 v5.3.0 (#3413)
  Hotfix: status reports bucket exception (#3412)
  Add --no-copy parameter to Package.push() (#3398)
  Pin anndata to fix tests on Windows (#3410)
  ...
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