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

41 Commits

Author SHA1 Message Date
Bianca Yang
3fdeff297d
feat: Add cta on billing for >20k annual spend customers (#19508)
* add cta on billing for >20k annual spend customers

* Update UI snapshots for `chromium` (1)

* tweak the bullets, add dismissal logic, handle small screen sizes

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* give it a box, update wording, improve spacing

* fix spacing so it lines up across the top properly

* fix

* Update UI snapshots for `chromium` (1)

* address pr feedback

* auto-dismiss on annual plan
* remove unused hedgehog png
* slight tweak to css for smaller screens

* Update UI snapshots for `chromium` (1)

* lint

* Update UI snapshots for `chromium` (1)

* fix dark mode

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: Bianca Yang <bianca@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
2024-01-03 16:06:41 -08:00
Thomas Obermüller
e1c68da4bf
chore(3000): remove feature flag (#19416) 2023-12-27 09:52:28 +01:00
Juraj Majerik
770c597dc0
fix(a/b testing): posthog-3000 fixes (#19447) 2023-12-20 15:44:35 +01:00
PostHog Bot
9f646ba3e5
chore(deps): Update posthog-js to 1.96.0 (#19340) 2023-12-14 15:28:31 -05:00
David Newell
6ce42980bb
fix: onboarding 3000 fixes (#19329) 2023-12-14 16:42:55 +00:00
Cory Watilo
6db0a467a7
feat(3000): swapped down carets for chevrons (#19140)
* swaped down carets for chevrons

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

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

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ben White <ben@posthog.com>
Co-authored-by: Michael Matloka <michal@matloka.com>
2023-12-12 23:26:38 +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
Thomas Obermüller
519415c42b
feat(commands): add hedgehog toggle command (#19019) 2023-12-01 15:56:01 +01:00
Tiina Turban
c22e2a6d05
feat(pipeline-ui): App Metrics tab (#18988)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-01 14:10:41 +01:00
Ben White
9d0d787896
fix: Fix up table opacities (#18955) 2023-11-29 17:09:36 +00:00
Michael Matloka
d7acdd6fa5
chore(3000): More styling tweaks (#18923)
* Align more rounding

* Align switch. select, input sizing with buttons

* Resolve extra UI snags

* Fix 3000-dependency

* Fix one more stray divider

* Remove legacy `description` prop of `PageHeader`

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Make "New insight" button regular size

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-28 16:20:12 +01:00
Michael Matloka
b8f7c996d2
style(3000): Clean up segmented buttons (#18897)
* style(3000): Make segmented buttons feel like IRL radio buttons

* Fix font size

* Revert full press

* Update query snapshots

* 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-28 14:26:22 +00:00
Thomas Obermüller
5477e814a0
chore(cleanup): remove legacy property group filters (#18808) 2023-11-24 09:38:25 +00:00
Thomas Obermüller
fc0107f08d
fix(funnels): fix infinite scroll caused by scrollbar (#18848) 2023-11-23 14:19:09 +01:00
Thomas Obermüller
dc2499d23c
fix(funnels): fix infinite scroll for wide funnels (#18839)
* fix(funnels): fix infinite scroll for wide funnels

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update frontend/src/scenes/funnels/FunnelBarChart/FunnelBarChart.tsx

Co-authored-by: Ben White <ben@posthog.com>

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ben White <ben@posthog.com>
2023-11-23 10:17:35 +00:00
Cory Watilo
81da5f3703
chore(3000): changes dark mode background, border, added a few borders (#18798)
* changes dark mode background, border, added a few borders

* 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>
2023-11-22 09:28:15 +00:00
Michael Matloka
c04b5df60f
feat(3000): Allow renaming the current item from the top bar (#18709)
* Allow renaming items via breadcrumbs

* Support 3000 renames in insights, dashboards, and notebooks

* Make all breadcrumbs keyed

* Cancel renaming on navigation away

* Fix EditableField mode sync

* Clarify things a bit

* Restore tuned line height

* Tune insight metadata tags margin

* Add missing breadcrumb keys

* Fix unexpected promises

* Fix dashboard tags margin

It was using a class only defined in `Insight.scss`, so the class didn't actually work in dashboards.

* Fix remaining merge conflict

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Fix a double breadcrumb

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-20 14:25:26 +01:00
Ben White
6676a1d504
feat: Refactor and simplify insights css (#18570) 2023-11-15 16:47:05 +00:00
David Newell
6df82a448f
chore: update experiments (#18526) 2023-11-10 16:08:33 +00:00
Paul D'Ambra
2c49eafb02
feat: cors proxy for js URLs in replayer (#18512)
* feat: cors proxy for js URLs in replayer

* fix
2023-11-09 16:01:46 +00:00
David Newell
6070407dfa
chore: upgrade react 18 (#17731) 2023-11-06 13:34:20 +00: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
Thomas Obermüller
8b59486f8d
fix(insights): move funnel canvas label onto chart (#16857)
* fix(insights): move funnel canvas label onto chart

* funnel with wrapping canvas label(s)

* Restore zero padding in insight cards

* Fix padding of insight types in cards

* Fix alignment in experiments

* Use `useLayoutEffect` in `useScrollable`

* Disable `InsightsTable` pagination

* Fix scrollable funnel visibility

* Fix funnel margin on cards

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

---------

Co-authored-by: Michael Matloka <michal@matloka.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-14 11:02:13 +02:00
Thomas Obermüller
a1874c05a3
feat(insights): make insight viz query independent of actual insight (#16741)
* feat(insights): make insight viz query independent of actual insight

* Update UI snapshots for `chromium` (2)

* add comment

* split up Insight.scss

* clean up styles

* add stories

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* fix storybook snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* missing type

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Li Yi Yu <li@posthog.com>
2023-08-08 21:33:45 +00:00
Paul D'Ambra
735d670c4d
feat: CS dashboard tabs (#16667)
* add a tab and hard code a dashboard, send the appropriate filter with the API call

* getting ahead of myself

* flag the tab

* hard coded dashboard on groups too

* one ring to rule them all

* start making dashboard choice configurable

* store dashboard links in a bag and let user set them

* pretty close now

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* fix

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* fix

* fix tests

* Update query snapshots

* wip

* wip

* switch to a user level setting

* Update query snapshots

* Update query snapshots

* fix

* remove comment

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* fix test

* update snapshot

* Update query snapshots

* Update query snapshots

* fix teset

* Update query snapshots

* rename

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* 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>
2023-08-08 19:05:06 +01:00
Nate Grift
7fcd654857
fix: Experiments unarchive after reset & fix header overflow (#16785)
* unarchive after reset & fix overflow

* update snapshots

* fix header shrinking

* update screenshots again

* missed data badge

* new snapshots for missing badge
2023-08-01 14:13:32 -04:00
Neil Kakkar
e8680f5646
fix(flags): Several minor fixes for experiments and flags (#16402) 2023-07-06 14:52:53 +00:00
Neil Kakkar
b0932b3071
feat(experiments): Bring funnel options to the experiment (#16263) 2023-06-29 16:11:15 +00:00
Thomas Obermüller
b6b08ea75c
refactor(insights): remove sampling feature flag (#16172) 2023-06-26 10:29:51 +00:00
Michael Matloka
fa516b178f
chore(3000): Fix dark mode colors (#16108)
* chore(3000): Fix dark mode colors

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Use more `antd.less` options

* Consolidate `side` and `muted-light`

* Update tailwind.config.js

* Fix minor issues

* Fix more edge cases

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Remove flaky Number from InsightCard stories

* Update UI snapshots for `chromium` (2)

* Remove some old Ant style overrides

* Fix replay colors

* Fix filters banner

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-23 14:44:04 +02:00
Michael Matloka
d10ce2d348
chore(funnels): Show tooltips for conversion/drop-off percentages (#16153)
* chore(funnels): Show tooltips for conversion/drop-off percentages

* Support href-less Links instead of Buttons of type link

* Fix funnel layout after `Link` change

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* 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>
2023-06-21 14:43:05 +02:00
Ben White
eaf886a659
feat: Remove special padding for icon only buttons (#15351)
* feat: Remove special padding for icon only buttons

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `firefox` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Fixed styling for icon only button

* Removed old classnames

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `firefox` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Corrected padding

* Fix modal close button position

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* More fixes

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `firefox` (2)

* Fixed card component

* Fixed padding for dashboard items

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `firefox` (2)

* Revert all snapshots

* Update UI snapshots for `firefox` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Fix icon

* Update UI snapshots for `chromium` (1)

* Fixed up more template and calendar

* More fixes

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `firefox` (2)

* Update UI snapshots for `webkit` (2)

* Fix

* Improve alignment in a couple places

* Update UI snapshots for `firefox` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `firefox` (2)

* 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: Michael Matloka <dev@twixes.com>
2023-05-18 21:14:11 +02:00
Michael Matloka
6bd430cdfd
ci(frontend): Fix a few UI snapshot flakiness causes (#15112)
* ci(frontend): Fix `LemonTabs` causing UI snapshot flakiness

* Also improve `BoldNumber`

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Fix typing

* Don't set `transitioning` on initial render

* Fix horizontal overflow

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Simply hide flaky UI

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `firefox` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Fix `BoldNumber` flickering

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-18 20:08:23 +02:00
Eric Duong
2ab767f388
fix(funnel): always use total step count for funnel chart label (#14993)
* use total step count for funnel chart label always

* Update UI snapshots for `chromium` (2)

* blank

* trigger tests

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-06 17:26:41 +02:00
Thomas Obermüller
16b87fe486
feat(data-exploration): convert funnel canvas label (#14735) 2023-03-15 11:00:17 +00:00
Yakko Majuri
954dd88955
fix(sampling): correct UI for sampling notice on experiments and funnels (#14667)
* fix(sampling): correct UI for sampling notice on experiments and funnels

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `firefox` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-10 16:31:23 +00:00
Michael Matloka
04944e2f4b
feat(lemon-ui): Add LemonCollapse, removing Ant Collapse (#14673)
* Add `LemonCollapse`

* Make single-open-panel version the default

* Improve `activeKeys` and `panels` ergonomics

* Replace `Collapse` with `LemonCollapse` all over

* Tune sizing

* Update scenes-app-experiments--complete-funnel-experiment.png

* Update UI snapshots for `chromium` (1)

* Add solid background to `LemonCollapse`

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Add `LemonCollapse` to `@posthog/lemon-ui`

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-10 14:55:26 +00:00
Yakko Majuri
cccfb96036
feat(sampling): show more clearly that an insight is sampled on the insight card (#14636)
* feat(sampling): show more clearly that an insight is sampled on the insight card

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `firefox` (2)

* no more ants

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* 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>
2023-03-09 08:47:52 -03:00
Ben White
ed27d092eb
feat: Opt in to recorder V2 (#14333)
Co-authored-by: Alex Kim <alexgkim205@gmail.com>
2023-02-27 17:23:30 +00:00
Michael Matloka
1c2d74fe8b
test(frontend): Automatically update UI snapshots in CI (#14391)
* Update UI snapshots with comment instead of failing on change

* Make a few stories more reliable

* Remove unused snapshots in CI

* Update query snapshots

* Update `webkit` UI snapshots

* Update `chromium` UI snapshots

* Update `firefox` UI snapshots

* Shard visual regression tests

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Fix remaining issues

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Improve reliability of insights snapshots

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Improve reliability of login/signup snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update .github/workflows/storybook-chromatic.yml

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: Thomas Obermüller <thomas.obermueller@gmail.com>
2023-02-24 19:33:39 +00:00
Michael Matloka
a85adc8793
test(experiments): Add Experiments stories and snapshots (#14258)
* test(experiments): Add Experiments stories and snapshots

* Update `schema.json`
2023-02-16 21:41:48 +01:00