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

11 Commits

Author SHA1 Message Date
Thomas Obermüller
fec25c9086
chore(cleanup): remove legacy visual regression tests (#19527) 2024-01-09 15:00:17 +00:00
David Newell
a5599561d7
chore: Post 3000 LemonButtton cleanup (#19540) 2024-01-02 15:59:59 +00:00
Thomas Obermüller
e1c68da4bf
chore(3000): remove feature flag (#19416) 2023-12-27 09:52:28 +01:00
David Newell
ca01fa1d93
chore: remove muted alt button (#18388) 2023-11-06 09:41:11 +00: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
Michael Matloka
348aee94ce
feat(3000): Update project homepage (#14746)
* Fix "Ctrl" and "Alt" display in `KeyboardShortcut

* Update colors for a less tan light theme

* Add styles for primary and secondary 3000 buttons

* Add Breadcrumbs 3000

* Revert button padding fix

Extracted out into #14750.

* Update UI snapshots for `chromium` (1)

* Restore command palette

* Hide superfluous elements from 3000 homepage

* Restyle all buttons for PostHog 3000 without custom `status`

* Update UI snapshots for `chromium` (1)

* Use "keyboard shortcut" rather than "hotkey" consistently

* Fix current place breadcrumb being translucent

* Use 3000 style more for buttons and popovers

* Fix exporter visual regression

* Update UI snapshots for `chromium` (1)

* Fix typing

* Remove divider

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Increase UI snapshot failure threshold to avoid tab flakiness

* Add some code comments

* Improve buttons styling

* Update UI snapshots for `chromium` (1)

* Tune padding better

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-17 13:26:57 +01:00
Michael Matloka
7e71c3ce7c
chore(deps): Upgrade TypeScript from 4.8 to 4.9 in the frontend (#14609)
* chore(deps): Upgrade TypeScript to 4.9

* Fix minor typing issues

* Fix linting/testing issues

* Update Kea to 3.1.5
2023-03-16 13:35:28 +01:00
Michael Matloka
d02fac3332
style(3000): Implement PostHog 3000 navbar behind a feature flag (#14486)
* Add PostHog 3000 colors and button styles

* Update vars.ts

* Add PostHog 3000-style navigation behind a flag

* Fix `Tooltip` eating `onMouse{Enter,Leave}`

* Add story for PostHog 3000 navigation

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Add sidebar

* Fix missing `useEffect` deps

* Remove "x" from "tsx" in logic file

* Add dark mode

* Improve color vars and transitions

* Properly handle loading and empty states in accordion

* Fix some background colors for dark mode

* Make homepage more 3000

* Remove dark mode for now

* 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)

* Move `posthog-3000` class handling a level higher to `App`

* Restore snapshots from `master`

* Fix snapshot flakiness

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Better align sidebar items

* Update UI snapshots for `chromium` (1)

* Spin out `SidebarAccordion.tsx` and use Kea subscriptions

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-13 15:22:09 +01:00
Michael Matloka
c23809cbee
feat(lemon-ui): Add disabledReason as clear alternative for disabled (#13690)
* feat(lemon-ui): Add `disabledReason` as clear alternative for `disabled`

* Update Lemon-Button-displays-correctly-1-chromium-linux.png
2023-01-13 13:42:19 +01:00
Michael Matloka
bd1198f21d
feat(lemon-ui): Add active state to LemonBadge (#13455)
* feat(lemon-ui): Add `active` state to `LemonBadge`

* Improve snapshot boundaries
2022-12-22 13:29:05 +01:00
Thomas Obermüller
ad1303a0fb
test(e2e-vrt): add playwright visual regression testing for storybook (#13065) 2022-12-07 11:40:56 +01:00