Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Repair asset header breadcrumbs for long key strings (#23384)
## Summary & Motivation Force the `Breadcrumbs` items in the asset view header to render with `MiddleTruncate` to ensure that long keys in the path still show up. Otherwise, we can end up using the entire width with a single key and every breadcrumb gets pushed into the overflow menu. Also tweaked the overflow menu to match popover behavior from our other components. <img width="464" alt="Screenshot 2024-08-02 at 12 55 00" src="https://github.com/user-attachments/assets/8b6d017d-2d45-4dcf-a344-a89b4b2dd3d1"> ## How I Tested These Changes View assets with very long key elements in their paths, verify that middle truncate behaves correctly. It's not perfect because the middle-truncated strings have a little excess horizontal space in some cases, but it's an improvement.
- Loading branch information
34e898b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagit-core-storybook ready!
✅ Preview
https://dagit-core-storybook-c732kfoa1-elementl.vercel.app
Built with commit 34e898b.
This pull request is being automatically deployed with vercel-action