0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
Commit Graph

738 Commits

Author SHA1 Message Date
PostHog Bot
ee326fa960
chore(deps): Update posthog-js to 1.106.3 (#20437) 2024-02-19 19:34:31 -05:00
PostHog Bot
eb931ee18a
chore(deps): Update posthog-js to 1.106.2 (#20406) 2024-02-19 07:10:28 -05:00
Paul D'Ambra
d5df038f16
fix: reduce toolbar bundle size by 60% (#20122)
* output analyzable build info for the toolbar

* don't use code snippet it adds half a meg

* Update UI snapshots for `chromium` (2)

* use esbuild visualizer instead

* fix

* allow treeshaking and remove circular dependency from imports toolbar uses

* fix

* lint the mjs files at the root of frontend folder

* no need to mention lemonui at all

* no ned to specify metafile

* don't allow posthog-js to sneak into the toolbar

* simpler date picker so fewer dependencies

* maybe this

* like this?

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* ragE

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* too easy to break things this way

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* around the houses

* Reset snapshots to master

* explain why there's a plugin

* 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` (2)

* fix

* fix

* Update UI snapshots for `webkit` (2)

* fix

* Update UI snapshots for `webkit` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-19 11:39:15 +00:00
PostHog Bot
a271ea5ba3
chore(deps): Update posthog-js to 1.106.1 (#20403) 2024-02-19 05:34:05 -05:00
PostHog Bot
df9bcd39af
chore(deps): Update posthog-js to 1.106.0 (#20373) 2024-02-15 12:17:05 -05:00
PostHog Bot
856a12cb85
chore(deps): Update posthog-js to 1.105.9 (#20344) 2024-02-14 11:28:13 -05:00
Paul D'Ambra
a33ded1caf
fix: toolbar selector fangling (#20325) 2024-02-14 10:49:25 +00:00
PostHog Bot
57b298871f
chore(deps): Update posthog-js to 1.105.8 (#20290) 2024-02-13 05:43:31 -05:00
PostHog Bot
7dee343d80
chore(deps): Update posthog-js to 1.105.7 (#20254) 2024-02-11 05:41:36 -05:00
PostHog Bot
f12b64beac
chore(deps): Update posthog-js to 1.105.6 (#20220) 2024-02-08 14:00:31 -05:00
PostHog Bot
fc6cd4eeba
chore(deps): Update posthog-js to 1.105.5 (#20200) 2024-02-08 08:31:27 -05:00
PostHog Bot
e6861ad7c5
chore(deps): Update posthog-js to 1.105.4 (#20176) 2024-02-07 10:35:04 -05:00
PostHog Bot
180ba3c1d4
chore(deps): Update posthog-js to 1.105.3 (#20173) 2024-02-07 08:18:42 -05:00
Robbie
8a4c7d8fdf
feat(web-analytics): Support opening web analytics queries as either a trend or modal (#20148)
* Support opening web analytics queries as either a trend or modal

* make it not crash

* Strip embedded from new insight urls

---------

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2024-02-06 14:09:05 +00:00
Michael Matloka
8ad9ecf725
chore(dev): Speed up SCSS compilation (#20132) 2024-02-06 13:35:13 +01:00
Michael Matloka
6347750da6
test(dashboards): Add test for loading results on shared dashboards (#20146)
This fails currently – yay! Should pass after merging with master.
2024-02-06 12:09:16 +01:00
PostHog Bot
6ac6dc90c4
chore(deps): Update posthog-js to 1.104.4 (#20105) 2024-02-02 06:32:44 -05:00
PostHog Bot
f171df81dc
chore(deps): Update posthog-js to 1.104.3 (#20085) 2024-02-01 06:31:01 -05:00
PostHog Bot
fdd2d8f8a9
chore(deps): Update posthog-js to 1.104.2 (#20071) 2024-01-31 11:09:33 -05:00
PostHog Bot
ca40ab39dd
chore(deps): Update posthog-js to 1.104.0 (#20066) 2024-01-31 08:59:09 -05:00
PostHog Bot
f9d6062b23
chore(deps): Update posthog-js to 1.103.2 (#20061) 2024-01-31 06:25:35 -05:00
PostHog Bot
ad69f12b25
chore(deps): Update posthog-js to 1.103.1 (#19997) 2024-01-28 16:12:52 -05:00
PostHog Bot
8e8e483804
chore(deps): Update posthog-js to 1.103.0 (#19990) 2024-01-26 11:15:31 -05:00
Paul D'Ambra
0fdb1e0fe3
feat: dedupe incremental mutations for mobile replay (#19974)
* start passing context around instead of multiple parameters

* start passing a result and context back from conversions

* even more using the context and the results

* get id sequences under control

* manually run prettier

* add lint staged rules for ee TS code

* remove console logs

* start tracking ids as they are processedD

* Add a new test case and so update _all_ of the ids :/

* don't process the same add or update id more than once

* refactor similar closer together

* move keyboard style override into context

* snapshots

* remove constant

* need to fangle context in case select options ever starts to change it
2024-01-26 16:14:14 +00:00
PostHog Bot
51bae9d755
chore(deps): Update posthog-js to 1.102.1 (#19962) 2024-01-25 05:54:27 -05:00
PostHog Bot
f3f9ea7a40
chore(deps): Update posthog-js to 1.102.0 (#19949) 2024-01-24 10:25:10 -05:00
PostHog Bot
d935983f55
chore(deps): Update posthog-js to 1.101.0 (#19898) 2024-01-22 06:03:52 -05:00
Paul D'Ambra
4b12f76bc4
feat: patch canvas export into rrweb (#19861)
* feat: patch canvas export into rrweb

* like that?

* like that?
2024-01-19 13:41:19 +00:00
Michael Matloka
6a1af4952f
fix(lemon-ui): Fix labels on basic sparklines (#19816) 2024-01-17 16:36:18 +00:00
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