0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
posthog/frontend
Marius Andra 83452a57bf
Fix dashboards again (#6080)
* split trends types into their own file

* add test to make sure trendsLogic gets the right cached items

* not needed unless we're on a dashboard

* this would be false most of the time

* update filters directly when you set cached results

* move costly operation one level up, as get_result() is called many times

* reload dashboard item model if cache was busted

* verify more parts of trendsLogic

* refresh last_refresh from API

* remove debugger

* fix TS errors

* refactor visibilityMap

* move toggleLifecycle to reducer and fix mutation bug

* add a warning for how ActionsLineGraph uses this prop

* add fromDashboardId because dashboardId is used to control the key

* create combined funnel api response type

* compact printActions

* set filters on cache change

* test result and cached item loading works as intended

* remove print

* rename DashboardItemLogicProps -> SharedInsightLogicProps

* cleaner indexedResults

Co-authored-by: Alex Kim <alexgkim205@gmail.com>
2021-09-24 18:30:04 +00:00
..
public Type and font updates (#6020) 2021-09-22 08:47:52 +03:00
src Fix dashboards again (#6080) 2021-09-24 18:30:04 +00:00