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

styling on insight persons modal is off on chrome #11480

Closed
1 of 2 tasks
camerondeleone opened this issue Aug 24, 2022 · 8 comments · Fixed by #11432 or #11662
Closed
1 of 2 tasks

styling on insight persons modal is off on chrome #11480

camerondeleone opened this issue Aug 24, 2022 · 8 comments · Fixed by #11432 or #11662
Assignees
Labels
bug Something isn't working right feature/persons Feature Tag: Persons

Comments

@camerondeleone
Copy link
Contributor

camerondeleone commented Aug 24, 2022

Bug description

scroll bars currently display on insight person modal, interfering with recordings. This used to render properly

image

Please describe.
If this affects the front-end, screenshots would be of great help.

How to reproduce

  1. on latest chrome build, open insight person modal. happ[ens regardless of zoom

Environment

  • PostHog Cloud
  • self-hosted PostHog, version/commit: please provide

Additional context

Thank you for your bug report – we love squashing them!

@camerondeleone camerondeleone added the bug Something isn't working right label Aug 24, 2022
@clarkus clarkus added the feature/persons Feature Tag: Persons label Aug 24, 2022
@clarkus
Copy link
Contributor

clarkus commented Aug 24, 2022

This feature is in need of a clean up. The recordings drop down is also broken - any person with multiple recordings gets a drop down to access each recording. Clicking this action places the dropdown in the upper left of the viewport - almost as if its relative positioning has changed somehow. The components used in the actions are also misaligned to our current pattern.

I redrew the modal to align with our current patterns. This should unblock any work we want to do to clean this up. Note that this area is going to be impacted by an upcoming iteration on recordings.

Actor (persons) Modal

@camerondeleone
Copy link
Contributor Author

That looks great @clarkus

Unrelated, but we should totally refactor this query to order by recordings present so it's convenient for users and we get fewer questions about 'why don't i see recordings here'. (somewhat related to monetizing session recordings cc @rcmarron )

@clarkus
Copy link
Contributor

clarkus commented Aug 25, 2022

Nice idea. I'll add a sort option.

@benjackwhite
Copy link
Contributor

This is great timing as I'm currently refactoring this component (it's a mess).

@rcmarron
Copy link
Contributor

we get fewer questions about 'why don't i see recordings here'.

@camerondeleone are you hearing that question a lot? Adding a sort to that query is going to slow it down a good amount (because it's actually 2 separate queries at work here to avoid joining the tables). I'd be inclined to solve that question through messaging. Maybe a "Some users don't have recordings? Understand why." and it links to the docs?

@camerondeleone
Copy link
Contributor Author

camerondeleone commented Aug 25, 2022 via email

@clarkus
Copy link
Contributor

clarkus commented Aug 25, 2022

I will hold off on adding the sort option. 😃

@benjackwhite
Copy link
Contributor

Closed because of a merge but it was behind a flag so I'll leave this open until its truly out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right feature/persons Feature Tag: Persons
Projects
Development

Successfully merging a pull request may close this issue.

4 participants