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

9 Commits

Author SHA1 Message Date
Anirudh Pillai
1b176a3d6a
fix: shorten add to dashboard/notebook to save space in top bar (#26165)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-13 16:31:50 +00:00
Michael Matloka
954852f08b
feat(environments): Environment switcher, behind flag (#25009)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 17:08:37 +02:00
Michael Matloka
1304a95ead
chore(frontend): Kill @ant-design/icons (#24817)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-06 17:26:11 +02:00
David Newell
ce403eee73
chore: replace antd Select component in ObjectTags (#20981) 2024-03-28 11:36:33 +00:00
Michael Matloka
66eb25df44
test(vrt): Don't clip scene snapshots (#19677)
* test(vrt): Don't clip scene snapshots

* Upgrade Playwright to 1.33

* Replace `excludeNavigationFromSnapshot` with `includeNavigationInSnapshot`

* Tune locator

* Fix `EmptyStates` flakiness

* Fix `main` fallback

* Try a different way of selecting `main` with fallback

* Remove last `excludeNavigationFromSnapshot`

* Use `.Navigation3000__scene` instead of `body`

* Restore `overflow: visible` on navigation in tests

* Fix top bar overlapping

* More anti-clipping

* Actually fix clipping

* Fix `layout` parameter

* Fix `.classList.add()` use

* Remove empty `testOptions`

* Tweak `waitForSelector`

* Extend loader timeout

* Update Surveys.stories.tsx

* Update `UserPaths`'s `waitForSelector`

* Print test errors

* Revert "Print test errors"

This reverts commit 71d305f8d3de872467e2a47504eb602fba2c77a3.

* Capture whole scene in failure screenshot

* Fix `CommandBar` snapshotting

* Actually fix `CommandBar` snapshotting

* Also fix modals

* Force remount on snapshot retry

* Actually fix modal, sidebar, and paths snapshotting

* Fix observed flakiness

* Remove legacy theme from visual tests

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Fix sizing of `Toolbar` stories

* Fix typing

* Don't render zero-width funnel bar

* Attempt to fix more flakiness

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Tweak selectors

* Just hide the damn bar

* Don't render grid layout without `gridWrapperWidth`

* Use container query instead of React hook in `LemonBanner`

* Update SavedInsights.stories.tsx

* Explicitly size `LemonBanner`

* Update Surveys.stories.tsx

* Update UI snapshots for `chromium` (1)

* Include navigation in side panel snapshots

* Update UI snapshots for `chromium` (1)

* Dispatch resize

* Force settings sections in snapshots

* Re-resize

* Stabilize settings

* Update UI snapshots for `chromium` (1)

* 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>
2024-03-18 10:51:46 +01:00
Thomas Obermüller
88259e819a
fix(insights): fix empty states icon style (#20799) 2024-03-11 16:13:15 +01:00
Michael Matloka
3ab8cc14c0
feat(dashboards): Smarter tile sizing with smaller minimums (#20387)
* feat(dashboards): Smarter tile sizing with smaller minimums

* Reduce bold number minimum even more

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Tune empty state sizing

* Update tileLayouts.test.ts

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* 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>
2024-02-20 16:07:46 +01:00
Cory Watilo
bf8c179128
chore(3000): darken nav icons and labels (#20184) 2024-02-08 10:47:59 +00:00
Michael Matloka
a57ddb7e54
feat(insights): Notify users about user-safe CH errors (#19998)
* Properly handle `ExposedCHQueryError` in legacy insights

* Properly expose query validation errors in the UI

* Clarify some error messages

* Update UI snapshots for `chromium` (1)

* Update insightVizDataLogic.test.ts

* Update test_error.py

* Snapshot insight error & empty states

* Fix typing issue

* Don't wait for loaders in loading story

* Update UI snapshots for `chromium` (2)

* Fix typing actually

* Add comments to clarify copy intent

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-31 11:08:33 +01:00