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

13 Commits

Author SHA1 Message Date
Paul D'Ambra
e6ea44ed9f
chore: refactor card meta to allow sharing it (#12637)
lifted out of #12560

Text and Insight Cards have a lot of overlap but could share more code
2022-11-09 15:01:50 +00:00
Paul D'Ambra
63a1cb56e5
feat: choose if dashboard deletion also deletes insights (#12640)
Problem
Via customer feedback: If someone is deleting a dashboard they want to delete the insights too. At the moment that means they have to delete them one at a time.

Changes
Introduces a modal when deleting a dashboard that lets you choose whether to delete the insights on the dashboard

Soft-deletes the insights as appropriate
2022-11-08 15:50:58 +00: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
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
Ben White
80b3212898
feat: Lemon Skeletons (#11629) 2022-09-08 13:54:00 +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
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
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
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
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
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