Refactor UI components for shared partition status display#32897
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit c5b07e4. |
eec13c8 to
628e6a7
Compare
9fb5bd3 to
ec88c00
Compare
628e6a7 to
0e641c0
Compare
ec88c00 to
0abb3cf
Compare
0e641c0 to
609aa4a
Compare
0abb3cf to
9de7d5a
Compare
a08eaf6 to
8c51a66
Compare
131d77c to
92c7290
Compare
8c51a66 to
f119c4f
Compare
92c7290 to
e23bbee
Compare
f119c4f to
4afe4c1
Compare
e23bbee to
da8ded6
Compare
6b40bc9 to
d265c63
Compare
9732a46 to
b5b9078
Compare
d265c63 to
5b22b78
Compare
b5b9078 to
a6173b9
Compare
5b22b78 to
baa2baf
Compare
a6173b9 to
93049b2
Compare
60485fc to
e2222b9
Compare
e2222b9 to
8cb02e9
Compare
f4618a3 to
61785e0
Compare
8cb02e9 to
d48d07b
Compare
61785e0 to
74c64f1
Compare
d48d07b to
8781b50
Compare
74c64f1 to
0139201
Compare
0139201 to
7b37459
Compare
deeeaa2 to
8a0f0fe
Compare
7b37459 to
4e2ab18
Compare
| const rowVirtualizer = useVirtualizer({ | ||
| count: partitions.length, | ||
| // eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
| getItemKey: (idx) => partitions[idx]!, |
There was a problem hiding this comment.
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>
8a0f0fe to
c5b07e4
Compare
4e2ab18 to
5eda9eb
Compare
## Summary & Motivation changes copied from: #32897 ## How I Tested These Changes ## Changelog > Insert changelog entry or delete this section.

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