0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 02:31:30 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
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
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