PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
20.71k stars 1.24k forks source link

Support customizing the size of the survey popup the survey editor UI #24169

Open dmarticus opened 1 month ago

dmarticus commented 1 month ago

Feature request

We received some feedback from the good folks at Hospitable (Smartbnb) about ways we could improve our survey editing experience (thread)

A few were super easy and were fixed with PRs in the next couple days, but one is a big more of a lift because it involves thinking about our survey preview experience: they want us to support editing the size of the survey popup.

Describe the solution you'd like

At face value, this seems easy enough – we already have an existing paradigm for passing this data from the posthog app to posthog-js, but the challenge comes from the fact that our survey preview experience doesn't really support visualizing re-sizing the survey popup very well. It supports changing sizes of the elements within the survey container, but if the user wanted to make the survey container, say, 60% bigger, we don't really have a way to show that in the preview, so the only way they could do it would be to test it out on another website.

That's not to say that building a resizing experience is a bad idea or shouldn't be done, we'll just need to think a bit about the best way to do that.

neehhaa06 commented 1 month ago

Hello @dmarticus :)

I think this would be helpful!

To implement a resizable survey popup, define user requirements, design and develop resizing controls with a real-time preview, test thoroughly, deploy and document the feature, and then monitor feedback to make iterative improvements.