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] Menu divider header text #17853

Merged
merged 1 commit into from
Nov 9, 2023
Merged

[ui] Menu divider header text #17853

merged 1 commit into from
Nov 9, 2023

Conversation

hellendag
Copy link
Member

@hellendag hellendag commented Nov 9, 2023

Summary & Motivation

A little bit cleaner style for the MenuDivider title text. The current style has awkward spacing, and the bold text makes it look like it could be a clickable item when it's not.

Before:

Screenshot 2023-11-09 at 8 53 57 AM

After:

Screenshot 2023-11-09 at 8 46 27 AM

Storybook (with items that have icons):

Screenshot 2023-11-09 at 8 56 45 AM

How I Tested These Changes

View Storybook example and Cloud feature.

@hellendag
Copy link
Member Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@hellendag
Copy link
Member Author

Looks like there aren't really any other use cases of MenuDivider titles in the app, so this should be the only place affected.

@leahpadgett
Copy link

Looks great!

Copy link

github-actions bot commented Nov 9, 2023

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-60r27sqoa-elementl.vercel.app
https://dish-menu-divider.components-storybook.dagster-docs.io

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

@hellendag hellendag merged commit 20e22c0 into master Nov 9, 2023
1 check passed
@hellendag hellendag deleted the dish/menu-divider branch November 9, 2023 15:06
salazarm pushed a commit that referenced this pull request Nov 9, 2023
## Summary & Motivation

A little bit cleaner style for the MenuDivider title text. The current
style has awkward spacing, and the bold text makes it look like it could
be a clickable item when it's not.

Before:

<img width="456" alt="Screenshot 2023-11-09 at 8 53 57 AM"
src="https://github.com/dagster-io/dagster/assets/2823852/416b9834-07e8-4fe2-b566-4e47f049cfb5">

After:

<img width="514" alt="Screenshot 2023-11-09 at 8 46 27 AM"
src="https://github.com/dagster-io/dagster/assets/2823852/3f955495-84bf-4ced-ab1d-dcc80b67f3b5">

Storybook (with items that have icons):

<img width="209" alt="Screenshot 2023-11-09 at 8 56 45 AM"
src="https://github.com/dagster-io/dagster/assets/2823852/73d555a7-eafd-4b88-8d84-a89a855b1040">


## How I Tested These Changes

View Storybook example and Cloud feature.
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.

3 participants