Skip to content

Commit ea35636

Browse files
authored
[ui] Show levels fraction on run page (#29224)
## Summary & Motivation On the run page, show `X/Y` instead of just `X` for the number of level types selected for the logs display filtering. <img width="214" alt="Screenshot 2025-04-11 at 12 22 58" src="https://github.com/user-attachments/assets/4b743268-659d-4966-9b86-e91115a3f168" /> ## How I Tested These Changes Materialize an asset, view the run. Verify that the button label has the full `X/Y` string. ## Changelog [ui] On the run page, show the number of log levels selected as well as the number of log levels available.
1 parent 25f8cd8 commit ea35636

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: js_modules/dagster-ui/packages/ui-core/src/runs/LogFilterSelect.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ export const LogFilterSelect = ({options, onSetFilter}: Props) => {
8989
icon={<Icon name="filter_alt" />}
9090
rightIcon={<Icon name="expand_more" />}
9191
>
92-
Levels ({enabledCount})
92+
<span style={{fontVariantNumeric: 'tabular-nums'}}>
93+
Levels ({enabledCount}/{levels.length})
94+
</span>
9395
</FilterButton>
9496
</Popover>
9597
);

0 commit comments

Comments
 (0)