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

Surveys UI UX issues #17038

Closed
4 tasks done
liyiy opened this issue Aug 15, 2023 · 17 comments
Closed
4 tasks done

Surveys UI UX issues #17038

liyiy opened this issue Aug 15, 2023 · 17 comments

Comments

@liyiy
Copy link
Contributor

liyiy commented Aug 15, 2023

@joethreepwood
Copy link
Contributor

joethreepwood commented Aug 15, 2023

  • Pressing 'Enter' in any of the color customization fields immediately saves the insight and takes you out of Edit mode

@joethreepwood
Copy link
Contributor

joethreepwood commented Aug 15, 2023

  • Deleting the default 0 in the 'Roll out to' field immediately defaults the answer to 100 (IMHO it should remain empty and default to 0 if no figure is entered)

@liyiy liyiy changed the title Surveys UI UX megaissue Surveys UI UX issues Aug 15, 2023
@liyiy liyiy mentioned this issue Aug 15, 2023
37 tasks
@annikaschmid
Copy link

annikaschmid commented Aug 16, 2023

  • Another colour contrast issue: In the default colour scheme, the hover colour is very light, which makes it hard to see what is selected. This applies only for the actual site app, the preview is different. Those two should also work the same way. See the screenshot for the difference

  • Again for NPS, when you have single digit values and double digit values, the double digit field is wider than the single digit field. This should be the same

  • In the preview and the live survey popup, the 'x' to close is different. Adjust the one in the preview, which is currently the letter x

@annikaschmid
Copy link

Screenshot 2023-08-16 at 10 13 45
Screenshot 2023-08-16 at 10 12 29

@annikaschmid
Copy link

Maybe: Set a min-width for the site app. If the text is very short, it looks quite bad, and can be hard to spot, especially on a big monitor. I know most users have longer text, But I think I would prefer if we have a fixed width for the popup

Screenshot 2023-08-17 at 14 39 39

@annikaschmid
Copy link

annikaschmid commented Aug 17, 2023

  • In the attached screenshot, the spacing isn't ideal. I can't tell what it is, whether the content in general is too close together, or there is not enough spacing at the bottom compared at the top, but the whole thing looks quite dense and bottom-heavy. Can we try out adding more whitespace?
Screenshot 2023-08-17 at 15 12 07

@annikaschmid
Copy link

annikaschmid commented Aug 17, 2023

  • The surveys screen is not responsive, when I am on a narrow screen, the preview is cut off. Other pages, like feature flags, behave differently. Here is a recording of a user where you can observe it

@annikaschmid
Copy link

annikaschmid commented Aug 22, 2023

  • Can we please make the open text box the same width as the max-width for the text, and make sure they align? The text box is currently shorter in width than the text, which means sometimes they don't left-align, and that doesn't look good. I can provide a screenshot if needed

@annikaschmid
Copy link

annikaschmid commented Aug 31, 2023

  • For link surveys, question description and link should be arranged the other way around, to match how it shows up in the interview popup

  • I would like to be able to do paragraph breaks and bold text in the question, similar to how the original interview popup looked (looks better). Maybe the most flexible is to add markdown support? cc @corywatilo Maybe one for you, as you are considering working on the site app

Screenshot 2023-08-31 at 11 28 49 Screenshot 2023-08-31 at 11 31 24 Screenshot 2023-08-31 at 11 30 11

@annikaschmid
Copy link

From Slack: Site app in 'dark mode' doesn't look good: https://posthog.slack.com/archives/C034XD440RK/p1691583675158699

@annikaschmid
Copy link

#17146

@annikaschmid
Copy link

Preview vs live version: We say "undefined" in the live version when no bound names are set

Screenshot 2023-09-07 at 09 44 22

@annikaschmid
Copy link

Some feedback from Cory here he would like to get done before surveys go live: PostHog/posthog.com#6580 (comment)

@corywatilo
Copy link
Contributor

In addition to above, I've been thinking through the survey results pages. Originally we had talked about sticking to existing components to show results, but if you don't mind roping in @smallbrownbike, we may be able to shoot a little higher. Here are a couple examples.

Note: Both wires are in the PostHog 3000 skin, so just ignore the parts that aren't relevant.

1-10 rating results

Adds

  • Grouped bar chart with breakdown of results of showing the form
  • A custom UI to visually represent the 1-10 scale, showing volume of responses for each
  • Idea: Clicking on a segment of results would show the lightbox with users who chose that option
image

Freeform text results

  • Masonry-style blocks with quotes and links to users
image

These are just two examples (though 1-5 works the same as 1-10) - wouldn't be hard to do the rest with minimal new design components, but would really help make the results easier to consume!

One thought: are there any considerations for if these result cards get dragged into a notebook?

@liyiy
Copy link
Contributor Author

liyiy commented Sep 23, 2023

Grouped bar chart with breakdown of results of showing the form

I like this and we should go with it 💯
There's just one more stat which is: users who have started filling out the form but eventually dropped off, which I assume can just be another section on that bar?

A custom UI to visually represent the 1-10 scale, showing volume of responses for each

I think hogql insight does an okay job of this right now, and it has some convenient features connected to it, like seeing the persons modal of who submitted a score of 10, so I'd be happy to punt on a new implementation for rating surveys

However hogql doesn't handle multiple choice question results very well, so this is the best we've got, we could improve this for sure 👀

Screen Shot 2023-09-23 at 7 59 06 AM

Masonry-style blocks with quotes and links to users

I think having a "time" value could still be helpful here to provide a bit of structure/insight into how the responses flow in, and then allowing an optional free form mode for users to group responses themselves if they want to

@corywatilo
Copy link
Contributor

I made some updates to above and now have wires for all survey types. Most notable global changes:

  • Each question shows the type just above the question name
  • The table breakdown uses the th to display the question name
  • Added an "Abandoned" segment in the bar chart summary, showing people who started filling out the survey but didn't complete it

1-10 rating

image

Single choice / radio

image

Link

I didn't mock this, but it's essentially the same as the single choice pie chart, just showing "Clicked link" / "Didn't click link".

Multi-select

In the table breakdown, multiple selections from the same person are separate by comma in the same column

image

Freeform text

I moved these results from the "Breakdown" section to the Results section and it now lists the question type like others.

image

Multiple questions

image

In above, note how each question just stacks. (Red outlines below show each individual question and how they stack.)

In the breakdown, each question is in its own column.

image

@jurajmajerik
Copy link
Contributor

Regarding the abandoned state in the stacked bar - we currently don't have an event that captures this, so that needs to be added first.

Quoting @neilkakkar:

I think this makes sense only in multiple steps surveys, where we should start sending an event if they answered at least one question, and compute abandonment if they did not send the survey in the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants