0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
PostHog Bot
3d73992761
chore(deps): Update posthog-js to 1.112.1 (#20782) 2024-03-11 07:48:55 -04:00
Ben White
b7855c5a0f
feat: Tighter modals (#20238) 2024-02-12 14:11:41 +00:00
Bianca Yang
70b04a8163
feat: Test that 'survey sent' Event is Triggered when Submitting Non-Empty Unsubscribe Survey (#18805)
* test that 'survey sent' event was triggered

* remove unneeded config changes

* update env vars, update test to check event payload

* make capture url slightly stricter

---------

Co-authored-by: Bianca Yang <bianca@posthog.com>
2023-12-05 13:06:24 -08:00
Bianca Yang
558661e84d
fix: fix unsubscribe survey typo (#18585)
* fix unsubscribe survey typo

* try to test surveys with event capture

* undo attempt at intercepting posthog.capture in cypress

---------

Co-authored-by: Bianca Yang <bianca@posthog.com>
2023-11-15 16:04:48 -08:00
Bianca Yang
0521e2e9a5
fix: survey doesn't get dismissed when response textarea is empty (#18471)
* fix: survey doesn't get dismissed when response textarea is empty

* address pr feedback

* fix logic nit

* fix up the logic...

---------

Co-authored-by: Bianca Yang <bianca@posthog.com>
2023-11-09 13:25:20 -08:00
Bianca Yang
6c0168350d
feat: Add Unsubscription Survey (#18231)
* Add unsubscription survey

* Ask users why they're unsubscribing before they submit their unsubscription request.

* update to use kea for state management, clean up some logic around finding matching surveys

* resolve typo

* pr feedback

* CTA for contacting support in survey modal
* remove getActiveMatchingSurveys call since we can directly use the surveyID.

* add storybook for billing unsubscribe survey

* add basic cypress tests for the unsubscribe survey

* adding in product type as a response to our multi-question survey

* update survey to show more information about how users might control their costs

* another round of tweaks to survey

* beef up tests

---------

Co-authored-by: Bianca Yang <bianca@posthog.com>
2023-11-02 13:34:45 -07:00