HomeElementl

[dagit] Display partition name tooltip if too long in matrix table

Description

[dagit] Display partition name tooltip if too long in matrix table

Summary:
Resolves #3457

In some cases, partition names are a bit too long to fit within the allotted space on the run matrix. To alleviate this, let's show a tooltip on title names that are too long to fit in the container, based on some quick post-mount dimension calculations.

Test Plan: View partitions tab for a pipeline, force partition names to be too long to fit in the matrix header. Hover on text, verify that tooltip appears. Repeat hover for names that aren't too long, verify that there is no tooltip.

Reviewers: bengotow, prha

Reviewed By: bengotow, prha

Differential Revision: https://dagster.phacility.com/D7628

Details

Provenance
dishAuthored on Apr 27 2021, 7:18 PM
Reviewer
bengotow
Differential Revision
D7628: [dagit] Display partition name tooltip if too long in matrix table
Parents
R1:6e32738d0720: Fix typo
Branches
Unknown
Tags
Unknown