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

13 Commits

Author SHA1 Message Date
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