Li Yi Yu
fb6e408d0a
feat(surveys): auto opt in and out surveys for users ( #18080 )
...
* opt in surveys when creating survey and opt out when no active surveys
* update survey banner warning
* add auto opt ins for surveys list launch and stop surveys
* remove from onboarding step
* Update UI snapshots for `chromium` (2)
* update opt in from backend instead
* add filter for api surveys and post delete to receiver
* Update query snapshots
* fix popup flicker
* ambr snapshots
* disabled popup banner rename
* exclude api surveys in query instead
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-20 18:01:38 +00:00
Neil Kakkar
7b8072de4b
fix(surveys): Some UI/UX issues ( #18070 )
...
* fix more issues
* fix
* Update UI snapshots for `chromium` (2)
* update
* address comment
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-18 14:12:28 -04:00
Neil Kakkar
fd230b1964
fix: Make rating start at 0 for surveys ( #18011 )
2023-10-17 14:21:34 +01:00
Li Yi Yu
93e8ccc4eb
feat(surveys): templates ( #17904 )
...
* routes for survey templates
* basic on click setup logic
* Update UI snapshots for `chromium` (2)
* import type
* Apply suggestions from code review
Co-authored-by: Joe Martin <84011561+joethreepwood@users.noreply.github.com>
* address feedback from cory
* fix logic
* remove unused logic file
* Update frontend/src/scenes/surveys/constants.tsx
Co-authored-by: Joe Martin <84011561+joethreepwood@users.noreply.github.com>
* Update frontend/src/scenes/surveys/constants.tsx
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
* address comments
* Update UI snapshots for `chromium` (2)
* more fixes
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
* move description and title together
* fix e2e
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Joe Martin <84011561+joethreepwood@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2023-10-16 16:32:07 -04:00
Eli Kinsey
27e183b765
feat(surveys): Improved survey creation flow ( #17902 )
...
* create edit survey components for feature flagging
* visual type picker
* organization
* move previews into tooltips
* targeting
* sync preview and accordion
* better presentation view
* Update UI snapshots for `chromium` (2)
* fix migration file lint
* Update UI snapshots for `chromium` (2)
* make collapse panel header easier to see
* label question index
* more fixes
* update
* surveys new creation flow flag
* fix linter spacing
* form appearance file
* Update UI snapshots for `chromium` (2)
* fix
* fix
* Update UI snapshots for `chromium` (2)
* fix targeting
* fix cypress tests
* black
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Li Yi Yu <li@posthog.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2023-10-16 14:38:29 +00:00
Neil Kakkar
6269a4553d
feat(surveys): Add cypress e2e tests ( #17920 )
2023-10-13 12:40:34 +00:00