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

fix(popover): use the top placement by default for the person display popover #24298

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

dmarticus
Copy link
Contributor

Problem

We have an issue where the person display box doesn't render correctly on a few browsers (chrome, arc), and appears off to the right

image

I think it'd be better to appear on the top by default, that way folks can easily see all the person info on popover if they'd like.

e.g.

image

Changes

https://www.loom.com/share/4379043cb6854a3ca8bc3666e9599066?sid=1a00b0c7-9eca-4092-9c22-68788cf1dc9d

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

👀

@dmarticus dmarticus requested review from benjackwhite and a team August 9, 2024 19:13
Comment on lines +122 to +123
placement="top"
fallbackPlacements={['bottom', 'right']}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@benjackwhite ,you were the last person to touch this area of the product. I checked out other data tables in the UI where we display person data and my changes looked safe, but any risks from your perspective about changing this?

Copy link
Contributor

Choose a reason for hiding this comment

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

nope sounds good

Copy link
Contributor

github-actions bot commented Aug 9, 2024

Size Change: 0 B

Total Size: 1.07 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.07 MB

compressed-size-action

Copy link
Contributor

@Phanatic Phanatic left a comment

Choose a reason for hiding this comment

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

Looks good, and on the screen.

Comment on lines +122 to +123
placement="top"
fallbackPlacements={['bottom', 'right']}
Copy link
Contributor

Choose a reason for hiding this comment

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

nope sounds good

@dmarticus dmarticus merged commit 6906dfe into master Aug 12, 2024
94 checks passed
@dmarticus dmarticus deleted the fix/person-table-popover branch August 12, 2024 14:24
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.

3 participants