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

[Asset-graph] Chunk requests using new useAssetLiveData hook + Virtualization #16843

Merged
merged 10 commits into from
Sep 27, 2023

Conversation

salazarm
Copy link
Contributor

@salazarm salazarm commented Sep 27, 2023

Summary & Motivation

  1. Update AssetLiveData to observe run events and refresh asset data
  2. Update asset-graph to use useAssetLiveData so that it benefits from chunked asset loading

How I Tested These Changes

  1. Test using the refresh functionality provided useAssetLiveData
  2. Test that the asset-graph data now loads in chunks
  3. Test that asset data refreshes when launching a run and as events come in
  4. Rely on existing jest tests for useAssetLiveData to make sure core functionality still works
    https://www.loom.com/share/cfc67d92c87640d7aa04d0fda578707e

@schrockn
Copy link
Member

schrockn commented Sep 27, 2023

What is the graphql query that backs this?

@github-actions
Copy link

github-actions bot commented Sep 27, 2023

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-aa9joh0ah-elementl.vercel.app
https://salazarm-asset-graph-chunked-requests.components-storybook.dagster-docs.io

Built with commit 56ed96c.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link

github-actions bot commented Sep 27, 2023

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-2qn6jpshi-elementl.vercel.app
https://salazarm-asset-graph-chunked-requests.core-storybook.dagster-docs.io

Built with commit 56ed96c.
This pull request is being automatically deployed with vercel-action

@salazarm
Copy link
Contributor Author

What is the graphql query that backs this?

AssetGraphLiveQuery

@salazarm salazarm changed the title [Asset-graph] Chunk requests using new useAssetLiveData hook [Asset-graph] Chunk requests using new useAssetLiveData hook + Virtualization Sep 27, 2023
@salazarm salazarm force-pushed the salazarm/asset-graph-chunked-requests branch from d220cf7 to d0e03b0 Compare September 27, 2023 20:33
@salazarm salazarm merged commit 23c3411 into master Sep 27, 2023
2 checks passed
@salazarm salazarm deleted the salazarm/asset-graph-chunked-requests branch September 27, 2023 23:04
PedramNavid pushed a commit that referenced this pull request Sep 28, 2023
…lization (#16843)

## Summary & Motivation

1. Update AssetLiveData to observe run events and refresh asset data
2. Update asset-graph to use useAssetLiveData so that it benefits from
chunked asset loading

## How I Tested These Changes
1. Test using the refresh functionality provided useAssetLiveData
2. Test that the asset-graph data now loads in chunks
3. Test that asset data refreshes when launching a run and as events
come in
4. Rely on existing jest tests for `useAssetLiveData` to make sure core
functionality still works
https://www.loom.com/share/cfc67d92c87640d7aa04d0fda578707e
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