0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Michael Matloka
25f7fa6bdf
chore(nav): Fix some rough breadcrumbs (#25470)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-09 14:00:42 +00:00
Thomas Obermüller
7b15443697
refactor(persons): remove persons-hogql-query feature flag (#23576) 2024-07-22 17:48:43 +02:00
Michael Matloka
d0e14b5363
feat(events): Expose "Open as new insight" button (#23122)
* feat(events): Expose "Open as new insight" button

* Update UI snapshots for `chromium` (1)

* 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>
2024-06-24 17:29:37 +02:00
David Newell
2c2b283f26
chore: remove antd Empty component (#22655)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-06 17:25:28 +01: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
Bianca Yang
1cc29db368
fix: Tweak the /products and config onboarding pages to better match mocks. (#20390)
* fix up /products page, fix up config pages

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* remove commented out code

* Revert "Update UI snapshots for `chromium` (1)"

This reverts commit d0994ba16aa92fb5096c9c55ca1990cd9094360a.

* Revert "Update UI snapshots for `chromium` (2)"

This reverts commit f78b780a5be794394d656173ddd324b6d94f9207.

* type errors

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* pr comments

* fix small visual nit

* merge, fix up test

* Update UI snapshots for `chromium` (1)

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

* types!

* fix: allow usage exceeded alert to be dismissed (#20282)

* allow usage exceeded alert to be dismissed

* Update UI snapshots for `chromium` (1)

* forgot a css change

* reset dismissKey if status reverts to not usage exceeded

* fix the cookie reset logic

* hide billing notice on intro screens

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* Revert "Update UI snapshots for `chromium` (1)"

This reverts commit 58f0a2dd05.

* temp for attempting to use logic to reset localstorage

* fix up my banner logic reset

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* undo changes made for testing purposes

* Revert "Update UI snapshots for `chromium` (2)"

This reverts commit 9a70d4fce4.

* Revert "Update UI snapshots for `webkit` (2)"

This reverts commit 8bd00799be.

* Revert "Update UI snapshots for `chromium` (1)"

This reverts commit cc8b660001.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

* remove scss file, center vert /products

* Revert "Update UI snapshots for `chromium` (2)"

This reverts commit 6954c5f563.

* Revert "Update UI snapshots for `chromium` (2)"

This reverts commit ce9cdaeb57.

* Revert "Update UI snapshots for `chromium` (2)"

This reverts commit 1a3d6a7e51.

* Revert "Update UI snapshots for `chromium` (2)"

This reverts commit 0f419bf773.

* delete snapshots

* clean up some more 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>
2024-02-29 12:41:23 -08: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
Ben White
4dd3c35933
feat: Personal API key scopes (#20151) 2024-02-20 11:02:58 +00:00
Thomas Obermüller
c6e7bcebf2
feat(hogql): trends funnel (#20370) 2024-02-19 10:54:39 +00:00
David Newell
8e7e351076
chore: snapshot performance tracking improvements (#20382) 2024-02-19 09:06:40 +00:00
Cory Watilo
29f9e4bf22
chore(nav): relabel Events to Activity in nav (#20073)
* relabel Events to Activity in nav

* relabel right pane "Activity" to "Team activity"

* 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-02-01 15:53:18 +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
Thomas Obermüller
e1c68da4bf
chore(3000): remove feature flag (#19416) 2023-12-27 09:52:28 +01:00
David Newell
8c21377411
chore: snapshot all of 3000 (#19480) 2023-12-22 11:38:21 +00:00