0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
Commit Graph

85 Commits

Author SHA1 Message Date
Richard Borcsik
ad95e616cf
feat(replay): event based recording trigger (#26168)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Paul D'Ambra <paul@posthog.com>
2024-11-13 21:15:24 +00:00
Paul D'Ambra
d09bfce3d7
fix: react rule of hooks linting to error (#25232)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-27 15:23:00 +01:00
Paul D'Ambra
27e596e916
fix: react render error (#25227)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-26 13:10:39 +00:00
Michael Matloka
1304a95ead
chore(frontend): Kill @ant-design/icons (#24817)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-06 17:26:11 +02:00
David Newell
362d05f65d
chore: remove antd (#24256) 2024-08-14 09:54:37 +01:00
Juraj Majerik
d1e240eeef
fix(eslint): lint cypress files (#23548) 2024-07-09 09:59:53 +00:00
Paul D'Ambra
4e657b41aa
chore: dependency wrangling (#22829)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-10 09:49:47 +01:00
Sandy Spicer
cf6ae8a777
feat: query loading bars (#22298)
* printing results

* sleep each row

* in progress

* returning loading status for single queries

* cluster all

* new schema

* working row counts

* change types and store in redis

* loading

* working redis

* include and exclude

* object creation

* nan

* Move some things around

* WIP: loading bar

* WIP: loading bar

* summary

* add better formatting

* hooked up

* add feature flag

* fix numbers

* fix nan

* multiple queries

* gate backend

* remove sleep and print

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* python typing

* dom props

* Update UI snapshots for `chromium` (1)

* validate

* fix test

* bunch of bugfixes

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* backend test

* remove stories

* fix type issues

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: Alexander Spicer <aspicer@surfer-172-30-3-221-hotspot.internet-for-guests.com>
Co-authored-by: timgl <tim@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-16 10:11:26 +01:00
Julian Bez
7f64332421
chore: Add eslint no-else-return rule (#21837) 2024-04-26 08:22:18 +01:00
Julian Bez
5c80885f8e
feat(lint): Add unused-imports eslint plugin (#21750) 2024-04-23 10:26:20 +00:00
Neil Kakkar
de511eeb89
feat(cohorts): Allow adding property filters to events in cohorts (#21375) 2024-04-15 13:08:17 +01:00
David Newell
e5f54e2c48
chore: remove antd from correlation table (#20852) 2024-03-13 14:12:54 +00:00
Michael Matloka
da0507d5f1
chore(deps): rm eslint-plugin-prettier, upgrade @typescript-eslint/parser (#20814)
* chore(dev): Remove `eslint-{config,plugin}-prettier`

* Upgrade `@typescript-eslint` and restore `eslint-config-prettier`

* Fix promise handling in a few spots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-11 16:15:19 +01:00
David Newell
d99d74cad5
chore: remove popconfirm (#20793) 2024-03-08 19:46:48 +00:00
David Newell
683412cc43
chore: replace antd radio (#20038) 2024-02-02 15:20:26 +00:00
David Newell
f59f7752d1
chore: remove skeleton (#20042) 2024-01-31 13:07:22 +00:00
David Newell
77b8f9e5cf
chore: update staff users tab (#20044) 2024-01-31 09:27:42 +00:00
David Newell
0dd78c59c0
chore: remove antd progress (#19953) 2024-01-26 16:03:17 +00:00
Julian Bez
c2631c2d95
chore: Add eslint no-useless-rename rule (#19966) 2024-01-26 09:21:10 +00:00
Michael Matloka
35a3c45ee9
feat: Add LemonSlider and use it in flag rollout conditions (#19958)
* Add `LemonSlider`

* Replace Ant `Slider` with `LemonSlider`

* Use `LemonSlider` in feature flags

* Fix slider sizing

* Update UI snapshots for `chromium` (1)

* Fix touch and add ring

* Reduce transition duration slightly

* Restore utilities.scss

* Update UI snapshots for `chromium` (1)

* Remove leftover comment

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-25 15:48:08 +00:00
Michael Matloka
2ad53ef79e
refactor(product-analytics): lineGraphLogic.ts to tooltip-data.ts (#19815) 2024-01-17 20:28:10 +00:00
Paul D'Ambra
af22f4caec
chore: lint curly braces necessity (#19735)
* chore: lint curly braces necessity

* auto fix
2024-01-15 08:16:12 +00:00
David Newell
e87d9bb586
chore: remove all input number (#19545) 2024-01-05 08:46:01 +01:00
David Newell
68f96d0d8b
chore: remove last of the antd Row components (#19489) 2023-12-22 13:22:35 +00:00
David Newell
409a5b9219
chore: antd removal (#19490) 2023-12-22 11:17:20 +00:00
David Newell
99f7d4a9c2
chore(frontend): enforce inline style linting (#19134)
* chore: enforce inline style linting

* fix or ignore inline styles

* non-breaking spaces

* fix table header

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <michal@matloka.com>
2023-12-11 20:10:23 +00:00
Michael Matloka
a2763eba4e
chore(frontend): Enable isolated modules and incremental compilation (#19168)
* Enable isolated modules and incremental compilation

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Fix typo

Co-authored-by: Paul D'Ambra <paul@posthog.com>

* Restore `include`/`exclude`

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Paul D'Ambra <paul@posthog.com>
2023-12-08 11:52:00 +00:00
David Newell
7295b73ddf
chore: remove antd tags (#18684) 2023-11-29 15:25:16 +00:00
Paul D'Ambra
16323959fd
feat: add ee licensed replay transformer (#18874)
first pass through using the EE licensed replay transformer in playback

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Newell <d.newell1@outlook.com>
2023-11-29 10:41:18 +00:00
Paul D'Ambra
a3ba101a54
chore: update es build (#18917)
* chore: update ESBuild

* chore: update ESBuild

* more logging collapsing

* Fix

* fiddling

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* end when finished if not --dev

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-28 14:33:21 +00:00
David Newell
85ea5b858d
fix: json dark mode (#18858) 2023-11-27 12:14:08 +00:00
Michael Matloka
69becac200
chore(frontend): Sort imports (#18663)
* chore(frontend): Sort imports

* Fix Storybook build problem

* Try a different fix

* Fix another circular import

* Fix more circular imports

* Fix logic connection

* Ignore `cypress` in TS

* Don't check import order in logic types

* Fix another `connect()`

* Don't sort imports in Notebooks nodes code

* Fix another connection

* Increase specificity of .LemonButton against .Link

* Fix styling issues

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-22 15:07:34 +01:00
David Newell
2496809ea1
chore: replace antd components (#18775) 2023-11-22 11:11:45 +00:00
Thomas Obermüller
2a3945be20
feat(search): more search improvements (#18705) 2023-11-20 17:43:54 +00:00
Michael Matloka
f2da9dcfd2
fix(frontend): Use type-aware recommended ESLint rules (#18662)
* fix(frontend): Use type-aware recommended ESLint rules

* Fix al the errors

* Generate logic types before running ESLint

* Fix missing async in test

* Restore some type info
2023-11-17 15:33:01 +01:00
David Newell
71da4c79e4
chore: replace all antd tooltips (#18638) 2023-11-15 12:15:05 +00:00
David Newell
1c63966139
chore: update more tags (#18509) 2023-11-09 17:16:11 +00:00
Robbie
b52ed5c3e6
chore(linting): Add no-constant-binary-expression (#18505)
Add no-constant-binary-expression
2023-11-09 10:37:05 +00:00
David Newell
74d63512a4
chore: stop people using new antd icons (#18494) 2023-11-08 22:08:18 +00:00
David Newell
daed413709
chore: cleanup inline styles (#18314) 2023-11-07 14:46:03 +00:00
David Newell
876bb6ab6c
chore: remove antd Space component (#18396) 2023-11-06 15:58:08 +00:00
David Newell
01af460e8d
chore: dark mode changes (#18393) 2023-11-06 13:38:55 +00:00
David Newell
f9c3f9f236
feat: node actions (#18248) 2023-11-03 10:22:19 +00:00
David Newell
3819d767f6
chore: lint anchor elements (#18227) 2023-11-02 09:35:10 +00:00
David Newell
40bbf00423
chore: custom lint rules (#18206) 2023-10-26 12:11:38 +01:00
David Newell
b3748a241e
chore: appease the eslint warnings, bump warnings to errors (#17758) 2023-10-04 14:32:49 +01:00
Paul D'Ambra
bb61ee1fa1
chore: lint for browser compatability so humans don't have to (#17527)
* chore: lint for browser compatability so humans don't have to

* Doh

* Update UI snapshots for `chromium` (1)

* we already do not support opera mini

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-19 16:19:48 +01:00
Michael Matloka
2edc058d0c
feat: Allow Markdown in item descriptions (#17241)
* feat: Allow Markdown in item descriptions

* Allow forcing Link "open in new" icon for non-text children

* Fix `LemonFileInput` empty child

* Add `LemonMarkdown`

* Simplify `LemonMarkdown` imports

* Update .eslintrc.js

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Increase test timeout

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Paul D'Ambra <paul@posthog.com>
2023-09-18 12:16:33 +02:00
Michael Matloka
59d4398646
ci(vrt): Stop the snapshot madness (#17163)
* Remove redundant Playwright specs

* Increase tolerance in Playwright

* Wait for profile pictures to resolve

* Ensure scene is loaded before proceeding

* Always wait for loaders to disappear

* Disable Gravatars in snapshots

* Don't wait for loaders in more stories with loaders

* Improve resiliency of batch export story

* Fix one more loading story

* Unskip Playwright tests

* Improve inconsistencies

* Upgrade Playwright from 1.29.2 to 1.37.1

* Wait for images to load

* Unify code editors

* Properly wait for images to load

* Go back to Playwright 1.29.2

* Wait for loader selector in LemonTable stories

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-29 09:28:03 +02:00
Robbie
4e885e618d
style: Make eslint stricter, fix issues that came up (#17092)
* Make eslint stricter, fix issues that came up

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Try to fix Playwright flakiness and speed up visual snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <michal@matloka.com>
2023-08-21 13:28:29 +01:00