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

709 Commits

Author SHA1 Message Date
Tiina Turban
88cd774242
feat(pipeline-ui): Display spark graph in destinations table (#19718)
* feat(pipeline-ui): Display spark graph in destinations table

* Sync lint-staged paths with CI

Otherwise couldn't even merge with master due to `bin/build-schema.mjs` being linted in the pre-commit hook despite not being included by `tsconfig.json`. CI didn't notice this because it never ran on that file - so we shouldn't run on it locally either.

* Fix `pipelineAppMetricsLogic`

* Generalize `Sparkline`

* run prettier

* Mock metrics in all stories

* Speed Storybook up slightly

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: Michael Matloka <michal@matloka.com>
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
2024-01-16 19:43:15 +00:00
Ben White
fab48d3aaf
feat: Add status page panel (#19741)
* Added status panel

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Added flag

* Fix

* Fix positioning

* Update UI snapshots for `chromium` (1)

* Fix

* Update UI snapshots for `chromium` (2)

* Fix

* Always-on badge graded by status

* Ignore `IconWithBadge` in library stories

* Reset UI snapshots

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <michal@matloka.com>
2024-01-15 15:49:37 +00:00
PostHog Bot
6c069c1850
chore(deps): Update posthog-js to 1.100.0 (#19764) 2024-01-15 10:44:39 -05:00
PostHog Bot
35e34dda93
chore(deps): Update posthog-js to 1.99.0 (#19762) 2024-01-15 10:13:19 -05:00
Ben White
33bfdff664
chore: Update tiptap (#19753) 2024-01-15 13:22:36 +01:00
Marius Andra
8ccdde769f
feat(frontend): implement project-based routing (#13474) 2024-01-15 10:31:54 +01:00
Julian Bez
9df89c0ebc
feat(api): Add Pydantic schemas in OpenAPI annotations (#19747)
Trying again #19408 with fixes
2024-01-15 09:19:10 +00:00
Julian Bez
cbc0ba83f5
revert: "feat(api): Add Pydantic schemas in OpenAPI annotations" (#19739)
Due to issue POSTHOG-P7X
2024-01-12 14:09:40 +00:00
Julian Bez
456af51cfd
feat(api): Add Pydantic schemas in OpenAPI annotations (#19408)
* Update schema to use discriminators and add Pydantic parser
2024-01-12 12:01:13 +00:00
PostHog Bot
3d3c449e67
chore(deps): Update posthog-js to 1.98.2 (#19723) 2024-01-11 11:32:59 -05:00
PostHog Bot
071c0c53d9
chore(deps): Update posthog-js to 1.98.1 (#19717)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2024-01-11 16:04:40 +00:00
PostHog Bot
5fd16318a9
chore(deps): Update posthog-js to 1.97.1 (#19684) 2024-01-09 12:45:17 -05:00
Thomas Obermüller
01c60350f0
fix(scripts): remove duplicate visual regression test script (#19673) 2024-01-09 16:46:56 +01:00
Thomas Obermüller
fec25c9086
chore(cleanup): remove legacy visual regression tests (#19527) 2024-01-09 15:00:17 +00:00
Michael Matloka
5c51230ea4
chore(frontend): Real Tailwind + Autoprefixer (#19051)
* chore(frontend): Real Tailwind + Autoprefixer

* Align some non-standard utility class usage with Tailwind

* Start using container queries

* Update tailwind.config.js

* Move PostCSS packages into prod dependencies

* Add EE

* Add larger spacings for properties other than width

* Fix spacing backward compat

* Add max-w-1/2

* Remove Tailwind normalization

* Ensure JIT analysis works

* Actually we don't need a container query for this

* Clean up more

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update production.Dockerfile

* Extend `fontSize` instead of replacing

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Fix production build

* Add clarification comment

* Update trends.cy.ts

* Fix `scale` usage

* Fix minor styling issues

* Upgrade to Tailwind 3.4

* Actually use `cssnano`

* Don't use `cssnano` in dev

* Solve annoying Tailwind logs

* Add comment explaining plugins being defined twice

* Fix side panel icon rotation

* Reset snapshots

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Fix dockerfile

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Fix up flag wrap

* Update UI snapshots for `chromium` (2)

* Fix

* 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>
Co-authored-by: Ben White <ben@posthog.com>
2024-01-08 13:26:12 +01:00
Ben White
1c5e7ad41c
chore: Updated posthog-js-lite (#19384) 2023-12-19 06:46:15 +01:00
PostHog Bot
9f646ba3e5
chore(deps): Update posthog-js to 1.96.0 (#19340) 2023-12-14 15:28:31 -05:00
PostHog Bot
6b5b801065
chore(deps): Update posthog-js to 1.95.1 (#19302) 2023-12-13 09:24:16 +00:00
PostHog Bot
74a06f13d4
chore(deps): Update posthog-js to 1.95.0 (#19299) 2023-12-12 18:51:15 -05:00
PostHog Bot
5c6fc5e063
chore(deps): Update posthog-js to 1.94.4 (#19276) 2023-12-12 08:28:36 -05:00
PostHog Bot
ca32acf6d0
chore(deps): Update posthog-js to 1.94.3 (#19269) 2023-12-12 06:22:38 -05:00
Michael Matloka
f1d8b555f4
test: Upgrade to Storybook 7.6 (#19203)
* test: Upgrade to Storybook 7.6

* 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-12-11 13:26:49 +01:00
Tom Owers
cfff36eae0
feat(bi): added support for goal lines on BI charts (#19185)
* Added tooltips to line charts and ensured consistent posthog styling + colours

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Export type from logic

* Fix type issue

* Added bar charts to BI

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Added support for goal lines on BI charts

* Fixed mutating state irectly

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-11 11:47:39 +00:00
PostHog Bot
152f482c3a
chore(deps): Update posthog-js to 1.94.2 (#19235) 2023-12-11 04:32:53 -05:00
PostHog Bot
536af78f81
chore(deps): Update posthog-js to 1.94.1 (#19225) 2023-12-09 06:52:41 -05:00
PostHog Bot
81d37ba99c
chore(deps): Update posthog-js to 1.94.0 (#19224) 2023-12-09 06:30:36 -05:00
PostHog Bot
d703290d8b
chore(deps): Update posthog-js to 1.93.6 (#19079) 2023-12-05 05:06:08 -05:00
PostHog Bot
f77e4cf6f9
chore(deps): Update posthog-js to 1.93.5 (#19078) 2023-12-05 04:27:55 -05:00
PostHog Bot
2fc0864feb
chore(deps): Update posthog-js to 1.93.4 (#19070) 2023-12-05 03:31:10 -05: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
Michael Matloka
36ccfe64cd
style(frontend): Always order CSS properties in one way (#18652)
* style(frontend): Always order CSS properties in one way

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Expand `loadNotebooksContainingResource` Storybook mock

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-23 21:55:14 +01:00
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