Skip to content

Refactor UI components for shared partition status display#32897

Open
prha wants to merge 1 commit into
prha/asset-checks-04-graphqlfrom
prha/asset-checks-05-ui-refactor
Open

Refactor UI components for shared partition status display#32897
prha wants to merge 1 commit into
prha/asset-checks-04-graphqlfrom
prha/asset-checks-05-ui-refactor

Conversation

@prha

@prha prha commented Nov 22, 2025

Copy link
Copy Markdown
Contributor

Summary & Motivation

Extracted some UI components to be reused for both asset materialization history and asset check evaluation history

How I Tested These Changes

BK

prha commented Nov 22, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions

github-actions Bot commented Nov 22, 2025

Copy link
Copy Markdown
Contributor

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-7hjhbp6ry-elementl.vercel.app
https://prha-asset-checks-05-ui-refactor.core-storybook.dagster-docs.io

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

@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from eec13c8 to 628e6a7 Compare November 22, 2025 06:25
@prha
prha force-pushed the prha/asset-checks-04-graphql branch 2 times, most recently from 9fb5bd3 to ec88c00 Compare November 22, 2025 19:50
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from 628e6a7 to 0e641c0 Compare November 22, 2025 19:50
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from ec88c00 to 0abb3cf Compare November 22, 2025 20:26
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from 0e641c0 to 609aa4a Compare November 22, 2025 20:26
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from 0abb3cf to 9de7d5a Compare November 22, 2025 20:31
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch 2 times, most recently from a08eaf6 to 8c51a66 Compare November 22, 2025 20:49
@prha
prha force-pushed the prha/asset-checks-04-graphql branch 2 times, most recently from 131d77c to 92c7290 Compare November 22, 2025 22:01
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from 8c51a66 to f119c4f Compare November 22, 2025 22:01
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from 92c7290 to e23bbee Compare November 22, 2025 22:51
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from f119c4f to 4afe4c1 Compare November 22, 2025 22:51
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from e23bbee to da8ded6 Compare November 22, 2025 23:06
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch 2 times, most recently from 6b40bc9 to d265c63 Compare November 22, 2025 23:52
@prha
prha force-pushed the prha/asset-checks-04-graphql branch 2 times, most recently from 9732a46 to b5b9078 Compare November 23, 2025 00:32
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from d265c63 to 5b22b78 Compare November 23, 2025 00:32
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from b5b9078 to a6173b9 Compare November 23, 2025 02:50
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from 5b22b78 to baa2baf Compare November 23, 2025 02:50
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from a6173b9 to 93049b2 Compare November 23, 2025 03:21
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch 2 times, most recently from 60485fc to e2222b9 Compare November 23, 2025 05:32
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from e2222b9 to 8cb02e9 Compare December 2, 2025 00:31
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from f4618a3 to 61785e0 Compare December 2, 2025 00:31
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from 8cb02e9 to d48d07b Compare December 3, 2025 21:51
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from 61785e0 to 74c64f1 Compare December 3, 2025 21:51
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from d48d07b to 8781b50 Compare December 3, 2025 22:15
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from 74c64f1 to 0139201 Compare December 3, 2025 22:15
@prha
prha requested a review from hellendag December 4, 2025 22:20
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from 0139201 to 7b37459 Compare December 4, 2025 22:23
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch 2 times, most recently from deeeaa2 to 8a0f0fe Compare December 5, 2025 05:56
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from 7b37459 to 4e2ab18 Compare December 5, 2025 05:56
const rowVirtualizer = useVirtualizer({
count: partitions.length,
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
getItemKey: (idx) => partitions[idx]!,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be nice to avoid the non-null assertion here. partitions[idx] ?? idx would probably be fine. (I know this is copied from elsewhere, but while we're here it would be great to clean up the non-null assertions.)

This PR extracts shared UI components for partition status display:

- Extract PartitionListSelector from AssetPartitionList for reuse
- Extract PartitionStatusCheckboxes from AssetPartitionStatusCheckboxes
- Refactor AssetPartitionList to use shared PartitionListSelector
- Refactor AssetPartitionStatusCheckboxes to use shared checkboxes
- Update client.json configuration

These components will be reused by asset check partition UI in the next PR.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@prha
prha force-pushed the prha/asset-checks-05-ui-refactor branch from 8a0f0fe to c5b07e4 Compare December 5, 2025 18:22
@prha
prha force-pushed the prha/asset-checks-04-graphql branch from 4e2ab18 to 5eda9eb Compare December 5, 2025 18:22
@OwenKephart OwenKephart mentioned this pull request Jan 20, 2026
OwenKephart added a commit that referenced this pull request Jan 26, 2026
## Summary & Motivation

changes copied from: #32897

## How I Tested These Changes

## Changelog

> Insert changelog entry or delete this section.
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