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

Move bounding box class legend into its own collapsible row #5240

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

julieg18
Copy link
Contributor

@julieg18 julieg18 commented Jan 26, 2024

main <- #5227 <- this

Demo

Screen.Recording.2024-01-26.at.7.36.04.AM.mov

Resolves #5227 (comment)

@julieg18 julieg18 added the product PR that affects product label Jan 26, 2024
@julieg18 julieg18 self-assigned this Jan 26, 2024
<td
className={cx({ [styles.pinnedColumnCell]: pinnedColumn })}
colSpan={pinnedColumn ? 1 : nbColumns}
<ComparisonTablePinnedContentRow
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I decided to keep the path sticky but we also could keep it static as before:

Screen.Recording.2024-01-26.at.7.41.16.AM.mov

Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like it was better before. It feels weird to move the classes but not the path.

delay={NORMAL_TOOLTIP_DELAY}
<div
data-testid="row-bounding-box-classes"
className={cx(styles.boundingBoxClasses, cellClasses)}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did test out making the animation of the classes collapsing a bit smoother, but decided to keep it as is:

Screen.Recording.2024-01-25.at.5.43.36.PM.mov

@julieg18 julieg18 marked this pull request as ready for review January 26, 2024 13:45
@julieg18 julieg18 merged commit 1ecec8f into bounding-boxes Jan 26, 2024
5 checks passed
@julieg18 julieg18 deleted the move-comparison-row-classes branch January 26, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants