Page MenuHomeElementl

[dagit] Better usage of space in RepoNavItem
ClosedPublic

Authored by dish on Jul 6 2021, 8:55 PM.

Details

Summary

Now that we have a little more horizontal space in the left nav, let's make some better use of it for the repo nav item.

  • Occupy a higher max-width to show as much of the repo name as possible
  • Change DOM structure so that the "Filter" button can sit above the refresh button, if the repo name is long
  • Add a title to the repo name so that the full string shows up on hover
Test Plan

Verify that basic rendering is correct with single repo or multiple repos selected. Use dev tools to make the repo name longer, verify that it truncates nicely.

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable