0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
Commit Graph

331 Commits

Author SHA1 Message Date
Paul D'Ambra
452fa591dd
chore: wait for page to settle before starting tests (#12671)
wait for page to settle before starting tests
2022-11-08 11:03:40 +00:00
Michael Matloka
9acef00c83
fix(login): Allow retrying login after invalid email/password attempt (#12572) 2022-11-02 14:57:29 +00:00
Eric Duong
545cdb126c
refactor: clean up feature-flag-ux flag (#12411)
refactor: clean up flag
2022-10-25 02:03:46 +00:00
Michael Matloka
412e055657
feat(trends): Compact series math selector (#12377)
* chore(trends): Fix up Trends math options

* Rework math selector

* Restore Group Analytics upsell footer

* Put "Count per user" second

* Update E2E test

* Update snapshots

* Fix `ListRowOption` typing

* Fix nested selection

* Rename `EventPerActorCount` to `EventCountPerActor`

* Fix math category

* Incorporate #12380

* Fix typing

* Update hobby-ci.py

* Revert "Update hobby-ci.py"

This reverts commit e832d86359.

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-24 15:29:33 +02:00
Michael Matloka
3df3825a73
fix(insights): Redirect on new insight "Save & continue editing" (#12384)
* fix(insights): Redirect on new insight "Save & continue editing"

* Add Cypress assertion
2022-10-24 13:40:14 +02:00
Paul D'Ambra
dcb771aa83
chore: check turbo mode is updated in more insight e2e tests (#12378) 2022-10-21 10:15:03 +01:00
Paul D'Ambra
ed049830df
chore: add some cypress tests that exercise turbo mode more (#12350)
* chore: add some cypress tests that exercise turbo mode more

* a little before eaching
2022-10-20 13:24:56 +01:00
Paul D'Ambra
5c72f2d51e
chore: remove some feature flags (#12219)
Removes an unused flag TOOLBAR_LAUNCH_SIDE_ACTION
removes a flag ALLOW_CSV_EXPORT_COLUMN_CHOICE that has been on for cloud users for 23 days
2022-10-17 14:03:35 +01:00
Tiina Turban
7f2b274770
chore: remove merge persons option from persons page (#12034) 2022-10-11 15:44:10 +02:00
Ben White
1e0f1f591c
feat: Added more buttons for viewing recordings from data management (#12162) 2022-10-10 15:27:53 +02:00
Alex Gyujin Kim
e00157469a
feat(recordings): navigate from data management event to recording (#12129) 2022-10-10 09:55:23 +02:00
Paul D'Ambra
18f13d19c5
chore: cypress to wait for API call to complete before checking UI state (#11889) 2022-09-20 20:01:54 +01:00
Marius Andra
91a43ea413
chore(actions): rename calculated events to actions, remove flag (#11864)
* chore(actions): rename calculated events to actions, remove flag

* remove even more action-event code

* remove deprecated tests

* fix cypress
2022-09-20 14:46:40 +02:00
Ben White
b607de4c8e
fix: Popup within Popup clicking (#11761) 2022-09-15 08:42:08 +00:00
Paul D'Ambra
b391b6db8b
fix: test is less flaky if it doesn't select using focussed (#11824) 2022-09-15 08:40:49 +01:00
Paul D'Ambra
303e88bbfc
feat: save title or description of insight or dashboard on blur (#11774)
* revert: #11552

* feat: save title and description on blur

* allow undo when renaming insight

* minimise change

* minimise change

* fix cancelling and add conditional updatedaashboard undo

* no need to change saved insights logic

* only save on blur if value has changed else cancel

* add cypress test to rename insight

* add a cypress test that you can change (and revert that change) an insight name

* wait for insight save to complete
2022-09-14 20:02:51 +01:00
Li Yi Yu
d4508ed47a
fix: use lemon components for taxonomic property filters (#11539)
* use lemon components for taxonomic property filters

* add property value class

* fix

* use lemon select props instead

* slightly less generic classname

* add back classname for tests

* do not use muted alt

* label with classname

* feat: Ungrid filter row to help with lemonizing (#11733)

Co-authored-by: Ben White <ben@benjackwhite.co.uk>
2022-09-10 11:40:13 -04:00
Ben White
80b3212898
feat: Lemon Skeletons (#11629) 2022-09-08 13:54:00 +00:00
Ben White
7403d1f3e2
fix: Simplified PropertyKeyInfo everywhere (#11591) 2022-09-02 16:25:29 +02:00
Ben White
8652246b95
fix: NewActionButton casing and modal (#11568) 2022-09-01 10:45:10 +02:00
Tiina Turban
c6b1da5932
fix: hide initial referrer as event property (#11536) 2022-08-30 18:07:02 +02:00
Emanuele Capparelli
b3ed063e7a
fix: remove data tooltip, improve prompt rules, add caching fix (#11495)
* fix: remove data tooltip and improve prompts rules

* fix test fixtures

* simplify expression

* fix cypress

* add cache prefix

* Update frontend/src/lib/components/LemonButton/More.tsx

Co-authored-by: Marius Andra <marius.andra@gmail.com>

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2022-08-25 16:25:59 +00:00
Ben White
3b1fe40828
feat: Lemonify Signup/Login (#11266) 2022-08-25 15:07:44 +01:00
Marius Andra
7cf3f71215
feat(data-management): add custom events list (#11463)
* feat(data-management): add custom events list

* remove dead code

* fix test

* assert what matters

* this seems flakey, even locally, though the interface shows the right data locally... testing a timeout

* new script

* fix test

* remove frontend changes (PR incoming)

* describe meaning behind symbols
2022-08-25 11:00:34 +00:00
Emanuele Capparelli
456484927a
fix: revert remove data-tooltip (#11447)
Revert "fix: remove data tooltip and improve prompts rules (#11441)"

This reverts commit 721f1ea038.
2022-08-23 19:35:58 +01:00
Emanuele Capparelli
721f1ea038
fix: remove data tooltip and improve prompts rules (#11441)
* fix: remove data tooltip and improve prompts rules

* fix test fixtures

* simplify expression

* fix cypress
2022-08-23 18:15:39 +01:00
Alex Gyujin Kim
a53a21cd9a
fix(data-m): fix property filter resetting event filter (#11282) 2022-08-18 15:37:10 +00:00
timgl
5780a285d7
perf(insights): Speed up loading properties (#11037)
* perf(insights): Speed up loading properties

* paginator that doesn't count with manual limit and offset

* fix tests and types

* remove console.log

* one more test that relied on count

* add a full count to every row

* make a query context object that can be used to count or return results

* silence unrelated homepage error

* minimise change surface

* minimise change surface

* override less of the pager

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2022-08-17 16:19:09 +01:00
Paul D'Ambra
e30f824cda
feat: no button muted alt (#11278)
* insight card primary alt

* lemon input side icon primary alt

* remove button muted alt

* turn on critical a11y testing for home page

* remove muted alt from scss

* de muteify the password input
2022-08-17 08:43:40 +01:00
Ben White
8d90b1075c
feat: Lemonify org settings (#11257) 2022-08-16 09:58:18 +02:00
Ben White
6ad9cbb9ea
fix: LemonButton options (#11223) 2022-08-10 15:46:02 +02:00
Ben White
d14549113e
feat: Swap to LemonInputs for searching (#11179) 2022-08-10 13:00:08 +02:00
Paul D'Ambra
36622515f1
fix: home accessibility (#11211)
* feat: test a11y with Cypress

* axe test more pages

* archive a11y violations on success too

* remove date from file path

* don't warn if no accessibility files to upload... they're not on all test jobs

* support switching accessibility tests to failing

* support aria label on lemon buttons

* add story book axe add-on

* Defuckulate the tests

* oops

* can't stop skipping a11y failures for home just yet
2022-08-09 20:01:58 +01:00
Paul D'Ambra
0a6d99c0a6
feat: test a11y with Cypress (#11199)
* feat: test a11y with Cypress

* axe test more pages

* archive a11y violations on success too

* remove date from file path

* don't warn if no accessibility files to upload... they're not on all test jobs
2022-08-09 19:12:41 +01:00
Marius Andra
d86b2f153b
feat(property-filters): Feature flags in a separate tab (#10668)
* is_feature_flag for event property definitions

* feature flag separate tab

* fix test setup

* correct mock for events cypress tests

* add cypress test for feature flag tab of taxonomic filter

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2022-08-09 10:30:37 +01:00
Ben White
f6e53fe9e4
fix: Button anchors (#11193) 2022-08-09 07:59:00 +00:00
Ben White
893c483adf
feat: LemonButton refactor (#11093) 2022-08-08 08:27:00 +02:00
Emanuele Capparelli
3716cd4107
fix: fix blocking cypress test (#11144) 2022-08-04 12:29:21 +00:00
Paul D'Ambra
d3e293cab9
fix: seperates out cypress test so it can fail for the actual reason it fails (#11123)
* seperates out cypress test so it can fail for the actual reason it fails

* doh
2022-08-04 10:13:28 +02:00
Li Yi Yu
aba7a2ae36
feat(feature-flags): Improve feature flags snippets instructions (#11100)
* feat(feature-flags): Improve feature flags snippets instructions

* fix(code-format): prettier formatting on scss file

* add kefrana for contributor

Co-authored-by: Franck <abgrallkefran@gmail.com>
Co-authored-by: eric <eeoneric@gmail.com>
2022-08-03 12:22:33 -04:00
Paul D'Ambra
c3fe099e8b
chore: add event properties during setup (#11097)
* chore: add event properties during setup

* no need to expand properties
2022-08-03 12:31:36 +01:00
Ben White
78bfb1917f
feat: Replace some styles with classes (#11073) 2022-08-02 09:10:15 +02:00
Alex Gyujin Kim
31e239e20b
refactor(data-m): rename actions to calculated events (#11018) 2022-07-28 16:04:27 +00:00
Alex Gyujin Kim
53afdc7283
feat(data-m): add event type filter to list view (#10961) 2022-07-26 17:46:15 +00:00
Paul D'Ambra
a76c59341f
feat: remove csv export flag (#10939)
* remove csv export flag

* act on todo

* Address some errors

* fix test
2022-07-25 09:36:59 +01:00
Ben White
b420da0a25
fix: Add Slack to preflight (#10764)
* Added slack service info to preflight
* Correct message for non-staff users
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2022-07-13 15:00:38 +00:00
timgl
3d8f8dfe26
perf(decide): Speed up decide endpoint by shortcircuiting middleware (#10744)
* perf(decide): Speed up decide endpoint by shortcircuiting middleware

* fix cypress tests
2022-07-13 14:37:53 +01:00
Emanuele Capparelli
1dfaf539e5
chore: remove date filter experiment (#10688)
* chore: remove date filter experiment

* fix test
2022-07-08 12:26:02 +02:00
Emanuele Capparelli
a1c0aafa29
chore: date filter UI fixes (#10673)
* chore: date filter UI fixes

* fix eslint errors

* fixes

* fix test

* fix cypress

* add test

* Update frontend/src/scenes/dashboard/DashboardHeader.tsx

Co-authored-by: Marius Andra <marius.andra@gmail.com>

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2022-07-08 10:18:26 +01:00
Ben White
c97fb320d6
feat: Universal CSV exports (#10644)
* Added new version of the exporter using API based exporting

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2022-07-07 19:16:13 +00:00