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

34 Commits

Author SHA1 Message Date
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
d14549113e
feat: Swap to LemonInputs for searching (#11179) 2022-08-10 13:00:08 +02: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
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
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
Marius Andra
c9c8908f14
feat(setting): organization member pagination and search (#10651)
* convert to lemon table

* limit members to 50, add search

* improve the look

* memoize fuse

* memoize fuse

* fix test
2022-07-07 08:16:40 +00:00
Emanuele Capparelli
dfc04afa08
feat: date filter experiment (#10462)
Co-authored-by: Ben White <ben@benjackwhite.co.uk>
2022-07-04 12:46:12 +01:00
Marius Andra
fc9a225d8a
feat(sharing): improve sharing modal (#10582)
* feat(sharing): improve sharing modal

* more cleanup

* fix sharing test

* codesnippet copy link

* adjust title

* adjust styles

* change the box
2022-06-30 18:44:11 +02:00
Ben White
f4e64b07a5
feat(sharing): Insight Sharing / Embedding (#10536)
* Added SharingConfiguration
* Added SharingModal for Insights
* Simplified insight permission check
* Merged sharing/exports/embed into one view
* Removed share_token usage wherever possible

Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: benjackwhite <benjackwhite@users.noreply.github.com>
2022-06-30 11:58:58 +00:00
Ben White
893deff260
feat: Editor panels refactor (#10499)
* Big refactoring of Insights codebase

* More deletions

* Added missing Attribution Filter
Fixed Lifecylce toggles style

* Fixed funnels style and formula / breakdown buttons

* Removed ant stylers

* More refactoring

* Fix

* Fix imports

* Fixed styles to match previous

* Fixed some remaining issues

* rename 1

* Rename folders

* Renamed away from EF*

* Fix cypress tests

* Removed comment

* Fixed nav always showing

* Corrected EF name
2022-06-28 11:51:17 +02:00
Marius Andra
d51a2ce3df
fix(popups): replace popper with floating ui (#10295)
* wip

* it actually works now

* fix pinned dashboard display

* popups

* fix TS issues

* shortcut

* remove popper

* refactor to floating ui

* remove debug

* even more cleanup

* cleaner handler

* yarn.lock

* simplify more

* not taller than the window

* position top popups

* simplify

* let me work with node 18

* fix few more popups

* fix top open animation

* fix some tests

* use html element for consistency

* revert random changes

* don't write the default

* fallback first, then shift
2022-06-24 12:44:54 +02:00
Eric Duong
dcab55e3c3
refactor: Release cohort filters ff (#10422)
* refactor: release cohort filtering

* chort: empty

* sugar and unused components

* remove old cohort grouop tests

* add component data-attr

Co-authored-by: Alex Kim <alexgkim205@gmail.com>
2022-06-23 13:02:01 -07:00
Rick Marron
8a23be18dc
feat(session-analysis): Enable filtering by session length (#10356)
* it works

* add to group filters

* add feature flag

* add support for insight panels

* add backend tests

* add frontend tests

* Update snapshots

* type fixes

* fix cypress

* paramaterize team_id

* clean up FF

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-23 08:05:45 -07:00
Eric Duong
9430c258d3
fix: Change placeholder color to muted and make popup appear directly (#10394)
* fix: change color to muted and make popup appear directly

* fix: add active state when popup open

* fix: border width

* change title back

* adjust test
2022-06-22 19:50:33 -04:00
Paul D'Ambra
41dba04443
feat: toolbar side bar launching v2 (#10377)
* unique attribute on toolbar side action button

* remove sneaky it.only

* clicking add new URL moves to toolbar page and focusses the new url input

* refactor tests
2022-06-21 09:10:29 +02:00
Paul D'Ambra
023deb7693
feat: add toolbar launching from the side bar (#10354)
* feat: add toolbar launching from the side bar

* always have an add url button

* fix idiocy

* fix cypress tests

* fix cypress tests, ugh

* fix cypress tests, ugh

* add a toolbar launch button cypress test
2022-06-20 11:04:29 +02:00
Emanuele Capparelli
c57949a035
fix: person-events-table (#10342)
* fix: person-events-table

* add cypress test
2022-06-17 13:43:57 +02:00
Emanuele Capparelli
102e375878
feat: save default live events columns (#10293)
* feat: save default live events columns

* added column config logic test

* ran prettier

* Update snapshots

* fix api.mock.ts

* fixes after review

* fix test

* Update snapshots

* fixes after review

* fixes after review

* add migration

* fix black formatting

* fix cypress test

* remove items from lists after selection

* disable text selection in infinite lists

* fix bug

* fix nit

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-16 17:19:31 +02:00
Paul D'Ambra
d613f4bd06
chore: upgrade cypress to v10x (#9650)
* update cypress

* really click something that's actually there

* obey cypress and use done

* run cypress 9 in CI

* no need for before each when only one test

* no need to set window size to the default

* get tests passing file by file

* delay checking for a graph in a test

* be more specific cypress

* use cy command

* select text like a human

* silly cypress

* try and avoid cypress deciding that a visible field is not valid

* select delete button correctly

* find save button differently

* try and avoid not always typing the first character

* better trends selections

* use cy command to navigate

* conitnue trying to get tests to pass in CI

* another try at setting feature flag names in CI

* can CI find undo button without a wait?

* better assertion for cypress

* up to v10

* fix splitting specs with v10 path

* show cypress how to wait for the test to finish

* remove redundant file

* change return to satisfy new cypress

* move import
2022-06-09 11:14:21 +01:00