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

318 Commits

Author SHA1 Message Date
Ben White
b607de4c8e
fix: Popup within Popup clicking (#11761) 2022-09-15 08:42:08 +00:00
Paul D'Ambra
b391b6db8b
fix: test is less flaky if it doesn't select using focussed (#11824) 2022-09-15 08:40:49 +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
Li Yi Yu
d4508ed47a
fix: use lemon components for taxonomic property filters (#11539)
* use lemon components for taxonomic property filters

* add property value class

* fix

* use lemon select props instead

* slightly less generic classname

* add back classname for tests

* do not use muted alt

* label with classname

* feat: Ungrid filter row to help with lemonizing (#11733)

Co-authored-by: Ben White <ben@benjackwhite.co.uk>
2022-09-10 11:40:13 -04:00
Ben White
80b3212898
feat: Lemon Skeletons (#11629) 2022-09-08 13:54:00 +00:00
Ben White
7403d1f3e2
fix: Simplified PropertyKeyInfo everywhere (#11591) 2022-09-02 16:25:29 +02:00
Ben White
8652246b95
fix: NewActionButton casing and modal (#11568) 2022-09-01 10:45:10 +02:00
Tiina Turban
c6b1da5932
fix: hide initial referrer as event property (#11536) 2022-08-30 18:07:02 +02:00
Emanuele Capparelli
b3ed063e7a
fix: remove data tooltip, improve prompt rules, add caching fix (#11495)
* fix: remove data tooltip and improve prompts rules

* fix test fixtures

* simplify expression

* fix cypress

* add cache prefix

* Update frontend/src/lib/components/LemonButton/More.tsx

Co-authored-by: Marius Andra <marius.andra@gmail.com>

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2022-08-25 16:25:59 +00:00
Ben White
3b1fe40828
feat: Lemonify Signup/Login (#11266) 2022-08-25 15:07:44 +01:00
Marius Andra
7cf3f71215
feat(data-management): add custom events list (#11463)
* feat(data-management): add custom events list

* remove dead code

* fix test

* assert what matters

* this seems flakey, even locally, though the interface shows the right data locally... testing a timeout

* new script

* fix test

* remove frontend changes (PR incoming)

* describe meaning behind symbols
2022-08-25 11:00:34 +00:00
Emanuele Capparelli
456484927a
fix: revert remove data-tooltip (#11447)
Revert "fix: remove data tooltip and improve prompts rules (#11441)"

This reverts commit 721f1ea038.
2022-08-23 19:35:58 +01:00
Emanuele Capparelli
721f1ea038
fix: remove data tooltip and improve prompts rules (#11441)
* fix: remove data tooltip and improve prompts rules

* fix test fixtures

* simplify expression

* fix cypress
2022-08-23 18:15:39 +01:00
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
6ad9cbb9ea
fix: LemonButton options (#11223) 2022-08-10 15:46:02 +02:00
Ben White
d14549113e
feat: Swap to LemonInputs for searching (#11179) 2022-08-10 13:00:08 +02:00
Paul D'Ambra
36622515f1
fix: home accessibility (#11211)
* 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

* support switching accessibility tests to failing

* support aria label on lemon buttons

* add story book axe add-on

* Defuckulate the tests

* oops

* can't stop skipping a11y failures for home just yet
2022-08-09 20:01:58 +01: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
Ben White
b420da0a25
fix: Add Slack to preflight (#10764)
* Added slack service info to preflight
* Correct message for non-staff users
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2022-07-13 15:00:38 +00: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
1dfaf539e5
chore: remove date filter experiment (#10688)
* chore: remove date filter experiment

* fix test
2022-07-08 12:26:02 +02: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