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] add catalog pill for row count #21867

Merged
merged 2 commits into from
May 15, 2024
Merged

Conversation

benpankow
Copy link
Member

@benpankow benpankow commented May 15, 2024

Summary

Adds an asset catalog pill for the special dagster/row_count metadata entry based on designs.

Screenshot 2024-05-15 at 10 01 22 AM

Test Plan

Tested locally.

@benpankow
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @benpankow and the rest of your teammates on Graphite Graphite

@benpankow benpankow requested review from hellendag, salazarm and sryza and removed request for hellendag May 15, 2024 17:11
@sryza sryza requested a review from braunjj May 15, 2024 17:15
Copy link
Contributor

@sryza sryza left a comment

Choose a reason for hiding this comment

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

lgtm!

but will defer to others on the actual frontend code

const rowCountMeta: IntMetadataEntry | undefined = materialization?.metadataEntries.find(
(entry) => isCanonicalRowCountMetadataEntry(entry),
) as IntMetadataEntry | undefined;

const renderStatusSection = () => (
<Box flex={{direction: 'column', gap: 16}}>
<Box flex={{direction: 'row'}}>
Copy link
Contributor

Choose a reason for hiding this comment

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

display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));

@benpankow benpankow force-pushed the benpankow/row-count-frontend branch from d856900 to 52887e7 Compare May 15, 2024 21:19
@benpankow benpankow merged commit 2615f91 into master May 15, 2024
1 of 3 checks passed
@benpankow benpankow deleted the benpankow/row-count-frontend branch May 15, 2024 21:27
danielgafni pushed a commit to danielgafni/dagster that referenced this pull request Jun 18, 2024
## Summary

Adds an asset catalog pill for the special `dagster/row_count` metadata
entry based on designs.

<img width="789" alt="Screenshot 2024-05-15 at 10 01 22 AM"
src="https://github.com/dagster-io/dagster/assets/10215173/bd3f839b-3b2b-4d87-8110-e0e3f068ab32">


## Test Plan

Tested locally.
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

3 participants