-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
What is the graphql query that backs this? |
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit 56ed96c. |
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 56ed96c. |
AssetGraphLiveQuery |
js_modules/dagster-ui/packages/ui-core/src/asset-graph/SidebarAssetInfo.tsx
Outdated
Show resolved
Hide resolved
js_modules/dagster-ui/packages/ui-core/src/asset-graph/SidebarAssetInfo.tsx
Outdated
Show resolved
Hide resolved
js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetGraphExplorer.tsx
Outdated
Show resolved
Hide resolved
js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetGraphExplorer.tsx
Show resolved
Hide resolved
js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetEdges.tsx
Outdated
Show resolved
Hide resolved
js_modules/dagster-ui/packages/ui-core/src/asset-data/AssetLiveDataProvider.tsx
Show resolved
Hide resolved
js_modules/dagster-ui/packages/ui-core/src/asset-data/AssetLiveDataProvider.tsx
Show resolved
Hide resolved
d220cf7
to
d0e03b0
Compare
…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
Summary & Motivation
How I Tested These Changes
useAssetLiveData
to make sure core functionality still workshttps://www.loom.com/share/cfc67d92c87640d7aa04d0fda578707e