Skip to content

[1/2] Asset Health Observe UIs phase 1 #29151

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

Merged
merged 25 commits into from
Apr 11, 2025
Merged

Conversation

salazarm
Copy link
Contributor

@salazarm salazarm commented Apr 9, 2025

[INTERNAL_BRANCH=salazarm/asset-health-ui]
Implements phase 1 of the asset health observe UIs as demoed at the R&D demos on Friday.

Test Plan

R&D demo

Screenshot 2025-04-09 at 1 20 21 PM Screenshot 2025-04-09 at 1 19 05 PM Screenshot 2025-04-09 at 1 19 00 PM

@salazarm salazarm requested review from bengotow and hellendag April 9, 2025 18:33
Copy link

github-actions bot commented Apr 9, 2025

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-fr4mg6tch-elementl.vercel.app
https://salazarm-asset-health-ui.components-storybook.dagster-docs.io

Built with commit 29e1baf.
This pull request is being automatically deployed with vercel-action

Copy link

github-actions bot commented Apr 9, 2025

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-8srxo1127-elementl.vercel.app
https://salazarm-asset-health-ui.core-storybook.dagster-docs.io

Built with commit 29e1baf.
This pull request is being automatically deployed with vercel-action

@salazarm salazarm merged commit 9778067 into master Apr 11, 2025
6 of 7 checks passed
@salazarm salazarm deleted the salazarm/asset-health-ui branch April 11, 2025 18:32
Comment on lines +101 to +120
useDebugChanged([
liveDataByNode,
filtered,
assets,
errorState,
filterInput,
loading,
assetsLoading,
error,
selectedTab,
groupedByStatus,
content,
healthDataLoading,
assetsLoading,
loading,
error,
selectedTab,
groupedByStatus,
content,
]);
Copy link
Contributor

Choose a reason for hiding this comment

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

There are duplicate dependencies in the useDebugChanged array. The following dependencies appear twice:

  • assetsLoading
  • loading
  • error
  • selectedTab
  • groupedByStatus
  • content

Removing these duplicates would improve code clarity and prevent unnecessary debug logging.

Suggested change
useDebugChanged([
liveDataByNode,
filtered,
assets,
errorState,
filterInput,
loading,
assetsLoading,
error,
selectedTab,
groupedByStatus,
content,
healthDataLoading,
assetsLoading,
loading,
error,
selectedTab,
groupedByStatus,
content,
]);
useDebugChanged([
liveDataByNode,
filtered,
assets,
errorState,
filterInput,
loading,
assetsLoading,
error,
selectedTab,
groupedByStatus,
content,
healthDataLoading,
]);

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

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