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

20 Commits

Author SHA1 Message Date
Michael Matloka
ceecea49f3
feat(lemon-ui): LemonInputSelect 2.0 (#24321)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-14 12:15:58 +02:00
Juraj Majerik
b4d3cbd668
chore(surveys): add a cypress test for the branching logic (#23591)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-11 15:38:32 +00:00
Dylan Martin
367f6f8360
feat(feature-success): added confirmation dialog to the survey and experiment destructive actions (#23580)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Juraj Majerik <juro.majerik@gmail.com>
2024-07-10 18:29:25 +00:00
Juraj Majerik
d1e240eeef
fix(eslint): lint cypress files (#23548) 2024-07-09 09:59:53 +00:00
Li Yi Yu
43c5c9f2e8
feat(surveys): replace surveys preview (#20321)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Juraj Majerik <juro.majerik@gmail.com>
2024-04-29 16:29:29 +02:00
Nikita Vorobev
50360e7f20
feat(surveys): allow to stop surveys once reached enough responses (#21528)
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2024-04-26 14:24:26 +00:00
Aryan Rawlani
e332571ca1
feat(surveys): Add support for duplicating survey (#21525)
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2024-04-23 11:17:47 +00:00
Ben White
2778c6ba28
feat: ~LemonMulitSelect~ LemonInputSelect (#20948) 2024-03-18 13:27:29 +01:00
Neil Kakkar
493a2556e2
fix(flags): Refactor release conditions to be noice (#20537) 2024-03-06 13:12:00 +00:00
Li Yi Yu
5951ec301d
fix(surveys): survey results viz fixes (#20345)
* rename count bar to follow event name format

* add explore more results button

* fix squished options height

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* fix wording

* Update UI snapshots for `webkit` (2)

* add data attr

* clarify match

* add bar chart icon

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-15 18:20:03 +00:00
Neil Kakkar
f698daf62a
fix(flags): Allow fractions for flag rollout (#19946)
* fix(flags): Allow fractions for flag rollout

* fix
2024-01-24 16:45:47 +00:00
David Newell
e87d9bb586
chore: remove all input number (#19545) 2024-01-05 08:46:01 +01:00
Thomas Obermüller
e1c68da4bf
chore(3000): remove feature flag (#19416) 2023-12-27 09:52:28 +01:00
Soon-Mi Sugihara
9b35787855
feat(surveys): Add open-ended choices for multiple and single choice surveys (#18258)
* feat(surveys) Add open-ended choices for multiple and single choice surveys

* Validate question choices in backend

* Update open choice behavior and appearance to reflect posthog-js

* Change multiple and single choice questions to have has_open_choice field

* Fix survey logic test

* Remove key warning

* Change has_open_choice to hasOpenChoice

* Hide Add Open-Ended Choice button behind feature flag

* Remove border from text input

* Pass frontend CI tests
2023-11-22 18:14:37 -05:00
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