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] Fix theming on breadcrumb popover #21267

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

hellendag
Copy link
Member

@hellendag hellendag commented Apr 17, 2024

Summary & Motivation

The Blueprint Breadcrumb component needed to have the dagster-popover class applied to it to get themed styles. By changing to the newer Breadcrumbs2 (as suggested by Blueprint deprecation) we get the bp4 targeted classnames that are already in place on our existing popovers, and the styles just work.

Screenshot 2024-04-17 at 13 53 10 Screenshot 2024-04-17 at 13 52 54

How I Tested These Changes

Force breadcrumbs to appear on asset page header, click on breadcrumb popover button. Verify themed styling matches the app in both light and dark mode.

Copy link
Member Author

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

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

Copy link

github-actions bot commented Apr 17, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-grmda9io6-elementl.vercel.app
https://dish-fe-296-popover-needs-dark-mode.core-storybook.dagster-docs.io

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

Copy link

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-m3heq2prd-elementl.vercel.app
https://dish-fe-296-popover-needs-dark-mode.components-storybook.dagster-docs.io

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

@hellendag hellendag force-pushed the dish/fe-296-popover-needs-dark-mode branch from 09ed1a8 to b2dfd14 Compare April 17, 2024 18:59
@hellendag hellendag requested review from bengotow and salazarm April 17, 2024 19:01
@hellendag hellendag marked this pull request as ready for review April 17, 2024 19:01
Copy link
Contributor

@salazarm salazarm left a comment

Choose a reason for hiding this comment

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

Nice find

@hellendag hellendag merged commit baa9a56 into master Apr 17, 2024
2 checks passed
@hellendag hellendag deleted the dish/fe-296-popover-needs-dark-mode branch April 17, 2024 20:38
nikomancy pushed a commit to nikomancy/dagster that referenced this pull request May 1, 2024
## Summary & Motivation

The Blueprint Breadcrumb component needed to have the `dagster-popover`
class applied to it to get themed styles. By changing to the newer
`Breadcrumbs2` (as suggested by Blueprint deprecation) we get the bp4
targeted classnames that are already in place on our existing popovers,
and the styles just work.

<img width="234" alt="Screenshot 2024-04-17 at 13 53 10"
src="https://github.com/dagster-io/dagster/assets/2823852/3c3cee87-17a0-4aa1-b048-84c6d234065f">
<img width="229" alt="Screenshot 2024-04-17 at 13 52 54"
src="https://github.com/dagster-io/dagster/assets/2823852/16be9b2d-eeaf-4605-a6fc-cba39467f919">


## How I Tested These Changes

Force breadcrumbs to appear on asset page header, click on breadcrumb
popover button. Verify themed styling matches the app in both light and
dark mode.
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