0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-29 11:12:33 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Marius Andra
c156b0be5d
Replace old insight table with lemon table (#7817)
* replace old insight table with lemon table

* fix count

* Improve table UI further

* Fix sorting interfering with summary type dropdown

* Use a more appropriate loading state

* Update Cypress test

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-12-21 23:19:23 +01:00
Marius Andra
d6fc597f97
Throw when trying to save insight with empty filters (#7802)
* do not save insight if filters empty

* fix another test

* add second update guard

* fix errors

* fix test

* fix timezone-dependent test

* fix test

* fix save to dashboard test

* fix the fix
2021-12-21 16:54:42 +01:00
Michael Matloka
ebb75bd2fa
Unify "Hogflix" casing (#7700) 2021-12-14 15:34:01 +01:00
Alex Gyujin Kim
5f80e24a34
Make compare previous better + new legend (#7510)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-12-09 05:54:32 +00:00
Paul D'Ambra
c26cda87ea
fixes for new short insight urls (#7460)
* fixes for new short insight urls

* add a test and a longer timeout to try and deflake a test

* Update frontend/src/lib/components/IntervalFilter/intervalFilterLogic.ts

Co-authored-by: Michael Matloka <dev@twixes.com>

* Update frontend/src/scenes/insights/InsightDateFilter/insightDateFilterLogic.ts

Co-authored-by: Michael Matloka <dev@twixes.com>

* use urls helper to generate test urls

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-12-01 14:56:36 +00:00
Marius Andra
fbba78718c
Insight URL cleanup (#7201)
* insight route refactor, part 1

* add fromItem to get redirects

* fix some tests

* adjust many more paths

* fix test

* move new insight creation into insight logic

* fix a noisy test

* simplify one test

* open the url with the right filters

* null fix

* fix some more noisy tests

* move saved insights to `/insights`, fix logic tests

* fix cypress urls

* fix some tests

* fix even more insight urls

* wait a bit longer

* add old saved_insights redirect

* this might not be there yet

* rename newInsight -> insightNew

* rename Scene.Insights -> Scene.Insight

* also redirect old searches without fromItem

* fix link

* fix TS merge bugs

* fix import

* fix imports

* fix tests

* fix test

* Run prettier

* fix changes after merge

* switch to a simpler scene

* fix another test

* fix "save as" reset

* rerun tests

* Insight Short URLs (#7259)

* convert a bunch of things to user short_id instead of id

* fix more TS errors

* fix test

* fix jest tests

* various fixes

* add wise words

* type InsightShortId-s to make life easier

* reduce a bit of test noise

* use the InsightShortId in the URL

* fix type

* fix test

* fix insight url preloading

* pass dive dashboards as having insight short ids

* fix short url redirect

* mock scenelogic api

* better types and tests

* type fixes

* fix bug of linking to ourselves

* add back "id"

* get rid of some "getInsightId" calls

* two more

* few more

* refactor last usage of getInsightId

* move files around and improve errors

* make it simpler

* small fixes

* redirect to new url from old hashParam=42

* fix regression

* alert the user if we could not find an insight with the old ID format

* switch to a simpler scene

* fix another test

* Fix annotation creation

* Make short ID friendlier

* remove comments

* simplify insight links from dashboards and saved insights

* remove insight router

* fix TS

* Revert "remove insight router"

This reverts commit e52f474949.

Co-authored-by: Michael Matloka <dev@twixes.com>

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-11-25 15:39:49 +01:00
Marius Andra
9b14556ae4 this seems to take time 2021-11-18 23:36:01 +01:00
Michael Matloka
ac2c51e451
Rework "On dashboard" button (#6959)
* Rework "On dashboard" button

* Adjust things

* Simplify things

* Update modal text and E2E tests
2021-11-10 13:32:01 +01:00
Marius Andra
bc9ebaf712
Release Saved Insights (#6995) 2021-11-09 15:29:05 -08:00
Marius Andra
f40ac4b75c
All Users cohort in breakdown filter (#5293)
* Initial stashed work

* fix all users cohort

* fix test

* fix typesscript values

* remove .only

* simplify some nulls
2021-07-23 08:54:59 +00:00
Marius Andra
771b9a74cf
Enable filter and funnel feature flags (#5282) 2021-07-22 13:40:49 -05:00
Sam Winslow
e7c669692d
Fixes / improvements to funnel step UI (#5018)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-08 10:43:42 -05:00
Tim Glaser
83c48b2f84
Fix direct navigation to graph (#5022) 2021-07-07 10:53:08 +00:00
Paolo D'Amico
50ef5bea19
Remove legacy code for previous insights’ UI (#4852)
* remove legacy vertical tabs

* remove a bunch of more legacy code

* remove crosshair from lifecycle chart

* bring back changes from #4845

* fix trends tests

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-06-24 17:14:08 +02:00
Alex Gyujin Kim
8e30172600
Fix bug where we can't see counts in Insight Table (#4706)
* pass filters through context

* add tests and totalcount prop

* generalize tests

* remove feature flag
2021-06-21 23:21:00 +02:00
Michael Matloka
0aa5e0a319
Remove faulty repo-dependent Cypress test (#4793) 2021-06-17 20:36:43 +02:00
Michael Matloka
4bd79a27b7
Fix CI on forks (#4754)
* Remove commented out test

* Update VERSION

* Don't run the automerge job on forks

* Revert "Update VERSION"

This reverts commit dc37f20133.

* Change automerge condition

* Change automerge condition a bit more

* Try scrolling

* Scroll by more

* Stop GitHub complaining about no jobs ran in a workflow

* Search for a different event name

* Try a different operator

* Don't default branch push jobs on forks

* Move clicks around

Co-authored-by: PostHog Bot <hey@posthog.com>
2021-06-17 00:22:23 +02:00
Alex Gyujin Kim
a64212d3f5
Use trends legend graph everywhere (#4646)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-06-09 20:30:51 -07:00
Tim Glaser
bbb4025ab1
Fix e2e tests (#4357)
* Fix e2e tests

* Run as 'production' to better mimick CI

* try no self capture

* Correct event/property definitions

* fix

* fix system status

* Try caching cypress separately

* Cache node modules

* cache pip better

* fix tests

* dont run if not cache

* test

* Cache cypress

* Fix event definitions

* Fix and speed up

* try fixing

* fix

* fix

* faster install

* try self capture 1

* fix multiple

* fix

* fix

* fix

* more speeding up

* Fix tests

* try not installing deps

* fix test global

* possibly quicker

* correct

* Fix
2021-05-20 16:42:26 +02:00
Li Yi Yu
1de3dbf272
3901 Update standard events display (#4010)
* Closes #3901 add PropertyKeyInfo to select box list

* add more event properties

* update standard events on insights dropdowns with PropertyKeyInfo

* fix borked styling

* add more events to the property key info list

* update standard events with property key info for events tables

* typescript error fixes

* resolve finicky typescript null object error

* e2e updates

* update e2e

* update e2e trends filter selector

* fix events filter bug

* update break down button event name

* e2e fix

* wrap in div and style fix
2021-04-20 15:45:49 -04:00
Paolo D'Amico
ae6b8eef90
User V2 Part II - Frontend changes (#3866) 2021-04-08 13:40:29 -07:00