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

[ui] Asset overview - Sidebar tweaks #20376

Merged
merged 2 commits into from
Mar 12, 2024
Merged

[ui] Asset overview - Sidebar tweaks #20376

merged 2 commits into from
Mar 12, 2024

Conversation

bengotow
Copy link
Collaborator

@bengotow bengotow commented Mar 8, 2024

Summary & Motivation

Fixes FE-208, Fixes FE-209

How I Tested These Changes

Just visual tweaks here

@bengotow bengotow requested a review from hellendag March 8, 2024 22:57
Copy link

github-actions bot commented Mar 8, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-du13ay3us-elementl.vercel.app
https://bengotow-2024-03-FE-209.core-storybook.dagster-docs.io

Built with commit 531897b.
This pull request is being automatically deployed with vercel-action

@bengotow bengotow requested a review from salazarm March 10, 2024 19:28
@@ -444,22 +464,29 @@ const AssetNodeOverviewContainer = ({
</Box>
);

const isEmptyChildren = (children: React.ReactNode) =>
!children || (children instanceof Array && children.length === 0);
Copy link
Member

Choose a reason for hiding this comment

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

This feels a bit fragile -- like if some other empty-ish render output (empty fragment, <span />, etc.) were supplied as children, it would fail this check. Not a huge deal though.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah I agree -- if it moves out of this file we may need something more sophisticated :-/

@bengotow bengotow merged commit 79a6e90 into master Mar 12, 2024
2 checks passed
@bengotow bengotow deleted the bengotow-2024-03/FE-209 branch March 12, 2024 16:41
PedramNavid pushed a commit that referenced this pull request Mar 28, 2024
## Summary & Motivation
Fixes FE-208, Fixes FE-209

## How I Tested These Changes

Just visual tweaks here

---------

Co-authored-by: bengotow <bgotow@elementl.com>
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.

None yet

2 participants