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

677 Commits

Author SHA1 Message Date
Michael Matloka
6e51b92f3b
test(frontend): Further improvements to UI stability (#18851)
* test(frontend): Further improvements to UI stability

* Use `waitForPageReady()`

* Override playwright to always be 1.32.2

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update test-runner.ts

* 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-11-23 16:35:15 +01:00
David Newell
1961b5b6f1
chore: upgrade playwright (#18793)
* chore: upgrade playwright

* remove core

* upgrade container image

* use test-runner version
2023-11-23 13:51:01 +01:00
PostHog Bot
d6dd8d6095
chore(deps): Update posthog-js to 1.93.1 (#18838) 2023-11-23 04:39:50 -05:00
PostHog Bot
1def792349
chore(deps): Update posthog-js to 1.93.0 (#18834) 2023-11-22 18:36:14 -05:00
Ben White
d65a775a7c
chore: Upgrade test runner (#18794) 2023-11-22 16:24:37 +01: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
Ben White
9033d0822f
feat: Better floating of editing widget (#18780) 2023-11-22 12:30:20 +01:00
Paul D'Ambra
a5e2ca1361
feat: network payload capture draft 2 (#18736)
requires: PostHog/posthog-js#902

We don't want to support running posthog/network and rrweb/network plugin at the same time. These changes support that change
improve timeline display
allow raw json view for debugging
2023-11-21 18:29:00 +00:00
Thomas Obermüller
b846b65c2e
feat(3000): replace command icons (#18770)
---------

Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2023-11-21 17:28:37 +01:00
PostHog Bot
0cafec3eb4
chore(deps): Update posthog-js to 1.92.0 (#18760) 2023-11-20 14:14:18 -05:00
Julian Bez
3cb88c07ab
chore(ruff): Add --fix to ruff check pre commit (#18650) 2023-11-20 15:31:00 +01:00
David Newell
0bbd150e7a
feat(3000): 3000 colors (#18545) 2023-11-20 11:53:12 +00:00
Julian Bez
ff4bfee4d9
feat(queries): Add possibility to run queries async (#18571) 2023-11-20 12:26:08 +01:00
Ben White
6676a1d504
feat: Refactor and simplify insights css (#18570) 2023-11-15 16:47:05 +00:00
PostHog Bot
3bd9713056
chore(deps): Update posthog-js to 1.91.1 (#18656) 2023-11-15 11:09:52 -05:00
Michael Matloka
74c0309735
test(frontend): Add stylelint (#18627)
* test(frontend): Add stylelint

* Remove ordering from the first step

* Further specify a few rules

* Fix a bunch of simple issues

* Add stylelint to pre-commit hooks and CI

* Remove orphaned package-lock.json

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* Retain `currentColor`

* Revert media queries change, and enforce modern colors

* Add TODOs to the config

* Fix a few more colors

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-15 15:11:27 +01:00
PostHog Bot
f77b981ca5
chore(deps): Update posthog-js to 1.91.0 (#18646) 2023-11-15 07:18:37 -05:00
PostHog Bot
f10da8b2d8
chore(deps): Update posthog-js to 1.90.2 (#18637) 2023-11-15 04:40:36 -05:00
PostHog Bot
a81c1c736a
chore(deps): Update posthog-js to 1.90.1 (#18636) 2023-11-15 04:20:40 -05:00
PostHog Bot
87ea15d201
chore(deps): Update posthog-js to 1.90.0 (#18633) 2023-11-14 20:02:10 -05:00
PostHog Bot
8271fcb80c
chore(deps): Update posthog-js to 1.89.2 (#18605) 2023-11-14 08:54:59 -05:00
PostHog Bot
a0db64e111
chore(deps): Update posthog-js to 1.89.1 (#18587) 2023-11-13 18:39:14 -05:00
Michael Matloka
1e095bf94c
chore(3000): Polish up support in the side panel (#18493)
* Tune height and text alignment of `LemonSegmentedButton`

* Always open the support form with a default support kind

* Rename "Support" to "Question" in the form

* Rename "Feedback" to "Support" outside the form

* Clean up panel header

* Use Central support icon

* Fix slider alignment in full-width mode

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Mark a transitioning LemonCollapse panel as busy

* Update UI snapshots for `chromium` (2)

* Fix `openSupportForm` typing

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-13 15:45:51 +00:00
PostHog Bot
413ea11d7a
chore(deps): Update posthog-js to 1.89.0 (#18573) 2023-11-13 10:22:22 -05:00
Michael Matloka
fded6fdf62
test: Regular checkup of visual regression tests (#18469)
* test: Regular checkup of visual regression tests

* Fix billing gauge animation

Animations done in JS can't be stopped automatically by the Storybook test runner. CSS animations can, easily, and they are anyway the cleaner and more performant way of achieving the same here.

* Rename misleading feature flag `recentInsights` to `relatedInsights`

* Mock homepage endpoints to avoid error toasts

* Wait for the recordings list in the notebook node story

* Fix `featureFlagLogic`

* Wait for `.NotebookNode__content`

* Try to optimize

* Screenshot failures and upload as artifacts

* Fix remaining failures

* Increase timeouts

* Fix rendering of Survey stories

* Remove `clang-format`

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Fix alignment of series name in insights details

* Try to fix experiment story flakiness

* Include toasts in loaders

* Fix superfluous toast

* Fix un-awaited breakpoints

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Make login snapshots slightly stabler

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Skip incorrect Surveys story

* Update UI snapshots for `chromium` (2)

* Revert msw upgrade

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-13 15:32:10 +01:00
PostHog Bot
5d68a88675
chore(deps): Update posthog-js to 1.88.4 (#18528) 2023-11-09 13:11:23 -05:00
PostHog Bot
b3d88eaaee
chore(deps): Update posthog-js to 1.88.3 (#18496) 2023-11-08 16:17:49 -05:00
David Newell
d0181fb98e
chore: replace a ton of @ant-design/icons (#18394) 2023-11-08 15:51:39 +00:00
PostHog Bot
2645c58a3f
chore(deps): Update posthog-js to 1.88.2 (#18475) 2023-11-08 04:49:56 -05:00
Tiina Turban
41f8a4a9dd
chore: bump plugin-scaffolding version (#18032) 2023-11-07 14:47:38 +01:00
David Newell
6070407dfa
chore: upgrade react 18 (#17731) 2023-11-06 13:34:20 +00:00
PostHog Bot
5104064197
chore(deps): Update posthog-js to 1.88.1 (#18351) 2023-11-02 09:59:01 -04:00
PostHog Bot
2276274db5
chore(deps): Update posthog-js to 1.88.0 (#18339) 2023-11-02 06:13:35 -04:00
Ellie Huxtable
0257b2bcb9
chore: Use ruff formatter (#18207)
* Use ruff formatter

Ruff is now also a formatter! And it runs in a fraction of a second
across our whole codebase vs "I waited more than 30s and cancelled it
because I got bored".

* Config and command -> ruff

* Run 'ruff format .'

* Update query snapshots

* Run 'ruff format .'

* Fix format after commit hook

* Update query snapshots

* Fix type error - ignore comment moved

* Exclude hogql grammar from formatting and reverted grammar

* Run format

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tom Owers <tom@paace.co>
2023-10-31 13:41:57 +00:00
PostHog Bot
c010a4f487
chore(deps): Update posthog-js to 1.87.6 (#18296) 2023-10-31 06:30:09 -04:00
Ben White
280181a87b
feat(3000): Sidepanel for notebooks / feedback (#18204) 2023-10-31 10:02:53 +01:00
PostHog Bot
1f1995ac97
chore(deps): Update posthog-js to 1.87.5 (#18277) 2023-10-30 14:32:13 -04:00
Thomas Obermüller
ba570e19e5
feat(hackathon-3000): use protomap tiles from s3 (#18247) 2023-10-30 13:14:12 +00:00
PostHog Bot
1744d127ed
chore(deps): Update posthog-js to 1.87.4 (#18264) 2023-10-30 08:50:03 -04:00
PostHog Bot
40194d2044
chore(deps): Update posthog-js to 1.87.3 (#18259) 2023-10-30 05:18:36 -04:00
Michael Matloka
8f62e85c9d
chore(hogql): Full error & NULL handling in C++ parser (1.0.0) (#18240)
* chore(hogql): Be defensive against NULLs in the C++ parser

* Clean up on C++ exceptions

* Add to CONTRIBUTING guide

* Revert `AllowShortFunctionsOnASingleLine` change

* Update HogQLX additions too

* Bump version to 1.0.0

* Use new hogql-parser version

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-27 13:37:15 +02:00
PostHog Bot
fa58cb646a
chore(deps): Update posthog-js to 1.87.0 (#18205) 2023-10-26 11:19:05 -04:00
Robbie
09def8255e
feat(web-analytics): Add web analytics to posthog3000 (#18194)
* Add web analytics to posthog 3000

* Use IconPieChart for web analytics
2023-10-26 14:07:08 +01:00
David Newell
40bbf00423
chore: custom lint rules (#18206) 2023-10-26 12:11:38 +01:00
PostHog Bot
6cc24baeae
chore(deps): Update posthog-js to 1.86.0 (#18202) 2023-10-26 06:28:09 -04:00
PostHog Bot
1d375c0e5c
chore(deps): Update posthog-js to 1.85.4 (#18199) 2023-10-26 05:12:44 -04:00
Ben White
4412c2cbeb
feat: Person feed map (#18184) 2023-10-26 07:20:43 +00:00
Paul D'Ambra
367b44a8ed
feat: remember show advanced filters (#18170)
* feat: remember show advanced filters

* fix advanced filters check
2023-10-25 17:16:10 +01:00
David Newell
4fc05e34c3
chore: upgrade eslint (#18186) 2023-10-25 17:13:59 +01:00
David Newell
fe1ce5a556
feat: nested task lists (#18151) 2023-10-25 16:43:09 +01:00