Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

refactor(toolbar): split the toolbar into floating, extension and shared (#123778)

Rafael Audibert3a4ae8233d20
diff --git a/.agents/skills/building-the-toolbar/SKILL.md b/.agents/skills/building-the-toolbar/SKILL.md
index 34a3e76e1413..51137d664e5a 100644
--- a/.agents/skills/building-the-toolbar/SKILL.md
+++ b/.agents/skills/building-the-toolbar/SKILL.md
@@ -1,6 +1,6 @@
---
name: building-the-toolbar
-description: Builds, watches, checks and verifies the PostHog toolbar in both of its forms, the floating toolbar that posthog-js loads on customer pages and the browser extension that shows the toolbar in a Chrome side panel or Firefox sidebar. Use when changing anything under frontend/src/toolbar/ (floating toolbar or extension), frontend/toolbar-config.mjs, or the toolbar build and guard scripts, or when asked to build, watch, load unpacked, or test the toolbar or the toolbar extension in a browser. Covers `pnpm build:toolbars` and `pnpm watch:toolbars`, the check-toolbar-size, check-toolbar-graph and check-toolbar-csp-eval guards, why both forms must be built and kept in sync, and how to check each one in a real browser.
+description: Builds, watches, checks and verifies the PostHog toolbar in both of its forms, the floating toolbar that posthog-js loads on customer pages and the browser extension that shows the toolbar in a Chrome side panel or Firefox sidebar. Use when changing anything under frontend/src/toolbar/ (floating toolbar or extension), frontend/toolbar-config.mjs, or the toolbar build and guard scripts, or when asked to build, watch, load unpacked, or test the toolbar or the toolbar extension in a browser. Covers `pnpm build:toolbar-all` and `pnpm watch:toolbar-all`, the check-toolbar-size, check-toolbar-graph and check-toolbar-csp-eval guards, why both forms must be built and kept in sync, and how to check each one in a real browser.
---
# Building the toolbar
@@ -10,14 +10,36 @@ Both builds live in `frontend/toolbar-config.mjs` and share its toolbar module p
| Form | Entry | Output (under `frontend/dist/`) | Runs in |
| ----------------- | ------------------------------------------------ | --------------------------------------------------- | ------------------------------------------------ |
-| Floating toolbar | `src/toolbar/index.tsx` | `toolbar.js` loader, `toolbar/` app chunks | Customer pages, loaded by posthog-js |
+| Floating toolbar | `src/toolbar/floating/index.tsx` | `toolbar.js` loader, `toolbar/` app chunks | Customer pages, loaded by posthog-js |
| Browser extension | `src/toolbar/extension/panel.tsx`, `content.tsx` | `toolbar-extension/<browser>/`, one zip per browser | Chrome side panel, Firefox sidebar (Manifest V3) |
+## Where code goes
+
+| Folder | Holds |
+| -------------------- | --------------------------------------------------------------------------------------------------- |
+| `toolbar/shared/` | The kea logics, the API and auth helpers, the shims, utils, and every component both forms render |
+| `toolbar/floating/` | The floating toolbar: its entry and loader, the bar, and the menus that bind shared logic to its UI |
+| `toolbar/extension/` | The extension: the panel, the content script, the page agent, and the panel's own tool components |
+
+Inside `floating/` and `extension/`, only the entry points the build names sit at the top. Everything else goes in a folder:
+
+| Folder | Holds |
+| ----------------------- | --------------------------------------------------------------------------------------------------------------------------- |
+| `components/<feature>/` | React components, their stories and tests. The feature folders use the names `shared/` uses, such as `flags` |
+| `logics/` | The form's kea logics and the pure helpers they test. The extension splits them into `panel/` and `page/` by where they run |
+| `messaging/` | Extension only: the port, page agent and form sync protocol between the panel, the content script and the page |
+| `browser/` | Extension only: the wrappers around the extension APIs |
+
+- Put logic in `shared/`. A form folder configures shared code for its form: it mounts logics, binds them to its UI, and renders shared components with its own data.
+- When a component is the same in both forms, it lives in `shared/` and takes its data and callbacks as props. `WebExperimentVariant` is the pattern: `floating/components/experiments/ExperimentsTabEditorProvider.tsx` and `extension/components/experiments/ExtensionExperimentEditorProvider.tsx` each bind it to their own state.
+- `shared/` never imports from `floating/` or `extension/`, and the two forms never import each other. `toolbar/toolbarLayout.test.ts` fails on such an import.
+- Keep each kea logic's `path([...])` as it is when you move its file. The path is the logic's identity and storage key, not its location.
+
## Build both, every time
-The extension's content script, `extension/content.tsx`, runs the floating toolbar's own kea logics and components on the page, such as `toolbarConfigLogic`, `elementsLogic` and `ElementOverlays`.
-The panel imports toolbar modules too, and both go through the same module plugin.
-So any change under `frontend/src/toolbar/`, or in `toolbar-config.mjs`, can break either form, even when you only meant to touch one.
+The extension's content script, `extension/content.tsx`, runs the shared kea logics and components on the page, such as `toolbarConfigLogic`, `elementsLogic` and `ElementOverlays`.
+The panel imports shared modules too, and both go through the same module plugin.
+So any change under `toolbar/shared/`, or in `toolbar-config.mjs`, can break either form, even when you only meant to touch one.
- Build and check both forms for every toolbar change.
- Fix shared toolbar code in the general way.
@@ -27,24 +49,24 @@ So any change under `frontend/src/toolbar/`, or in `toolbar-config.mjs`, can bre
From `frontend/`:
```sh
-pnpm build:toolbars # production floating toolbar, then the extension
-pnpm watch:toolbars # rebuild both on change
+pnpm build:toolbar-all # production floating toolbar, then the extension
+pnpm watch:toolbar-all # rebuild both on change
```
To build one form only:
| Form | Build | Watch |
| ----------------- | ------------------------------ | ------------------------------ |
-| Floating toolbar | `node ./bin/build-toolbar.mjs` | `pnpm watch:toolbar` |
+| Floating toolbar | `pnpm build:toolbar-floating` | `pnpm watch:toolbar-floating` |
| Browser extension | `pnpm build:toolbar-extension` | `pnpm watch:toolbar-extension` |
-The dev stack (`hogli start`) already runs `pnpm watch:toolbar` through `start-vite`.
+The dev stack (`hogli start`) already runs `pnpm watch:toolbar-floating` through `start-vite`.
While it runs, start `pnpm watch:toolbar-extension` alone, so two watchers don't write the same files.
## Run the guards
The guards read `toolbar-esbuild-meta.json` and `dist/toolbar*`, which the floating toolbar build writes.
-CI runs them on a production build, so run them after `pnpm build:toolbars`, not after a watch build:
+CI runs them on a production build, so run them after `pnpm build:toolbar-all`, not after a watch build:
```sh
pnpm check-toolbar-size # loader size, eager-set budget, every file under the CloudFront gzip limit
diff --git a/.agents/skills/using-kea-disposables/SKILL.md b/.agents/skills/using-kea-disposables/SKILL.md
index f8f2432f684a..555d84ad471d 100644
--- a/.agents/skills/using-kea-disposables/SKILL.md
+++ b/.agents/skills/using-kea-disposables/SKILL.md
@@ -5,7 +5,7 @@ description: 'Use when adding timers (`setInterval`, `setTimeout`), event listen
# Using kea disposables
-Every kea logic in this repo has `cache.disposables` injected by `disposablesPlugin` from the [`kea-disposables`](https://github.com/PostHog/kea-disposables) package, registered globally in `frontend/src/initKea.ts` and in `frontend/src/toolbar/index.tsx`. Reach for it whenever you create a resource that needs explicit teardown — the plugin runs cleanup on unmount and automatically pauses background work when the tab is hidden.
+Every kea logic in this repo has `cache.disposables` injected by `disposablesPlugin` from the [`kea-disposables`](https://github.com/PostHog/kea-disposables) package, registered globally in `frontend/src/initKea.ts` and in `frontend/src/toolbar/floating/index.tsx`. Reach for it whenever you create a resource that needs explicit teardown — the plugin runs cleanup on unmount and automatically pauses background work when the tab is hidden.
The package is maintained outside this repo, so a change to the plugin itself belongs there, not here. Types come from the package too: `import type { DisposablesManager } from 'kea-disposables'`.
@@ -153,7 +153,7 @@ showSeekIndicator: () => {
},
```
-**Multiple keyed window listeners in one `afterMount`** — `frontend/src/toolbar/bar/toolbarLogic.ts:655-688`
+**Multiple keyed window listeners in one `afterMount`** — `frontend/src/toolbar/shared/bar/toolbarLogic.ts:655-688`
```ts
cache.disposables.add(() => {
diff --git a/.semgrep/rules/devex/toolbar-transport-no-error-tracking.yaml b/.semgrep/rules/devex/toolbar-transport-no-error-tracking.yaml
index 420bb29c60c4..64d39a7ff8e8 100644
--- a/.semgrep/rules/devex/toolbar-transport-no-error-tracking.yaml
+++ b/.semgrep/rules/devex/toolbar-transport-no-error-tracking.yaml
@@ -14,8 +14,8 @@ rules:
languages: [typescript]
paths:
include:
- - frontend/src/toolbar/toolbarApi.ts
- - frontend/src/toolbar/toolbarFetch.ts
+ - frontend/src/toolbar/shared/toolbarApi.ts
+ - frontend/src/toolbar/shared/toolbarFetch.ts
pattern-either:
- pattern: captureToolbarException(...)
- pattern: $X.captureException(...)
diff --git a/common/storybook/storybook-timings.json b/common/storybook/storybook-timings.json
index cf9a8559c123..44d9d993bba7 100644
--- a/common/storybook/storybook-timings.json
+++ b/common/storybook/storybook-timings.json
@@ -1,3438 +1,3438 @@
{
- "frontend/src/exporter/stories/ExporterFunnels.stories.tsx": {
- "chromium": 15.178,
- "webkit": 5.209
- },
- "frontend/src/exporter/stories/ExporterOther.stories.tsx": {
- "chromium": 37.197,
- "webkit": 8.558
- },
- "frontend/src/exporter/stories/ExporterTrends.stories.tsx": {
- "chromium": 30.205,
- "webkit": 8.076
- },
- "frontend/src/layout/ErrorProjectAccessDenied.stories.tsx": {
- "chromium": 5.75,
- "webkit": 2.377
- },
- "frontend/src/layout/ErrorProjectUnavailable.stories.tsx": {
- "chromium": 10.087,
- "webkit": 3.018
- },
- "frontend/src/layout/InternalFeedback/InternalFeedbackWidget.stories.tsx": {
- "chromium": 5.5,
- "webkit": 2.9
- },
- "frontend/src/layout/SceneLoadError.stories.tsx": {
- "chromium": 5.832,
- "webkit": 2.732
- },
- "frontend/src/layout/navigation-3000/sidepanel/SidePanel.stories.tsx": {
- "chromium": 39.465,
- "webkit": 13.149
- },
- "frontend/src/layout/navigation-3000/sidepanel/panels/access_control/ResourceAccessControlsV2/PropertyAccessRules.stories.tsx": {
- "chromium": 18.205,
- "webkit": 6.535
- },
- "frontend/src/layout/navigation/EventIngestionRestrictionDetails.stories.tsx": {
- "chromium": 13.807,
- "webkit": 5.492
- },
- "frontend/src/layout/navigation/ImpersonationNotice/ImpersonationReasonModal.stories.tsx": {
- "chromium": 12.617,
- "webkit": 3.291
- },
- "frontend/src/layout/panel-layout/navbar/PostHogTeamCohortBanner.stories.tsx": {
- "chromium": 9.35,
- "webkit": 3.029
- },
- "frontend/src/layout/panel-layout/navbar/ProductsAndFiles.stories.tsx": {
- "chromium": 162.669,
- "webkit": 66.414
- },
- "frontend/src/layout/panel-layout/navbar/tabs/NavProductTooltip.stories.tsx": {
- "chromium": 17.015,
- "webkit": 3.01
- },
- "frontend/src/lib/brand/Logo.stories.tsx": {
- "chromium": 1.384,
- "webkit": 2.358
- },
- "frontend/src/lib/components/Account/OrgSwitcher.stories.tsx": {
- "chromium": 10.041,
- "webkit": 4.823
- },
- "frontend/src/lib/components/Account/ProjectSwitcher.stories.tsx": {
- "chromium": 9.509,
- "webkit": 2.46
- },
- "frontend/src/lib/components/AccountAssignmentFilter/AccountAssignmentFilter.stories.tsx": {
- "chromium": 15.845,
- "webkit": 3.522
- },
- "frontend/src/lib/components/ActivityLog/ActivityClientTag.stories.tsx": {
- "chromium": 12.281,
- "webkit": 4.328
- },
- "frontend/src/lib/components/ActivityLog/ActivityLog.stories.tsx": {
- "chromium": 31.846,
- "webkit": 9.292
- },
- "frontend/src/lib/components/ActivityLog/ActivityLogRow.stories.tsx": {
- "chromium": 29.319,
- "webkit": 6.253
- },
- "frontend/src/lib/components/ActivityLog/AgentAttribution.stories.tsx": {
- "chromium": 12.986,
- "webkit": 4.104
- },
- "frontend/src/lib/components/ActivityLog/SentenceList.stories.tsx": {
- "chromium": 17.038,
- "webkit": 2.861
- },
- "frontend/src/lib/components/AgentPromptButton/AgentPromptButton.stories.tsx": {
- "chromium": 23.69,
- "webkit": 5.027
- },
- "frontend/src/lib/components/AnalyticsMetricCard/AnalyticsMetricCard.stories.tsx": {
- "chromium": 31.311,
- "webkit": 5.305
- },
- "frontend/src/lib/components/AutocapturePreviewImage/AutocapturePreviewImage.stories.tsx": {
- "chromium": 40.635,
- "webkit": 5.925
- },
- "frontend/src/lib/components/BaseCurrency/CurrencyDropdown.stories.tsx": {
- "chromium": 5.517,
- "webkit": 5.597
- },
- "frontend/src/lib/components/BulkActions/BulkUpdateTagsButton.stories.tsx": {
- "chromium": 16.397,
- "webkit": 4.092
- },
- "frontend/src/lib/components/Cards/ButtonTileCard/ButtonTileCard.stories.tsx": {
- "chromium": 16.357,
- "webkit": 5.11
- },
- "frontend/src/lib/components/Cards/InsightCard/InsightCard.stories.tsx": {
- "chromium": 51.394,
- "webkit": 13.828
- },
- "frontend/src/lib/components/Cards/InsightCard/InsightDetails.stories.tsx": {
- "chromium": 78.447,
- "webkit": 10.323
- },
- "frontend/src/lib/components/Cards/InsightCard/RecordingsUniversalFiltersDisplay.stories.tsx": {
- "chromium": 59.133,
- "webkit": 7.334
- },
- "frontend/src/lib/components/Cards/TextCard/TextCard.stories.tsx": {
- "chromium": 24.84,
- "webkit": 6.198
- },
- "frontend/src/lib/components/ChartLegendSeriesMenu/ChartLegendSeriesMenu.stories.tsx": {
- "chromium": 9.467,
- "webkit": 2.366
- },
- "frontend/src/lib/components/CodeSnippet/CodeSnippet.stories.tsx": {
- "chromium": 30.753,
- "webkit": 5.042
- },
- "frontend/src/lib/components/CommandKSearch/CommandKSearch.stories.tsx": {
- "chromium": 11.129,
- "webkit": 6.156
- },
- "frontend/src/lib/components/Comments/Discussions.stories.tsx": {
- "chromium": 9.94,
- "webkit": 5.633
- },
- "frontend/src/lib/components/CompactList/CompactList.stories.tsx": {
- "chromium": 6.01,
- "webkit": 2.886
- },
- "frontend/src/lib/components/CopyToClipboardInline.stories.tsx": {
- "chromium": 27.091,
- "webkit": 5.046
- },
- "frontend/src/lib/components/CyclotronJob/CyclotronJobInputs.stories.tsx": {
- "chromium": 14.503,
- "webkit": 3.949
- },
- "frontend/src/lib/components/DateFilter/QuillDateFilter.stories.tsx": {
- "chromium": 10.527,
- "webkit": 3.31
- },
- "frontend/src/lib/components/DatePicker/DatePicker.stories.tsx": {
- "chromium": 37.942,
- "webkit": 5.031
- },
- "frontend/src/lib/components/DefinitionPopover/DefinitionPopover.stories.tsx": {
- "chromium": 28.622,
- "webkit": 5.62
- },
- "frontend/src/lib/components/EditableField/EditableField.stories.tsx": {
- "chromium": 9.363,
- "webkit": 4.074
- },
- "frontend/src/lib/components/EmojiPicker/EmojiPickerPopover.stories.tsx": {
- "chromium": 9.423,
- "webkit": 5.383
- },
- "frontend/src/lib/components/EmojiPicker/RelatedEmojiButtons.stories.tsx": {
- "chromium": 5.442,
- "webkit": 1.838
- },
- "frontend/src/lib/components/EmptyMessage/EmptyMessage.stories.tsx": {
- "chromium": 5.822,
- "webkit": 2.817
- },
- "frontend/src/lib/components/EntityFilterInfo.stories.tsx": {
- "chromium": 5.834,
- "webkit": 2.32
- },
- "frontend/src/lib/components/Errors/ErrorDisplay.stories.tsx": {
- "chromium": 30.213,
- "webkit": 5.582
- },
- "frontend/src/lib/components/Errors/Frame/CollapsibleFrame.stories.tsx": {
- "chromium": 46.416,
- "webkit": 7.094
- },
- "frontend/src/lib/components/EventSelect/EventSelect.stories.tsx": {
- "chromium": 5.555,
- "webkit": 3.452
- },
- "frontend/src/lib/components/FeaturePreviews/FeaturePreviews.stories.tsx": {
- "chromium": 9.1,
- "webkit": 4.01
- },
- "frontend/src/lib/components/FlagCalledMoveNotice/FlagCalledMoveNotice.stories.tsx": {
- "chromium": 5.51,
- "webkit": 2.307
- },
- "frontend/src/lib/components/FlagCalledRebuildBanner/FlagCalledRebuildBanner.stories.tsx": {
- "chromium": 12.141,
- "webkit": 2.532
- },
- "frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories.tsx": {
- "chromium": 38.164,
- "webkit": 5.549
- },
- "frontend/src/lib/components/HedgehogMode/HedgehogMode.stories.tsx": {
- "chromium": 9.24,
- "webkit": 3.056
- },
- "frontend/src/lib/components/HelpMenu/HelpMenu.stories.tsx": {
- "chromium": 13.556,
- "webkit": 4.284
- },
- "frontend/src/lib/components/HogQLEditor/HogQLEditor.stories.tsx": {
- "chromium": 13.341,
- "webkit": 3.352
- },
- "frontend/src/lib/components/ImageCarousel/ImageCarousel.stories.tsx": {
- "chromium": 12.156,
- "webkit": 3.665
- },
- "frontend/src/lib/components/JSSnippet.stories.tsx": {
- "chromium": 3.045,
- "webkit": 2.417
- },
- "frontend/src/lib/components/KeyboardShortcut/KeyboardShortcut.stories.tsx": {
- "chromium": 8.996,
- "webkit": 2.76
- },
- "frontend/src/lib/components/MCPHint/MCPHintToast.stories.tsx": {
- "chromium": 24.398,
- "webkit": 4.145
- },
- "frontend/src/lib/components/MCPHint/MCPUseCaseCard.stories.tsx": {
- "chromium": 24.477,
- "webkit": 4.968
- },
- "frontend/src/lib/components/Map/Map.stories.tsx": {
- "chromium": 1.747,
- "webkit": 3.344
- },
- "frontend/src/lib/components/MarkdownEditor/rich/RichMarkdownEditor.stories.tsx": {
- "chromium": 5.374,
- "webkit": 4.159
- },
- "frontend/src/lib/components/MarkdownNotebook/MarkdownNotebook.stories.tsx": {
- "chromium": 89.31,
- "webkit": 14.88
- },
- "frontend/src/lib/components/MemberSelectMultiplePopover.stories.tsx": {
- "chromium": 9.784,
- "webkit": 3.209
- },
- "frontend/src/lib/components/MonacoDiffEditor.stories.tsx": {
- "chromium": 1.106,
- "webkit": 9.585
- },
- "frontend/src/lib/components/NavPanelAdvertisement/NavPanelProductPushAd.stories.tsx": {
- "chromium": 10.865,
- "webkit": 3.432
- },
- "frontend/src/lib/components/NavPanelAdvertisement/ProductPushWelcomeModal.stories.tsx": {
- "chromium": 13.047,
- "webkit": 4.488
- },
- "frontend/src/lib/components/NotFound/NotFound.stories.tsx": {
- "chromium": 5.821,
- "webkit": 2.155
- },
- "frontend/src/lib/components/OAuthConnectionLogos/OAuthConnectionLogos.stories.tsx": {
- "chromium": 13.061,
- "webkit": 2.667
- },
- "frontend/src/lib/components/ObjectTags/ObjectTags.stories.tsx": {
- "chromium": 16.525,
- "webkit": 3.279
- },
- "frontend/src/lib/components/PathCleanFilters/PathCleanFilters.stories.tsx": {
- "chromium": 13.03,
- "webkit": 3.026
- },
- "frontend/src/lib/components/PathCleanFilters/PathCleaningRulesDebugger.stories.tsx": {
- "chromium": 5.62,
- "webkit": 2.664
- },
- "frontend/src/lib/components/PayGateMini/PayGateMini.stories.tsx": {
- "chromium": 41.067,
- "webkit": 5.335
- },
- "frontend/src/lib/components/PayGateMini/UsageLimitPaywall.stories.tsx": {
- "chromium": 15.288,
- "webkit": 4.399
- },
- "frontend/src/lib/components/ProductEmptyState/ProductEmptyState.stories.tsx": {
- "chromium": 207.861,
- "webkit": 34.557
- },
- "frontend/src/lib/components/ProductIntroduction/ProductIntroduction.stories.tsx": {
- "chromium": 19.92,
- "webkit": 3.314
- },
- "frontend/src/lib/components/ProductSetup/ProductSetupPopover.stories.tsx": {
- "chromium": 5.658,
- "webkit": 2.128
- },
- "frontend/src/lib/components/PropertiesTable/PropertiesTable.stories.tsx": {
- "chromium": 21.282,
- "webkit": 4.113
- },
- "frontend/src/lib/components/PropertiesTimeline/PropertiesTimeline.stories.tsx": {
- "chromium": 13.456,
- "webkit": 3.933
- },
- "frontend/src/lib/components/PropertyFilters/PropertyFilters.stories.tsx": {
- "chromium": 13.896,
- "webkit": 3.167
- },
- "frontend/src/lib/components/PropertyFilters/components/BehavioralPropertyFilterRow.stories.tsx": {
- "chromium": 24.092,
- "webkit": 4.045
- },
- "frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.stories.tsx": {
- "chromium": 31.134,
- "webkit": 4.662
- },
- "frontend/src/lib/components/PropertyFilters/components/PropertyFilterButton.stories.tsx": {
- "chromium": 13.161,
- "webkit": 2.835
- },
- "frontend/src/lib/components/PropertyIcon/PropertyIcon.stories.tsx": {
- "chromium": 2.04,
- "webkit": 1.773
- },
- "frontend/src/lib/components/PropertyKeyInfo.stories.tsx": {
- "chromium": 6.016,
- "webkit": 4.134
- },
- "frontend/src/lib/components/PropertySelect/PropertySelect.stories.tsx": {
- "chromium": 9.364,
- "webkit": 3.518
- },
- "frontend/src/lib/components/ReleaseStageTag/ReleaseStageTag.stories.tsx": {
- "chromium": 12.5,
- "webkit": 3.526
- },
- "frontend/src/lib/components/ScrollableShadows/ScrollableShadows.stories.tsx": {
- "chromium": 9.218,
- "webkit": 3.56
- },
- "frontend/src/lib/components/Search/Search.stories.tsx": {
- "chromium": 22.708,
- "webkit": 5.286
- },
- "frontend/src/lib/components/SearchAutocomplete/SearchAutocomplete.stories.tsx": {
- "chromium": 5.284,
- "webkit": 3.41
- },
- "frontend/src/lib/components/SessionTimeline/SessionTimeline.stories.tsx": {
- "chromium": 2.195,
- "webkit": 1.978
- },
- "frontend/src/lib/components/Sharing/SharingModal.stories.tsx": {
- "chromium": 27.43,
- "webkit": 4.989
- },
- "frontend/src/lib/components/Shortcuts/utils/DebugCHQueriesImpl.stories.tsx": {
- "chromium": 5.127,
- "webkit": 2.846
- },
- "frontend/src/lib/components/SkillPicker/SkillPicker.stories.tsx": {
- "chromium": 13.213,
- "webkit": 4.103
- },
- "frontend/src/lib/components/Sparkline.stories.tsx": {
- "chromium": 16.984,
- "webkit": 4.568
- },
- "frontend/src/lib/components/TZLabel/TZLabel.stories.tsx": {
- "chromium": 23.899,
- "webkit": 3.518
- },
- "frontend/src/lib/components/TablePreview/TablePreview.stories.tsx": {
- "chromium": 16.737,
- "webkit": 4.339
- },
- "frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.stories.tsx": {
- "chromium": 143.593,
- "webkit": 20.635
- },
- "frontend/src/lib/components/TaxonomicFilter/TaxonomicFilterGallery.stories.tsx": {
- "chromium": 2.03,
- "webkit": 2.447
- },
- "frontend/src/lib/components/TaxonomicFilter/menu/TaxonomicFilterMenu.stories.tsx": {
- "chromium": 36.247,
- "webkit": 7.386
- },
- "frontend/src/lib/components/TaxonomicPopover/TaxonomicPopover.stories.tsx": {
- "chromium": 9.16,
- "webkit": 3.859
- },
- "frontend/src/lib/components/TileDecorations/TileDecorations.stories.tsx": {
- "chromium": 21.645,
- "webkit": 7.271
- },
- "frontend/src/lib/components/UniversalFilters/UniversalFilters.stories.tsx": {
- "chromium": 5.691,
- "webkit": 2.746
- },
- "frontend/src/lib/components/VerticalNestedDND/VerticalNestedDND.stories.tsx": {
- "chromium": 5.808,
- "webkit": 3.437
- },
- "frontend/src/lib/components/ViewRecordingButton/ViewRecordingButton.stories.tsx": {
- "chromium": 9.349,
- "webkit": 2.438
- },
- "frontend/src/lib/components/VisualImageDiffViewer/VisualImageDiffViewer.stories.tsx": {
- "chromium": 16.435,
- "webkit": 5.331
- },
- "frontend/src/lib/components/hedgehogs.stories.tsx": {
- "chromium": 1.38,
- "webkit": 2.274
- },
- "frontend/src/lib/integrations/GitHubRepoSummary.stories.tsx": {
- "chromium": 17.132,
- "webkit": 3.789
- },
- "frontend/src/lib/integrations/SlackChannelPicker.stories.tsx": {
- "chromium": 23.476,
- "webkit": 4.548
- },
- "frontend/src/lib/lemon-ui/LemonBadge/LemonBadge.stories.tsx": {
- "chromium": 20.753,
- "webkit": 3.687
- },
- "frontend/src/lib/lemon-ui/LemonBadge/LemonBadgeNumber.stories.tsx": {
- "chromium": 12.83,
- "webkit": 4.354
- },
- "frontend/src/lib/lemon-ui/LemonBanner/LemonBanner.stories.tsx": {
- "chromium": 42.626,
- "webkit": 5.986
- },
- "frontend/src/lib/lemon-ui/LemonButton/LemonButton.stories.tsx": {
- "chromium": 89.516,
- "webkit": 10.548
- },
- "frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendar.stories.tsx": {
- "chromium": 51.791,
- "webkit": 7.295
- },
- "frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendarSelect.stories.tsx": {
- "chromium": 32.53,
- "webkit": 5.475
- },
- "frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendarSelectInput.stories.tsx": {
- "chromium": 12.583,
- "webkit": 6.787
- },
- "frontend/src/lib/lemon-ui/LemonCalendarRange/LemonCalendarRange.stories.tsx": {
- "chromium": 5.367,
- "webkit": 2.276
- },
- "frontend/src/lib/lemon-ui/LemonCalendarRange/LemonCalendarRangeInline.stories.tsx": {
- "chromium": 5.482,
- "webkit": 3.814
- },
- "frontend/src/lib/lemon-ui/LemonCard/LemonCard.stories.tsx": {
- "chromium": 16.395,
- "webkit": 2.868
- },
- "frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.stories.tsx": {
- "chromium": 26.747,
- "webkit": 5.777
- },
- "frontend/src/lib/lemon-ui/LemonCollapse/LemonCollapse.stories.tsx": {
- "chromium": 20.148,
- "webkit": 3.761
- },
- "frontend/src/lib/lemon-ui/LemonColor/LemonColorButton.stories.tsx": {
- "chromium": 27.986,
- "webkit": 4.135
- },
- "frontend/src/lib/lemon-ui/LemonColor/LemonColorGlyph.stories.tsx": {
- "chromium": 19.674,
- "webkit": 4.796
- },
- "frontend/src/lib/lemon-ui/LemonColor/LemonColorList.stories.tsx": {
- "chromium": 13.531,
- "webkit": 3.079
- },
- "frontend/src/lib/lemon-ui/LemonColor/LemonColorPicker.stories.tsx": {
- "chromium": 23.811,
- "webkit": 3.702
- },
- "frontend/src/lib/lemon-ui/LemonDialog/LemonDialog.stories.tsx": {
- "chromium": 12.202,
- "webkit": 3.055
- },
- "frontend/src/lib/lemon-ui/LemonDivider/LemonDivider.stories.tsx": {
- "chromium": 19.754,
- "webkit": 4.327
- },
- "frontend/src/lib/lemon-ui/LemonDrawer/LemonDrawer.stories.tsx": {
- "chromium": 20.398,
- "webkit": 4.221
- },
- "frontend/src/lib/lemon-ui/LemonField/LemonField.stories.tsx": {
- "chromium": 9.281,
- "webkit": 2.715
- },
- "frontend/src/lib/lemon-ui/LemonFileInput/LemonFileInput.stories.tsx": {
- "chromium": 19.47,
- "webkit": 4.548
- },
- "frontend/src/lib/lemon-ui/LemonInputSelect/LemonInputSelect.stories.tsx": {
- "chromium": 86.055,
- "webkit": 9.429
- },
- "frontend/src/lib/lemon-ui/LemonLabel/LemonLabel.stories.tsx": {
- "chromium": 9.146,
- "webkit": 3.609
- },
- "frontend/src/lib/lemon-ui/LemonMarkdown/LemonMarkdown.stories.tsx": {
- "chromium": 32.722,
- "webkit": 5.523
- },
- "frontend/src/lib/lemon-ui/LemonMenu/LemonMenu.stories.tsx": {
- "chromium": 12.715,
- "webkit": 4.767
- },
- "frontend/src/lib/lemon-ui/LemonModal/LemonModal.stories.tsx": {
- "chromium": 16.785,
- "webkit": 2.879
- },
- "frontend/src/lib/lemon-ui/LemonProgress/LemonProgress.stories.tsx": {
- "chromium": 5.252,
- "webkit": 2.216
- },
- "frontend/src/lib/lemon-ui/LemonProgressCircle/LemonProgressCircle.stories.tsx": {
- "chromium": 9.282,
- "webkit": 3.343
- },
- "frontend/src/lib/lemon-ui/LemonRadio/LemonRadio.stories.tsx": {
- "chromium": 13.299,
- "webkit": 3.696
- },
- "frontend/src/lib/lemon-ui/LemonRichContent/LemonRichContentEditor.stories.tsx": {
- "chromium": 5.951,
- "webkit": 3.278
- },
- "frontend/src/lib/lemon-ui/LemonRow/LemonRow.stories.tsx": {
- "chromium": 58.622,
- "webkit": 7.783
- },
- "frontend/src/lib/lemon-ui/LemonSegmentedButton/LemonSegmentedButton.stories.tsx": {
- "chromium": 17.156,
- "webkit": 3.023
- },
- "frontend/src/lib/lemon-ui/LemonSegmentedButton/LemonSegmentedDropdown.stories.tsx": {
- "chromium": 20.127,
- "webkit": 4.798
- },
- "frontend/src/lib/lemon-ui/LemonSegmentedSelect/LemonSegmentedSelect.stories.tsx": {
- "chromium": 13.713,
- "webkit": 3.226
- },
- "frontend/src/lib/lemon-ui/LemonSelect/LemonSearchableSelect.stories.tsx": {
- "chromium": 9.208,
- "webkit": 4.037
- },
- "frontend/src/lib/lemon-ui/LemonSelect/LemonSelect.stories.tsx": {
- "chromium": 33.412,
- "webkit": 4.702
- },
- "frontend/src/lib/lemon-ui/LemonSkeleton/LemonSkeleton.stories.tsx": {
- "chromium": 16.427,
- "webkit": 3.094
- },
- "frontend/src/lib/lemon-ui/LemonSlider/LemonSlider.stories.tsx": {
- "chromium": 9.2,
- "webkit": 3.328
- },
- "frontend/src/lib/lemon-ui/LemonSnack/LemonSnack.stories.tsx": {
- "chromium": 16.517,
- "webkit": 4.362
- },
- "frontend/src/lib/lemon-ui/LemonSwitch/LemonSwitch.stories.tsx": {
- "chromium": 34.534,
- "webkit": 5.538
- },
- "frontend/src/lib/lemon-ui/LemonTable/LemonTable.stories.tsx": {
- "chromium": 103.589,
- "webkit": 13.683
- },
- "frontend/src/lib/lemon-ui/LemonTabs/LemonTabs.stories.tsx": {
- "chromium": 13.691,
- "webkit": 4.063
- },
- "frontend/src/lib/lemon-ui/LemonTag/LemonTag.stories.tsx": {
- "chromium": 9.555,
- "webkit": 2.544
- },
- "frontend/src/lib/lemon-ui/LemonTextArea/LemonTextArea.stories.tsx": {
- "chromium": 20.438,
- "webkit": 4.26
- },
- "frontend/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown.stories.tsx": {
- "chromium": 13.195,
- "webkit": 2.75
- },
- "frontend/src/lib/lemon-ui/LemonToast/LemonToast.stories.tsx": {
- "chromium": 19.957,
- "webkit": 3.583
- },
- "frontend/src/lib/lemon-ui/LemonTree/LemonTree.stories.tsx": {
- "chromium": 9.833,
- "webkit": 2.82
- },
- "frontend/src/lib/lemon-ui/LemonWidget/LemonWidget.stories.tsx": {
- "chromium": 16.534,
- "webkit": 5.514
- },
- "frontend/src/lib/lemon-ui/Lettermark/Lettermark.stories.tsx": {
- "chromium": 30.904,
- "webkit": 6.686
- },
- "frontend/src/lib/lemon-ui/Link/Link.stories.tsx": {
- "chromium": 12.533,
- "webkit": 5.331
- },
- "frontend/src/lib/lemon-ui/PaginationControl/PaginationControl.stories.tsx": {
- "chromium": 8.815,
- "webkit": 19.078
- },
- "frontend/src/lib/lemon-ui/Popover/Popover.stories.tsx": {
- "chromium": 2.069,
- "webkit": 2.975
- },
- "frontend/src/lib/lemon-ui/ProfilePicture/ProfileBubbles.stories.tsx": {
- "chromium": 23.684,
- "webkit": 4.812
- },
- "frontend/src/lib/lemon-ui/Spinner/Spinner.stories.tsx": {
- "chromium": 24.038,
- "webkit": 4.882
- },
- "frontend/src/lib/lemon-ui/Splotch/Splotch.stories.tsx": {
- "chromium": 6.574,
- "webkit": 3.838
- },
- "frontend/src/lib/lemon-ui/UploadedLogo/UploadedLogo.stories.tsx": {
- "chromium": 23.642,
- "webkit": 4.291
- },
- "frontend/src/lib/lemon-ui/colors.stories.tsx": {
- "chromium": 17.132,
- "webkit": 3.742
- },
- "frontend/src/lib/lemon-ui/icons/icons3000.stories.tsx": {
- "chromium": 2.142,
- "webkit": 2.358
- },
- "frontend/src/lib/lemon-ui/icons/stories/Icons1.stories.tsx": {
- "chromium": 34.674,
- "webkit": 5.762
- },
- "frontend/src/lib/lemon-ui/icons/stories/Icons2.stories.tsx": {
- "chromium": 34.729,
- "webkit": 5.262
- },
- "frontend/src/lib/lemon-ui/icons/stories/Icons3.stories.tsx": {
- "chromium": 48.023,
- "webkit": 7.07
- },
- "frontend/src/lib/signals/SignalReportPrBadge.stories.tsx": {
- "chromium": 5.84,
- "webkit": 3.415
- },
- "frontend/src/lib/ui/Button/ButtonPrimitives.stories.tsx": {
- "chromium": 8.79,
- "webkit": 2.597
- },
- "frontend/src/lib/ui/Collapsible/Collapsible.stories.tsx": {
- "chromium": 20.537,
- "webkit": 3.957
- },
- "frontend/src/lib/ui/Colors/Colors.stories.tsx": {
- "chromium": 13.649,
- "webkit": 3.137
- },
- "frontend/src/lib/ui/Combobox/Combobox.stories.tsx": {
- "chromium": 9.424,
- "webkit": 2.684
- },
- "frontend/src/lib/ui/ContextMenu/ContextMenu.stories.tsx": {
- "chromium": 5.687,
- "webkit": 3.223
- },
- "frontend/src/lib/ui/DropdownMenu/DropdownMenu.stories.tsx": {
- "chromium": 5.765,
- "webkit": 2.067
- },
- "frontend/src/lib/ui/ListBox/ListBox.stories.tsx": {
- "chromium": 9.212,
- "webkit": 2.476
- },
- "frontend/src/lib/ui/SelectPrimitive/SelectPrimitive.stories.tsx": {
- "chromium": 5.879,
- "webkit": 2.002
- },
- "frontend/src/lib/ui/TabsPrimitive/TabsPrimitive.stories.tsx": {
- "chromium": 5.605,
- "webkit": 2.225
- },
- "frontend/src/lib/ui/WrappingLoadingSkeleton/WrappingLoadingSkeleton.stories.tsx": {
- "chromium": 5.673,
- "webkit": 2.278
- },
- "frontend/src/queries/nodes/DataNode/DataNode.stories.tsx": {
- "chromium": 2.232,
- "webkit": 1.814
- },
- "frontend/src/queries/nodes/DataTable/DataTable.stories.tsx": {
- "chromium": 1.726,
- "webkit": 1.918
- },
- "frontend/src/queries/nodes/DataTable/ExplicitIcon.stories.tsx": {
- "chromium": 13.235,
- "webkit": 4.706
- },
- "frontend/src/queries/nodes/DataTable/HarnessColumn.stories.tsx": {
- "chromium": 8.318,
- "webkit": 5.72
- },
- "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlBarGraph.stories.tsx": {
- "chromium": 21.817,
- "webkit": 4.859
- },
- "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlMetricCard.stories.tsx": {
- "chromium": 5.985,
- "webkit": 4.217
- },
- "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlPieGraph.stories.tsx": {
- "chromium": 21.595,
- "webkit": 5.166
- },
- "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlProportionBar.stories.tsx": {
- "chromium": 6.108,
- "webkit": 3.05
- },
- "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlScatterGraph.stories.tsx": {
- "chromium": 8.96,
- "webkit": 3.933
- },
- "frontend/src/queries/nodes/DataVisualization/Components/Variables/Variables.stories.tsx": {
- "chromium": 17.565,
- "webkit": 3.398
- },
- "frontend/src/queries/nodes/InsightViz/EditorFilters.stories.tsx": {
- "chromium": 13.046,
- "webkit": 5.496
- },
- "frontend/src/queries/nodes/InsightViz/FlagCallsRetentionNotice.stories.tsx": {
- "chromium": 5.556,
- "webkit": 2.044
- },
- "frontend/src/queries/nodes/InsightViz/PropertyGroupFilters/AndOrFilterSelect.stories.tsx": {
- "chromium": 5.441,
- "webkit": 2.52
- },
- "frontend/src/queries/nodes/InsightViz/SuggestionBanner.stories.tsx": {
- "chromium": 5.435,
- "webkit": 2.911
- },
- "frontend/src/queries/nodes/OverviewGrid/OverviewMetricCardGrid.stories.tsx": {
- "chromium": 21.725,
- "webkit": 4.188
- },
- "frontend/src/queries/nodes/WebVitals/WebVitals.stories.tsx": {
- "chromium": 8.466,
- "webkit": 4.838
- },
- "frontend/src/queries/nodes/WebVitals/WebVitalsPathBreakdown.stories.tsx": {
- "chromium": 9.302,
- "webkit": 4.22
- },
- "frontend/src/scenes/AuthenticatedShellFallback.stories.tsx": {
- "chromium": 13.637,
- "webkit": 2.285
- },
- "frontend/src/scenes/PreflightCheck/PreflightCheck.stories.tsx": {
- "chromium": 5.93,
- "webkit": 3.832
- },
- "frontend/src/scenes/Unsubscribe/Unsubscribe.stories.tsx": {
- "chromium": 5.375,
- "webkit": 3.423
- },
- "frontend/src/scenes/activity/explore/EventDetails.stories.tsx": {
- "chromium": 7.21,
- "webkit": 4.946
- },
- "frontend/src/scenes/activity/explore/Events.stories.tsx": {
- "chromium": 7.707,
- "webkit": 2.245
- },
- "frontend/src/scenes/activity/explore/MCPEvents.stories.tsx": {
- "chromium": 9.971,
- "webkit": 2.607
- },
- "frontend/src/scenes/analytics/Analytics.stories.tsx": {
- "chromium": 47.253,
- "webkit": 12.802
- },
- "frontend/src/scenes/authentication/account/AccountConnected.stories.tsx": {
- "chromium": 18.542,
- "webkit": 5.525
- },
- "frontend/src/scenes/authentication/account/credential-review/CredentialReview.stories.tsx": {
- "chromium": 9.088,
- "webkit": 3.14
- },
- "frontend/src/scenes/authentication/invite-signup/InviteSignup.stories.tsx": {
- "chromium": 1.81,
- "webkit": 1.585
- },
- "frontend/src/scenes/authentication/login/Login.stories.tsx": {
- "chromium": 1.974,
- "webkit": 1.712
- },
- "frontend/src/scenes/authentication/password-reset/PasswordReset.stories.tsx": {
- "chromium": 19.835,
- "webkit": 3.581
- },
- "frontend/src/scenes/authentication/password-reset/PasswordResetComplete.stories.tsx": {
- "chromium": 9.6,
- "webkit": 2.733
- },
- "frontend/src/scenes/authentication/shared/authScene/DevLoginPanel.stories.tsx": {
- "chromium": 1.283,
- "webkit": 1.989
- },
- "frontend/src/scenes/authentication/signup/Signup.stories.tsx": {
- "chromium": 1.312,
- "webkit": 2.104
- },
- "frontend/src/scenes/authentication/verify-email/VerifyEmail.stories.tsx": {
- "chromium": 1.187,
- "webkit": 2.159
- },
- "frontend/src/scenes/billing/Billing.stories.tsx": {
- "chromium": 48.535,
- "webkit": 10.751
- },
- "frontend/src/scenes/billing/BillingChart.stories.tsx": {
- "chromium": 13.805,
- "webkit": 4.025
- },
- "frontend/src/scenes/billing/BillingProduct.stories.tsx": {
- "chromium": 48.546,
- "webkit": 8.436
- },
- "frontend/src/scenes/billing/DesktopUsageBreakdown.stories.tsx": {
- "chromium": 12.923,
- "webkit": 3.145
- },
- "frontend/src/scenes/cohorts/AddPersonToCohortModal.stories.tsx": {
- "chromium": 18.11,
- "webkit": 5.982
- },
- "frontend/src/scenes/cohorts/CohortBlockingWorkflowsModal.stories.tsx": {
- "chromium": 12.646,
- "webkit": 4.002
- },
- "frontend/src/scenes/cohorts/CohortFilters/CohortCriteriaRowBuilder.stories.tsx": {
- "chromium": 6.091,
- "webkit": 2.854
- },
- "frontend/src/scenes/cohorts/CohortFilters/CohortNumberField.stories.tsx": {
- "chromium": 5.244,
- "webkit": 2.723
- },
- "frontend/src/scenes/cohorts/CohortFilters/CohortPersonPropertiesValuesField.stories.tsx": {
- "chromium": 5.915,
- "webkit": 3.077
- },
- "frontend/src/scenes/cohorts/CohortFilters/CohortSelectorField.stories.tsx": {
- "chromium": 26.832,
- "webkit": 5.167
- },
- "frontend/src/scenes/cohorts/CohortFilters/CohortTaxonomicField.stories.tsx": {
- "chromium": 9.865,
- "webkit": 3.377
- },
- "frontend/src/scenes/cohorts/CohortFilters/CohortTextField.stories.tsx": {
- "chromium": 5.746,
- "webkit": 2.715
- },
- "frontend/src/scenes/cohorts/Cohorts.stories.tsx": {
- "chromium": 73.209,
- "webkit": 18.817
- },
- "frontend/src/scenes/dashboard/DashboardInsightColorsModal.stories.tsx": {
- "chromium": 5.944,
- "webkit": 3.16
- },
- "frontend/src/scenes/data-management/definition/DefinitionView.stories.tsx": {
- "chromium": 23.871,
- "webkit": 2.353
- },
- "frontend/src/scenes/data-management/events/DefinitionHeader.stories.tsx": {
- "chromium": 12.777,
- "webkit": 3.013
- },
- "frontend/src/scenes/data-management/events/EventDefinitionsTable.stories.tsx": {
- "chromium": 15.017,
- "webkit": 3.692
- },
- "frontend/src/scenes/data-management/ingestion-warnings/IngestionWarningsView.stories.tsx": {
- "chromium": 7.311,
- "webkit": 3.256
- },
- "frontend/src/scenes/data-management/managed-viewsets/DataWarehouseManagedViewsetsScene.stories.tsx": {
- "chromium": 7.453,
- "webkit": 2.034
- },
- "frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.stories.tsx": {
- "chromium": 16.857,
- "webkit": 4.036
- },
- "frontend/src/scenes/data-pipelines/DestinationsScene.stories.tsx": {
- "chromium": 20.522,
- "webkit": 5.799
- },
- "frontend/src/scenes/data-pipelines/batch-exports/BatchExportScene.stories.tsx": {
- "chromium": 100.235,
- "webkit": 25.023
- },
- "frontend/src/scenes/data-pipelines/event-filtering/EventFilterScene.stories.tsx": {
- "chromium": 102.154,
- "webkit": 34.787
- },
- "frontend/src/scenes/data-warehouse/editor/QueryHistoryModal.stories.tsx": {
- "chromium": 10.263,
- "webkit": 5.747
- },
- "frontend/src/scenes/data-warehouse/editor/SQLEditorScene.stories.tsx": {
- "chromium": 159.908,
- "webkit": 120.759
- },
- "frontend/src/scenes/data-warehouse/editor/output-pane-tabs/QueryIndexUsageBar.stories.tsx": {
- "chromium": 12.968,
- "webkit": 2.634
- },
- "frontend/src/scenes/data-warehouse/editor/output-pane-tabs/QueryIndexUsageFixActions.stories.tsx": {
- "chromium": 53.384,
- "webkit": 4.4
- },
- "frontend/src/scenes/experiments/MetricsView/new/HowToReadTooltip.stories.tsx": {
- "chromium": 21.485,
- "webkit": 4.544
- },
- "frontend/src/scenes/experiments/MetricsView/new/VariantTimeseriesTooltip.stories.tsx": {
- "chromium": 9.178,
- "webkit": 3.888
- },
- "frontend/src/scenes/experiments/stories/DraftExperiment.stories.tsx": {
- "chromium": 10.521,
- "webkit": 2.386
- },
- "frontend/src/scenes/experiments/stories/ExperimentAsymmetricIntervals.stories.tsx": {
- "chromium": 14.261,
- "webkit": 3.03
- },
- "frontend/src/scenes/experiments/stories/ExperimentCodeTab.stories.tsx": {
- "chromium": 13.678,
- "webkit": 2.821
- },
- "frontend/src/scenes/experiments/stories/ExperimentExposuresExpanded.stories.tsx": {
- "chromium": 11.1,
- "webkit": 10.999
- },
- "frontend/src/scenes/experiments/stories/ExperimentFrequentistFiveVariants.stories.tsx": {
- "chromium": 9.642,
- "webkit": 2.681
- },
- "frontend/src/scenes/experiments/stories/ExperimentFrequentistTwoVariants.stories.tsx": {
- "chromium": 13.904,
- "webkit": 2.512
- },
- "frontend/src/scenes/experiments/stories/ExperimentHealthDebugTab.stories.tsx": {
- "chromium": 13.667,
- "webkit": 2.381
- },
- "frontend/src/scenes/experiments/stories/ExperimentRecordingsListEmpty.stories.tsx": {
- "chromium": 77.413,
- "webkit": 28.043
- },
- "frontend/src/scenes/experiments/stories/ExperimentReplayScannerBacklink.stories.tsx": {
- "chromium": 18.836,
- "webkit": 6.579
- },
- "frontend/src/scenes/experiments/stories/ExperimentResultsRowRecordingLinks.stories.tsx": {
- "chromium": 31.492,
- "webkit": 14.78
- },
- "frontend/src/scenes/experiments/stories/ExperimentStoppedWithConclusion.stories.tsx": {
- "chromium": 10.993,
- "webkit": 2.186
- },
- "frontend/src/scenes/experiments/stories/ExperimentStoppedWithLongConclusion.stories.tsx": {
- "chromium": 14.269,
- "webkit": 2.749
- },
- "frontend/src/scenes/experiments/stories/ExperimentWatchShelfEmpty.stories.tsx": {
- "chromium": 49.524,
- "webkit": 23.798
- },
- "frontend/src/scenes/experiments/stories/ExperimentWithFunnelMetric.stories.tsx": {
- "chromium": 16.163,
- "webkit": 2.832
- },
- "frontend/src/scenes/experiments/stories/ExperimentWithHealthFindings.stories.tsx": {
- "chromium": 17.011,
- "webkit": 8.747
- },
- "frontend/src/scenes/experiments/stories/ExperimentWithLongFlagKey.stories.tsx": {
- "chromium": 14.909,
- "webkit": 2.443
- },
- "frontend/src/scenes/experiments/stories/ExperimentWithMeanMetric.stories.tsx": {
- "chromium": 10.938,
- "webkit": 2.756
- },
- "frontend/src/scenes/experiments/stories/ExperimentWithMultiStepFunnelMetric.stories.tsx": {
- "chromium": 9.217,
- "webkit": 3.031
- },
- "frontend/src/scenes/experiments/stories/ExperimentWithMultipleMetrics.stories.tsx": {
- "chromium": 14.729,
- "webkit": 3.249
- },
- "frontend/src/scenes/experiments/stories/ExperimentWithMultipleMetricsReordered.stories.tsx": {
- "chromium": 13.548,
- "webkit": 3.376
- },
- "frontend/src/scenes/experiments/stories/ExperimentWithRatioMetric.stories.tsx": {
- "chromium": 14.32,
- "webkit": 2.77
- },
- "frontend/src/scenes/experiments/stories/Experiments.stories.tsx": {
- "chromium": 6.285,
- "webkit": 2.951
- },
- "frontend/src/scenes/feature-flags/BlastRadiusSkeleton.stories.tsx": {
- "chromium": 5.823,
- "webkit": 2.466
- },
- "frontend/src/scenes/feature-flags/FeatureFlagCodeInstructions.stories.tsx": {
- "chromium": 24.771,
- "webkit": 4.058
- },
- "frontend/src/scenes/feature-flags/FeatureFlags.stories.tsx": {
- "chromium": 109.229,
- "webkit": 39.255
- },
- "frontend/src/scenes/feature-flags/NewFeatureFlagMenu.stories.tsx": {
- "chromium": 5.952,
- "webkit": 5.276
- },
- "frontend/src/scenes/feature-flags/ScheduleTimeline.stories.tsx": {
- "chromium": 20.073,
- "webkit": 3.423
- },
- "frontend/src/scenes/health/components/HealthTables.stories.tsx": {
- "chromium": 55.066,
- "webkit": 7.262
- },
- "frontend/src/scenes/hog-functions/HogFunctionScene.stories.tsx": {
- "chromium": 34.874,
- "webkit": 10.163
- },
- "frontend/src/scenes/hog-functions/invocations/InvocationsSparkline.stories.tsx": {
- "chromium": 6.17,
- "webkit": 3.672
- },
- "frontend/src/scenes/insights/EmptyStates/EmptyStates.stories.tsx": {
- "chromium": 43.862,
- "webkit": 12.202
- },
- "frontend/src/scenes/insights/EmptyStates/LoadingMessages.stories.tsx": {
- "chromium": 5.97,
- "webkit": 2.926
- },
- "frontend/src/scenes/insights/EmptyStates/SampleDataState.stories.tsx": {
- "chromium": 17.844,
- "webkit": 4.297
- },
- "frontend/src/scenes/insights/EmptyStates/SampleDataTag.stories.tsx": {
- "chromium": 5.481,
- "webkit": 4.105
- },
- "frontend/src/scenes/insights/filters/ActionFilter/ActionFilter.stories.tsx": {
- "chromium": 51.272,
- "webkit": 7.872
- },
- "frontend/src/scenes/insights/filters/BreakdownFilter/BreakdownTag.stories.tsx": {
- "chromium": 6.087,
- "webkit": 2.204
- },
- "frontend/src/scenes/insights/stories/MCPMissingCapability.stories.tsx": {
- "chromium": 12.52,
- "webkit": 4.098
- },
- "frontend/src/scenes/insights/stories/SQLBoxPlot.stories.tsx": {
- "chromium": 19.677,
- "webkit": 12.789
- },
- "frontend/src/scenes/insights/stories/SQLLineChart.stories.tsx": {
- "chromium": 27.275,
- "webkit": 9.283
- },
- "frontend/src/scenes/insights/stories/SQLTableConditionalFormatting.stories.tsx": {
- "chromium": 10.855,
- "webkit": 4.618
- },
- "frontend/src/scenes/integrations/IntegrationFullPage.stories.tsx": {
- "chromium": 22.959,
- "webkit": 4.755
- },
- "frontend/src/scenes/integrations/components/GithubIntegration.stories.tsx": {
- "chromium": 16.744,
- "webkit": 5.153
- },
- "frontend/src/scenes/integrations/components/SlackIntegration.stories.tsx": {
- "chromium": 24.371,
- "webkit": 3.82
- },
- "frontend/src/scenes/marketing-analytics/MarketingAnalyticsFreshness.stories.tsx": {
- "chromium": 9.726,
- "webkit": 2.652
- },
- "frontend/src/scenes/max/Max.stories.tsx": {
- "chromium": 101.316,
- "webkit": 23.702
- },
- "frontend/src/scenes/max/MaxForms.stories.tsx": {
- "chromium": 43.296,
- "webkit": 13.442
- },
- "frontend/src/scenes/max/MaxTools.stories.tsx": {
- "chromium": 81.415,
- "webkit": 21.252
- },
- "frontend/src/scenes/max/components/HandsFreeSurface.stories.tsx": {
- "chromium": 9.508,
- "webkit": 2.653
- },
- "frontend/src/scenes/notebooks/Nodes/NotebookNodeCustomerJourney/NotebookNodeCustomerJourney.stories.tsx": {
- "chromium": 37.253,
- "webkit": 10.106
- },
- "frontend/src/scenes/notebooks/Nodes/NotebookNodeMap.stories.tsx": {
- "chromium": 8.266,
- "webkit": 5.354
- },
- "frontend/src/scenes/notebooks/Nodes/NotebookNodeSupportTickets.stories.tsx": {
- "chromium": 19.454,
- "webkit": 5.595
- },
- "frontend/src/scenes/notebooks/Nodes/components/NotebookDataframeHintPopover.stories.tsx": {
- "chromium": 5.582,
- "webkit": 2.804
- },
- "frontend/src/scenes/notebooks/Notebook/Notebook.stories.tsx": {
- "chromium": 67.376,
- "webkit": 21.775
- },
- "frontend/src/scenes/notebooks/Notebook/NotebookJupyterMode.stories.tsx": {
- "chromium": 20.023,
- "webkit": 15.469
- },
- "frontend/src/scenes/notebooks/Notebook/NotebookKernelInfo.stories.tsx": {
- "chromium": 17.391,
- "webkit": 6.452
- },
- "frontend/src/scenes/notebooks/Notebook/NotebookRunAllBanner.stories.tsx": {
- "chromium": 13.288,
- "webkit": 3.13
- },
- "frontend/src/scenes/notebooks/Notebook/NotebookSQLCellChart.stories.tsx": {
- "chromium": 24.842,
- "webkit": 9.635
- },
- "frontend/src/scenes/notebooks/Notebook/NotebookWidgetViews.stories.tsx": {
- "chromium": 102.541,
- "webkit": 38.921
- },
- "frontend/src/scenes/notebooks/NotebookSelectButton/NotebookSelectButton.stories.tsx": {
- "chromium": 24.579,
- "webkit": 4.962
- },
- "frontend/src/scenes/oauth/OAuthAuthorize.stories.tsx": {
- "chromium": 45.294,
- "webkit": 13.02
- },
- "frontend/src/scenes/onboarding/Onboarding.stories.tsx": {
- "chromium": 51.4,
- "webkit": 16.632
- },
- "frontend/src/scenes/onboarding/productSelection/ProductSelection.stories.tsx": {
- "chromium": 6.296,
- "webkit": 2.238
- },
- "frontend/src/scenes/onboarding/sdks/OnboardingInstallStep/WizardInstallStep/WizardInstallStep.stories.tsx": {
- "chromium": 17.076,
- "webkit": 6.84
- },
- "frontend/src/scenes/onboarding/shared/wizard-sync/InstallationProgressView.stories.tsx": {
- "chromium": 64.013,
- "webkit": 7.975
- },
- "frontend/src/scenes/onboarding/shared/wizard-sync/WizardCloudRunBlock.stories.tsx": {
- "chromium": 28.893,
- "webkit": 7.608
- },
- "frontend/src/scenes/onboarding/shared/wizard-sync/WizardHandoffDialog.stories.tsx": {
- "chromium": 5.706,
- "webkit": 5.088
- },
- "frontend/src/scenes/onboarding/shared/wizard-sync/WizardSyncCard.stories.tsx": {
- "chromium": 49.636,
- "webkit": 7.135
- },
- "frontend/src/scenes/organization/Deactivated.stories.tsx": {
- "chromium": 5.653,
- "webkit": 2.208
- },
- "frontend/src/scenes/organization/PendingDeletion.stories.tsx": {
- "chromium": 5.658,
- "webkit": 2.223
- },
- "frontend/src/scenes/persons-management/Persons.stories.tsx": {
- "chromium": 12.571,
- "webkit": 4.626
- },
- "frontend/src/scenes/project-files/ProjectFilesScene.stories.tsx": {
- "chromium": 21.255,
- "webkit": 4.587
- },
- "frontend/src/scenes/project-homepage/ProjectHomepage.stories.tsx": {
- "chromium": 20.538,
- "webkit": 7.544
- },
- "frontend/src/scenes/project-homepage/today/Today.stories.tsx": {
- "chromium": 3.282,
- "webkit": 3.221
- },
- "frontend/src/scenes/session-recordings/SessionsRecordings-activity-modal.stories.tsx": {
- "chromium": 12.325,
- "webkit": 2.071
- },
- "frontend/src/scenes/session-recordings/SessionsRecordings-group-scene.stories.tsx": {
- "chromium": 26.246,
- "webkit": 10.109
- },
- "frontend/src/scenes/session-recordings/SessionsRecordings-person-scene.stories.tsx": {
- "chromium": 24.18,
- "webkit": 5.506
- },
- "frontend/src/scenes/session-recordings/SessionsRecordings-player-failure.stories.tsx": {
- "chromium": 10.843,
- "webkit": 2.608
- },
- "frontend/src/scenes/session-recordings/SessionsRecordings-player-success.stories.tsx": {
- "chromium": 56.788,
- "webkit": 11.034
- },
- "frontend/src/scenes/session-recordings/SessionsRecordings-playlist-listing.stories.tsx": {
- "chromium": 8.207,
- "webkit": 2.393
- },
- "frontend/src/scenes/session-recordings/apm/NetworkView.stories.tsx": {
- "chromium": 6.065,
- "webkit": 2.955
- },
- "frontend/src/scenes/session-recordings/apm/playerInspector/ItemPerformanceEvent.stories.tsx": {
- "chromium": 24.223,
- "webkit": 3.472
- },
- "frontend/src/scenes/session-recordings/components/RecordingsRow.stories.tsx": {
- "chromium": 5.964,
- "webkit": 2.242
- },
- "frontend/src/scenes/session-recordings/filters/RecordingsUniversalFilterAddFilterPopover.stories.tsx": {
- "chromium": 10.002,
- "webkit": 3.531
- },
- "frontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.stories.tsx": {
- "chromium": 37.234,
- "webkit": 15.124
- },
- "frontend/src/scenes/session-recordings/player/RecordingDeleted.stories.tsx": {
- "chromium": 9.664,
- "webkit": 7.203
- },
- "frontend/src/scenes/session-recordings/player/commenting/PlayerCommentModal.stories.tsx": {
- "chromium": 6.076,
- "webkit": 3.059
- },
- "frontend/src/scenes/session-recordings/player/controller/PlayerController.stories.tsx": {
- "chromium": 20.036,
- "webkit": 4.338
- },
- "frontend/src/scenes/session-recordings/player/controller/Seekbar.stories.tsx": {
- "chromium": 6.393,
- "webkit": 3.247
- },
- "frontend/src/scenes/session-recordings/player/inspector/PlayerInspector.stories.tsx": {
- "chromium": 15.378,
- "webkit": 5.779
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/ItemAppState.stories.tsx": {
- "chromium": 14.66,
- "webkit": 3.904
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/ItemComment.stories.tsx": {
- "chromium": 17.752,
- "webkit": 4.028
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/ItemConsoleLog.stories.tsx": {
- "chromium": 6.214,
- "webkit": 2.634
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/ItemDoctor.stories.tsx": {
- "chromium": 35.455,
- "webkit": 4.55
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/ItemEvent.stories.tsx": {
- "chromium": 49.984,
- "webkit": 8.733
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/ItemExperimentVariant.stories.tsx": {
- "chromium": 16.265,
- "webkit": 4.421
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/ItemLog.stories.tsx": {
- "chromium": 45.81,
- "webkit": 6.908
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/ItemSessionChange.stories.tsx": {
- "chromium": 9.514,
- "webkit": 3.3
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/NavigationItem.stories.tsx": {
- "chromium": 50.317,
- "webkit": 7.376
- },
- "frontend/src/scenes/session-recordings/player/inspector/components/Timing/NetworkRequestTiming.stories.tsx": {
- "chromium": 5.973,
- "webkit": 2.072
- },
- "frontend/src/scenes/session-recordings/player/player-meta/PlayerMetaExperimentTags.stories.tsx": {
- "chromium": 12.731,
- "webkit": 3.291
- },
- "frontend/src/scenes/session-recordings/player/share/PlayerShareDialog.stories.tsx": {
- "chromium": 11.86,
- "webkit": 2.648
- },
- "frontend/src/scenes/session-recordings/player/sidebar/PlayerSidebarExperimentsSection.stories.tsx": {
- "chromium": 20.004,
- "webkit": 5.18
- },
- "frontend/src/scenes/session-recordings/player/sidebar/PlayerSidebarOverviewOtherWatchers.stories.tsx": {
- "chromium": 16.376,
- "webkit": 3.607
- },
- "frontend/src/scenes/session-recordings/player/sidebar/PlayerSidebarOverviewTab.stories.tsx": {
- "chromium": 18.466,
- "webkit": 4.536
- },
- "frontend/src/scenes/session-recordings/playlist/AddToCollectionModal.stories.tsx": {
- "chromium": 15.507,
- "webkit": 4.618
- },
- "frontend/src/scenes/session-recordings/playlist/PropertyIcons.stories.tsx": {
- "chromium": 22.821,
- "webkit": 4.372
- },
- "frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene.stories.tsx": {
- "chromium": 1.422,
- "webkit": 1.598
- },
- "frontend/src/scenes/settings/components/SettingSectionUnavailable.stories.tsx": {
- "chromium": 9.106,
- "webkit": 4.21
- },
- "frontend/src/scenes/settings/organization/AIConsentLegalDialog.stories.tsx": {
- "chromium": 5.799,
- "webkit": 4.394
- },
- "frontend/src/scenes/settings/organization/AIConsentPopoverContent.stories.tsx": {
- "chromium": 13.464,
- "webkit": 3.047
- },
- "frontend/src/scenes/settings/organization/IdentityProviderConfig/IdentityProviderConfigScene.stories.tsx": {
- "chromium": 30.739,
- "webkit": 7.622
- },
- "frontend/src/scenes/settings/organization/Invites.stories.tsx": {
- "chromium": 20.76,
- "webkit": 6.594
- },
- "frontend/src/scenes/settings/organization/OAuthApps.stories.tsx": {
- "chromium": 9.207,
- "webkit": 2.657
- },
- "frontend/src/scenes/settings/organization/VerifiedDomains/SSOSelect.stories.tsx": {
- "chromium": 5.396,
- "webkit": 2.182
- },
- "frontend/src/scenes/settings/organization/VerifiedDomains/VerifiedDomains.stories.tsx": {
- "chromium": 47.26,
- "webkit": 12.847
- },
- "frontend/src/scenes/settings/project/GatewayKeySpend.stories.tsx": {
- "chromium": 5.44,
- "webkit": 3.54
- },
- "frontend/src/scenes/settings/stories/SettingsEnvironment.stories.tsx": {
- "chromium": 164.956,
- "webkit": 42.213
- },
- "frontend/src/scenes/settings/stories/SettingsOrganization.stories.tsx": {
- "chromium": 54.013,
- "webkit": 14.935
- },
- "frontend/src/scenes/settings/stories/SettingsProject.stories.tsx": {
- "chromium": 77.721,
- "webkit": 20.316
- },
- "frontend/src/scenes/settings/stories/SettingsUser.stories.tsx": {
- "chromium": 65.217,
- "webkit": 26.408
- },
- "frontend/src/scenes/startups/StartupProgram.stories.tsx": {
- "chromium": 28.9,
- "webkit": 13.184
- },
- "frontend/src/scenes/surveys/Surveys.stories.tsx": {
- "chromium": 48.022,
- "webkit": 21.17
- },
- "frontend/src/scenes/surveys/components/SurveyResponseKeysReference.stories.tsx": {
- "chromium": 26.485,
- "webkit": 8.841
- },
- "frontend/src/scenes/terminal/TerminalScene.stories.tsx": {
- "chromium": 42.78,
- "webkit": 17.349
- },
- "frontend/src/scenes/toolbar-launch/ToolbarLaunch.stories.tsx": {
- "chromium": 15.964,
- "webkit": 4.879
- },
- "frontend/src/scenes/trends/persons-modal/PersonsModal.stories.tsx": {
- "chromium": 21.698,
- "webkit": 6.17
- },
- "frontend/src/scenes/web-analytics/CalendarHeatMap/CalendarHeatMap.stories.tsx": {
- "chromium": 22.892,
- "webkit": 4.481
- },
- "frontend/src/scenes/web-analytics/LiveMetricsDashboard/liveWebAnalyticsMetricsCharts.stories.tsx": {
- "chromium": 16.555,
- "webkit": 4.491
- },
- "frontend/src/scenes/web-analytics/PagePerformance.stories.tsx": {
- "chromium": 23.196,
- "webkit": 6.366
- },
- "frontend/src/scenes/web-analytics/PagePerformanceMetricCard.stories.tsx": {
- "chromium": 19.064,
- "webkit": 3.871
- },
- "frontend/src/scenes/web-analytics/SessionAttributionExplorer/sessionAttributionExplorer.stories.tsx": {
- "chromium": 9.885,
- "webkit": 3.815
- },
- "frontend/src/scenes/web-analytics/WebAnalyticsDashboard.stories.tsx": {
- "chromium": 43.1,
- "webkit": 11.812
- },
- "frontend/src/scenes/web-analytics/achievements/WebAnalyticsAchievements.stories.tsx": {
- "chromium": 20.147,
- "webkit": 5.566
- },
- "frontend/src/scenes/web-analytics/recap/WebAnalyticsRecapScene.stories.tsx": {
- "chromium": 1.455,
- "webkit": 2.128
- },
- "frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/MarketingAnalyticsCell.stories.tsx": {
- "chromium": 6.568,
- "webkit": 2.926
- },
- "frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/CampaignMapping/CampaignMappingCellActions.stories.tsx": {
- "chromium": 24.994,
- "webkit": 5.035
- },
- "frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.stories.tsx": {
- "chromium": 22.124,
- "webkit": 8.396
- },
- "frontend/src/scenes/web-analytics/tiles/skeletons/WebAnalyticsTileSkeletons.stories.tsx": {
- "chromium": 20.12,
- "webkit": 3.729
- },
- "frontend/src/scenes/welcome/WelcomeDialog.stories.tsx": {
- "chromium": 17.097,
- "webkit": 5.168
- },
- "frontend/src/scenes/welcome/cards/FlagshipProductsCard.stories.tsx": {
- "chromium": 6.023,
- "webkit": 2.506
- },
- "frontend/src/scenes/welcome/cards/InstallProgressCard.stories.tsx": {
- "chromium": 5.448,
- "webkit": 3.626
- },
- "frontend/src/toolbar/Toolbar.stories.tsx": {
- "chromium": 82.436,
- "webkit": 1.726
- },
- "packages/quill/packages/charts/src/charts/BarChart/BarChart.stories.tsx": {
- "chromium": 91.373,
- "webkit": 10.259
- },
- "packages/quill/packages/charts/src/charts/BarList/BarList.stories.tsx": {
- "chromium": 16.847,
- "webkit": 3.81
- },
- "packages/quill/packages/charts/src/charts/BoxPlot/BoxPlot.stories.tsx": {
- "chromium": 22.92,
- "webkit": 3.989
- },
- "packages/quill/packages/charts/src/charts/ComboChart/ComboChart.stories.tsx": {
- "chromium": 31.632,
- "webkit": 4.434
- },
- "packages/quill/packages/charts/src/charts/FunnelChart/FunnelChart.stories.tsx": {
- "chromium": 16.528,
- "webkit": 3.554
- },
- "packages/quill/packages/charts/src/charts/Heatmap/Heatmap.stories.tsx": {
- "chromium": 20.757,
- "webkit": 4.196
- },
- "packages/quill/packages/charts/src/charts/LineChart/LineChart.stories.tsx": {
- "chromium": 71.674,
- "webkit": 9.04
- },
- "packages/quill/packages/charts/src/charts/PieChart/PieChart.stories.tsx": {
- "chromium": 35.164,
- "webkit": 6.17
- },
- "packages/quill/packages/charts/src/charts/ProportionBar/ProportionBar.stories.tsx": {
- "chromium": 16.595,
- "webkit": 3.471
- },
- "packages/quill/packages/charts/src/charts/SankeyChart/SankeyChart.stories.tsx": {
- "chromium": 20.256,
- "webkit": 4.344
- },
- "packages/quill/packages/charts/src/charts/ScatterChart/ScatterChart.stories.tsx": {
- "chromium": 24.155,
- "webkit": 3.992
- },
- "packages/quill/packages/charts/src/charts/SlopeChart/SlopeChart.stories.tsx": {
- "chromium": 31.72,
- "webkit": 4.286
- },
- "packages/quill/packages/charts/src/charts/Sparkline/Sparkline.stories.tsx": {
- "chromium": 31.667,
- "webkit": 4.29
- },
- "packages/quill/packages/charts/src/charts/TimeSeriesBarChart/TimeSeriesBarChart.stories.tsx": {
- "chromium": 35.066,
- "webkit": 5.917
- },
- "packages/quill/packages/charts/src/charts/TimeSeriesComboChart/TimeSeriesComboChart.stories.tsx": {
- "chromium": 20.467,
- "webkit": 4.055
- },
- "packages/quill/packages/charts/src/charts/TimeSeriesLineChart/TimeSeriesLineChart.stories.tsx": {
- "chromium": 46.864,
- "webkit": 7.436
- },
- "packages/quill/packages/charts/src/components/Legend/Legend.stories.tsx": {
- "chromium": 43.96,
- "webkit": 5.995
- },
- "packages/quill/packages/charts/src/components/MetricCard/MetricCard.stories.tsx": {
- "chromium": 23.105,
- "webkit": 4.234
- },
- "packages/quill/packages/charts/src/overlays/DefaultTooltip.stories.tsx": {
- "chromium": 8.898,
- "webkit": 3.269
- },
- "packages/quill/packages/charts/src/overlays/HighlightedRange.stories.tsx": {
- "chromium": 13.978,
- "webkit": 3.689
- },
- "packages/quill/packages/charts/src/overlays/ReferenceLine.stories.tsx": {
- "chromium": 20.467,
- "webkit": 3.63
- },
- "packages/quill/packages/charts/src/overlays/TrendLineOverlay.stories.tsx": {
- "chromium": 8.836,
- "webkit": 3.306
- },
- "packages/quill/packages/charts/src/overlays/ValueLabels.stories.tsx": {
- "chromium": 31.833,
- "webkit": 5.428
- },
- "products/actions/frontend/components/EventHealthWarning.stories.tsx": {
- "chromium": 5.369,
- "webkit": 3.648
- },
- "products/actions/frontend/pages/Action.stories.tsx": {
- "chromium": 34.768,
- "webkit": 8.171
- },
- "products/actions/frontend/utils/actionStepDescription.stories.tsx": {
- "chromium": 9.479,
- "webkit": 2.746
- },
- "products/actions/mcp/apps/Actions.stories.tsx": {
- "chromium": 11.257,
- "webkit": 4.008
- },
- "products/ai_observability/frontend/AIObservabilitySessionsEmptyState.stories.tsx": {
- "chromium": 9.757,
- "webkit": 3.871
- },
- "products/ai_observability/frontend/AIObservabilityTraceScene.stories.tsx": {
- "chromium": 22.674,
- "webkit": 6.292
- },
- "products/ai_observability/frontend/ByokModelPickerNotice.stories.tsx": {
- "chromium": 16.599,
- "webkit": 3.915
- },
- "products/ai_observability/frontend/ConversationDisplay/ConversationDisplay.stories.tsx": {
- "chromium": 36.244,
- "webkit": 6.215
- },
- "products/ai_observability/frontend/ConversationDisplay/RedactedMediaPlaceholder.stories.tsx": {
- "chromium": 13.272,
- "webkit": 4.468
- },
- "products/ai_observability/frontend/clusters/ClusterCard.stories.tsx": {
- "chromium": 16.656,
- "webkit": 3.486
- },
- "products/ai_observability/frontend/clusters/ClusterScatterPlot.stories.tsx": {
- "chromium": 1.254,
- "webkit": 2.382
- },
- "products/ai_observability/frontend/components/AIImage.stories.tsx": {
- "chromium": 9.581,
- "webkit": 2.714
- },
- "products/ai_observability/frontend/components/EvaluationExplanation.stories.tsx": {
- "chromium": 12.75,
- "webkit": 4.592
- },
- "products/ai_observability/frontend/components/EvaluationResultTag.stories.tsx": {
- "chromium": 9.005,
- "webkit": 2.469
- },
- "products/ai_observability/frontend/components/EvaluationRunTimestampCell.stories.tsx": {
- "chromium": 5.795,
- "webkit": 2.812
- },
- "products/ai_observability/frontend/components/SentimentTag.stories.tsx": {
- "chromium": 52.573,
- "webkit": 7.958
- },
- "products/ai_observability/frontend/evaluations/EvaluationTemplates.stories.tsx": {
- "chromium": 10.351,
- "webkit": 10.101
- },
- "products/ai_observability/frontend/evaluations/components/CategoricalEvaluationConfig.stories.tsx": {
- "chromium": 16.932,
- "webkit": 3.705
- },
- "products/ai_observability/frontend/evaluations/components/EvaluationModelPicker.stories.tsx": {
- "chromium": 28.101,
- "webkit": 4.989
- },
- "products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.stories.tsx": {
- "chromium": 9.421,
- "webkit": 3.535
- },
- "products/ai_observability/frontend/evaluations/components/NumericEvaluationConfig.stories.tsx": {
- "chromium": 17.039,
- "webkit": 4.15
- },
- "products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.stories.tsx": {
- "chromium": 19.705,
- "webkit": 4.056
- },
- "products/ai_observability/frontend/offline-evaluations/OfflineExperimentContent.stories.tsx": {
- "chromium": 31.673,
- "webkit": 6.695
- },
- "products/ai_observability/frontend/offline-evaluations/OfflineExperimentsOverview.stories.tsx": {
- "chromium": 63.7,
- "webkit": 12.711
- },
- "products/ai_observability/frontend/offline-evaluations/OfflineResultTag.stories.tsx": {
- "chromium": 31.3,
- "webkit": 4.441
- },
- "products/ai_observability/frontend/offline-evaluations/OfflineScoreSummaryDisplay.stories.tsx": {
- "chromium": 20.227,
- "webkit": 4.144
- },
- "products/ai_observability/frontend/offline-evaluations/OfflineScoreTrendChart.stories.tsx": {
- "chromium": 50.92,
- "webkit": 6.583
- },
- "products/ai_observability/frontend/offline-evaluations/OfflineScorerHistoryScene.stories.tsx": {
- "chromium": 13.847,
- "webkit": 5.153
- },
- "products/ai_observability/frontend/playground/MessageToolCallsEditor.stories.tsx": {
- "chromium": 5.62,
- "webkit": 2.686
- },
- "products/ai_observability/frontend/playground/PlaygroundVariablesPanel.stories.tsx": {
- "chromium": 5.788,
- "webkit": 3.385
- },
- "products/ai_observability/frontend/playground/TemplateVariableTextArea.stories.tsx": {
- "chromium": 9.708,
- "webkit": 2.62
- },
- "products/ai_observability/frontend/playground/ToolCallDisplay.stories.tsx": {
- "chromium": 5.944,
- "webkit": 3.765
- },
- "products/ai_observability/frontend/prompts/CreatePromptExperimentModal.stories.tsx": {
- "chromium": 5.819,
- "webkit": 2.575
- },
- "products/ai_observability/frontend/prompts/LLMPromptsScene.stories.tsx": {
- "chromium": 9.793,
- "webkit": 3.113
- },
- "products/ai_observability/frontend/prompts/PromptReferenceTags.stories.tsx": {
- "chromium": 5.833,
- "webkit": 2.922
- },
- "products/ai_observability/frontend/redesign/trace/components/ErrorCallout.stories.tsx": {
- "chromium": 5.299,
- "webkit": 5.334
- },
- "products/ai_observability/frontend/redesign/trace/components/EvalResultList.stories.tsx": {
- "chromium": 27.631,
- "webkit": 4.603
- },
- "products/ai_observability/frontend/redesign/trace/components/IOPanel.stories.tsx": {
- "chromium": 20.139,
- "webkit": 4.371
- },
- "products/ai_observability/frontend/redesign/trace/components/MessageBlock.stories.tsx": {
- "chromium": 27.525,
- "webkit": 4.561
- },
- "products/ai_observability/frontend/redesign/trace/components/MessageList.stories.tsx": {
- "chromium": 16.524,
- "webkit": 3.113
- },
- "products/ai_observability/frontend/redesign/trace/components/MessagePartView.stories.tsx": {
- "chromium": 42.599,
- "webkit": 5.937
- },
- "products/ai_observability/frontend/redesign/trace/components/NodeDetail.stories.tsx": {
- "chromium": 45.575,
- "webkit": 6.337
- },
- "products/ai_observability/frontend/redesign/trace/components/NodeKindGlyph.stories.tsx": {
- "chromium": 6.544,
- "webkit": 1.99
- },
- "products/ai_observability/frontend/redesign/trace/components/NodePropertyList.stories.tsx": {
- "chromium": 16.834,
- "webkit": 3.716
- },
- "products/ai_observability/frontend/redesign/trace/components/NodeRawTab.stories.tsx": {
- "chromium": 5.635,
- "webkit": 4.501
- },
- "products/ai_observability/frontend/redesign/trace/components/NodeStatChips.stories.tsx": {
- "chromium": 8.963,
- "webkit": 4.31
- },
- "products/ai_observability/frontend/redesign/trace/components/NodeStatsLine.stories.tsx": {
- "chromium": 12.431,
- "webkit": 3.577
- },
- "products/ai_observability/frontend/redesign/trace/components/Thread.stories.tsx": {
- "chromium": 31.51,
- "webkit": 6.298
- },
- "products/ai_observability/frontend/redesign/trace/components/ThreadBubble.stories.tsx": {
- "chromium": 17.068,
- "webkit": 3.76
- },
- "products/ai_observability/frontend/redesign/trace/components/ThreadTurn.stories.tsx": {
- "chromium": 12.786,
- "webkit": 3.323
- },
- "products/ai_observability/frontend/redesign/trace/components/TraceHeader.stories.tsx": {
- "chromium": 13.267,
- "webkit": 4.244
- },
- "products/ai_observability/frontend/redesign/trace/components/TraceModeTabs.stories.tsx": {
- "chromium": 5.12,
- "webkit": 2.109
- },
- "products/ai_observability/frontend/redesign/trace/components/TraceSplitView.stories.tsx": {
- "chromium": 10.559,
- "webkit": 4.006
- },
- "products/ai_observability/frontend/redesign/trace/components/TraceSummaryBar.stories.tsx": {
- "chromium": 20.166,
- "webkit": 3.95
- },
- "products/ai_observability/frontend/redesign/trace/components/TraceTimeline.stories.tsx": {
- "chromium": 27.747,
- "webkit": 4.153
- },
- "products/ai_observability/frontend/redesign/trace/components/TraceTree.stories.tsx": {
- "chromium": 13.017,
- "webkit": 2.786
- },
- "products/ai_observability/frontend/redesign/trace/components/TraceView.stories.tsx": {
- "chromium": 48.053,
- "webkit": 7.33
- },
- "products/ai_observability/frontend/redesign/trace/components/TraceViewSwitch.stories.tsx": {
- "chromium": 9.199,
- "webkit": 4.287
- },
- "products/ai_observability/frontend/scoreDefinitions/AIObservabilityScorerScene.stories.tsx": {
- "chromium": 24.229,
- "webkit": 4.535
- },
- "products/ai_observability/frontend/scoreDefinitions/AIObservabilityScorersScene.stories.tsx": {
- "chromium": 17.875,
- "webkit": 5.595
- },
- "products/ai_observability/frontend/scoreDefinitions/ScoreDefinitionForm.stories.tsx": {
- "chromium": 27.78,
- "webkit": 4.438
- },
- "products/ai_observability/frontend/selfDriving/SelfDrivingSignalSourceToggle.stories.tsx": {
- "chromium": 19.62,
- "webkit": 3.656
- },
- "products/ai_observability/frontend/settings/SystemOneConnectionFields.stories.tsx": {
- "chromium": 12.395,
- "webkit": 3.199
- },
- "products/ai_observability/mcp/apps/AIObservability.stories.tsx": {
- "chromium": 10.078,
- "webkit": 4.462
- },
- "products/alerts/frontend/AlertsScene.stories.tsx": {
- "chromium": 18.747,
- "webkit": 7.083
- },
- "products/alerts/frontend/components/AlertComponents.stories.tsx": {
- "chromium": 52.472,
- "webkit": 7.847
- },
- "products/alerts/frontend/views/AlertHistoryChart.stories.tsx": {
- "chromium": 19.736,
- "webkit": 4.521
- },
- "products/alerts/frontend/views/AlertModal.stories.tsx": {
- "chromium": 18.354,
- "webkit": 7.419
- },
- "products/alerts/frontend/views/ManageAlertsModal.stories.tsx": {
- "chromium": 24.345,
- "webkit": 6.066
- },
- "products/alerts/frontend/views/SimulationSummary.stories.tsx": {
- "chromium": 12.911,
- "webkit": 3.547
- },
- "products/alerts_platform/frontend/PlatformAlerts.stories.tsx": {
- "chromium": 11.078,
- "webkit": 3.617
- },
- "products/annotations/frontend/pages/Annotations.stories.tsx": {
- "chromium": 16.107,
- "webkit": 8.57
- },
- "products/autoresearch/frontend/AutoresearchModelCard.stories.tsx": {
- "chromium": 27.728,
- "webkit": 4.175
- },
- "products/autoresearch/frontend/AutoresearchPipelineScene.stories.tsx": {
- "chromium": 71.029,
- "webkit": 13.747
- },
- "products/autoresearch/frontend/DailyVolumeChart.stories.tsx": {
- "chromium": 9.255,
- "webkit": 2.584
- },
- "products/autoresearch/frontend/ProbabilityHistogram.stories.tsx": {
- "chromium": 12.362,
- "webkit": 3.29
- },
- "products/autoresearch/frontend/pipeline/LifecycleStrip.stories.tsx": {
- "chromium": 17.069,
- "webkit": 3.221
- },
- "products/autoresearch/frontend/pipeline/TrainingRunRow.stories.tsx": {
- "chromium": 16.164,
- "webkit": 3.326
- },
- "products/business_intelligence/frontend/BIChartYearLabels.stories.tsx": {
- "chromium": 12.402,
- "webkit": 4.781
- },
- "products/business_intelligence/frontend/BIComparisonSummary.stories.tsx": {
- "chromium": 12.574,
- "webkit": 3.27
- },
- "products/business_intelligence/frontend/BIPivotTable.stories.tsx": {
- "chromium": 5.758,
- "webkit": 2.876
- },
- "products/business_intelligence/frontend/BIScatterGraph.stories.tsx": {
- "chromium": 14.719,
- "webkit": 6.847
- },
- "products/business_intelligence/frontend/BIWorksheetsScene.stories.tsx": {
- "chromium": 5.96,
- "webkit": 2.584
- },
- "products/business_intelligence/frontend/BusinessIntelligenceScene.stories.tsx": {
- "chromium": 35.683,
- "webkit": 13.822
- },
- "products/business_knowledge/frontend/scenes/playground/BusinessKnowledgePlaygroundScene.stories.tsx": {
- "chromium": 18.983,
- "webkit": 7.202
- },
- "products/business_knowledge/frontend/scenes/source/KnowledgeSourceDetails.stories.tsx": {
- "chromium": 16.399,
- "webkit": 4.531
- },
- "products/business_knowledge/frontend/scenes/sources/KnowledgeSourceNameCell.stories.tsx": {
- "chromium": 12.734,
- "webkit": 4.14
- },
- "products/canvas/frontend/host/CanvasHostPromptDialog.stories.tsx": {
- "chromium": 1.483,
- "webkit": 2.292
- },
- "products/canvas/frontend/scene/CanvasScene.stories.tsx": {
- "chromium": 1.893,
- "webkit": 1.531
- },
- "products/cohorts/mcp/apps/Cohorts.stories.tsx": {
- "chromium": 10.375,
- "webkit": 3.455
- },
- "products/conversations/frontend/components/GroupRevenue/GroupRevenue.stories.tsx": {
- "chromium": 9.32,
- "webkit": 4.754
- },
- "products/conversations/frontend/components/SupportPlaybookEditor/SupportPlaybookEditor.stories.tsx": {
- "chromium": 16.479,
- "webkit": 3.21
- },
- "products/conversations/frontend/components/TrustedRelaySenderSettings/TrustedRelaySenderSettings.stories.tsx": {
- "chromium": 12.771,
- "webkit": 6.699
- },
- "products/conversations/frontend/scenes/ticket/AIPanel.stories.tsx": {
- "chromium": 17.019,
- "webkit": 2.911
- },
- "products/conversations/frontend/scenes/ticket/ThreadReports.stories.tsx": {
- "chromium": 12.304,
- "webkit": 4.334
- },
- "products/customer_analytics/frontend/CustomerAnalyticsScene.stories.tsx": {
- "chromium": 45.165,
- "webkit": 15.874
- },
- "products/customer_analytics/frontend/components/Accounts/AccountSessionReplays.stories.tsx": {
- "chromium": 35.608,
- "webkit": 5.122
- },
- "products/customer_analytics/frontend/components/Accounts/AccountsTab.stories.tsx": {
- "chromium": 114.783,
- "webkit": 63.584
- },
- "products/customer_analytics/frontend/components/CustomerJourneys/CustomerJourneys.stories.tsx": {
- "chromium": 10.952,
- "webkit": 4.389
- },
- "products/customer_analytics/frontend/components/FeatureRequests/FeatureRequestFormModals.stories.tsx": {
- "chromium": 9.661,
- "webkit": 3.859
- },
- "products/customer_analytics/frontend/components/FeatureRequests/FeatureRequestGithubSection.stories.tsx": {
- "chromium": 35.778,
- "webkit": 5.423
- },
- "products/customer_analytics/frontend/components/TaskDigest/CustomerAnalyticsTaskDigest.stories.tsx": {
- "chromium": 41.186,
- "webkit": 5.955
- },
- "products/customer_analytics/frontend/components/UsageMetricCard.stories.tsx": {
- "chromium": 28.26,
- "webkit": 5.221
- },
- "products/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/CustomerAnalyticsAccountScene.stories.tsx": {
- "chromium": 49.883,
- "webkit": 18.018
- },
- "products/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/components/AccountPropertyComponents.stories.tsx": {
- "chromium": 27.859,
- "webkit": 5.086
- },
- "products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/AccountTrackRules.stories.tsx": {
- "chromium": 20.809,
- "webkit": 7.213
- },
- "products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/CustomPropertySyncRuns.stories.tsx": {
- "chromium": 9.515,
- "webkit": 4.518
- },
- "products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/DefaultPinnedAccountProperties.stories.tsx": {
- "chromium": 5.661,
- "webkit": 2.094
- },
- "products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/calendar/CalendarSyncBackfillModal.stories.tsx": {
- "chromium": 8.562,
- "webkit": 2.933
- },
- "products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene.stories.tsx": {
- "chromium": 6.513,
- "webkit": 4.371
- },
- "products/customer_analytics/frontend/scenes/CustomerJourneyTemplatesScene/CustomerJourneyTemplatesScene.stories.tsx": {
- "chromium": 13.026,
- "webkit": 6.156
- },
- "products/customer_analytics/frontend/scenes/WarehousePropertiesScene/WarehousePropertiesScene.stories.tsx": {
- "chromium": 10.719,
- "webkit": 2.938
- },
- "products/dashboards/frontend/DashboardFilters.stories.tsx": {
- "chromium": 10.422,
- "webkit": 3.747
- },
- "products/dashboards/frontend/DashboardStates.stories.tsx": {
- "chromium": 7.248,
- "webkit": 3.83
- },
- "products/dashboards/frontend/DashboardsList.stories.tsx": {
- "chromium": 6.244,
- "webkit": 4.42
- },
- "products/dashboards/frontend/NewDashboardModal.stories.tsx": {
- "chromium": 9.674,
- "webkit": 2.868
- },
- "products/dashboards/frontend/Tiles/DashboardImageTile.stories.tsx": {
- "chromium": 9.664,
- "webkit": 3.121
- },
- "products/dashboards/frontend/Tiles/ImageTileModal.stories.tsx": {
- "chromium": 13.862,
- "webkit": 4.576
- },
- "products/dashboards/frontend/components/AddInsightToDashboardModal/AddInsightToDashboardModal.stories.tsx": {
- "chromium": 14.468,
- "webkit": 8.057
- },
- "products/dashboards/frontend/components/DashboardTemplates/DashboardTemplateCopyScene.stories.tsx": {
- "chromium": 12.829,
- "webkit": 3.244
- },
- "products/dashboards/frontend/components/DashboardTemplates/DashboardTemplateItem.stories.tsx": {
- "chromium": 5.448,
- "webkit": 2.241
- },
- "products/dashboards/frontend/components/DashboardTemplates/DashboardTemplateModal.stories.tsx": {
- "chromium": 12.593,
- "webkit": 3.387
- },
- "products/dashboards/frontend/components/DashboardTemplates/DashboardTemplatesTable.stories.tsx": {
- "chromium": 13.138,
- "webkit": 3.887
- },
- "products/dashboards/frontend/components/WidgetCard/DashboardWidgetsOverview.stories.tsx": {
- "chromium": 7.793,
- "webkit": 3.666
- },
- "products/dashboards/frontend/components/WidgetCard/WidgetCard.stories.tsx": {
- "chromium": 12.675,
- "webkit": 4.542
- },
- "products/dashboards/frontend/widgets/activity/ActivityEventsWidget.stories.tsx": {
- "chromium": 18.283,
- "webkit": 4.722
- },
- "products/dashboards/frontend/widgets/conversations/ConversationsWidget.stories.tsx": {
- "chromium": 21.81,
- "webkit": 4.92
- },
- "products/dashboards/frontend/widgets/conversations/EditConversationsWidgetModal.stories.tsx": {
- "chromium": 5.688,
- "webkit": 3.2
- },
- "products/dashboards/frontend/widgets/error_tracking/EditErrorTrackingWidgetModal.stories.tsx": {
- "chromium": 9.65,
- "webkit": 3.537
- },
- "products/dashboards/frontend/widgets/error_tracking/ErrorTrackingWidget.stories.tsx": {
- "chromium": 21.776,
- "webkit": 4.849
- },
- "products/dashboards/frontend/widgets/experiments/EditExperimentResultsWidgetModal.stories.tsx": {
- "chromium": 6.106,
- "webkit": 2.592
- },
- "products/dashboards/frontend/widgets/experiments/EditExperimentsListWidgetModal.stories.tsx": {
- "chromium": 5.202,
- "webkit": 3.949
- },
- "products/dashboards/frontend/widgets/experiments/ExperimentResultsWidget.stories.tsx": {
- "chromium": 17.187,
- "webkit": 3.98
- },
- "products/dashboards/frontend/widgets/experiments/ExperimentsListWidget.stories.tsx": {
- "chromium": 17.064,
- "webkit": 3.319
- },
- "products/dashboards/frontend/widgets/logs/EditLogsWidgetModal.stories.tsx": {
- "chromium": 5.976,
- "webkit": 2.324
- },
- "products/dashboards/frontend/widgets/logs/LogsWidget.stories.tsx": {
- "chromium": 17.78,
- "webkit": 4.882
- },
- "products/dashboards/frontend/widgets/session_replay/EditSessionReplayWidgetModal.stories.tsx": {
- "chromium": 6.419,
- "webkit": 6.883
- },
- "products/dashboards/frontend/widgets/session_replay/SessionReplayWidget.stories.tsx": {
- "chromium": 21.949,
- "webkit": 4.481
- },
- "products/dashboards/frontend/widgets/surveys/EditSurveyResultsWidgetModal.stories.tsx": {
- "chromium": 5.919,
- "webkit": 4.534
- },
- "products/dashboards/frontend/widgets/surveys/SurveyResultsWidget.stories.tsx": {
- "chromium": 25.647,
- "webkit": 4.267
- },
- "products/data_catalog/frontend/MetricLineagePanel.stories.tsx": {
- "chromium": 27.219,
- "webkit": 4.892
- },
- "products/data_catalog/frontend/components/MetricMarkdownEditor.stories.tsx": {
- "chromium": 8.572,
- "webkit": 3.183
- },
- "products/data_catalog/frontend/components/ResultCell.stories.tsx": {
- "chromium": 10.316,
- "webkit": 3.195
- },
- "products/data_catalog/frontend/tabs/MetricTestsTab.stories.tsx": {
- "chromium": 21.029,
- "webkit": 3.787
- },
- "products/data_modeling/frontend/ModelsOverviewTab.stories.tsx": {
- "chromium": 41.009,
- "webkit": 6.605
- },
- "products/data_modeling/frontend/ViewsTab.stories.tsx": {
- "chromium": 5.741,
- "webkit": 2.545
- },
- "products/data_modeling/frontend/lineage/LineageGraph.stories.tsx": {
- "chromium": 57.951,
- "webkit": 15.283
- },
- "products/data_modeling/frontend/nodeDetail/ModelDownstreamSummary.stories.tsx": {
- "chromium": 16.786,
- "webkit": 8.127
- },
- "products/data_modeling/frontend/nodeDetail/ModelHealthSummary.stories.tsx": {
- "chromium": 34.586,
- "webkit": 7.748
- },
- "products/data_modeling/frontend/nodeDetail/ModelSummaryCard.stories.tsx": {
- "chromium": 9.781,
- "webkit": 2.988
- },
- "products/data_modeling/frontend/nodeDetail/ModelTableSummary.stories.tsx": {
- "chromium": 19.982,
- "webkit": 3.571
- },
- "products/data_modeling/frontend/nodeDetail/ModelViewSummary.stories.tsx": {
- "chromium": 12.883,
- "webkit": 3.943
- },
- "products/data_modeling/frontend/nodeDetail/NodeDetailScene.stories.tsx": {
- "chromium": 37.801,
- "webkit": 9.327
- },
- "products/data_quality/frontend/CheckRunsTable.stories.tsx": {
- "chromium": 5.661,
- "webkit": 2.225
- },
- "products/data_quality/frontend/overview/DataQualityOverview.stories.tsx": {
- "chromium": 17.161,
- "webkit": 4.983
- },
- "products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalogSkeleton.stories.tsx": {
- "chromium": 11.111,
- "webkit": 4.497
- },
- "products/data_warehouse/frontend/scenes/SourceScene/ApiVersionDeprecationBanner.stories.tsx": {
- "chromium": 10.808,
- "webkit": 3.474
- },
- "products/data_warehouse/frontend/scenes/SourceScene/FailingDestinationsBanner.stories.tsx": {
- "chromium": 13.034,
- "webkit": 3.328
- },
- "products/data_warehouse/frontend/scenes/SourceScene/tabs/SchemasTab.stories.tsx": {
- "chromium": 15.359,
- "webkit": 4.755
- },
- "products/data_warehouse/frontend/scenes/WarehouseDestinationsScene/WarehouseDestinationsTable.stories.tsx": {
- "chromium": 20.652,
- "webkit": 3.946
- },
- "products/data_warehouse/frontend/shared/components/DestinationList.stories.tsx": {
- "chromium": 22.989,
- "webkit": 5.669
- },
- "products/data_warehouse/frontend/shared/components/DestinationModal.stories.tsx": {
- "chromium": 25.33,
- "webkit": 6.29
- },
- "products/data_warehouse/frontend/shared/components/JobDestinations.stories.tsx": {
- "chromium": 27.563,
- "webkit": 4.46
- },
- "products/data_warehouse/frontend/shared/components/MaterializationRunError.stories.tsx": {
- "chromium": 9.209,
- "webkit": 3.411
- },
- "products/early_access_features/frontend/EarlyAccessFeatures.stories.tsx": {
- "chromium": 17.403,
- "webkit": 4.874
- },
- "products/endpoints/frontend/nodes/EndpointsUsageTrendsChart.stories.tsx": {
- "chromium": 5.324,
- "webkit": 3.23
- },
- "products/engineering_analytics/frontend/components/DeliveryPipeline.stories.tsx": {
- "chromium": 13.252,
- "webkit": 4.514
- },
- "products/engineering_analytics/frontend/components/LeadTimeBoxPlot.stories.tsx": {
- "chromium": 8.487,
- "webkit": 3.059
- },
- "products/engineering_analytics/frontend/components/RunActivityChart.stories.tsx": {
- "chromium": 5.834,
- "webkit": 2.509
- },
- "products/engineering_analytics/frontend/scenes/CIExplorerScene.stories.tsx": {
- "chromium": 12.332,
- "webkit": 3.753
- },
- "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsAuthorScene.stories.tsx": {
- "chromium": 19.604,
- "webkit": 5.371
- },
- "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsAuthors.stories.tsx": {
- "chromium": 12.827,
- "webkit": 3.279
- },
- "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsDeploys.stories.tsx": {
- "chromium": 24.367,
- "webkit": 5.489
- },
- "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsTeamScene.stories.tsx": {
- "chromium": 20.33,
- "webkit": 4.93
- },
- "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsTeams.stories.tsx": {
- "chromium": 12.083,
- "webkit": 5.941
- },
- "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsTests.stories.tsx": {
- "chromium": 17.501,
- "webkit": 3.362
- },
- "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsWorkflows.stories.tsx": {
- "chromium": 13.951,
- "webkit": 3.257
- },
- "products/engineering_analytics/frontend/scenes/PullRequestDetailScene.stories.tsx": {
- "chromium": 18.719,
- "webkit": 3.728
- },
- "products/engineering_analytics/frontend/scenes/RepoOverviewScene.stories.tsx": {
- "chromium": 17.872,
- "webkit": 4.317
- },
- "products/engineering_analytics/frontend/scenes/WorkflowRunDetailScene.stories.tsx": {
- "chromium": 14.052,
- "webkit": 4.799
- },
- "products/engineering_analytics/frontend/scenes/WorkflowRunsScene.stories.tsx": {
- "chromium": 17.093,
- "webkit": 4.443
- },
- "products/error_tracking/frontend/ErrorTracking.stories.tsx": {
- "chromium": 122.252,
- "webkit": 41.017
- },
- "products/error_tracking/frontend/components/Assignee/AssigneeDisplay.stories.tsx": {
- "chromium": 16.34,
- "webkit": 4.127
- },
- "products/error_tracking/frontend/components/Banners/MissingReleaseIdBanner.stories.tsx": {
- "chromium": 6.344,
- "webkit": 4.604
- },
- "products/error_tracking/frontend/components/Banners/MissingReleaseIdModal.stories.tsx": {
- "chromium": 12.416,
- "webkit": 4.392
- },
- "products/error_tracking/frontend/components/ContextDisplay/ContextDisplay.stories.tsx": {
- "chromium": 13.454,
- "webkit": 4.924
- },
- "products/error_tracking/frontend/components/ContextDisplay/ExceptionPropertiesTable.stories.tsx": {
- "chromium": 9.217,
- "webkit": 2.99
- },
- "products/error_tracking/frontend/components/ExceptionCard/ExceptionCard.stories.tsx": {
- "chromium": 76.877,
- "webkit": 15.762
- },
- "products/error_tracking/frontend/components/ExceptionCard/Tabs/StackTraceTab/StackTraceActions.stories.tsx": {
- "chromium": 5.234,
- "webkit": 2.398
- },
- "products/error_tracking/frontend/components/ExceptionCard/Tabs/StackTraceTab/StackTraceDisplay.stories.tsx": {
- "chromium": 31.775,
- "webkit": 6.665
- },
- "products/error_tracking/frontend/components/VolumeSparkline/VolumeSparkline.stories.tsx": {
- "chromium": 27.155,
- "webkit": 4.908
- },
- "products/error_tracking/frontend/scenes/ErrorTrackingConfigurationScene/rate_limit/RateLimitHistoryChart.stories.tsx": {
- "chromium": 10.62,
- "webkit": 4.032
- },
- "products/error_tracking/frontend/scenes/ErrorTrackingConfigurationScene/rate_limit/RateLimitSimulationChart.stories.tsx": {
- "chromium": 9.625,
- "webkit": 3.197
- },
- "products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/LinkedReports.stories.tsx": {
- "chromium": 16.828,
- "webkit": 4.067
- },
- "products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/insights/InsightsPanels.stories.tsx": {
- "chromium": 34.278,
- "webkit": 5.587
- },
- "products/error_tracking/mcp/apps/ErrorTracking.stories.tsx": {
- "chromium": 20.696,
- "webkit": 5.605
- },
- "products/experiments/frontend/setupInspector/SetupInspector.stories.tsx": {
- "chromium": 19.987,
- "webkit": 16.197
- },
- "products/experiments/mcp/apps/Experiments.stories.tsx": {
- "chromium": 17.795,
- "webkit": 4.859
- },
- "products/feature_flags/frontend/FeatureFlagReleaseConditionsChange.stories.tsx": {
- "chromium": 9.704,
- "webkit": 3.508
- },
- "products/feature_flags/frontend/requestUsage/RequestUsageSummaryCard.stories.tsx": {
- "chromium": 5.499,
- "webkit": 3.761
- },
- "products/feature_flags/mcp/apps/FeatureFlags.stories.tsx": {
- "chromium": 15.714,
- "webkit": 4.6
- },
- "products/games/frontend/ShipIt/ShipIt.stories.tsx": {
- "chromium": 9.15,
- "webkit": 3.448
- },
- "products/groups/frontend/pages/Groups.stories.tsx": {
- "chromium": 7.093,
- "webkit": 5.109
- },
- "products/growth/frontend/IdentityMatchingScene.stories.tsx": {
- "chromium": 25.93,
- "webkit": 5.905
- },
- "products/growth/frontend/aiEnrichment/EnrichmentScoring.stories.tsx": {
- "chromium": 18.245,
- "webkit": 6.112
- },
- "products/legal_documents/frontend/scenes/LegalDocuments.stories.tsx": {
- "chromium": 43.569,
- "webkit": 13.448
- },
- "products/logs/frontend/LogsScene.stories.tsx": {
- "chromium": 3.963,
- "webkit": 2.285
- },
- "products/logs/frontend/agentTools/LogsQueryToolWidget.stories.tsx": {
- "chromium": 9.99,
- "webkit": 2.785
- },
- "products/logs/frontend/components/AnomalyBandChart.stories.tsx": {
- "chromium": 6.535,
- "webkit": 3.288
- },
- "products/logs/frontend/components/LogsFilterPreview/LogsFilterVolumeSparkline.stories.tsx": {
- "chromium": 10.616,
- "webkit": 3.218
- },
- "products/logs/frontend/components/LogsRetention/LogsRetentionPeriodPicker.stories.tsx": {
- "chromium": 23.122,
- "webkit": 4.089
- },
- "products/logs/frontend/components/LogsViewer/Filters/LogsNaturalLanguageSearch/LogsNaturalLanguageCandidates.stories.tsx": {
- "chromium": 9.445,
- "webkit": 2.629
- },
- "products/logs/frontend/components/LogsViewer/LogsImpactCounts.stories.tsx": {
- "chromium": 16.915,
- "webkit": 3.968
- },
- "products/logs/frontend/components/LogsViewer/LogsViewerSparkline/LogsViewerSparkline.stories.tsx": {
- "chromium": 17.15,
- "webkit": 3.619
- },
- "products/logs/frontend/components/VirtualizedLogsList/cells/SessionErrorsBadge.stories.tsx": {
- "chromium": 9.501,
- "webkit": 3.147
- },
- "products/marketing_analytics/frontend/ConversionRecordingsModal.stories.tsx": {
- "chromium": 49.964,
- "webkit": 9.709
- },
- "products/marketing_analytics/frontend/MarketingAnalyticsTableScroll.stories.tsx": {
- "chromium": 5.383,
- "webkit": 3.118
- },
- "products/marketing_analytics/frontend/components/AddIntegrationButton.stories.tsx": {
- "chromium": 19.37,
- "webkit": 5.849
- },
- "products/marketing_analytics/frontend/dashboard/CustomerAcquisitionCards.stories.tsx": {
- "chromium": 24.597,
- "webkit": 5.496
- },
- "products/marketing_analytics/frontend/dashboard/MarketingAnalyticsSourceStatusBanner.stories.tsx": {
- "chromium": 10.456,
- "webkit": 3.863
- },
- "products/marketing_analytics/frontend/dashboard/MarketingQueryError.stories.tsx": {
- "chromium": 13.033,
- "webkit": 7.1
- },
- "products/marketing_analytics/frontend/dashboard/MarketingQueryFailures.stories.tsx": {
- "chromium": 17.7,
- "webkit": 5.41
- },
- "products/marketing_analytics/frontend/dashboard/SourceOnboarding.stories.tsx": {
- "chromium": 79.484,
- "webkit": 24.084
- },
- "products/marketing_analytics/frontend/dashboard/SourceSetupPanel.stories.tsx": {
- "chromium": 55.718,
- "webkit": 8.409
- },
- "products/marketing_analytics/frontend/dashboard/askAi/AskPostHogAi.stories.tsx": {
- "chromium": 28.742,
- "webkit": 5.092
- },
- "products/marketing_analytics/frontend/dashboard/cards/MarketingMetricCard.stories.tsx": {
- "chromium": 17.752,
- "webkit": 3.785
- },
- "products/marketing_analytics/frontend/dashboard/charts/MetricChart.stories.tsx": {
- "chromium": 33.302,
- "webkit": 6.162
- },
- "products/marketing_analytics/frontend/dashboard/header/MarketingSectionSwitcher.stories.tsx": {
- "chromium": 9.988,
- "webkit": 3.136
- },
- "products/marketing_analytics/frontend/dashboard/tables/ChangeValueCell.stories.tsx": {
- "chromium": 38.181,
- "webkit": 6.13
- },
- "products/marketing_analytics/frontend/dashboard/tables/MarketingBreakdownTable.stories.tsx": {
- "chromium": 28.037,
- "webkit": 6.232
- },
- "products/marketing_analytics/frontend/retention/RetentionReturnTable.stories.tsx": {
- "chromium": 21.578,
- "webkit": 7.139
- },
- "products/marketing_analytics/frontend/search/SearchPerformanceTab.stories.tsx": {
- "chromium": 169.987,
- "webkit": 60.586
- },
- "products/mcp_analytics/frontend/MCPAnalyticsDashboard.stories.tsx": {
- "chromium": 70.305,
- "webkit": 16.148
- },
- "products/mcp_analytics/frontend/MCPAnalyticsToolDetail.stories.tsx": {
- "chromium": 15.392,
- "webkit": 2.133
- },
- "products/mcp_analytics/frontend/clustering/RoutingBar.stories.tsx": {
- "chromium": 5.631,
- "webkit": 2.616
- },
- "products/mcp_analytics/frontend/components/BrandMark.stories.tsx": {
- "chromium": 6.568,
- "webkit": 2.484
- },
- "products/mcp_analytics/frontend/components/McpSharedFilters.stories.tsx": {
- "chromium": 13.408,
- "webkit": 3.738
- },
- "products/mcp_analytics/frontend/dashboard/DashboardCards.stories.tsx": {
- "chromium": 94.707,
- "webkit": 15.323
- },
- "products/mcp_analytics/frontend/feedback/MCPAnalyticsFeedbackPrompt.stories.tsx": {
- "chromium": 30.153,
- "webkit": 4.793
- },
- "products/mcp_analytics/frontend/missingCapabilities/MissingCapabilitiesPreview.stories.tsx": {
- "chromium": 5.451,
- "webkit": 2.581
- },
- "products/mcp_analytics/frontend/notifications/NotificationTypesTable.stories.tsx": {
- "chromium": 16.955,
- "webkit": 4.486
- },
- "products/mcp_analytics/frontend/nudge/MCPAnalyticsNudgeToast.stories.tsx": {
- "chromium": 6.008,
- "webkit": 2.355
- },
- "products/mcp_analytics/frontend/tool-quality/ToolQualityCharts.stories.tsx": {
- "chromium": 9.676,
- "webkit": 3.325
- },
- "products/mcp_store/frontend/OAuthRedirectUri.stories.tsx": {
- "chromium": 5.515,
- "webkit": 3.601
- },
- "products/mcp_store/frontend/gateway/GatewayConnectionModal.stories.tsx": {
- "chromium": 15.41,
- "webkit": 4.753
- },
- "products/mcp_store/frontend/gateway/GatewayServerScene.stories.tsx": {
- "chromium": 6.865,
- "webkit": 2.01
- },
- "products/metrics/frontend/components/MetricsGroupByButton.stories.tsx": {
- "chromium": 6.081,
- "webkit": 3.884
- },
- "products/metrics/frontend/dashboardImport/MetricsDashboardImportModal.stories.tsx": {
- "chromium": 12.879,
- "webkit": 2.653
- },
- "products/metrics/frontend/suggestedDashboards/SuggestedDashboardsMenu.stories.tsx": {
- "chromium": 5.547,
- "webkit": 3.075
- },
- "products/ml_inference/frontend/DecisionPlayground.stories.tsx": {
- "chromium": 7.431,
- "webkit": 3.661
- },
- "products/notebooks/frontend/NotebookBtw.stories.tsx": {
- "chromium": 12.082,
- "webkit": 5.928
- },
- "products/notebooks/frontend/NotebookDashboardWidget/NotebookDashboardWidget.stories.tsx": {
- "chromium": 35.942,
- "webkit": 7.943
- },
- "products/notebooks/frontend/NotebookNodeGeneratedWidget/NotebookNodeGeneratedWidget.stories.tsx": {
- "chromium": 21.545,
- "webkit": 14.014
- },
- "products/notebooks/frontend/NotebookNodeGeneratedWidget/NotebookWidgetGenerationCost.stories.tsx": {
- "chromium": 12.998,
- "webkit": 5.978
- },
- "products/notebooks/frontend/NotebookNodeGeneratedWidget/NotebookWidgetTrustControls.stories.tsx": {
- "chromium": 16.408,
- "webkit": 3.357
- },
- "products/notebooks/frontend/ReusableWidget/ReusableWidgetDemoDataModal.stories.tsx": {
- "chromium": 13.342,
- "webkit": 4.726
- },
- "products/persons/frontend/components/PersonSearchMatchTags.stories.tsx": {
- "chromium": 5.918,
- "webkit": 3.768
- },
- "products/persons/frontend/pages/PersonScene.stories.tsx": {
- "chromium": 24.318,
- "webkit": 9.367
- },
- "products/posthog_ai/frontend/components/DebugLogsMenu.stories.tsx": {
- "chromium": 13.766,
- "webkit": 2.914
- },
- "products/posthog_ai/frontend/components/OptionSelector.stories.tsx": {
- "chromium": 16.853,
- "webkit": 3.426
- },
- "products/posthog_ai/frontend/components/PermissionInput.stories.tsx": {
- "chromium": 13.956,
- "webkit": 3.493
- },
- "products/posthog_ai/frontend/components/QueuedMessageList.stories.tsx": {
- "chromium": 19.811,
- "webkit": 5.891
- },
- "products/posthog_ai/frontend/components/RunAlertActivity.stories.tsx": {
- "chromium": 16.304,
- "webkit": 3.385
- },
- "products/posthog_ai/frontend/components/ThreadActivityGroup.stories.tsx": {
- "chromium": 19.589,
- "webkit": 4.296
- },
- "products/posthog_ai/frontend/components/ThreadView.stories.tsx": {
- "chromium": 31.485,
- "webkit": 8.866
- },
- "products/posthog_ai/frontend/components/TurnSuggestionCard.stories.tsx": {
- "chromium": 32.31,
- "webkit": 9.384
- },
- "products/posthog_ai/frontend/components/VirtualizedThread.stories.tsx": {
- "chromium": 39.881,
- "webkit": 6.397
- },
- "products/posthog_ai/frontend/components/composer/Composer.stories.tsx": {
- "chromium": 35.45,
- "webkit": 5.565
- },
- "products/posthog_ai/frontend/components/composer/ComposerAttachment.stories.tsx": {
- "chromium": 16.321,
- "webkit": 3.731
- },
- "products/posthog_ai/frontend/components/navigation/TaskAssigneeFilterMenu.stories.tsx": {
- "chromium": 9.364,
- "webkit": 2.574
- },
- "products/posthog_ai/frontend/components/onboarding/OnboardingTakeover.stories.tsx": {
- "chromium": 16.923,
- "webkit": 4.354
- },
- "products/posthog_ai/frontend/components/quill/QuillThread.stories.tsx": {
- "chromium": 16.491,
- "webkit": 3.097
- },
- "products/posthog_ai/frontend/messages/MarkdownMessage.stories.tsx": {
- "chromium": 10.154,
- "webkit": 3.451
- },
- "products/posthog_ai/frontend/scenes/TaskTracker/TaskRunArtifacts.stories.tsx": {
- "chromium": 3.97,
- "webkit": 3.729
- },
- "products/posthog_ai/frontend/scenes/TaskTracker/TaskTracker.stories.tsx": {
- "chromium": 85.512,
- "webkit": 22.523
- },
- "products/posthog_ai/frontend/scenes/TaskTracker/components/StartupRunChat.stories.tsx": {
- "chromium": 18.958,
- "webkit": 5.987
- },
- "products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalChart.stories.tsx": {
- "chromium": 27.061,
- "webkit": 6.377
- },
- "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/BuilderPathFlowNode.stories.tsx": {
- "chromium": 15.124,
- "webkit": 4.272
- },
- "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/BuilderStepNode.stories.tsx": {
- "chromium": 20.617,
- "webkit": 4.843
- },
- "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/FunnelFlowGraph.stories.tsx": {
- "chromium": 22.82,
- "webkit": 6.942
- },
- "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/JourneyFlowNode.stories.tsx": {
- "chromium": 27.893,
- "webkit": 5.996
- },
- "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/PathFlowNode.stories.tsx": {
- "chromium": 28.275,
- "webkit": 4.767
- },
- "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/ProfileFlowNode.stories.tsx": {
- "chromium": 24.497,
- "webkit": 7.109
- },
- "products/product_analytics/frontend/insights/funnels/FunnelHistogramChart/FunnelHistogramChart.stories.tsx": {
- "chromium": 20.872,
- "webkit": 4.933
- },
- "products/product_analytics/frontend/insights/funnels/FunnelLineChart/FunnelLineChart.stories.tsx": {
- "chromium": 27.974,
- "webkit": 5.355
- },
- "products/product_analytics/frontend/insights/funnels/FunnelStepsBarChart/FunnelStepsBarChart.stories.tsx": {
- "chromium": 62.052,
- "webkit": 20.738
- },
- "products/product_analytics/frontend/insights/funnels/FunnelTimeToConvertTable/FunnelTimeToConvertTable.stories.tsx": {
- "chromium": 7.261,
- "webkit": 4.492
- },
- "products/product_analytics/frontend/insights/funnels/FunnelTrendsTable/FunnelTrendsTable.stories.tsx": {
- "chromium": 15.6,
- "webkit": 4.553
- },
- "products/product_analytics/frontend/insights/home/HomeDashboardStarterModal.stories.tsx": {
- "chromium": 19.557,
- "webkit": 6.4
- },
- "products/product_analytics/frontend/insights/home/HomeTabChartCard.stories.tsx": {
- "chromium": 6.76,
- "webkit": 4.454
- },
- "products/product_analytics/frontend/insights/home/HomeTabDefault.stories.tsx": {
- "chromium": 24.874,
- "webkit": 7.975
- },
- "products/product_analytics/frontend/insights/home/InsightHomeGuide.stories.tsx": {
- "chromium": 20.691,
- "webkit": 4.472
- },
- "products/product_analytics/frontend/insights/insightQuickStart/InsightQuickStart.stories.tsx": {
- "chromium": 6.829,
- "webkit": 3.108
- },
- "products/product_analytics/frontend/insights/insightScene/sidePanel/InsightPanelActions.stories.tsx": {
- "chromium": 31.165,
- "webkit": 9.639
- },
- "products/product_analytics/frontend/insights/journeys/JourneyGrid.stories.tsx": {
- "chromium": 9.108,
- "webkit": 3.344
- },
- "products/product_analytics/frontend/insights/newInsightMenu/NewInsightMenu.stories.tsx": {
- "chromium": 6.222,
- "webkit": 4.391
- },
- "products/product_analytics/frontend/insights/paths/Paths.stories.tsx": {
- "chromium": 20.402,
- "webkit": 12.025
- },
- "products/product_analytics/frontend/insights/retention/RetentionBarChart/RetentionBarChart.stories.tsx": {
- "chromium": 12.371,
- "webkit": 3.824
- },
- "products/product_analytics/frontend/insights/retention/RetentionLineChart/RetentionLineChart.stories.tsx": {
- "chromium": 17.072,
- "webkit": 4.434
- },
- "products/product_analytics/frontend/insights/savedInsights/SavedInsights.stories.tsx": {
- "chromium": 51.259,
- "webkit": 13.843
- },
- "products/product_analytics/frontend/insights/shared/BoldNumber/BoldNumber.stories.tsx": {
- "chromium": 14.922,
- "webkit": 5.622
- },
- "products/product_analytics/frontend/insights/shared/BoldNumber/Textfit.stories.tsx": {
- "chromium": 6.283,
- "webkit": 2.844
- },
- "products/product_analytics/frontend/insights/shared/InsightSeriesTooltip.stories.tsx": {
- "chromium": 23.209,
- "webkit": 5.124
- },
- "products/product_analytics/frontend/insights/shared/InsightTooltip/InsightTooltip.stories.tsx": {
- "chromium": 24.158,
- "webkit": 4.625
- },
- "products/product_analytics/frontend/insights/shared/InsightsTable/InsightsTable.stories.tsx": {
- "chromium": 32.708,
- "webkit": 7.473
- },
- "products/product_analytics/frontend/insights/stickiness/StickinessBarChart/StickinessBarChart.stories.tsx": {
- "chromium": 11.959,
- "webkit": 3.551
- },
- "products/product_analytics/frontend/insights/stickiness/StickinessLineChart/StickinessLineChart.stories.tsx": {
- "chromium": 12.639,
- "webkit": 3.375
- },
- "products/product_analytics/frontend/insights/trends/BoxPlot/BoxPlot.stories.tsx": {
- "chromium": 8.634,
- "webkit": 4.729
- },
- "products/product_analytics/frontend/insights/trends/Metric/Metric.stories.tsx": {
- "chromium": 12.358,
- "webkit": 4.907
- },
- "products/product_analytics/frontend/insights/trends/RegionMap/RegionMap.stories.tsx": {
- "chromium": 8.467,
- "webkit": 3.809
- },
- "products/product_analytics/frontend/insights/trends/TrendsBarChart/TrendsBarChart.stories.tsx": {
- "chromium": 50.959,
- "webkit": 9.542
- },
- "products/product_analytics/frontend/insights/trends/TrendsLifecycleChart/TrendsLifecycleChart.stories.tsx": {
- "chromium": 30.896,
- "webkit": 6.696
- },
- "products/product_analytics/frontend/insights/trends/TrendsLineChart/TrendsLineChart.stories.tsx": {
- "chromium": 30.723,
- "webkit": 6.653
- },
- "products/product_analytics/frontend/insights/trends/TrendsPieChart/TrendsPieChart.stories.tsx": {
- "chromium": 26.73,
- "webkit": 4.94
- },
- "products/product_analytics/frontend/insights/trends/TrendsProportionBar/TrendsProportionBar.stories.tsx": {
- "chromium": 7.789,
- "webkit": 4.387
- },
- "products/product_analytics/frontend/insights/trends/TrendsSlopeChart/TrendsSlopeChart.stories.tsx": {
- "chromium": 14.94,
- "webkit": 4.892
- },
- "products/product_analytics/frontend/insights/trends/WorldMap/WorldMap.stories.tsx": {
- "chromium": 8.447,
- "webkit": 2.905
- },
- "products/product_analytics/mcp/apps/InsightActorsView.stories.tsx": {
- "chromium": 9.167,
- "webkit": 3.04
- },
- "products/product_analytics/mcp/apps/RetentionActorsView.stories.tsx": {
- "chromium": 4.128,
- "webkit": 2.698
- },
- "products/replay_vision/frontend/components/CitedMarkdown.stories.tsx": {
- "chromium": 13.185,
- "webkit": 2.778
- },
- "products/replay_vision/frontend/components/ObservationThumbnail.stories.tsx": {
- "chromium": 18.0,
- "webkit": 2.946
- },
- "products/replay_vision/frontend/components/PlayerSidebarObservationsTab.stories.tsx": {
- "chromium": 40.728,
- "webkit": 13.429
- },
- "products/replay_vision/frontend/components/RecordingExpiredTag.stories.tsx": {
- "chromium": 9.323,
- "webkit": 3.767
- },
- "products/replay_vision/frontend/components/RecordingTimeline.stories.tsx": {
- "chromium": 34.443,
- "webkit": 5.464
- },
- "products/replay_vision/frontend/posthogAi/ReplayVisionScanWidget.stories.tsx": {
- "chromium": 12.78,
- "webkit": 2.774
- },
- "products/replay_vision/frontend/replay_scanners/ReplayScannersScene.stories.tsx": {
- "chromium": 347.225,
- "webkit": 104.956
- },
- "products/replay_vision/frontend/replay_scanners/components/ScannerTriggersSettingsDialog.stories.tsx": {
- "chromium": 10.888,
- "webkit": 4.725
- },
- "products/replay_vision/frontend/replay_scanners/components/SpendTrajectoryChart.stories.tsx": {
- "chromium": 20.984,
- "webkit": 3.763
- },
- "products/replay_vision/frontend/replay_scanners/components/WatchFeedEmptyState.stories.tsx": {
- "chromium": 23.811,
- "webkit": 5.359
- },
- "products/replay_vision/mcp/apps/ReplayVision.stories.tsx": {
- "chromium": 12.613,
- "webkit": 3.943
- },
- "products/revenue_analytics/frontend/settings/EventConfigurationModal.stories.tsx": {
- "chromium": 5.523,
- "webkit": 3.29
- },
- "products/revenue_analytics/frontend/settings/RevenueAnalyticsSettings.stories.tsx": {
- "chromium": 8.317,
- "webkit": 2.22
- },
- "products/review_hog/frontend/CodeReviewScene.stories.tsx": {
- "chromium": 49.458,
- "webkit": 21.243
- },
- "products/signals/frontend/inbox/InboxScene.stories.tsx": {
- "chromium": 87.372,
- "webkit": 23.321
- },
- "products/signals/frontend/inbox/components/badges/InboxBadges.stories.tsx": {
- "chromium": 5.4,
- "webkit": 3.156
- },
- "products/signals/frontend/inbox/components/cards/InboxCards.stories.tsx": {
- "chromium": 27.217,
- "webkit": 5.292
- },
- "products/signals/frontend/inbox/components/config/AgentSteeringSection.stories.tsx": {
- "chromium": 9.24,
- "webkit": 4.861
- },
- "products/signals/frontend/inbox/components/config/LinearTeamsModal.stories.tsx": {
- "chromium": 9.106,
- "webkit": 5.472
- },
- "products/signals/frontend/inbox/components/config/RepoRoutingRules.stories.tsx": {
- "chromium": 17.38,
- "webkit": 3.407
- },
- "products/signals/frontend/inbox/components/config/SelfDrivingSection.stories.tsx": {
- "chromium": 63.557,
- "webkit": 10.026
- },
- "products/signals/frontend/inbox/components/config/SignalSourcesPanel.stories.tsx": {
- "chromium": 41.939,
- "webkit": 8.095
- },
- "products/signals/frontend/inbox/components/config/SlackNotificationsSection.stories.tsx": {
- "chromium": 24.376,
- "webkit": 4.408
- },
- "products/signals/frontend/inbox/components/config/SourceSteeringModal.stories.tsx": {
- "chromium": 13.174,
- "webkit": 3.615
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutConfigControls.stories.tsx": {
- "chromium": 27.377,
- "webkit": 5.469
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutDetailView.stories.tsx": {
- "chromium": 26.499,
- "webkit": 5.098
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutMcpServersPicker.stories.tsx": {
- "chromium": 9.32,
- "webkit": 2.767
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutNewButton.stories.tsx": {
- "chromium": 25.679,
- "webkit": 6.264
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutOwners.stories.tsx": {
- "chromium": 5.752,
- "webkit": 2.151
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutRepositoriesPicker.stories.tsx": {
- "chromium": 13.136,
- "webkit": 2.776
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutRubricReference.stories.tsx": {
- "chromium": 9.156,
- "webkit": 3.067
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutRubricsModal.stories.tsx": {
- "chromium": 46.173,
- "webkit": 17.084
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutSuggestionsStrip.stories.tsx": {
- "chromium": 53.902,
- "webkit": 8.178
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutTags.stories.tsx": {
- "chromium": 25.579,
- "webkit": 4.48
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutToolsPicker.stories.tsx": {
- "chromium": 9.282,
- "webkit": 3.414
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutWriteAccessTag.stories.tsx": {
- "chromium": 16.577,
- "webkit": 2.726
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutWriteScopesPicker.stories.tsx": {
- "chromium": 23.499,
- "webkit": 4.185
- },
- "products/signals/frontend/inbox/components/config/scouts/ScoutsRoster.stories.tsx": {
- "chromium": 29.71,
- "webkit": 5.626
- },
- "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialComparisonReport.stories.tsx": {
- "chromium": 37.119,
- "webkit": 6.036
- },
- "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialJudgment.stories.tsx": {
- "chromium": 28.322,
- "webkit": 4.735
- },
- "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialRunDrawer.stories.tsx": {
- "chromium": 19.808,
- "webkit": 6.226
- },
- "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialSetup.stories.tsx": {
- "chromium": 26.309,
- "webkit": 4.602
- },
- "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrials.stories.tsx": {
- "chromium": 12.008,
- "webkit": 5.043
- },
- "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialsView.stories.tsx": {
- "chromium": 77.96,
- "webkit": 10.302
- },
- "products/signals/frontend/inbox/components/detail/ArtefactLogList.stories.tsx": {
- "chromium": 36.765,
- "webkit": 6.441
- },
- "products/signals/frontend/inbox/components/detail/ArtefactPullRequest.stories.tsx": {
- "chromium": 12.984,
- "webkit": 3.686
- },
- "products/signals/frontend/inbox/components/detail/DiscussReportButton.stories.tsx": {
- "chromium": 15.304,
- "webkit": 7.273
- },
- "products/signals/frontend/inbox/components/detail/ImplementButton.stories.tsx": {
- "chromium": 8.995,
- "webkit": 3.116
- },
- "products/signals/frontend/inbox/components/detail/InboxDetail.stories.tsx": {
- "chromium": 70.884,
- "webkit": 24.457
- },
- "products/signals/frontend/inbox/components/detail/PullRequestDiffView.stories.tsx": {
- "chromium": 17.109,
- "webkit": 6.048
- },
- "products/signals/frontend/inbox/components/detail/ReportCheckRow.stories.tsx": {
- "chromium": 13.157,
- "webkit": 3.843
- },
- "products/signals/frontend/inbox/components/detail/ReportExpectedImpact.stories.tsx": {
- "chromium": 45.532,
- "webkit": 7.866
- },
- "products/signals/frontend/inbox/components/detail/ReportFeedbackCelebration.stories.tsx": {
- "chromium": 9.46,
- "webkit": 3.054
- },
- "products/signals/frontend/inbox/components/detail/ReportMetrics.stories.tsx": {
- "chromium": 24.628,
- "webkit": 4.969
- },
- "products/signals/frontend/inbox/components/detail/ReportSourceSuggestion.stories.tsx": {
- "chromium": 5.031,
- "webkit": 2.715
- },
- "products/signals/frontend/inbox/components/detail/ReportTaskRow.stories.tsx": {
- "chromium": 9.569,
- "webkit": 2.541
- },
- "products/signals/frontend/inbox/components/detail/SuggestedReviewersSection.stories.tsx": {
- "chromium": 43.097,
- "webkit": 6.476
- },
- "products/signals/frontend/inbox/components/onboarding/InboxSetupFlow.stories.tsx": {
- "chromium": 65.002,
- "webkit": 11.112
- },
- "products/signals/frontend/inbox/components/onboarding/SelfDrivingIntroModal.stories.tsx": {
- "chromium": 5.888,
- "webkit": 2.467
- },
- "products/signals/frontend/inbox/components/scratchpad/ScratchpadPanel.stories.tsx": {
- "chromium": 28.647,
- "webkit": 4.81
- },
- "products/signals/frontend/inbox/components/shell/HotkeyRadio.stories.tsx": {
- "chromium": 6.041,
- "webkit": 2.352
- },
- "products/signals/frontend/inbox/components/shell/InboxUsageWidget.stories.tsx": {
- "chromium": 27.635,
- "webkit": 5.352
- },
- "products/signals/frontend/inbox/components/shell/InboxValueSummary.stories.tsx": {
- "chromium": 27.047,
- "webkit": 4.312
- },
- "products/signals/frontend/inbox/components/signalCards/SignalCards.stories.tsx": {
- "chromium": 29.107,
- "webkit": 6.051
- },
- "products/signals/frontend/inbox/components/tabs/InboxTabs.stories.tsx": {
- "chromium": 33.262,
- "webkit": 6.071
- },
- "products/skills/frontend/LLMSkillScene.stories.tsx": {
- "chromium": 17.576,
- "webkit": 4.521
- },
- "products/stamphog/frontend/scenes/StamphogDigestsScene/StamphogDigestsScene.stories.tsx": {
- "chromium": 14.725,
- "webkit": 5.489
- },
- "products/stamphog/frontend/scenes/StamphogRunsScene/StamphogRunsScene.stories.tsx": {
- "chromium": 9.981,
- "webkit": 3.73
- },
- "products/stamphog/frontend/scenes/StamphogScene/StamphogScene.stories.tsx": {
- "chromium": 30.941,
- "webkit": 9.328
- },
- "products/subscriptions/frontend/components/SubscriptionSummaries/SubscriptionSummaries.stories.tsx": {
- "chromium": 5.815,
- "webkit": 2.769
- },
- "products/subscriptions/frontend/components/Subscriptions/SubscriptionsModal.stories.tsx": {
- "chromium": 21.438,
- "webkit": 5.157
- },
- "products/subscriptions/frontend/scenes/components/NewSubscriptionTarget.stories.tsx": {
- "chromium": 9.702,
- "webkit": 3.626
- },
- "products/subscriptions/frontend/scenes/components/SubscriptionDeliveryHistory.stories.tsx": {
- "chromium": 17.052,
- "webkit": 3.538
- },
- "products/subscriptions/frontend/scenes/components/SubscriptionsTable.stories.tsx": {
- "chromium": 10.511,
- "webkit": 2.981
- },
- "products/surveys/frontend/SurveyStatsSummary.stories.tsx": {
- "chromium": 17.237,
- "webkit": 4.833
- },
- "products/surveys/frontend/components/StackedBar.stories.tsx": {
- "chromium": 14.212,
- "webkit": 3.372
- },
- "products/surveys/frontend/components/SurveyResponseBreakdown.stories.tsx": {
- "chromium": 19.433,
- "webkit": 3.947
- },
- "products/surveys/mcp/apps/Surveys.stories.tsx": {
- "chromium": 13.112,
- "webkit": 5.226
- },
- "products/tasks/frontend/components/TaskConnectorsPicker/CyclotronJobInputTaskConnectors.stories.tsx": {
- "chromium": 17.042,
- "webkit": 3.608
- },
- "products/tasks/frontend/infrastructure/ReleasePipeline.stories.tsx": {
- "chromium": 31.194,
- "webkit": 5.631
- },
- "products/tasks/frontend/spaces/SpaceFeedCard.stories.tsx": {
- "chromium": 1.745,
- "webkit": 2.512
- },
- "products/tracing/frontend/OperationsTable.stories.tsx": {
- "chromium": 16.023,
- "webkit": 3.807
- },
- "products/tracing/frontend/components/TraceDrawer/TraceAiEventsCapNotice.stories.tsx": {
- "chromium": 6.459,
- "webkit": 2.404
- },
- "products/tracing/frontend/components/TracingImpactCounts.stories.tsx": {
- "chromium": 16.617,
- "webkit": 3.719
- },
- "products/tracing/frontend/components/VirtualizedSpanList/SpanColumnConfigurator.stories.tsx": {
- "chromium": 9.901,
- "webkit": 2.815
- },
- "products/tracing/frontend/components/VirtualizedSpanList/SpanErrorsBadge.stories.tsx": {
- "chromium": 21.128,
- "webkit": 5.967
- },
- "products/tracing/frontend/components/VirtualizedSpanList/VirtualizedSpanList.stories.tsx": {
- "chromium": 24.334,
- "webkit": 4.613
- },
- "products/visual_review/frontend/scenes/VisualReviewFlakinessScene.stories.tsx": {
- "chromium": 14.451,
- "webkit": 4.317
- },
- "products/visual_review/frontend/scenes/VisualReviewRunScene.stories.tsx": {
- "chromium": 35.865,
- "webkit": 11.849
- },
- "products/warehouse_sources/frontend/components/SourceDestinationsBanner.stories.tsx": {
- "chromium": 8.751,
- "webkit": 3.587
- },
- "products/warehouse_sources/frontend/scenes/PipelineOverviewScene/PipelineOverviewScene.stories.tsx": {
- "chromium": 10.664,
- "webkit": 4.851
- },
- "products/web_analytics/frontend/agent_analytics/AgentAnalytics.stories.tsx": {
- "chromium": 35.399,
- "webkit": 11.46
- },
- "products/web_analytics/frontend/contentAutopilot/ContentAutopilot.stories.tsx": {
- "chromium": 35.705,
- "webkit": 6.185
- },
- "products/web_analytics/frontend/contentAutopilot/ContentAutopilotBriefPanel.stories.tsx": {
- "chromium": 9.466,
- "webkit": 3.527
- },
- "products/web_analytics/frontend/contentAutopilot/ContentAutopilotSourceLedger.stories.tsx": {
- "chromium": 5.152,
- "webkit": 4.064
- },
- "products/web_analytics/frontend/contentAutopilot/ContentAutopilotValidationSummary.stories.tsx": {
- "chromium": 13.04,
- "webkit": 3.266
- },
- "products/web_analytics/frontend/heatmaps/components/HeatmapScreenshotCookieSettings.stories.tsx": {
- "chromium": 20.871,
- "webkit": 4.828
- },
- "products/web_analytics/frontend/heatmaps/components/HeatmapsPricingNotice.stories.tsx": {
- "chromium": 9.207,
- "webkit": 2.79
- },
- "products/web_analytics/frontend/heatmaps/history/PageHistoryTile.stories.tsx": {
- "chromium": 19.759,
- "webkit": 5.024
- },
- "products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapNewScene.stories.tsx": {
- "chromium": 44.294,
- "webkit": 8.958
- },
- "products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapRecordingScene.stories.tsx": {
- "chromium": 29.031,
- "webkit": 2.016
- },
- "products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapScene.stories.tsx": {
- "chromium": 129.43,
- "webkit": 32.328
- },
- "products/web_analytics/frontend/heatmaps/scenes/heatmaps/HeatmapsScene.stories.tsx": {
- "chromium": 9.709,
- "webkit": 3.592
- },
- "products/web_analytics/frontend/marketing/MarketingAnalyticsCrossSell.stories.tsx": {
- "chromium": 38.197,
- "webkit": 8.678
- },
- "products/wizard/frontend/runs/WizardRunDiffViewer.stories.tsx": {
- "chromium": 8.616,
- "webkit": 6.13
- },
- "products/wizard/frontend/runs/WizardRunSyncCard.stories.tsx": {
- "chromium": 16.264,
- "webkit": 4.275
- },
- "products/workflows/frontend/OptOuts/CustomerIOImportModal.stories.tsx": {
- "chromium": 50.348,
- "webkit": 10.606
- },
- "products/workflows/frontend/SendCalendar/SendCalendar.stories.tsx": {
- "chromium": 25.432,
- "webkit": 5.218
- },
- "products/workflows/frontend/Workflows/Reputation/WorkflowsReputation.stories.tsx": {
- "chromium": 21.32,
- "webkit": 3.994
- },
- "products/workflows/frontend/Workflows/hogflows/editor/graph/HogFlowGraphEditor.stories.tsx": {
- "chromium": 42.722,
- "webkit": 19.39
- },
- "products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanel.stories.tsx": {
- "chromium": 53.164,
- "webkit": 11.205
- },
- "products/workflows/frontend/Workflows/hogflows/steps/StepDelay.stories.tsx": {
- "chromium": 14.862,
- "webkit": 5.375
- },
- "products/workflows/frontend/Workflows/hogflows/steps/components/CustomerTaskWorkflowReferenceInput.stories.tsx": {
- "chromium": 9.664,
- "webkit": 3.358
- },
- "products/workflows/frontend/Workflows/hogflows/steps/components/RealtimeCohortAudienceNotice.stories.tsx": {
- "chromium": 5.738,
- "webkit": 5.574
- },
- "products/workflows/frontend/Workflows/hogflows/steps/components/RealtimeCohortCalculatingBanner.stories.tsx": {
- "chromium": 9.806,
- "webkit": 3.063
- },
- "products/workflows/frontend/Workflows/hogflows/steps/components/TriggerVolumeEstimate.stories.tsx": {
- "chromium": 10.257,
- "webkit": 5.529
- },
- "products/workflows/frontend/Workflows/hogflows/steps/components/UtmTagFields.stories.tsx": {
- "chromium": 5.528,
- "webkit": 4.249
- },
- "products/workflows/frontend/Workflows/hogflows/tree/HogFlowTreeEditor.stories.tsx": {
- "chromium": 44.712,
- "webkit": 13.455
- },
- "products/workflows/frontend/Workflows/suggestions/WorkflowSuggestionEmailChange.stories.tsx": {
- "chromium": 1.63,
- "webkit": 1.851
- },
- "products/workflows/frontend/Workflows/templates/WorkflowTemplateCard.stories.tsx": {
- "chromium": 24.238,
- "webkit": 5.245
- },
- "products/workflows/mcp/apps/EmailTemplate.stories.tsx": {
- "chromium": 18.566,
- "webkit": 3.15
- },
- "products/workflows/mcp/apps/Workflows.stories.tsx": {
- "chromium": 20.153,
- "webkit": 5.447
- },
- "services/mcp/src/ui-apps/components/AppStates.stories.tsx": {
- "chromium": 7.036,
- "webkit": 4.639
- },
- "services/mcp/src/ui-apps/components/Funnels.stories.tsx": {
- "chromium": 8.198,
- "webkit": 5.383
- },
- "services/mcp/src/ui-apps/components/Lifecycle.stories.tsx": {
- "chromium": 6.651,
- "webkit": 2.747
- },
- "services/mcp/src/ui-apps/components/Paths.stories.tsx": {
- "chromium": 7.92,
- "webkit": 3.771
- },
- "services/mcp/src/ui-apps/components/Stickiness.stories.tsx": {
- "chromium": 7.247,
- "webkit": 3.066
- },
- "services/mcp/src/ui-apps/components/Table.stories.tsx": {
- "chromium": 8.65,
- "webkit": 3.136
- },
- "services/mcp/src/ui-apps/components/Trends.stories.tsx": {
- "chromium": 26.358,
- "webkit": 5.871
- }
+ "frontend/src/exporter/stories/ExporterFunnels.stories.tsx": {
+ "chromium": 15.178,
+ "webkit": 5.209
+ },
+ "frontend/src/exporter/stories/ExporterOther.stories.tsx": {
+ "chromium": 37.197,
+ "webkit": 8.558
+ },
+ "frontend/src/exporter/stories/ExporterTrends.stories.tsx": {
+ "chromium": 30.205,
+ "webkit": 8.076
+ },
+ "frontend/src/layout/ErrorProjectAccessDenied.stories.tsx": {
+ "chromium": 5.75,
+ "webkit": 2.377
+ },
+ "frontend/src/layout/ErrorProjectUnavailable.stories.tsx": {
+ "chromium": 10.087,
+ "webkit": 3.018
+ },
+ "frontend/src/layout/InternalFeedback/InternalFeedbackWidget.stories.tsx": {
+ "chromium": 5.5,
+ "webkit": 2.9
+ },
+ "frontend/src/layout/SceneLoadError.stories.tsx": {
+ "chromium": 5.832,
+ "webkit": 2.732
+ },
+ "frontend/src/layout/navigation-3000/sidepanel/SidePanel.stories.tsx": {
+ "chromium": 39.465,
+ "webkit": 13.149
+ },
+ "frontend/src/layout/navigation-3000/sidepanel/panels/access_control/ResourceAccessControlsV2/PropertyAccessRules.stories.tsx": {
+ "chromium": 18.205,
+ "webkit": 6.535
+ },
+ "frontend/src/layout/navigation/EventIngestionRestrictionDetails.stories.tsx": {
+ "chromium": 13.807,
+ "webkit": 5.492
+ },
+ "frontend/src/layout/navigation/ImpersonationNotice/ImpersonationReasonModal.stories.tsx": {
+ "chromium": 12.617,
+ "webkit": 3.291
+ },
+ "frontend/src/layout/panel-layout/navbar/PostHogTeamCohortBanner.stories.tsx": {
+ "chromium": 9.35,
+ "webkit": 3.029
+ },
+ "frontend/src/layout/panel-layout/navbar/ProductsAndFiles.stories.tsx": {
+ "chromium": 162.669,
+ "webkit": 66.414
+ },
+ "frontend/src/layout/panel-layout/navbar/tabs/NavProductTooltip.stories.tsx": {
+ "chromium": 17.015,
+ "webkit": 3.01
+ },
+ "frontend/src/lib/brand/Logo.stories.tsx": {
+ "chromium": 1.384,
+ "webkit": 2.358
+ },
+ "frontend/src/lib/components/Account/OrgSwitcher.stories.tsx": {
+ "chromium": 10.041,
+ "webkit": 4.823
+ },
+ "frontend/src/lib/components/Account/ProjectSwitcher.stories.tsx": {
+ "chromium": 9.509,
+ "webkit": 2.46
+ },
+ "frontend/src/lib/components/AccountAssignmentFilter/AccountAssignmentFilter.stories.tsx": {
+ "chromium": 15.845,
+ "webkit": 3.522
+ },
+ "frontend/src/lib/components/ActivityLog/ActivityClientTag.stories.tsx": {
+ "chromium": 12.281,
+ "webkit": 4.328
+ },
+ "frontend/src/lib/components/ActivityLog/ActivityLog.stories.tsx": {
+ "chromium": 31.846,
+ "webkit": 9.292
+ },
+ "frontend/src/lib/components/ActivityLog/ActivityLogRow.stories.tsx": {
+ "chromium": 29.319,
+ "webkit": 6.253
+ },
+ "frontend/src/lib/components/ActivityLog/AgentAttribution.stories.tsx": {
+ "chromium": 12.986,
+ "webkit": 4.104
+ },
+ "frontend/src/lib/components/ActivityLog/SentenceList.stories.tsx": {
+ "chromium": 17.038,
+ "webkit": 2.861
+ },
+ "frontend/src/lib/components/AgentPromptButton/AgentPromptButton.stories.tsx": {
+ "chromium": 23.69,
+ "webkit": 5.027
+ },
+ "frontend/src/lib/components/AnalyticsMetricCard/AnalyticsMetricCard.stories.tsx": {
+ "chromium": 31.311,
+ "webkit": 5.305
+ },
+ "frontend/src/lib/components/AutocapturePreviewImage/AutocapturePreviewImage.stories.tsx": {
+ "chromium": 40.635,
+ "webkit": 5.925
+ },
+ "frontend/src/lib/components/BaseCurrency/CurrencyDropdown.stories.tsx": {
+ "chromium": 5.517,
+ "webkit": 5.597
+ },
+ "frontend/src/lib/components/BulkActions/BulkUpdateTagsButton.stories.tsx": {
+ "chromium": 16.397,
+ "webkit": 4.092
+ },
+ "frontend/src/lib/components/Cards/ButtonTileCard/ButtonTileCard.stories.tsx": {
+ "chromium": 16.357,
+ "webkit": 5.11
+ },
+ "frontend/src/lib/components/Cards/InsightCard/InsightCard.stories.tsx": {
+ "chromium": 51.394,
+ "webkit": 13.828
+ },
+ "frontend/src/lib/components/Cards/InsightCard/InsightDetails.stories.tsx": {
+ "chromium": 78.447,
+ "webkit": 10.323
+ },
+ "frontend/src/lib/components/Cards/InsightCard/RecordingsUniversalFiltersDisplay.stories.tsx": {
+ "chromium": 59.133,
+ "webkit": 7.334
+ },
+ "frontend/src/lib/components/Cards/TextCard/TextCard.stories.tsx": {
+ "chromium": 24.84,
+ "webkit": 6.198
+ },
+ "frontend/src/lib/components/ChartLegendSeriesMenu/ChartLegendSeriesMenu.stories.tsx": {
+ "chromium": 9.467,
+ "webkit": 2.366
+ },
+ "frontend/src/lib/components/CodeSnippet/CodeSnippet.stories.tsx": {
+ "chromium": 30.753,
+ "webkit": 5.042
+ },
+ "frontend/src/lib/components/CommandKSearch/CommandKSearch.stories.tsx": {
+ "chromium": 11.129,
+ "webkit": 6.156
+ },
+ "frontend/src/lib/components/Comments/Discussions.stories.tsx": {
+ "chromium": 9.94,
+ "webkit": 5.633
+ },
+ "frontend/src/lib/components/CompactList/CompactList.stories.tsx": {
+ "chromium": 6.01,
+ "webkit": 2.886
+ },
+ "frontend/src/lib/components/CopyToClipboardInline.stories.tsx": {
+ "chromium": 27.091,
+ "webkit": 5.046
+ },
+ "frontend/src/lib/components/CyclotronJob/CyclotronJobInputs.stories.tsx": {
+ "chromium": 14.503,
+ "webkit": 3.949
+ },
+ "frontend/src/lib/components/DateFilter/QuillDateFilter.stories.tsx": {
+ "chromium": 10.527,
+ "webkit": 3.31
+ },
+ "frontend/src/lib/components/DatePicker/DatePicker.stories.tsx": {
+ "chromium": 37.942,
+ "webkit": 5.031
+ },
+ "frontend/src/lib/components/DefinitionPopover/DefinitionPopover.stories.tsx": {
+ "chromium": 28.622,
+ "webkit": 5.62
+ },
+ "frontend/src/lib/components/EditableField/EditableField.stories.tsx": {
+ "chromium": 9.363,
+ "webkit": 4.074
+ },
+ "frontend/src/lib/components/EmojiPicker/EmojiPickerPopover.stories.tsx": {
+ "chromium": 9.423,
+ "webkit": 5.383
+ },
+ "frontend/src/lib/components/EmojiPicker/RelatedEmojiButtons.stories.tsx": {
+ "chromium": 5.442,
+ "webkit": 1.838
+ },
+ "frontend/src/lib/components/EmptyMessage/EmptyMessage.stories.tsx": {
+ "chromium": 5.822,
+ "webkit": 2.817
+ },
+ "frontend/src/lib/components/EntityFilterInfo.stories.tsx": {
+ "chromium": 5.834,
+ "webkit": 2.32
+ },
+ "frontend/src/lib/components/Errors/ErrorDisplay.stories.tsx": {
+ "chromium": 30.213,
+ "webkit": 5.582
+ },
+ "frontend/src/lib/components/Errors/Frame/CollapsibleFrame.stories.tsx": {
+ "chromium": 46.416,
+ "webkit": 7.094
+ },
+ "frontend/src/lib/components/EventSelect/EventSelect.stories.tsx": {
+ "chromium": 5.555,
+ "webkit": 3.452
+ },
+ "frontend/src/lib/components/FeaturePreviews/FeaturePreviews.stories.tsx": {
+ "chromium": 9.1,
+ "webkit": 4.01
+ },
+ "frontend/src/lib/components/FlagCalledMoveNotice/FlagCalledMoveNotice.stories.tsx": {
+ "chromium": 5.51,
+ "webkit": 2.307
+ },
+ "frontend/src/lib/components/FlagCalledRebuildBanner/FlagCalledRebuildBanner.stories.tsx": {
+ "chromium": 12.141,
+ "webkit": 2.532
+ },
+ "frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories.tsx": {
+ "chromium": 38.164,
+ "webkit": 5.549
+ },
+ "frontend/src/lib/components/HedgehogMode/HedgehogMode.stories.tsx": {
+ "chromium": 9.24,
+ "webkit": 3.056
+ },
+ "frontend/src/lib/components/HelpMenu/HelpMenu.stories.tsx": {
+ "chromium": 13.556,
+ "webkit": 4.284
+ },
+ "frontend/src/lib/components/HogQLEditor/HogQLEditor.stories.tsx": {
+ "chromium": 13.341,
+ "webkit": 3.352
+ },
+ "frontend/src/lib/components/ImageCarousel/ImageCarousel.stories.tsx": {
+ "chromium": 12.156,
+ "webkit": 3.665
+ },
+ "frontend/src/lib/components/JSSnippet.stories.tsx": {
+ "chromium": 3.045,
+ "webkit": 2.417
+ },
+ "frontend/src/lib/components/KeyboardShortcut/KeyboardShortcut.stories.tsx": {
+ "chromium": 8.996,
+ "webkit": 2.76
+ },
+ "frontend/src/lib/components/MCPHint/MCPHintToast.stories.tsx": {
+ "chromium": 24.398,
+ "webkit": 4.145
+ },
+ "frontend/src/lib/components/MCPHint/MCPUseCaseCard.stories.tsx": {
+ "chromium": 24.477,
+ "webkit": 4.968
+ },
+ "frontend/src/lib/components/Map/Map.stories.tsx": {
+ "chromium": 1.747,
+ "webkit": 3.344
+ },
+ "frontend/src/lib/components/MarkdownEditor/rich/RichMarkdownEditor.stories.tsx": {
+ "chromium": 5.374,
+ "webkit": 4.159
+ },
+ "frontend/src/lib/components/MarkdownNotebook/MarkdownNotebook.stories.tsx": {
+ "chromium": 89.31,
+ "webkit": 14.88
+ },
+ "frontend/src/lib/components/MemberSelectMultiplePopover.stories.tsx": {
+ "chromium": 9.784,
+ "webkit": 3.209
+ },
+ "frontend/src/lib/components/MonacoDiffEditor.stories.tsx": {
+ "chromium": 1.106,
+ "webkit": 9.585
+ },
+ "frontend/src/lib/components/NavPanelAdvertisement/NavPanelProductPushAd.stories.tsx": {
+ "chromium": 10.865,
+ "webkit": 3.432
+ },
+ "frontend/src/lib/components/NavPanelAdvertisement/ProductPushWelcomeModal.stories.tsx": {
+ "chromium": 13.047,
+ "webkit": 4.488
+ },
+ "frontend/src/lib/components/NotFound/NotFound.stories.tsx": {
+ "chromium": 5.821,
+ "webkit": 2.155
+ },
+ "frontend/src/lib/components/OAuthConnectionLogos/OAuthConnectionLogos.stories.tsx": {
+ "chromium": 13.061,
+ "webkit": 2.667
+ },
+ "frontend/src/lib/components/ObjectTags/ObjectTags.stories.tsx": {
+ "chromium": 16.525,
+ "webkit": 3.279
+ },
+ "frontend/src/lib/components/PathCleanFilters/PathCleanFilters.stories.tsx": {
+ "chromium": 13.03,
+ "webkit": 3.026
+ },
+ "frontend/src/lib/components/PathCleanFilters/PathCleaningRulesDebugger.stories.tsx": {
+ "chromium": 5.62,
+ "webkit": 2.664
+ },
+ "frontend/src/lib/components/PayGateMini/PayGateMini.stories.tsx": {
+ "chromium": 41.067,
+ "webkit": 5.335
+ },
+ "frontend/src/lib/components/PayGateMini/UsageLimitPaywall.stories.tsx": {
+ "chromium": 15.288,
+ "webkit": 4.399
+ },
+ "frontend/src/lib/components/ProductEmptyState/ProductEmptyState.stories.tsx": {
+ "chromium": 207.861,
+ "webkit": 34.557
+ },
+ "frontend/src/lib/components/ProductIntroduction/ProductIntroduction.stories.tsx": {
+ "chromium": 19.92,
+ "webkit": 3.314
+ },
+ "frontend/src/lib/components/ProductSetup/ProductSetupPopover.stories.tsx": {
+ "chromium": 5.658,
+ "webkit": 2.128
+ },
+ "frontend/src/lib/components/PropertiesTable/PropertiesTable.stories.tsx": {
+ "chromium": 21.282,
+ "webkit": 4.113
+ },
+ "frontend/src/lib/components/PropertiesTimeline/PropertiesTimeline.stories.tsx": {
+ "chromium": 13.456,
+ "webkit": 3.933
+ },
+ "frontend/src/lib/components/PropertyFilters/PropertyFilters.stories.tsx": {
+ "chromium": 13.896,
+ "webkit": 3.167
+ },
+ "frontend/src/lib/components/PropertyFilters/components/BehavioralPropertyFilterRow.stories.tsx": {
+ "chromium": 24.092,
+ "webkit": 4.045
+ },
+ "frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.stories.tsx": {
+ "chromium": 31.134,
+ "webkit": 4.662
+ },
+ "frontend/src/lib/components/PropertyFilters/components/PropertyFilterButton.stories.tsx": {
+ "chromium": 13.161,
+ "webkit": 2.835
+ },
+ "frontend/src/lib/components/PropertyIcon/PropertyIcon.stories.tsx": {
+ "chromium": 2.04,
+ "webkit": 1.773
+ },
+ "frontend/src/lib/components/PropertyKeyInfo.stories.tsx": {
+ "chromium": 6.016,
+ "webkit": 4.134
+ },
+ "frontend/src/lib/components/PropertySelect/PropertySelect.stories.tsx": {
+ "chromium": 9.364,
+ "webkit": 3.518
+ },
+ "frontend/src/lib/components/ReleaseStageTag/ReleaseStageTag.stories.tsx": {
+ "chromium": 12.5,
+ "webkit": 3.526
+ },
+ "frontend/src/lib/components/ScrollableShadows/ScrollableShadows.stories.tsx": {
+ "chromium": 9.218,
+ "webkit": 3.56
+ },
+ "frontend/src/lib/components/Search/Search.stories.tsx": {
+ "chromium": 22.708,
+ "webkit": 5.286
+ },
+ "frontend/src/lib/components/SearchAutocomplete/SearchAutocomplete.stories.tsx": {
+ "chromium": 5.284,
+ "webkit": 3.41
+ },
+ "frontend/src/lib/components/SessionTimeline/SessionTimeline.stories.tsx": {
+ "chromium": 2.195,
+ "webkit": 1.978
+ },
+ "frontend/src/lib/components/Sharing/SharingModal.stories.tsx": {
+ "chromium": 27.43,
+ "webkit": 4.989
+ },
+ "frontend/src/lib/components/Shortcuts/utils/DebugCHQueriesImpl.stories.tsx": {
+ "chromium": 5.127,
+ "webkit": 2.846
+ },
+ "frontend/src/lib/components/SkillPicker/SkillPicker.stories.tsx": {
+ "chromium": 13.213,
+ "webkit": 4.103
+ },
+ "frontend/src/lib/components/Sparkline.stories.tsx": {
+ "chromium": 16.984,
+ "webkit": 4.568
+ },
+ "frontend/src/lib/components/TZLabel/TZLabel.stories.tsx": {
+ "chromium": 23.899,
+ "webkit": 3.518
+ },
+ "frontend/src/lib/components/TablePreview/TablePreview.stories.tsx": {
+ "chromium": 16.737,
+ "webkit": 4.339
+ },
+ "frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.stories.tsx": {
+ "chromium": 143.593,
+ "webkit": 20.635
+ },
+ "frontend/src/lib/components/TaxonomicFilter/TaxonomicFilterGallery.stories.tsx": {
+ "chromium": 2.03,
+ "webkit": 2.447
+ },
+ "frontend/src/lib/components/TaxonomicFilter/menu/TaxonomicFilterMenu.stories.tsx": {
+ "chromium": 36.247,
+ "webkit": 7.386
+ },
+ "frontend/src/lib/components/TaxonomicPopover/TaxonomicPopover.stories.tsx": {
+ "chromium": 9.16,
+ "webkit": 3.859
+ },
+ "frontend/src/lib/components/TileDecorations/TileDecorations.stories.tsx": {
+ "chromium": 21.645,
+ "webkit": 7.271
+ },
+ "frontend/src/lib/components/UniversalFilters/UniversalFilters.stories.tsx": {
+ "chromium": 5.691,
+ "webkit": 2.746
+ },
+ "frontend/src/lib/components/VerticalNestedDND/VerticalNestedDND.stories.tsx": {
+ "chromium": 5.808,
+ "webkit": 3.437
+ },
+ "frontend/src/lib/components/ViewRecordingButton/ViewRecordingButton.stories.tsx": {
+ "chromium": 9.349,
+ "webkit": 2.438
+ },
+ "frontend/src/lib/components/VisualImageDiffViewer/VisualImageDiffViewer.stories.tsx": {
+ "chromium": 16.435,
+ "webkit": 5.331
+ },
+ "frontend/src/lib/components/hedgehogs.stories.tsx": {
+ "chromium": 1.38,
+ "webkit": 2.274
+ },
+ "frontend/src/lib/integrations/GitHubRepoSummary.stories.tsx": {
+ "chromium": 17.132,
+ "webkit": 3.789
+ },
+ "frontend/src/lib/integrations/SlackChannelPicker.stories.tsx": {
+ "chromium": 23.476,
+ "webkit": 4.548
+ },
+ "frontend/src/lib/lemon-ui/LemonBadge/LemonBadge.stories.tsx": {
+ "chromium": 20.753,
+ "webkit": 3.687
+ },
+ "frontend/src/lib/lemon-ui/LemonBadge/LemonBadgeNumber.stories.tsx": {
+ "chromium": 12.83,
+ "webkit": 4.354
+ },
+ "frontend/src/lib/lemon-ui/LemonBanner/LemonBanner.stories.tsx": {
+ "chromium": 42.626,
+ "webkit": 5.986
+ },
+ "frontend/src/lib/lemon-ui/LemonButton/LemonButton.stories.tsx": {
+ "chromium": 89.516,
+ "webkit": 10.548
+ },
+ "frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendar.stories.tsx": {
+ "chromium": 51.791,
+ "webkit": 7.295
+ },
+ "frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendarSelect.stories.tsx": {
+ "chromium": 32.53,
+ "webkit": 5.475
+ },
+ "frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendarSelectInput.stories.tsx": {
+ "chromium": 12.583,
+ "webkit": 6.787
+ },
+ "frontend/src/lib/lemon-ui/LemonCalendarRange/LemonCalendarRange.stories.tsx": {
+ "chromium": 5.367,
+ "webkit": 2.276
+ },
+ "frontend/src/lib/lemon-ui/LemonCalendarRange/LemonCalendarRangeInline.stories.tsx": {
+ "chromium": 5.482,
+ "webkit": 3.814
+ },
+ "frontend/src/lib/lemon-ui/LemonCard/LemonCard.stories.tsx": {
+ "chromium": 16.395,
+ "webkit": 2.868
+ },
+ "frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.stories.tsx": {
+ "chromium": 26.747,
+ "webkit": 5.777
+ },
+ "frontend/src/lib/lemon-ui/LemonCollapse/LemonCollapse.stories.tsx": {
+ "chromium": 20.148,
+ "webkit": 3.761
+ },
+ "frontend/src/lib/lemon-ui/LemonColor/LemonColorButton.stories.tsx": {
+ "chromium": 27.986,
+ "webkit": 4.135
+ },
+ "frontend/src/lib/lemon-ui/LemonColor/LemonColorGlyph.stories.tsx": {
+ "chromium": 19.674,
+ "webkit": 4.796
+ },
+ "frontend/src/lib/lemon-ui/LemonColor/LemonColorList.stories.tsx": {
+ "chromium": 13.531,
+ "webkit": 3.079
+ },
+ "frontend/src/lib/lemon-ui/LemonColor/LemonColorPicker.stories.tsx": {
+ "chromium": 23.811,
+ "webkit": 3.702
+ },
+ "frontend/src/lib/lemon-ui/LemonDialog/LemonDialog.stories.tsx": {
+ "chromium": 12.202,
+ "webkit": 3.055
+ },
+ "frontend/src/lib/lemon-ui/LemonDivider/LemonDivider.stories.tsx": {
+ "chromium": 19.754,
+ "webkit": 4.327
+ },
+ "frontend/src/lib/lemon-ui/LemonDrawer/LemonDrawer.stories.tsx": {
+ "chromium": 20.398,
+ "webkit": 4.221
+ },
+ "frontend/src/lib/lemon-ui/LemonField/LemonField.stories.tsx": {
+ "chromium": 9.281,
+ "webkit": 2.715
+ },
+ "frontend/src/lib/lemon-ui/LemonFileInput/LemonFileInput.stories.tsx": {
+ "chromium": 19.47,
+ "webkit": 4.548
+ },
+ "frontend/src/lib/lemon-ui/LemonInputSelect/LemonInputSelect.stories.tsx": {
+ "chromium": 86.055,
+ "webkit": 9.429
+ },
+ "frontend/src/lib/lemon-ui/LemonLabel/LemonLabel.stories.tsx": {
+ "chromium": 9.146,
+ "webkit": 3.609
+ },
+ "frontend/src/lib/lemon-ui/LemonMarkdown/LemonMarkdown.stories.tsx": {
+ "chromium": 32.722,
+ "webkit": 5.523
+ },
+ "frontend/src/lib/lemon-ui/LemonMenu/LemonMenu.stories.tsx": {
+ "chromium": 12.715,
+ "webkit": 4.767
+ },
+ "frontend/src/lib/lemon-ui/LemonModal/LemonModal.stories.tsx": {
+ "chromium": 16.785,
+ "webkit": 2.879
+ },
+ "frontend/src/lib/lemon-ui/LemonProgress/LemonProgress.stories.tsx": {
+ "chromium": 5.252,
+ "webkit": 2.216
+ },
+ "frontend/src/lib/lemon-ui/LemonProgressCircle/LemonProgressCircle.stories.tsx": {
+ "chromium": 9.282,
+ "webkit": 3.343
+ },
+ "frontend/src/lib/lemon-ui/LemonRadio/LemonRadio.stories.tsx": {
+ "chromium": 13.299,
+ "webkit": 3.696
+ },
+ "frontend/src/lib/lemon-ui/LemonRichContent/LemonRichContentEditor.stories.tsx": {
+ "chromium": 5.951,
+ "webkit": 3.278
+ },
+ "frontend/src/lib/lemon-ui/LemonRow/LemonRow.stories.tsx": {
+ "chromium": 58.622,
+ "webkit": 7.783
+ },
+ "frontend/src/lib/lemon-ui/LemonSegmentedButton/LemonSegmentedButton.stories.tsx": {
+ "chromium": 17.156,
+ "webkit": 3.023
+ },
+ "frontend/src/lib/lemon-ui/LemonSegmentedButton/LemonSegmentedDropdown.stories.tsx": {
+ "chromium": 20.127,
+ "webkit": 4.798
+ },
+ "frontend/src/lib/lemon-ui/LemonSegmentedSelect/LemonSegmentedSelect.stories.tsx": {
+ "chromium": 13.713,
+ "webkit": 3.226
+ },
+ "frontend/src/lib/lemon-ui/LemonSelect/LemonSearchableSelect.stories.tsx": {
+ "chromium": 9.208,
+ "webkit": 4.037
+ },
+ "frontend/src/lib/lemon-ui/LemonSelect/LemonSelect.stories.tsx": {
+ "chromium": 33.412,
+ "webkit": 4.702
+ },
+ "frontend/src/lib/lemon-ui/LemonSkeleton/LemonSkeleton.stories.tsx": {
+ "chromium": 16.427,
+ "webkit": 3.094
+ },
+ "frontend/src/lib/lemon-ui/LemonSlider/LemonSlider.stories.tsx": {
+ "chromium": 9.2,
+ "webkit": 3.328
+ },
+ "frontend/src/lib/lemon-ui/LemonSnack/LemonSnack.stories.tsx": {
+ "chromium": 16.517,
+ "webkit": 4.362
+ },
+ "frontend/src/lib/lemon-ui/LemonSwitch/LemonSwitch.stories.tsx": {
+ "chromium": 34.534,
+ "webkit": 5.538
+ },
+ "frontend/src/lib/lemon-ui/LemonTable/LemonTable.stories.tsx": {
+ "chromium": 103.589,
+ "webkit": 13.683
+ },
+ "frontend/src/lib/lemon-ui/LemonTabs/LemonTabs.stories.tsx": {
+ "chromium": 13.691,
+ "webkit": 4.063
+ },
+ "frontend/src/lib/lemon-ui/LemonTag/LemonTag.stories.tsx": {
+ "chromium": 9.555,
+ "webkit": 2.544
+ },
+ "frontend/src/lib/lemon-ui/LemonTextArea/LemonTextArea.stories.tsx": {
+ "chromium": 20.438,
+ "webkit": 4.26
+ },
+ "frontend/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown.stories.tsx": {
+ "chromium": 13.195,
+ "webkit": 2.75
+ },
+ "frontend/src/lib/lemon-ui/LemonToast/LemonToast.stories.tsx": {
+ "chromium": 19.957,
+ "webkit": 3.583
+ },
+ "frontend/src/lib/lemon-ui/LemonTree/LemonTree.stories.tsx": {
+ "chromium": 9.833,
+ "webkit": 2.82
+ },
+ "frontend/src/lib/lemon-ui/LemonWidget/LemonWidget.stories.tsx": {
+ "chromium": 16.534,
+ "webkit": 5.514
+ },
+ "frontend/src/lib/lemon-ui/Lettermark/Lettermark.stories.tsx": {
+ "chromium": 30.904,
+ "webkit": 6.686
+ },
+ "frontend/src/lib/lemon-ui/Link/Link.stories.tsx": {
+ "chromium": 12.533,
+ "webkit": 5.331
+ },
+ "frontend/src/lib/lemon-ui/PaginationControl/PaginationControl.stories.tsx": {
+ "chromium": 8.815,
+ "webkit": 19.078
+ },
+ "frontend/src/lib/lemon-ui/Popover/Popover.stories.tsx": {
+ "chromium": 2.069,
+ "webkit": 2.975
+ },
+ "frontend/src/lib/lemon-ui/ProfilePicture/ProfileBubbles.stories.tsx": {
+ "chromium": 23.684,
+ "webkit": 4.812
+ },
+ "frontend/src/lib/lemon-ui/Spinner/Spinner.stories.tsx": {
+ "chromium": 24.038,
+ "webkit": 4.882
+ },
+ "frontend/src/lib/lemon-ui/Splotch/Splotch.stories.tsx": {
+ "chromium": 6.574,
+ "webkit": 3.838
+ },
+ "frontend/src/lib/lemon-ui/UploadedLogo/UploadedLogo.stories.tsx": {
+ "chromium": 23.642,
+ "webkit": 4.291
+ },
+ "frontend/src/lib/lemon-ui/colors.stories.tsx": {
+ "chromium": 17.132,
+ "webkit": 3.742
+ },
+ "frontend/src/lib/lemon-ui/icons/icons3000.stories.tsx": {
+ "chromium": 2.142,
+ "webkit": 2.358
+ },
+ "frontend/src/lib/lemon-ui/icons/stories/Icons1.stories.tsx": {
+ "chromium": 34.674,
+ "webkit": 5.762
+ },
+ "frontend/src/lib/lemon-ui/icons/stories/Icons2.stories.tsx": {
+ "chromium": 34.729,
+ "webkit": 5.262
+ },
+ "frontend/src/lib/lemon-ui/icons/stories/Icons3.stories.tsx": {
+ "chromium": 48.023,
+ "webkit": 7.07
+ },
+ "frontend/src/lib/signals/SignalReportPrBadge.stories.tsx": {
+ "chromium": 5.84,
+ "webkit": 3.415
+ },
+ "frontend/src/lib/ui/Button/ButtonPrimitives.stories.tsx": {
+ "chromium": 8.79,
+ "webkit": 2.597
+ },
+ "frontend/src/lib/ui/Collapsible/Collapsible.stories.tsx": {
+ "chromium": 20.537,
+ "webkit": 3.957
+ },
+ "frontend/src/lib/ui/Colors/Colors.stories.tsx": {
+ "chromium": 13.649,
+ "webkit": 3.137
+ },
+ "frontend/src/lib/ui/Combobox/Combobox.stories.tsx": {
+ "chromium": 9.424,
+ "webkit": 2.684
+ },
+ "frontend/src/lib/ui/ContextMenu/ContextMenu.stories.tsx": {
+ "chromium": 5.687,
+ "webkit": 3.223
+ },
+ "frontend/src/lib/ui/DropdownMenu/DropdownMenu.stories.tsx": {
+ "chromium": 5.765,
+ "webkit": 2.067
+ },
+ "frontend/src/lib/ui/ListBox/ListBox.stories.tsx": {
+ "chromium": 9.212,
+ "webkit": 2.476
+ },
+ "frontend/src/lib/ui/SelectPrimitive/SelectPrimitive.stories.tsx": {
+ "chromium": 5.879,
+ "webkit": 2.002
+ },
+ "frontend/src/lib/ui/TabsPrimitive/TabsPrimitive.stories.tsx": {
+ "chromium": 5.605,
+ "webkit": 2.225
+ },
+ "frontend/src/lib/ui/WrappingLoadingSkeleton/WrappingLoadingSkeleton.stories.tsx": {
+ "chromium": 5.673,
+ "webkit": 2.278
+ },
+ "frontend/src/queries/nodes/DataNode/DataNode.stories.tsx": {
+ "chromium": 2.232,
+ "webkit": 1.814
+ },
+ "frontend/src/queries/nodes/DataTable/DataTable.stories.tsx": {
+ "chromium": 1.726,
+ "webkit": 1.918
+ },
+ "frontend/src/queries/nodes/DataTable/ExplicitIcon.stories.tsx": {
+ "chromium": 13.235,
+ "webkit": 4.706
+ },
+ "frontend/src/queries/nodes/DataTable/HarnessColumn.stories.tsx": {
+ "chromium": 8.318,
+ "webkit": 5.72
+ },
+ "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlBarGraph.stories.tsx": {
+ "chromium": 21.817,
+ "webkit": 4.859
+ },
+ "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlMetricCard.stories.tsx": {
+ "chromium": 5.985,
+ "webkit": 4.217
+ },
+ "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlPieGraph.stories.tsx": {
+ "chromium": 21.595,
+ "webkit": 5.166
+ },
+ "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlProportionBar.stories.tsx": {
+ "chromium": 6.108,
+ "webkit": 3.05
+ },
+ "frontend/src/queries/nodes/DataVisualization/Components/Charts/SqlScatterGraph.stories.tsx": {
+ "chromium": 8.96,
+ "webkit": 3.933
+ },
+ "frontend/src/queries/nodes/DataVisualization/Components/Variables/Variables.stories.tsx": {
+ "chromium": 17.565,
+ "webkit": 3.398
+ },
+ "frontend/src/queries/nodes/InsightViz/EditorFilters.stories.tsx": {
+ "chromium": 13.046,
+ "webkit": 5.496
+ },
+ "frontend/src/queries/nodes/InsightViz/FlagCallsRetentionNotice.stories.tsx": {
+ "chromium": 5.556,
+ "webkit": 2.044
+ },
+ "frontend/src/queries/nodes/InsightViz/PropertyGroupFilters/AndOrFilterSelect.stories.tsx": {
+ "chromium": 5.441,
+ "webkit": 2.52
+ },
+ "frontend/src/queries/nodes/InsightViz/SuggestionBanner.stories.tsx": {
+ "chromium": 5.435,
+ "webkit": 2.911
+ },
+ "frontend/src/queries/nodes/OverviewGrid/OverviewMetricCardGrid.stories.tsx": {
+ "chromium": 21.725,
+ "webkit": 4.188
+ },
+ "frontend/src/queries/nodes/WebVitals/WebVitals.stories.tsx": {
+ "chromium": 8.466,
+ "webkit": 4.838
+ },
+ "frontend/src/queries/nodes/WebVitals/WebVitalsPathBreakdown.stories.tsx": {
+ "chromium": 9.302,
+ "webkit": 4.22
+ },
+ "frontend/src/scenes/AuthenticatedShellFallback.stories.tsx": {
+ "chromium": 13.637,
+ "webkit": 2.285
+ },
+ "frontend/src/scenes/PreflightCheck/PreflightCheck.stories.tsx": {
+ "chromium": 5.93,
+ "webkit": 3.832
+ },
+ "frontend/src/scenes/Unsubscribe/Unsubscribe.stories.tsx": {
+ "chromium": 5.375,
+ "webkit": 3.423
+ },
+ "frontend/src/scenes/activity/explore/EventDetails.stories.tsx": {
+ "chromium": 7.21,
+ "webkit": 4.946
+ },
+ "frontend/src/scenes/activity/explore/Events.stories.tsx": {
+ "chromium": 7.707,
+ "webkit": 2.245
+ },
+ "frontend/src/scenes/activity/explore/MCPEvents.stories.tsx": {
+ "chromium": 9.971,
+ "webkit": 2.607
+ },
+ "frontend/src/scenes/analytics/Analytics.stories.tsx": {
+ "chromium": 47.253,
+ "webkit": 12.802
+ },
+ "frontend/src/scenes/authentication/account/AccountConnected.stories.tsx": {
+ "chromium": 18.542,
+ "webkit": 5.525
+ },
+ "frontend/src/scenes/authentication/account/credential-review/CredentialReview.stories.tsx": {
+ "chromium": 9.088,
+ "webkit": 3.14
+ },
+ "frontend/src/scenes/authentication/invite-signup/InviteSignup.stories.tsx": {
+ "chromium": 1.81,
+ "webkit": 1.585
+ },
+ "frontend/src/scenes/authentication/login/Login.stories.tsx": {
+ "chromium": 1.974,
+ "webkit": 1.712
+ },
+ "frontend/src/scenes/authentication/password-reset/PasswordReset.stories.tsx": {
+ "chromium": 19.835,
+ "webkit": 3.581
+ },
+ "frontend/src/scenes/authentication/password-reset/PasswordResetComplete.stories.tsx": {
+ "chromium": 9.6,
+ "webkit": 2.733
+ },
+ "frontend/src/scenes/authentication/shared/authScene/DevLoginPanel.stories.tsx": {
+ "chromium": 1.283,
+ "webkit": 1.989
+ },
+ "frontend/src/scenes/authentication/signup/Signup.stories.tsx": {
+ "chromium": 1.312,
+ "webkit": 2.104
+ },
+ "frontend/src/scenes/authentication/verify-email/VerifyEmail.stories.tsx": {
+ "chromium": 1.187,
+ "webkit": 2.159
+ },
+ "frontend/src/scenes/billing/Billing.stories.tsx": {
+ "chromium": 48.535,
+ "webkit": 10.751
+ },
+ "frontend/src/scenes/billing/BillingChart.stories.tsx": {
+ "chromium": 13.805,
+ "webkit": 4.025
+ },
+ "frontend/src/scenes/billing/BillingProduct.stories.tsx": {
+ "chromium": 48.546,
+ "webkit": 8.436
+ },
+ "frontend/src/scenes/billing/DesktopUsageBreakdown.stories.tsx": {
+ "chromium": 12.923,
+ "webkit": 3.145
+ },
+ "frontend/src/scenes/cohorts/AddPersonToCohortModal.stories.tsx": {
+ "chromium": 18.11,
+ "webkit": 5.982
+ },
+ "frontend/src/scenes/cohorts/CohortBlockingWorkflowsModal.stories.tsx": {
+ "chromium": 12.646,
+ "webkit": 4.002
+ },
+ "frontend/src/scenes/cohorts/CohortFilters/CohortCriteriaRowBuilder.stories.tsx": {
+ "chromium": 6.091,
+ "webkit": 2.854
+ },
+ "frontend/src/scenes/cohorts/CohortFilters/CohortNumberField.stories.tsx": {
+ "chromium": 5.244,
+ "webkit": 2.723
+ },
+ "frontend/src/scenes/cohorts/CohortFilters/CohortPersonPropertiesValuesField.stories.tsx": {
+ "chromium": 5.915,
+ "webkit": 3.077
+ },
+ "frontend/src/scenes/cohorts/CohortFilters/CohortSelectorField.stories.tsx": {
+ "chromium": 26.832,
+ "webkit": 5.167
+ },
+ "frontend/src/scenes/cohorts/CohortFilters/CohortTaxonomicField.stories.tsx": {
+ "chromium": 9.865,
+ "webkit": 3.377
+ },
+ "frontend/src/scenes/cohorts/CohortFilters/CohortTextField.stories.tsx": {
+ "chromium": 5.746,
+ "webkit": 2.715
+ },
+ "frontend/src/scenes/cohorts/Cohorts.stories.tsx": {
+ "chromium": 73.209,
+ "webkit": 18.817
+ },
+ "frontend/src/scenes/dashboard/DashboardInsightColorsModal.stories.tsx": {
+ "chromium": 5.944,
+ "webkit": 3.16
+ },
+ "frontend/src/scenes/data-management/definition/DefinitionView.stories.tsx": {
+ "chromium": 23.871,
+ "webkit": 2.353
+ },
+ "frontend/src/scenes/data-management/events/DefinitionHeader.stories.tsx": {
+ "chromium": 12.777,
+ "webkit": 3.013
+ },
+ "frontend/src/scenes/data-management/events/EventDefinitionsTable.stories.tsx": {
+ "chromium": 15.017,
+ "webkit": 3.692
+ },
+ "frontend/src/scenes/data-management/ingestion-warnings/IngestionWarningsView.stories.tsx": {
+ "chromium": 7.311,
+ "webkit": 3.256
+ },
+ "frontend/src/scenes/data-management/managed-viewsets/DataWarehouseManagedViewsetsScene.stories.tsx": {
+ "chromium": 7.453,
+ "webkit": 2.034
+ },
+ "frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.stories.tsx": {
+ "chromium": 16.857,
+ "webkit": 4.036
+ },
+ "frontend/src/scenes/data-pipelines/DestinationsScene.stories.tsx": {
+ "chromium": 20.522,
+ "webkit": 5.799
+ },
+ "frontend/src/scenes/data-pipelines/batch-exports/BatchExportScene.stories.tsx": {
+ "chromium": 100.235,
+ "webkit": 25.023
+ },
+ "frontend/src/scenes/data-pipelines/event-filtering/EventFilterScene.stories.tsx": {
+ "chromium": 102.154,
+ "webkit": 34.787
+ },
+ "frontend/src/scenes/data-warehouse/editor/QueryHistoryModal.stories.tsx": {
+ "chromium": 10.263,
+ "webkit": 5.747
+ },
+ "frontend/src/scenes/data-warehouse/editor/SQLEditorScene.stories.tsx": {
+ "chromium": 159.908,
+ "webkit": 120.759
+ },
+ "frontend/src/scenes/data-warehouse/editor/output-pane-tabs/QueryIndexUsageBar.stories.tsx": {
+ "chromium": 12.968,
+ "webkit": 2.634
+ },
+ "frontend/src/scenes/data-warehouse/editor/output-pane-tabs/QueryIndexUsageFixActions.stories.tsx": {
+ "chromium": 53.384,
+ "webkit": 4.4
+ },
+ "frontend/src/scenes/experiments/MetricsView/new/HowToReadTooltip.stories.tsx": {
+ "chromium": 21.485,
+ "webkit": 4.544
+ },
+ "frontend/src/scenes/experiments/MetricsView/new/VariantTimeseriesTooltip.stories.tsx": {
+ "chromium": 9.178,
+ "webkit": 3.888
+ },
+ "frontend/src/scenes/experiments/stories/DraftExperiment.stories.tsx": {
+ "chromium": 10.521,
+ "webkit": 2.386
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentAsymmetricIntervals.stories.tsx": {
+ "chromium": 14.261,
+ "webkit": 3.03
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentCodeTab.stories.tsx": {
+ "chromium": 13.678,
+ "webkit": 2.821
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentExposuresExpanded.stories.tsx": {
+ "chromium": 11.1,
+ "webkit": 10.999
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentFrequentistFiveVariants.stories.tsx": {
+ "chromium": 9.642,
+ "webkit": 2.681
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentFrequentistTwoVariants.stories.tsx": {
+ "chromium": 13.904,
+ "webkit": 2.512
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentHealthDebugTab.stories.tsx": {
+ "chromium": 13.667,
+ "webkit": 2.381
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentRecordingsListEmpty.stories.tsx": {
+ "chromium": 77.413,
+ "webkit": 28.043
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentReplayScannerBacklink.stories.tsx": {
+ "chromium": 18.836,
+ "webkit": 6.579
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentResultsRowRecordingLinks.stories.tsx": {
+ "chromium": 31.492,
+ "webkit": 14.78
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentStoppedWithConclusion.stories.tsx": {
+ "chromium": 10.993,
+ "webkit": 2.186
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentStoppedWithLongConclusion.stories.tsx": {
+ "chromium": 14.269,
+ "webkit": 2.749
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWatchShelfEmpty.stories.tsx": {
+ "chromium": 49.524,
+ "webkit": 23.798
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWithFunnelMetric.stories.tsx": {
+ "chromium": 16.163,
+ "webkit": 2.832
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWithHealthFindings.stories.tsx": {
+ "chromium": 17.011,
+ "webkit": 8.747
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWithLongFlagKey.stories.tsx": {
+ "chromium": 14.909,
+ "webkit": 2.443
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWithMeanMetric.stories.tsx": {
+ "chromium": 10.938,
+ "webkit": 2.756
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWithMultiStepFunnelMetric.stories.tsx": {
+ "chromium": 9.217,
+ "webkit": 3.031
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWithMultipleMetrics.stories.tsx": {
+ "chromium": 14.729,
+ "webkit": 3.249
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWithMultipleMetricsReordered.stories.tsx": {
+ "chromium": 13.548,
+ "webkit": 3.376
+ },
+ "frontend/src/scenes/experiments/stories/ExperimentWithRatioMetric.stories.tsx": {
+ "chromium": 14.32,
+ "webkit": 2.77
+ },
+ "frontend/src/scenes/experiments/stories/Experiments.stories.tsx": {
+ "chromium": 6.285,
+ "webkit": 2.951
+ },
+ "frontend/src/scenes/feature-flags/BlastRadiusSkeleton.stories.tsx": {
+ "chromium": 5.823,
+ "webkit": 2.466
+ },
+ "frontend/src/scenes/feature-flags/FeatureFlagCodeInstructions.stories.tsx": {
+ "chromium": 24.771,
+ "webkit": 4.058
+ },
+ "frontend/src/scenes/feature-flags/FeatureFlags.stories.tsx": {
+ "chromium": 109.229,
+ "webkit": 39.255
+ },
+ "frontend/src/scenes/feature-flags/NewFeatureFlagMenu.stories.tsx": {
+ "chromium": 5.952,
+ "webkit": 5.276
+ },
+ "frontend/src/scenes/feature-flags/ScheduleTimeline.stories.tsx": {
+ "chromium": 20.073,
+ "webkit": 3.423
+ },
+ "frontend/src/scenes/health/components/HealthTables.stories.tsx": {
+ "chromium": 55.066,
+ "webkit": 7.262
+ },
+ "frontend/src/scenes/hog-functions/HogFunctionScene.stories.tsx": {
+ "chromium": 34.874,
+ "webkit": 10.163
+ },
+ "frontend/src/scenes/hog-functions/invocations/InvocationsSparkline.stories.tsx": {
+ "chromium": 6.17,
+ "webkit": 3.672
+ },
+ "frontend/src/scenes/insights/EmptyStates/EmptyStates.stories.tsx": {
+ "chromium": 43.862,
+ "webkit": 12.202
+ },
+ "frontend/src/scenes/insights/EmptyStates/LoadingMessages.stories.tsx": {
+ "chromium": 5.97,
+ "webkit": 2.926
+ },
+ "frontend/src/scenes/insights/EmptyStates/SampleDataState.stories.tsx": {
+ "chromium": 17.844,
+ "webkit": 4.297
+ },
+ "frontend/src/scenes/insights/EmptyStates/SampleDataTag.stories.tsx": {
+ "chromium": 5.481,
+ "webkit": 4.105
+ },
+ "frontend/src/scenes/insights/filters/ActionFilter/ActionFilter.stories.tsx": {
+ "chromium": 51.272,
+ "webkit": 7.872
+ },
+ "frontend/src/scenes/insights/filters/BreakdownFilter/BreakdownTag.stories.tsx": {
+ "chromium": 6.087,
+ "webkit": 2.204
+ },
+ "frontend/src/scenes/insights/stories/MCPMissingCapability.stories.tsx": {
+ "chromium": 12.52,
+ "webkit": 4.098
+ },
+ "frontend/src/scenes/insights/stories/SQLBoxPlot.stories.tsx": {
+ "chromium": 19.677,
+ "webkit": 12.789
+ },
+ "frontend/src/scenes/insights/stories/SQLLineChart.stories.tsx": {
+ "chromium": 27.275,
+ "webkit": 9.283
+ },
+ "frontend/src/scenes/insights/stories/SQLTableConditionalFormatting.stories.tsx": {
+ "chromium": 10.855,
+ "webkit": 4.618
+ },
+ "frontend/src/scenes/integrations/IntegrationFullPage.stories.tsx": {
+ "chromium": 22.959,
+ "webkit": 4.755
+ },
+ "frontend/src/scenes/integrations/components/GithubIntegration.stories.tsx": {
+ "chromium": 16.744,
+ "webkit": 5.153
+ },
+ "frontend/src/scenes/integrations/components/SlackIntegration.stories.tsx": {
+ "chromium": 24.371,
+ "webkit": 3.82
+ },
+ "frontend/src/scenes/marketing-analytics/MarketingAnalyticsFreshness.stories.tsx": {
+ "chromium": 9.726,
+ "webkit": 2.652
+ },
+ "frontend/src/scenes/max/Max.stories.tsx": {
+ "chromium": 101.316,
+ "webkit": 23.702
+ },
+ "frontend/src/scenes/max/MaxForms.stories.tsx": {
+ "chromium": 43.296,
+ "webkit": 13.442
+ },
+ "frontend/src/scenes/max/MaxTools.stories.tsx": {
+ "chromium": 81.415,
+ "webkit": 21.252
+ },
+ "frontend/src/scenes/max/components/HandsFreeSurface.stories.tsx": {
+ "chromium": 9.508,
+ "webkit": 2.653
+ },
+ "frontend/src/scenes/notebooks/Nodes/NotebookNodeCustomerJourney/NotebookNodeCustomerJourney.stories.tsx": {
+ "chromium": 37.253,
+ "webkit": 10.106
+ },
+ "frontend/src/scenes/notebooks/Nodes/NotebookNodeMap.stories.tsx": {
+ "chromium": 8.266,
+ "webkit": 5.354
+ },
+ "frontend/src/scenes/notebooks/Nodes/NotebookNodeSupportTickets.stories.tsx": {
+ "chromium": 19.454,
+ "webkit": 5.595
+ },
+ "frontend/src/scenes/notebooks/Nodes/components/NotebookDataframeHintPopover.stories.tsx": {
+ "chromium": 5.582,
+ "webkit": 2.804
+ },
+ "frontend/src/scenes/notebooks/Notebook/Notebook.stories.tsx": {
+ "chromium": 67.376,
+ "webkit": 21.775
+ },
+ "frontend/src/scenes/notebooks/Notebook/NotebookJupyterMode.stories.tsx": {
+ "chromium": 20.023,
+ "webkit": 15.469
+ },
+ "frontend/src/scenes/notebooks/Notebook/NotebookKernelInfo.stories.tsx": {
+ "chromium": 17.391,
+ "webkit": 6.452
+ },
+ "frontend/src/scenes/notebooks/Notebook/NotebookRunAllBanner.stories.tsx": {
+ "chromium": 13.288,
+ "webkit": 3.13
+ },
+ "frontend/src/scenes/notebooks/Notebook/NotebookSQLCellChart.stories.tsx": {
+ "chromium": 24.842,
+ "webkit": 9.635
+ },
+ "frontend/src/scenes/notebooks/Notebook/NotebookWidgetViews.stories.tsx": {
+ "chromium": 102.541,
+ "webkit": 38.921
+ },
+ "frontend/src/scenes/notebooks/NotebookSelectButton/NotebookSelectButton.stories.tsx": {
+ "chromium": 24.579,
+ "webkit": 4.962
+ },
+ "frontend/src/scenes/oauth/OAuthAuthorize.stories.tsx": {
+ "chromium": 45.294,
+ "webkit": 13.02
+ },
+ "frontend/src/scenes/onboarding/Onboarding.stories.tsx": {
+ "chromium": 51.4,
+ "webkit": 16.632
+ },
+ "frontend/src/scenes/onboarding/productSelection/ProductSelection.stories.tsx": {
+ "chromium": 6.296,
+ "webkit": 2.238
+ },
+ "frontend/src/scenes/onboarding/sdks/OnboardingInstallStep/WizardInstallStep/WizardInstallStep.stories.tsx": {
+ "chromium": 17.076,
+ "webkit": 6.84
+ },
+ "frontend/src/scenes/onboarding/shared/wizard-sync/InstallationProgressView.stories.tsx": {
+ "chromium": 64.013,
+ "webkit": 7.975
+ },
+ "frontend/src/scenes/onboarding/shared/wizard-sync/WizardCloudRunBlock.stories.tsx": {
+ "chromium": 28.893,
+ "webkit": 7.608
+ },
+ "frontend/src/scenes/onboarding/shared/wizard-sync/WizardHandoffDialog.stories.tsx": {
+ "chromium": 5.706,
+ "webkit": 5.088
+ },
+ "frontend/src/scenes/onboarding/shared/wizard-sync/WizardSyncCard.stories.tsx": {
+ "chromium": 49.636,
+ "webkit": 7.135
+ },
+ "frontend/src/scenes/organization/Deactivated.stories.tsx": {
+ "chromium": 5.653,
+ "webkit": 2.208
+ },
+ "frontend/src/scenes/organization/PendingDeletion.stories.tsx": {
+ "chromium": 5.658,
+ "webkit": 2.223
+ },
+ "frontend/src/scenes/persons-management/Persons.stories.tsx": {
+ "chromium": 12.571,
+ "webkit": 4.626
+ },
+ "frontend/src/scenes/project-files/ProjectFilesScene.stories.tsx": {
+ "chromium": 21.255,
+ "webkit": 4.587
+ },
+ "frontend/src/scenes/project-homepage/ProjectHomepage.stories.tsx": {
+ "chromium": 20.538,
+ "webkit": 7.544
+ },
+ "frontend/src/scenes/project-homepage/today/Today.stories.tsx": {
+ "chromium": 3.282,
+ "webkit": 3.221
+ },
+ "frontend/src/scenes/session-recordings/SessionsRecordings-activity-modal.stories.tsx": {
+ "chromium": 12.325,
+ "webkit": 2.071
+ },
+ "frontend/src/scenes/session-recordings/SessionsRecordings-group-scene.stories.tsx": {
+ "chromium": 26.246,
+ "webkit": 10.109
+ },
+ "frontend/src/scenes/session-recordings/SessionsRecordings-person-scene.stories.tsx": {
+ "chromium": 24.18,
+ "webkit": 5.506
+ },
+ "frontend/src/scenes/session-recordings/SessionsRecordings-player-failure.stories.tsx": {
+ "chromium": 10.843,
+ "webkit": 2.608
+ },
+ "frontend/src/scenes/session-recordings/SessionsRecordings-player-success.stories.tsx": {
+ "chromium": 56.788,
+ "webkit": 11.034
+ },
+ "frontend/src/scenes/session-recordings/SessionsRecordings-playlist-listing.stories.tsx": {
+ "chromium": 8.207,
+ "webkit": 2.393
+ },
+ "frontend/src/scenes/session-recordings/apm/NetworkView.stories.tsx": {
+ "chromium": 6.065,
+ "webkit": 2.955
+ },
+ "frontend/src/scenes/session-recordings/apm/playerInspector/ItemPerformanceEvent.stories.tsx": {
+ "chromium": 24.223,
+ "webkit": 3.472
+ },
+ "frontend/src/scenes/session-recordings/components/RecordingsRow.stories.tsx": {
+ "chromium": 5.964,
+ "webkit": 2.242
+ },
+ "frontend/src/scenes/session-recordings/filters/RecordingsUniversalFilterAddFilterPopover.stories.tsx": {
+ "chromium": 10.002,
+ "webkit": 3.531
+ },
+ "frontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.stories.tsx": {
+ "chromium": 37.234,
+ "webkit": 15.124
+ },
+ "frontend/src/scenes/session-recordings/player/RecordingDeleted.stories.tsx": {
+ "chromium": 9.664,
+ "webkit": 7.203
+ },
+ "frontend/src/scenes/session-recordings/player/commenting/PlayerCommentModal.stories.tsx": {
+ "chromium": 6.076,
+ "webkit": 3.059
+ },
+ "frontend/src/scenes/session-recordings/player/controller/PlayerController.stories.tsx": {
+ "chromium": 20.036,
+ "webkit": 4.338
+ },
+ "frontend/src/scenes/session-recordings/player/controller/Seekbar.stories.tsx": {
+ "chromium": 6.393,
+ "webkit": 3.247
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/PlayerInspector.stories.tsx": {
+ "chromium": 15.378,
+ "webkit": 5.779
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/ItemAppState.stories.tsx": {
+ "chromium": 14.66,
+ "webkit": 3.904
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/ItemComment.stories.tsx": {
+ "chromium": 17.752,
+ "webkit": 4.028
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/ItemConsoleLog.stories.tsx": {
+ "chromium": 6.214,
+ "webkit": 2.634
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/ItemDoctor.stories.tsx": {
+ "chromium": 35.455,
+ "webkit": 4.55
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/ItemEvent.stories.tsx": {
+ "chromium": 49.984,
+ "webkit": 8.733
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/ItemExperimentVariant.stories.tsx": {
+ "chromium": 16.265,
+ "webkit": 4.421
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/ItemLog.stories.tsx": {
+ "chromium": 45.81,
+ "webkit": 6.908
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/ItemSessionChange.stories.tsx": {
+ "chromium": 9.514,
+ "webkit": 3.3
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/NavigationItem.stories.tsx": {
+ "chromium": 50.317,
+ "webkit": 7.376
+ },
+ "frontend/src/scenes/session-recordings/player/inspector/components/Timing/NetworkRequestTiming.stories.tsx": {
+ "chromium": 5.973,
+ "webkit": 2.072
+ },
+ "frontend/src/scenes/session-recordings/player/player-meta/PlayerMetaExperimentTags.stories.tsx": {
+ "chromium": 12.731,
+ "webkit": 3.291
+ },
+ "frontend/src/scenes/session-recordings/player/share/PlayerShareDialog.stories.tsx": {
+ "chromium": 11.86,
+ "webkit": 2.648
+ },
+ "frontend/src/scenes/session-recordings/player/sidebar/PlayerSidebarExperimentsSection.stories.tsx": {
+ "chromium": 20.004,
+ "webkit": 5.18
+ },
+ "frontend/src/scenes/session-recordings/player/sidebar/PlayerSidebarOverviewOtherWatchers.stories.tsx": {
+ "chromium": 16.376,
+ "webkit": 3.607
+ },
+ "frontend/src/scenes/session-recordings/player/sidebar/PlayerSidebarOverviewTab.stories.tsx": {
+ "chromium": 18.466,
+ "webkit": 4.536
+ },
+ "frontend/src/scenes/session-recordings/playlist/AddToCollectionModal.stories.tsx": {
+ "chromium": 15.507,
+ "webkit": 4.618
+ },
+ "frontend/src/scenes/session-recordings/playlist/PropertyIcons.stories.tsx": {
+ "chromium": 22.821,
+ "webkit": 4.372
+ },
+ "frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene.stories.tsx": {
+ "chromium": 1.422,
+ "webkit": 1.598
+ },
+ "frontend/src/scenes/settings/components/SettingSectionUnavailable.stories.tsx": {
+ "chromium": 9.106,
+ "webkit": 4.21
+ },
+ "frontend/src/scenes/settings/organization/AIConsentLegalDialog.stories.tsx": {
+ "chromium": 5.799,
+ "webkit": 4.394
+ },
+ "frontend/src/scenes/settings/organization/AIConsentPopoverContent.stories.tsx": {
+ "chromium": 13.464,
+ "webkit": 3.047
+ },
+ "frontend/src/scenes/settings/organization/IdentityProviderConfig/IdentityProviderConfigScene.stories.tsx": {
+ "chromium": 30.739,
+ "webkit": 7.622
+ },
+ "frontend/src/scenes/settings/organization/Invites.stories.tsx": {
+ "chromium": 20.76,
+ "webkit": 6.594
+ },
+ "frontend/src/scenes/settings/organization/OAuthApps.stories.tsx": {
+ "chromium": 9.207,
+ "webkit": 2.657
+ },
+ "frontend/src/scenes/settings/organization/VerifiedDomains/SSOSelect.stories.tsx": {
+ "chromium": 5.396,
+ "webkit": 2.182
+ },
+ "frontend/src/scenes/settings/organization/VerifiedDomains/VerifiedDomains.stories.tsx": {
+ "chromium": 47.26,
+ "webkit": 12.847
+ },
+ "frontend/src/scenes/settings/project/GatewayKeySpend.stories.tsx": {
+ "chromium": 5.44,
+ "webkit": 3.54
+ },
+ "frontend/src/scenes/settings/stories/SettingsEnvironment.stories.tsx": {
+ "chromium": 164.956,
+ "webkit": 42.213
+ },
+ "frontend/src/scenes/settings/stories/SettingsOrganization.stories.tsx": {
+ "chromium": 54.013,
+ "webkit": 14.935
+ },
+ "frontend/src/scenes/settings/stories/SettingsProject.stories.tsx": {
+ "chromium": 77.721,
+ "webkit": 20.316
+ },
+ "frontend/src/scenes/settings/stories/SettingsUser.stories.tsx": {
+ "chromium": 65.217,
+ "webkit": 26.408
+ },
+ "frontend/src/scenes/startups/StartupProgram.stories.tsx": {
+ "chromium": 28.9,
+ "webkit": 13.184
+ },
+ "frontend/src/scenes/surveys/Surveys.stories.tsx": {
+ "chromium": 48.022,
+ "webkit": 21.17
+ },
+ "frontend/src/scenes/surveys/components/SurveyResponseKeysReference.stories.tsx": {
+ "chromium": 26.485,
+ "webkit": 8.841
+ },
+ "frontend/src/scenes/terminal/TerminalScene.stories.tsx": {
+ "chromium": 42.78,
+ "webkit": 17.349
+ },
+ "frontend/src/scenes/toolbar-launch/ToolbarLaunch.stories.tsx": {
+ "chromium": 15.964,
+ "webkit": 4.879
+ },
+ "frontend/src/scenes/trends/persons-modal/PersonsModal.stories.tsx": {
+ "chromium": 21.698,
+ "webkit": 6.17
+ },
+ "frontend/src/scenes/web-analytics/CalendarHeatMap/CalendarHeatMap.stories.tsx": {
+ "chromium": 22.892,
+ "webkit": 4.481
+ },
+ "frontend/src/scenes/web-analytics/LiveMetricsDashboard/liveWebAnalyticsMetricsCharts.stories.tsx": {
+ "chromium": 16.555,
+ "webkit": 4.491
+ },
+ "frontend/src/scenes/web-analytics/PagePerformance.stories.tsx": {
+ "chromium": 23.196,
+ "webkit": 6.366
+ },
+ "frontend/src/scenes/web-analytics/PagePerformanceMetricCard.stories.tsx": {
+ "chromium": 19.064,
+ "webkit": 3.871
+ },
+ "frontend/src/scenes/web-analytics/SessionAttributionExplorer/sessionAttributionExplorer.stories.tsx": {
+ "chromium": 9.885,
+ "webkit": 3.815
+ },
+ "frontend/src/scenes/web-analytics/WebAnalyticsDashboard.stories.tsx": {
+ "chromium": 43.1,
+ "webkit": 11.812
+ },
+ "frontend/src/scenes/web-analytics/achievements/WebAnalyticsAchievements.stories.tsx": {
+ "chromium": 20.147,
+ "webkit": 5.566
+ },
+ "frontend/src/scenes/web-analytics/recap/WebAnalyticsRecapScene.stories.tsx": {
+ "chromium": 1.455,
+ "webkit": 2.128
+ },
+ "frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/MarketingAnalyticsCell.stories.tsx": {
+ "chromium": 6.568,
+ "webkit": 2.926
+ },
+ "frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/CampaignMapping/CampaignMappingCellActions.stories.tsx": {
+ "chromium": 24.994,
+ "webkit": 5.035
+ },
+ "frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.stories.tsx": {
+ "chromium": 22.124,
+ "webkit": 8.396
+ },
+ "frontend/src/scenes/web-analytics/tiles/skeletons/WebAnalyticsTileSkeletons.stories.tsx": {
+ "chromium": 20.12,
+ "webkit": 3.729
+ },
+ "frontend/src/scenes/welcome/WelcomeDialog.stories.tsx": {
+ "chromium": 17.097,
+ "webkit": 5.168
+ },
+ "frontend/src/scenes/welcome/cards/FlagshipProductsCard.stories.tsx": {
+ "chromium": 6.023,
+ "webkit": 2.506
+ },
+ "frontend/src/scenes/welcome/cards/InstallProgressCard.stories.tsx": {
+ "chromium": 5.448,
+ "webkit": 3.626
+ },
+ "frontend/src/toolbar/floating/components/Toolbar.stories.tsx": {
+ "chromium": 82.436,
+ "webkit": 1.726
+ },
+ "packages/quill/packages/charts/src/charts/BarChart/BarChart.stories.tsx": {
+ "chromium": 91.373,
+ "webkit": 10.259
+ },
+ "packages/quill/packages/charts/src/charts/BarList/BarList.stories.tsx": {
+ "chromium": 16.847,
+ "webkit": 3.81
+ },
+ "packages/quill/packages/charts/src/charts/BoxPlot/BoxPlot.stories.tsx": {
+ "chromium": 22.92,
+ "webkit": 3.989
+ },
+ "packages/quill/packages/charts/src/charts/ComboChart/ComboChart.stories.tsx": {
+ "chromium": 31.632,
+ "webkit": 4.434
+ },
+ "packages/quill/packages/charts/src/charts/FunnelChart/FunnelChart.stories.tsx": {
+ "chromium": 16.528,
+ "webkit": 3.554
+ },
+ "packages/quill/packages/charts/src/charts/Heatmap/Heatmap.stories.tsx": {
+ "chromium": 20.757,
+ "webkit": 4.196
+ },
+ "packages/quill/packages/charts/src/charts/LineChart/LineChart.stories.tsx": {
+ "chromium": 71.674,
+ "webkit": 9.04
+ },
+ "packages/quill/packages/charts/src/charts/PieChart/PieChart.stories.tsx": {
+ "chromium": 35.164,
+ "webkit": 6.17
+ },
+ "packages/quill/packages/charts/src/charts/ProportionBar/ProportionBar.stories.tsx": {
+ "chromium": 16.595,
+ "webkit": 3.471
+ },
+ "packages/quill/packages/charts/src/charts/SankeyChart/SankeyChart.stories.tsx": {
+ "chromium": 20.256,
+ "webkit": 4.344
+ },
+ "packages/quill/packages/charts/src/charts/ScatterChart/ScatterChart.stories.tsx": {
+ "chromium": 24.155,
+ "webkit": 3.992
+ },
+ "packages/quill/packages/charts/src/charts/SlopeChart/SlopeChart.stories.tsx": {
+ "chromium": 31.72,
+ "webkit": 4.286
+ },
+ "packages/quill/packages/charts/src/charts/Sparkline/Sparkline.stories.tsx": {
+ "chromium": 31.667,
+ "webkit": 4.29
+ },
+ "packages/quill/packages/charts/src/charts/TimeSeriesBarChart/TimeSeriesBarChart.stories.tsx": {
+ "chromium": 35.066,
+ "webkit": 5.917
+ },
+ "packages/quill/packages/charts/src/charts/TimeSeriesComboChart/TimeSeriesComboChart.stories.tsx": {
+ "chromium": 20.467,
+ "webkit": 4.055
+ },
+ "packages/quill/packages/charts/src/charts/TimeSeriesLineChart/TimeSeriesLineChart.stories.tsx": {
+ "chromium": 46.864,
+ "webkit": 7.436
+ },
+ "packages/quill/packages/charts/src/components/Legend/Legend.stories.tsx": {
+ "chromium": 43.96,
+ "webkit": 5.995
+ },
+ "packages/quill/packages/charts/src/components/MetricCard/MetricCard.stories.tsx": {
+ "chromium": 23.105,
+ "webkit": 4.234
+ },
+ "packages/quill/packages/charts/src/overlays/DefaultTooltip.stories.tsx": {
+ "chromium": 8.898,
+ "webkit": 3.269
+ },
+ "packages/quill/packages/charts/src/overlays/HighlightedRange.stories.tsx": {
+ "chromium": 13.978,
+ "webkit": 3.689
+ },
+ "packages/quill/packages/charts/src/overlays/ReferenceLine.stories.tsx": {
+ "chromium": 20.467,
+ "webkit": 3.63
+ },
+ "packages/quill/packages/charts/src/overlays/TrendLineOverlay.stories.tsx": {
+ "chromium": 8.836,
+ "webkit": 3.306
+ },
+ "packages/quill/packages/charts/src/overlays/ValueLabels.stories.tsx": {
+ "chromium": 31.833,
+ "webkit": 5.428
+ },
+ "products/actions/frontend/components/EventHealthWarning.stories.tsx": {
+ "chromium": 5.369,
+ "webkit": 3.648
+ },
+ "products/actions/frontend/pages/Action.stories.tsx": {
+ "chromium": 34.768,
+ "webkit": 8.171
+ },
+ "products/actions/frontend/utils/actionStepDescription.stories.tsx": {
+ "chromium": 9.479,
+ "webkit": 2.746
+ },
+ "products/actions/mcp/apps/Actions.stories.tsx": {
+ "chromium": 11.257,
+ "webkit": 4.008
+ },
+ "products/ai_observability/frontend/AIObservabilitySessionsEmptyState.stories.tsx": {
+ "chromium": 9.757,
+ "webkit": 3.871
+ },
+ "products/ai_observability/frontend/AIObservabilityTraceScene.stories.tsx": {
+ "chromium": 22.674,
+ "webkit": 6.292
+ },
+ "products/ai_observability/frontend/ByokModelPickerNotice.stories.tsx": {
+ "chromium": 16.599,
+ "webkit": 3.915
+ },
+ "products/ai_observability/frontend/ConversationDisplay/ConversationDisplay.stories.tsx": {
+ "chromium": 36.244,
+ "webkit": 6.215
+ },
+ "products/ai_observability/frontend/ConversationDisplay/RedactedMediaPlaceholder.stories.tsx": {
+ "chromium": 13.272,
+ "webkit": 4.468
+ },
+ "products/ai_observability/frontend/clusters/ClusterCard.stories.tsx": {
+ "chromium": 16.656,
+ "webkit": 3.486
+ },
+ "products/ai_observability/frontend/clusters/ClusterScatterPlot.stories.tsx": {
+ "chromium": 1.254,
+ "webkit": 2.382
+ },
+ "products/ai_observability/frontend/components/AIImage.stories.tsx": {
+ "chromium": 9.581,
+ "webkit": 2.714
+ },
+ "products/ai_observability/frontend/components/EvaluationExplanation.stories.tsx": {
+ "chromium": 12.75,
+ "webkit": 4.592
+ },
+ "products/ai_observability/frontend/components/EvaluationResultTag.stories.tsx": {
+ "chromium": 9.005,
+ "webkit": 2.469
+ },
+ "products/ai_observability/frontend/components/EvaluationRunTimestampCell.stories.tsx": {
+ "chromium": 5.795,
+ "webkit": 2.812
+ },
+ "products/ai_observability/frontend/components/SentimentTag.stories.tsx": {
+ "chromium": 52.573,
+ "webkit": 7.958
+ },
+ "products/ai_observability/frontend/evaluations/EvaluationTemplates.stories.tsx": {
+ "chromium": 10.351,
+ "webkit": 10.101
+ },
+ "products/ai_observability/frontend/evaluations/components/CategoricalEvaluationConfig.stories.tsx": {
+ "chromium": 16.932,
+ "webkit": 3.705
+ },
+ "products/ai_observability/frontend/evaluations/components/EvaluationModelPicker.stories.tsx": {
+ "chromium": 28.101,
+ "webkit": 4.989
+ },
+ "products/ai_observability/frontend/evaluations/components/EvaluationReportConfig.stories.tsx": {
+ "chromium": 9.421,
+ "webkit": 3.535
+ },
+ "products/ai_observability/frontend/evaluations/components/NumericEvaluationConfig.stories.tsx": {
+ "chromium": 17.039,
+ "webkit": 4.15
+ },
+ "products/ai_observability/frontend/instrumentationChecklist/InstrumentationChecklistCard.stories.tsx": {
+ "chromium": 19.705,
+ "webkit": 4.056
+ },
+ "products/ai_observability/frontend/offline-evaluations/OfflineExperimentContent.stories.tsx": {
+ "chromium": 31.673,
+ "webkit": 6.695
+ },
+ "products/ai_observability/frontend/offline-evaluations/OfflineExperimentsOverview.stories.tsx": {
+ "chromium": 63.7,
+ "webkit": 12.711
+ },
+ "products/ai_observability/frontend/offline-evaluations/OfflineResultTag.stories.tsx": {
+ "chromium": 31.3,
+ "webkit": 4.441
+ },
+ "products/ai_observability/frontend/offline-evaluations/OfflineScoreSummaryDisplay.stories.tsx": {
+ "chromium": 20.227,
+ "webkit": 4.144
+ },
+ "products/ai_observability/frontend/offline-evaluations/OfflineScoreTrendChart.stories.tsx": {
+ "chromium": 50.92,
+ "webkit": 6.583
+ },
+ "products/ai_observability/frontend/offline-evaluations/OfflineScorerHistoryScene.stories.tsx": {
+ "chromium": 13.847,
+ "webkit": 5.153
+ },
+ "products/ai_observability/frontend/playground/MessageToolCallsEditor.stories.tsx": {
+ "chromium": 5.62,
+ "webkit": 2.686
+ },
+ "products/ai_observability/frontend/playground/PlaygroundVariablesPanel.stories.tsx": {
+ "chromium": 5.788,
+ "webkit": 3.385
+ },
+ "products/ai_observability/frontend/playground/TemplateVariableTextArea.stories.tsx": {
+ "chromium": 9.708,
+ "webkit": 2.62
+ },
+ "products/ai_observability/frontend/playground/ToolCallDisplay.stories.tsx": {
+ "chromium": 5.944,
+ "webkit": 3.765
+ },
+ "products/ai_observability/frontend/prompts/CreatePromptExperimentModal.stories.tsx": {
+ "chromium": 5.819,
+ "webkit": 2.575
+ },
+ "products/ai_observability/frontend/prompts/LLMPromptsScene.stories.tsx": {
+ "chromium": 9.793,
+ "webkit": 3.113
+ },
+ "products/ai_observability/frontend/prompts/PromptReferenceTags.stories.tsx": {
+ "chromium": 5.833,
+ "webkit": 2.922
+ },
+ "products/ai_observability/frontend/redesign/trace/components/ErrorCallout.stories.tsx": {
+ "chromium": 5.299,
+ "webkit": 5.334
+ },
+ "products/ai_observability/frontend/redesign/trace/components/EvalResultList.stories.tsx": {
+ "chromium": 27.631,
+ "webkit": 4.603
+ },
+ "products/ai_observability/frontend/redesign/trace/components/IOPanel.stories.tsx": {
+ "chromium": 20.139,
+ "webkit": 4.371
+ },
+ "products/ai_observability/frontend/redesign/trace/components/MessageBlock.stories.tsx": {
+ "chromium": 27.525,
+ "webkit": 4.561
+ },
+ "products/ai_observability/frontend/redesign/trace/components/MessageList.stories.tsx": {
+ "chromium": 16.524,
+ "webkit": 3.113
+ },
+ "products/ai_observability/frontend/redesign/trace/components/MessagePartView.stories.tsx": {
+ "chromium": 42.599,
+ "webkit": 5.937
+ },
+ "products/ai_observability/frontend/redesign/trace/components/NodeDetail.stories.tsx": {
+ "chromium": 45.575,
+ "webkit": 6.337
+ },
+ "products/ai_observability/frontend/redesign/trace/components/NodeKindGlyph.stories.tsx": {
+ "chromium": 6.544,
+ "webkit": 1.99
+ },
+ "products/ai_observability/frontend/redesign/trace/components/NodePropertyList.stories.tsx": {
+ "chromium": 16.834,
+ "webkit": 3.716
+ },
+ "products/ai_observability/frontend/redesign/trace/components/NodeRawTab.stories.tsx": {
+ "chromium": 5.635,
+ "webkit": 4.501
+ },
+ "products/ai_observability/frontend/redesign/trace/components/NodeStatChips.stories.tsx": {
+ "chromium": 8.963,
+ "webkit": 4.31
+ },
+ "products/ai_observability/frontend/redesign/trace/components/NodeStatsLine.stories.tsx": {
+ "chromium": 12.431,
+ "webkit": 3.577
+ },
+ "products/ai_observability/frontend/redesign/trace/components/Thread.stories.tsx": {
+ "chromium": 31.51,
+ "webkit": 6.298
+ },
+ "products/ai_observability/frontend/redesign/trace/components/ThreadBubble.stories.tsx": {
+ "chromium": 17.068,
+ "webkit": 3.76
+ },
+ "products/ai_observability/frontend/redesign/trace/components/ThreadTurn.stories.tsx": {
+ "chromium": 12.786,
+ "webkit": 3.323
+ },
+ "products/ai_observability/frontend/redesign/trace/components/TraceHeader.stories.tsx": {
+ "chromium": 13.267,
+ "webkit": 4.244
+ },
+ "products/ai_observability/frontend/redesign/trace/components/TraceModeTabs.stories.tsx": {
+ "chromium": 5.12,
+ "webkit": 2.109
+ },
+ "products/ai_observability/frontend/redesign/trace/components/TraceSplitView.stories.tsx": {
+ "chromium": 10.559,
+ "webkit": 4.006
+ },
+ "products/ai_observability/frontend/redesign/trace/components/TraceSummaryBar.stories.tsx": {
+ "chromium": 20.166,
+ "webkit": 3.95
+ },
+ "products/ai_observability/frontend/redesign/trace/components/TraceTimeline.stories.tsx": {
+ "chromium": 27.747,
+ "webkit": 4.153
+ },
+ "products/ai_observability/frontend/redesign/trace/components/TraceTree.stories.tsx": {
+ "chromium": 13.017,
+ "webkit": 2.786
+ },
+ "products/ai_observability/frontend/redesign/trace/components/TraceView.stories.tsx": {
+ "chromium": 48.053,
+ "webkit": 7.33
+ },
+ "products/ai_observability/frontend/redesign/trace/components/TraceViewSwitch.stories.tsx": {
+ "chromium": 9.199,
+ "webkit": 4.287
+ },
+ "products/ai_observability/frontend/scoreDefinitions/AIObservabilityScorerScene.stories.tsx": {
+ "chromium": 24.229,
+ "webkit": 4.535
+ },
+ "products/ai_observability/frontend/scoreDefinitions/AIObservabilityScorersScene.stories.tsx": {
+ "chromium": 17.875,
+ "webkit": 5.595
+ },
+ "products/ai_observability/frontend/scoreDefinitions/ScoreDefinitionForm.stories.tsx": {
+ "chromium": 27.78,
+ "webkit": 4.438
+ },
+ "products/ai_observability/frontend/selfDriving/SelfDrivingSignalSourceToggle.stories.tsx": {
+ "chromium": 19.62,
+ "webkit": 3.656
+ },
+ "products/ai_observability/frontend/settings/SystemOneConnectionFields.stories.tsx": {
+ "chromium": 12.395,
+ "webkit": 3.199
+ },
+ "products/ai_observability/mcp/apps/AIObservability.stories.tsx": {
+ "chromium": 10.078,
+ "webkit": 4.462
+ },
+ "products/alerts/frontend/AlertsScene.stories.tsx": {
+ "chromium": 18.747,
+ "webkit": 7.083
+ },
+ "products/alerts/frontend/components/AlertComponents.stories.tsx": {
+ "chromium": 52.472,
+ "webkit": 7.847
+ },
+ "products/alerts/frontend/views/AlertHistoryChart.stories.tsx": {
+ "chromium": 19.736,
+ "webkit": 4.521
+ },
+ "products/alerts/frontend/views/AlertModal.stories.tsx": {
+ "chromium": 18.354,
+ "webkit": 7.419
+ },
+ "products/alerts/frontend/views/ManageAlertsModal.stories.tsx": {
+ "chromium": 24.345,
+ "webkit": 6.066
+ },
+ "products/alerts/frontend/views/SimulationSummary.stories.tsx": {
+ "chromium": 12.911,
+ "webkit": 3.547
+ },
+ "products/alerts_platform/frontend/PlatformAlerts.stories.tsx": {
+ "chromium": 11.078,
+ "webkit": 3.617
+ },
+ "products/annotations/frontend/pages/Annotations.stories.tsx": {
+ "chromium": 16.107,
+ "webkit": 8.57
+ },
+ "products/autoresearch/frontend/AutoresearchModelCard.stories.tsx": {
+ "chromium": 27.728,
+ "webkit": 4.175
+ },
+ "products/autoresearch/frontend/AutoresearchPipelineScene.stories.tsx": {
+ "chromium": 71.029,
+ "webkit": 13.747
+ },
+ "products/autoresearch/frontend/DailyVolumeChart.stories.tsx": {
+ "chromium": 9.255,
+ "webkit": 2.584
+ },
+ "products/autoresearch/frontend/ProbabilityHistogram.stories.tsx": {
+ "chromium": 12.362,
+ "webkit": 3.29
+ },
+ "products/autoresearch/frontend/pipeline/LifecycleStrip.stories.tsx": {
+ "chromium": 17.069,
+ "webkit": 3.221
+ },
+ "products/autoresearch/frontend/pipeline/TrainingRunRow.stories.tsx": {
+ "chromium": 16.164,
+ "webkit": 3.326
+ },
+ "products/business_intelligence/frontend/BIChartYearLabels.stories.tsx": {
+ "chromium": 12.402,
+ "webkit": 4.781
+ },
+ "products/business_intelligence/frontend/BIComparisonSummary.stories.tsx": {
+ "chromium": 12.574,
+ "webkit": 3.27
+ },
+ "products/business_intelligence/frontend/BIPivotTable.stories.tsx": {
+ "chromium": 5.758,
+ "webkit": 2.876
+ },
+ "products/business_intelligence/frontend/BIScatterGraph.stories.tsx": {
+ "chromium": 14.719,
+ "webkit": 6.847
+ },
+ "products/business_intelligence/frontend/BIWorksheetsScene.stories.tsx": {
+ "chromium": 5.96,
+ "webkit": 2.584
+ },
+ "products/business_intelligence/frontend/BusinessIntelligenceScene.stories.tsx": {
+ "chromium": 35.683,
+ "webkit": 13.822
+ },
+ "products/business_knowledge/frontend/scenes/playground/BusinessKnowledgePlaygroundScene.stories.tsx": {
+ "chromium": 18.983,
+ "webkit": 7.202
+ },
+ "products/business_knowledge/frontend/scenes/source/KnowledgeSourceDetails.stories.tsx": {
+ "chromium": 16.399,
+ "webkit": 4.531
+ },
+ "products/business_knowledge/frontend/scenes/sources/KnowledgeSourceNameCell.stories.tsx": {
+ "chromium": 12.734,
+ "webkit": 4.14
+ },
+ "products/canvas/frontend/host/CanvasHostPromptDialog.stories.tsx": {
+ "chromium": 1.483,
+ "webkit": 2.292
+ },
+ "products/canvas/frontend/scene/CanvasScene.stories.tsx": {
+ "chromium": 1.893,
+ "webkit": 1.531
+ },
+ "products/cohorts/mcp/apps/Cohorts.stories.tsx": {
+ "chromium": 10.375,
+ "webkit": 3.455
+ },
+ "products/conversations/frontend/components/GroupRevenue/GroupRevenue.stories.tsx": {
+ "chromium": 9.32,
+ "webkit": 4.754
+ },
+ "products/conversations/frontend/components/SupportPlaybookEditor/SupportPlaybookEditor.stories.tsx": {
+ "chromium": 16.479,
+ "webkit": 3.21
+ },
+ "products/conversations/frontend/components/TrustedRelaySenderSettings/TrustedRelaySenderSettings.stories.tsx": {
+ "chromium": 12.771,
+ "webkit": 6.699
+ },
+ "products/conversations/frontend/scenes/ticket/AIPanel.stories.tsx": {
+ "chromium": 17.019,
+ "webkit": 2.911
+ },
+ "products/conversations/frontend/scenes/ticket/ThreadReports.stories.tsx": {
+ "chromium": 12.304,
+ "webkit": 4.334
+ },
+ "products/customer_analytics/frontend/CustomerAnalyticsScene.stories.tsx": {
+ "chromium": 45.165,
+ "webkit": 15.874
+ },
+ "products/customer_analytics/frontend/components/Accounts/AccountSessionReplays.stories.tsx": {
+ "chromium": 35.608,
+ "webkit": 5.122
+ },
+ "products/customer_analytics/frontend/components/Accounts/AccountsTab.stories.tsx": {
+ "chromium": 114.783,
+ "webkit": 63.584
+ },
+ "products/customer_analytics/frontend/components/CustomerJourneys/CustomerJourneys.stories.tsx": {
+ "chromium": 10.952,
+ "webkit": 4.389
+ },
+ "products/customer_analytics/frontend/components/FeatureRequests/FeatureRequestFormModals.stories.tsx": {
+ "chromium": 9.661,
+ "webkit": 3.859
+ },
+ "products/customer_analytics/frontend/components/FeatureRequests/FeatureRequestGithubSection.stories.tsx": {
+ "chromium": 35.778,
+ "webkit": 5.423
+ },
+ "products/customer_analytics/frontend/components/TaskDigest/CustomerAnalyticsTaskDigest.stories.tsx": {
+ "chromium": 41.186,
+ "webkit": 5.955
+ },
+ "products/customer_analytics/frontend/components/UsageMetricCard.stories.tsx": {
+ "chromium": 28.26,
+ "webkit": 5.221
+ },
+ "products/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/CustomerAnalyticsAccountScene.stories.tsx": {
+ "chromium": 49.883,
+ "webkit": 18.018
+ },
+ "products/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/components/AccountPropertyComponents.stories.tsx": {
+ "chromium": 27.859,
+ "webkit": 5.086
+ },
+ "products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/AccountTrackRules.stories.tsx": {
+ "chromium": 20.809,
+ "webkit": 7.213
+ },
+ "products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/CustomPropertySyncRuns.stories.tsx": {
+ "chromium": 9.515,
+ "webkit": 4.518
+ },
+ "products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/DefaultPinnedAccountProperties.stories.tsx": {
+ "chromium": 5.661,
+ "webkit": 2.094
+ },
+ "products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/calendar/CalendarSyncBackfillModal.stories.tsx": {
+ "chromium": 8.562,
+ "webkit": 2.933
+ },
+ "products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene.stories.tsx": {
+ "chromium": 6.513,
+ "webkit": 4.371
+ },
+ "products/customer_analytics/frontend/scenes/CustomerJourneyTemplatesScene/CustomerJourneyTemplatesScene.stories.tsx": {
+ "chromium": 13.026,
+ "webkit": 6.156
+ },
+ "products/customer_analytics/frontend/scenes/WarehousePropertiesScene/WarehousePropertiesScene.stories.tsx": {
+ "chromium": 10.719,
+ "webkit": 2.938
+ },
+ "products/dashboards/frontend/DashboardFilters.stories.tsx": {
+ "chromium": 10.422,
+ "webkit": 3.747
+ },
+ "products/dashboards/frontend/DashboardStates.stories.tsx": {
+ "chromium": 7.248,
+ "webkit": 3.83
+ },
+ "products/dashboards/frontend/DashboardsList.stories.tsx": {
+ "chromium": 6.244,
+ "webkit": 4.42
+ },
+ "products/dashboards/frontend/NewDashboardModal.stories.tsx": {
+ "chromium": 9.674,
+ "webkit": 2.868
+ },
+ "products/dashboards/frontend/Tiles/DashboardImageTile.stories.tsx": {
+ "chromium": 9.664,
+ "webkit": 3.121
+ },
+ "products/dashboards/frontend/Tiles/ImageTileModal.stories.tsx": {
+ "chromium": 13.862,
+ "webkit": 4.576
+ },
+ "products/dashboards/frontend/components/AddInsightToDashboardModal/AddInsightToDashboardModal.stories.tsx": {
+ "chromium": 14.468,
+ "webkit": 8.057
+ },
+ "products/dashboards/frontend/components/DashboardTemplates/DashboardTemplateCopyScene.stories.tsx": {
+ "chromium": 12.829,
+ "webkit": 3.244
+ },
+ "products/dashboards/frontend/components/DashboardTemplates/DashboardTemplateItem.stories.tsx": {
+ "chromium": 5.448,
+ "webkit": 2.241
+ },
+ "products/dashboards/frontend/components/DashboardTemplates/DashboardTemplateModal.stories.tsx": {
+ "chromium": 12.593,
+ "webkit": 3.387
+ },
+ "products/dashboards/frontend/components/DashboardTemplates/DashboardTemplatesTable.stories.tsx": {
+ "chromium": 13.138,
+ "webkit": 3.887
+ },
+ "products/dashboards/frontend/components/WidgetCard/DashboardWidgetsOverview.stories.tsx": {
+ "chromium": 7.793,
+ "webkit": 3.666
+ },
+ "products/dashboards/frontend/components/WidgetCard/WidgetCard.stories.tsx": {
+ "chromium": 12.675,
+ "webkit": 4.542
+ },
+ "products/dashboards/frontend/widgets/activity/ActivityEventsWidget.stories.tsx": {
+ "chromium": 18.283,
+ "webkit": 4.722
+ },
+ "products/dashboards/frontend/widgets/conversations/ConversationsWidget.stories.tsx": {
+ "chromium": 21.81,
+ "webkit": 4.92
+ },
+ "products/dashboards/frontend/widgets/conversations/EditConversationsWidgetModal.stories.tsx": {
+ "chromium": 5.688,
+ "webkit": 3.2
+ },
+ "products/dashboards/frontend/widgets/error_tracking/EditErrorTrackingWidgetModal.stories.tsx": {
+ "chromium": 9.65,
+ "webkit": 3.537
+ },
+ "products/dashboards/frontend/widgets/error_tracking/ErrorTrackingWidget.stories.tsx": {
+ "chromium": 21.776,
+ "webkit": 4.849
+ },
+ "products/dashboards/frontend/widgets/experiments/EditExperimentResultsWidgetModal.stories.tsx": {
+ "chromium": 6.106,
+ "webkit": 2.592
+ },
+ "products/dashboards/frontend/widgets/experiments/EditExperimentsListWidgetModal.stories.tsx": {
+ "chromium": 5.202,
+ "webkit": 3.949
+ },
+ "products/dashboards/frontend/widgets/experiments/ExperimentResultsWidget.stories.tsx": {
+ "chromium": 17.187,
+ "webkit": 3.98
+ },
+ "products/dashboards/frontend/widgets/experiments/ExperimentsListWidget.stories.tsx": {
+ "chromium": 17.064,
+ "webkit": 3.319
+ },
+ "products/dashboards/frontend/widgets/logs/EditLogsWidgetModal.stories.tsx": {
+ "chromium": 5.976,
+ "webkit": 2.324
+ },
+ "products/dashboards/frontend/widgets/logs/LogsWidget.stories.tsx": {
+ "chromium": 17.78,
+ "webkit": 4.882
+ },
+ "products/dashboards/frontend/widgets/session_replay/EditSessionReplayWidgetModal.stories.tsx": {
+ "chromium": 6.419,
+ "webkit": 6.883
+ },
+ "products/dashboards/frontend/widgets/session_replay/SessionReplayWidget.stories.tsx": {
+ "chromium": 21.949,
+ "webkit": 4.481
+ },
+ "products/dashboards/frontend/widgets/surveys/EditSurveyResultsWidgetModal.stories.tsx": {
+ "chromium": 5.919,
+ "webkit": 4.534
+ },
+ "products/dashboards/frontend/widgets/surveys/SurveyResultsWidget.stories.tsx": {
+ "chromium": 25.647,
+ "webkit": 4.267
+ },
+ "products/data_catalog/frontend/MetricLineagePanel.stories.tsx": {
+ "chromium": 27.219,
+ "webkit": 4.892
+ },
+ "products/data_catalog/frontend/components/MetricMarkdownEditor.stories.tsx": {
+ "chromium": 8.572,
+ "webkit": 3.183
+ },
+ "products/data_catalog/frontend/components/ResultCell.stories.tsx": {
+ "chromium": 10.316,
+ "webkit": 3.195
+ },
+ "products/data_catalog/frontend/tabs/MetricTestsTab.stories.tsx": {
+ "chromium": 21.029,
+ "webkit": 3.787
+ },
+ "products/data_modeling/frontend/ModelsOverviewTab.stories.tsx": {
+ "chromium": 41.009,
+ "webkit": 6.605
+ },
+ "products/data_modeling/frontend/ViewsTab.stories.tsx": {
+ "chromium": 5.741,
+ "webkit": 2.545
+ },
+ "products/data_modeling/frontend/lineage/LineageGraph.stories.tsx": {
+ "chromium": 57.951,
+ "webkit": 15.283
+ },
+ "products/data_modeling/frontend/nodeDetail/ModelDownstreamSummary.stories.tsx": {
+ "chromium": 16.786,
+ "webkit": 8.127
+ },
+ "products/data_modeling/frontend/nodeDetail/ModelHealthSummary.stories.tsx": {
+ "chromium": 34.586,
+ "webkit": 7.748
+ },
+ "products/data_modeling/frontend/nodeDetail/ModelSummaryCard.stories.tsx": {
+ "chromium": 9.781,
+ "webkit": 2.988
+ },
+ "products/data_modeling/frontend/nodeDetail/ModelTableSummary.stories.tsx": {
+ "chromium": 19.982,
+ "webkit": 3.571
+ },
+ "products/data_modeling/frontend/nodeDetail/ModelViewSummary.stories.tsx": {
+ "chromium": 12.883,
+ "webkit": 3.943
+ },
+ "products/data_modeling/frontend/nodeDetail/NodeDetailScene.stories.tsx": {
+ "chromium": 37.801,
+ "webkit": 9.327
+ },
+ "products/data_quality/frontend/CheckRunsTable.stories.tsx": {
+ "chromium": 5.661,
+ "webkit": 2.225
+ },
+ "products/data_quality/frontend/overview/DataQualityOverview.stories.tsx": {
+ "chromium": 17.161,
+ "webkit": 4.983
+ },
+ "products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalogSkeleton.stories.tsx": {
+ "chromium": 11.111,
+ "webkit": 4.497
+ },
+ "products/data_warehouse/frontend/scenes/SourceScene/ApiVersionDeprecationBanner.stories.tsx": {
+ "chromium": 10.808,
+ "webkit": 3.474
+ },
+ "products/data_warehouse/frontend/scenes/SourceScene/FailingDestinationsBanner.stories.tsx": {
+ "chromium": 13.034,
+ "webkit": 3.328
+ },
+ "products/data_warehouse/frontend/scenes/SourceScene/tabs/SchemasTab.stories.tsx": {
+ "chromium": 15.359,
+ "webkit": 4.755
+ },
+ "products/data_warehouse/frontend/scenes/WarehouseDestinationsScene/WarehouseDestinationsTable.stories.tsx": {
+ "chromium": 20.652,
+ "webkit": 3.946
+ },
+ "products/data_warehouse/frontend/shared/components/DestinationList.stories.tsx": {
+ "chromium": 22.989,
+ "webkit": 5.669
+ },
+ "products/data_warehouse/frontend/shared/components/DestinationModal.stories.tsx": {
+ "chromium": 25.33,
+ "webkit": 6.29
+ },
+ "products/data_warehouse/frontend/shared/components/JobDestinations.stories.tsx": {
+ "chromium": 27.563,
+ "webkit": 4.46
+ },
+ "products/data_warehouse/frontend/shared/components/MaterializationRunError.stories.tsx": {
+ "chromium": 9.209,
+ "webkit": 3.411
+ },
+ "products/early_access_features/frontend/EarlyAccessFeatures.stories.tsx": {
+ "chromium": 17.403,
+ "webkit": 4.874
+ },
+ "products/endpoints/frontend/nodes/EndpointsUsageTrendsChart.stories.tsx": {
+ "chromium": 5.324,
+ "webkit": 3.23
+ },
+ "products/engineering_analytics/frontend/components/DeliveryPipeline.stories.tsx": {
+ "chromium": 13.252,
+ "webkit": 4.514
+ },
+ "products/engineering_analytics/frontend/components/LeadTimeBoxPlot.stories.tsx": {
+ "chromium": 8.487,
+ "webkit": 3.059
+ },
+ "products/engineering_analytics/frontend/components/RunActivityChart.stories.tsx": {
+ "chromium": 5.834,
+ "webkit": 2.509
+ },
+ "products/engineering_analytics/frontend/scenes/CIExplorerScene.stories.tsx": {
+ "chromium": 12.332,
+ "webkit": 3.753
+ },
+ "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsAuthorScene.stories.tsx": {
+ "chromium": 19.604,
+ "webkit": 5.371
+ },
+ "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsAuthors.stories.tsx": {
+ "chromium": 12.827,
+ "webkit": 3.279
+ },
+ "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsDeploys.stories.tsx": {
+ "chromium": 24.367,
+ "webkit": 5.489
+ },
+ "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsTeamScene.stories.tsx": {
+ "chromium": 20.33,
+ "webkit": 4.93
+ },
+ "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsTeams.stories.tsx": {
+ "chromium": 12.083,
+ "webkit": 5.941
+ },
+ "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsTests.stories.tsx": {
+ "chromium": 17.501,
+ "webkit": 3.362
+ },
+ "products/engineering_analytics/frontend/scenes/EngineeringAnalyticsWorkflows.stories.tsx": {
+ "chromium": 13.951,
+ "webkit": 3.257
+ },
+ "products/engineering_analytics/frontend/scenes/PullRequestDetailScene.stories.tsx": {
+ "chromium": 18.719,
+ "webkit": 3.728
+ },
+ "products/engineering_analytics/frontend/scenes/RepoOverviewScene.stories.tsx": {
+ "chromium": 17.872,
+ "webkit": 4.317
+ },
+ "products/engineering_analytics/frontend/scenes/WorkflowRunDetailScene.stories.tsx": {
+ "chromium": 14.052,
+ "webkit": 4.799
+ },
+ "products/engineering_analytics/frontend/scenes/WorkflowRunsScene.stories.tsx": {
+ "chromium": 17.093,
+ "webkit": 4.443
+ },
+ "products/error_tracking/frontend/ErrorTracking.stories.tsx": {
+ "chromium": 122.252,
+ "webkit": 41.017
+ },
+ "products/error_tracking/frontend/components/Assignee/AssigneeDisplay.stories.tsx": {
+ "chromium": 16.34,
+ "webkit": 4.127
+ },
+ "products/error_tracking/frontend/components/Banners/MissingReleaseIdBanner.stories.tsx": {
+ "chromium": 6.344,
+ "webkit": 4.604
+ },
+ "products/error_tracking/frontend/components/Banners/MissingReleaseIdModal.stories.tsx": {
+ "chromium": 12.416,
+ "webkit": 4.392
+ },
+ "products/error_tracking/frontend/components/ContextDisplay/ContextDisplay.stories.tsx": {
+ "chromium": 13.454,
+ "webkit": 4.924
+ },
+ "products/error_tracking/frontend/components/ContextDisplay/ExceptionPropertiesTable.stories.tsx": {
+ "chromium": 9.217,
+ "webkit": 2.99
+ },
+ "products/error_tracking/frontend/components/ExceptionCard/ExceptionCard.stories.tsx": {
+ "chromium": 76.877,
+ "webkit": 15.762
+ },
+ "products/error_tracking/frontend/components/ExceptionCard/Tabs/StackTraceTab/StackTraceActions.stories.tsx": {
+ "chromium": 5.234,
+ "webkit": 2.398
+ },
+ "products/error_tracking/frontend/components/ExceptionCard/Tabs/StackTraceTab/StackTraceDisplay.stories.tsx": {
+ "chromium": 31.775,
+ "webkit": 6.665
+ },
+ "products/error_tracking/frontend/components/VolumeSparkline/VolumeSparkline.stories.tsx": {
+ "chromium": 27.155,
+ "webkit": 4.908
+ },
+ "products/error_tracking/frontend/scenes/ErrorTrackingConfigurationScene/rate_limit/RateLimitHistoryChart.stories.tsx": {
+ "chromium": 10.62,
+ "webkit": 4.032
+ },
+ "products/error_tracking/frontend/scenes/ErrorTrackingConfigurationScene/rate_limit/RateLimitSimulationChart.stories.tsx": {
+ "chromium": 9.625,
+ "webkit": 3.197
+ },
+ "products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/LinkedReports.stories.tsx": {
+ "chromium": 16.828,
+ "webkit": 4.067
+ },
+ "products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/insights/InsightsPanels.stories.tsx": {
+ "chromium": 34.278,
+ "webkit": 5.587
+ },
+ "products/error_tracking/mcp/apps/ErrorTracking.stories.tsx": {
+ "chromium": 20.696,
+ "webkit": 5.605
+ },
+ "products/experiments/frontend/setupInspector/SetupInspector.stories.tsx": {
+ "chromium": 19.987,
+ "webkit": 16.197
+ },
+ "products/experiments/mcp/apps/Experiments.stories.tsx": {
+ "chromium": 17.795,
+ "webkit": 4.859
+ },
+ "products/feature_flags/frontend/FeatureFlagReleaseConditionsChange.stories.tsx": {
+ "chromium": 9.704,
+ "webkit": 3.508
+ },
+ "products/feature_flags/frontend/requestUsage/RequestUsageSummaryCard.stories.tsx": {
+ "chromium": 5.499,
+ "webkit": 3.761
+ },
+ "products/feature_flags/mcp/apps/FeatureFlags.stories.tsx": {
+ "chromium": 15.714,
+ "webkit": 4.6
+ },
+ "products/games/frontend/ShipIt/ShipIt.stories.tsx": {
+ "chromium": 9.15,
+ "webkit": 3.448
+ },
+ "products/groups/frontend/pages/Groups.stories.tsx": {
+ "chromium": 7.093,
+ "webkit": 5.109
+ },
+ "products/growth/frontend/IdentityMatchingScene.stories.tsx": {
+ "chromium": 25.93,
+ "webkit": 5.905
+ },
+ "products/growth/frontend/aiEnrichment/EnrichmentScoring.stories.tsx": {
+ "chromium": 18.245,
+ "webkit": 6.112
+ },
+ "products/legal_documents/frontend/scenes/LegalDocuments.stories.tsx": {
+ "chromium": 43.569,
+ "webkit": 13.448
+ },
+ "products/logs/frontend/LogsScene.stories.tsx": {
+ "chromium": 3.963,
+ "webkit": 2.285
+ },
+ "products/logs/frontend/agentTools/LogsQueryToolWidget.stories.tsx": {
+ "chromium": 9.99,
+ "webkit": 2.785
+ },
+ "products/logs/frontend/components/AnomalyBandChart.stories.tsx": {
+ "chromium": 6.535,
+ "webkit": 3.288
+ },
+ "products/logs/frontend/components/LogsFilterPreview/LogsFilterVolumeSparkline.stories.tsx": {
+ "chromium": 10.616,
+ "webkit": 3.218
+ },
+ "products/logs/frontend/components/LogsRetention/LogsRetentionPeriodPicker.stories.tsx": {
+ "chromium": 23.122,
+ "webkit": 4.089
+ },
+ "products/logs/frontend/components/LogsViewer/Filters/LogsNaturalLanguageSearch/LogsNaturalLanguageCandidates.stories.tsx": {
+ "chromium": 9.445,
+ "webkit": 2.629
+ },
+ "products/logs/frontend/components/LogsViewer/LogsImpactCounts.stories.tsx": {
+ "chromium": 16.915,
+ "webkit": 3.968
+ },
+ "products/logs/frontend/components/LogsViewer/LogsViewerSparkline/LogsViewerSparkline.stories.tsx": {
+ "chromium": 17.15,
+ "webkit": 3.619
+ },
+ "products/logs/frontend/components/VirtualizedLogsList/cells/SessionErrorsBadge.stories.tsx": {
+ "chromium": 9.501,
+ "webkit": 3.147
+ },
+ "products/marketing_analytics/frontend/ConversionRecordingsModal.stories.tsx": {
+ "chromium": 49.964,
+ "webkit": 9.709
+ },
+ "products/marketing_analytics/frontend/MarketingAnalyticsTableScroll.stories.tsx": {
+ "chromium": 5.383,
+ "webkit": 3.118
+ },
+ "products/marketing_analytics/frontend/components/AddIntegrationButton.stories.tsx": {
+ "chromium": 19.37,
+ "webkit": 5.849
+ },
+ "products/marketing_analytics/frontend/dashboard/CustomerAcquisitionCards.stories.tsx": {
+ "chromium": 24.597,
+ "webkit": 5.496
+ },
+ "products/marketing_analytics/frontend/dashboard/MarketingAnalyticsSourceStatusBanner.stories.tsx": {
+ "chromium": 10.456,
+ "webkit": 3.863
+ },
+ "products/marketing_analytics/frontend/dashboard/MarketingQueryError.stories.tsx": {
+ "chromium": 13.033,
+ "webkit": 7.1
+ },
+ "products/marketing_analytics/frontend/dashboard/MarketingQueryFailures.stories.tsx": {
+ "chromium": 17.7,
+ "webkit": 5.41
+ },
+ "products/marketing_analytics/frontend/dashboard/SourceOnboarding.stories.tsx": {
+ "chromium": 79.484,
+ "webkit": 24.084
+ },
+ "products/marketing_analytics/frontend/dashboard/SourceSetupPanel.stories.tsx": {
+ "chromium": 55.718,
+ "webkit": 8.409
+ },
+ "products/marketing_analytics/frontend/dashboard/askAi/AskPostHogAi.stories.tsx": {
+ "chromium": 28.742,
+ "webkit": 5.092
+ },
+ "products/marketing_analytics/frontend/dashboard/cards/MarketingMetricCard.stories.tsx": {
+ "chromium": 17.752,
+ "webkit": 3.785
+ },
+ "products/marketing_analytics/frontend/dashboard/charts/MetricChart.stories.tsx": {
+ "chromium": 33.302,
+ "webkit": 6.162
+ },
+ "products/marketing_analytics/frontend/dashboard/header/MarketingSectionSwitcher.stories.tsx": {
+ "chromium": 9.988,
+ "webkit": 3.136
+ },
+ "products/marketing_analytics/frontend/dashboard/tables/ChangeValueCell.stories.tsx": {
+ "chromium": 38.181,
+ "webkit": 6.13
+ },
+ "products/marketing_analytics/frontend/dashboard/tables/MarketingBreakdownTable.stories.tsx": {
+ "chromium": 28.037,
+ "webkit": 6.232
+ },
+ "products/marketing_analytics/frontend/retention/RetentionReturnTable.stories.tsx": {
+ "chromium": 21.578,
+ "webkit": 7.139
+ },
+ "products/marketing_analytics/frontend/search/SearchPerformanceTab.stories.tsx": {
+ "chromium": 169.987,
+ "webkit": 60.586
+ },
+ "products/mcp_analytics/frontend/MCPAnalyticsDashboard.stories.tsx": {
+ "chromium": 70.305,
+ "webkit": 16.148
+ },
+ "products/mcp_analytics/frontend/MCPAnalyticsToolDetail.stories.tsx": {
+ "chromium": 15.392,
+ "webkit": 2.133
+ },
+ "products/mcp_analytics/frontend/clustering/RoutingBar.stories.tsx": {
+ "chromium": 5.631,
+ "webkit": 2.616
+ },
+ "products/mcp_analytics/frontend/components/BrandMark.stories.tsx": {
+ "chromium": 6.568,
+ "webkit": 2.484
+ },
+ "products/mcp_analytics/frontend/components/McpSharedFilters.stories.tsx": {
+ "chromium": 13.408,
+ "webkit": 3.738
+ },
+ "products/mcp_analytics/frontend/dashboard/DashboardCards.stories.tsx": {
+ "chromium": 94.707,
+ "webkit": 15.323
+ },
+ "products/mcp_analytics/frontend/feedback/MCPAnalyticsFeedbackPrompt.stories.tsx": {
+ "chromium": 30.153,
+ "webkit": 4.793
+ },
+ "products/mcp_analytics/frontend/missingCapabilities/MissingCapabilitiesPreview.stories.tsx": {
+ "chromium": 5.451,
+ "webkit": 2.581
+ },
+ "products/mcp_analytics/frontend/notifications/NotificationTypesTable.stories.tsx": {
+ "chromium": 16.955,
+ "webkit": 4.486
+ },
+ "products/mcp_analytics/frontend/nudge/MCPAnalyticsNudgeToast.stories.tsx": {
+ "chromium": 6.008,
+ "webkit": 2.355
+ },
+ "products/mcp_analytics/frontend/tool-quality/ToolQualityCharts.stories.tsx": {
+ "chromium": 9.676,
+ "webkit": 3.325
+ },
+ "products/mcp_store/frontend/OAuthRedirectUri.stories.tsx": {
+ "chromium": 5.515,
+ "webkit": 3.601
+ },
+ "products/mcp_store/frontend/gateway/GatewayConnectionModal.stories.tsx": {
+ "chromium": 15.41,
+ "webkit": 4.753
+ },
+ "products/mcp_store/frontend/gateway/GatewayServerScene.stories.tsx": {
+ "chromium": 6.865,
+ "webkit": 2.01
+ },
+ "products/metrics/frontend/components/MetricsGroupByButton.stories.tsx": {
+ "chromium": 6.081,
+ "webkit": 3.884
+ },
+ "products/metrics/frontend/dashboardImport/MetricsDashboardImportModal.stories.tsx": {
+ "chromium": 12.879,
+ "webkit": 2.653
+ },
+ "products/metrics/frontend/suggestedDashboards/SuggestedDashboardsMenu.stories.tsx": {
+ "chromium": 5.547,
+ "webkit": 3.075
+ },
+ "products/ml_inference/frontend/DecisionPlayground.stories.tsx": {
+ "chromium": 7.431,
+ "webkit": 3.661
+ },
+ "products/notebooks/frontend/NotebookBtw.stories.tsx": {
+ "chromium": 12.082,
+ "webkit": 5.928
+ },
+ "products/notebooks/frontend/NotebookDashboardWidget/NotebookDashboardWidget.stories.tsx": {
+ "chromium": 35.942,
+ "webkit": 7.943
+ },
+ "products/notebooks/frontend/NotebookNodeGeneratedWidget/NotebookNodeGeneratedWidget.stories.tsx": {
+ "chromium": 21.545,
+ "webkit": 14.014
+ },
+ "products/notebooks/frontend/NotebookNodeGeneratedWidget/NotebookWidgetGenerationCost.stories.tsx": {
+ "chromium": 12.998,
+ "webkit": 5.978
+ },
+ "products/notebooks/frontend/NotebookNodeGeneratedWidget/NotebookWidgetTrustControls.stories.tsx": {
+ "chromium": 16.408,
+ "webkit": 3.357
+ },
+ "products/notebooks/frontend/ReusableWidget/ReusableWidgetDemoDataModal.stories.tsx": {
+ "chromium": 13.342,
+ "webkit": 4.726
+ },
+ "products/persons/frontend/components/PersonSearchMatchTags.stories.tsx": {
+ "chromium": 5.918,
+ "webkit": 3.768
+ },
+ "products/persons/frontend/pages/PersonScene.stories.tsx": {
+ "chromium": 24.318,
+ "webkit": 9.367
+ },
+ "products/posthog_ai/frontend/components/DebugLogsMenu.stories.tsx": {
+ "chromium": 13.766,
+ "webkit": 2.914
+ },
+ "products/posthog_ai/frontend/components/OptionSelector.stories.tsx": {
+ "chromium": 16.853,
+ "webkit": 3.426
+ },
+ "products/posthog_ai/frontend/components/PermissionInput.stories.tsx": {
+ "chromium": 13.956,
+ "webkit": 3.493
+ },
+ "products/posthog_ai/frontend/components/QueuedMessageList.stories.tsx": {
+ "chromium": 19.811,
+ "webkit": 5.891
+ },
+ "products/posthog_ai/frontend/components/RunAlertActivity.stories.tsx": {
+ "chromium": 16.304,
+ "webkit": 3.385
+ },
+ "products/posthog_ai/frontend/components/ThreadActivityGroup.stories.tsx": {
+ "chromium": 19.589,
+ "webkit": 4.296
+ },
+ "products/posthog_ai/frontend/components/ThreadView.stories.tsx": {
+ "chromium": 31.485,
+ "webkit": 8.866
+ },
+ "products/posthog_ai/frontend/components/TurnSuggestionCard.stories.tsx": {
+ "chromium": 32.31,
+ "webkit": 9.384
+ },
+ "products/posthog_ai/frontend/components/VirtualizedThread.stories.tsx": {
+ "chromium": 39.881,
+ "webkit": 6.397
+ },
+ "products/posthog_ai/frontend/components/composer/Composer.stories.tsx": {
+ "chromium": 35.45,
+ "webkit": 5.565
+ },
+ "products/posthog_ai/frontend/components/composer/ComposerAttachment.stories.tsx": {
+ "chromium": 16.321,
+ "webkit": 3.731
+ },
+ "products/posthog_ai/frontend/components/navigation/TaskAssigneeFilterMenu.stories.tsx": {
+ "chromium": 9.364,
+ "webkit": 2.574
+ },
+ "products/posthog_ai/frontend/components/onboarding/OnboardingTakeover.stories.tsx": {
+ "chromium": 16.923,
+ "webkit": 4.354
+ },
+ "products/posthog_ai/frontend/components/quill/QuillThread.stories.tsx": {
+ "chromium": 16.491,
+ "webkit": 3.097
+ },
+ "products/posthog_ai/frontend/messages/MarkdownMessage.stories.tsx": {
+ "chromium": 10.154,
+ "webkit": 3.451
+ },
+ "products/posthog_ai/frontend/scenes/TaskTracker/TaskRunArtifacts.stories.tsx": {
+ "chromium": 3.97,
+ "webkit": 3.729
+ },
+ "products/posthog_ai/frontend/scenes/TaskTracker/TaskTracker.stories.tsx": {
+ "chromium": 85.512,
+ "webkit": 22.523
+ },
+ "products/posthog_ai/frontend/scenes/TaskTracker/components/StartupRunChat.stories.tsx": {
+ "chromium": 18.958,
+ "webkit": 5.987
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalChart.stories.tsx": {
+ "chromium": 27.061,
+ "webkit": 6.377
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/BuilderPathFlowNode.stories.tsx": {
+ "chromium": 15.124,
+ "webkit": 4.272
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/BuilderStepNode.stories.tsx": {
+ "chromium": 20.617,
+ "webkit": 4.843
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/FunnelFlowGraph.stories.tsx": {
+ "chromium": 22.82,
+ "webkit": 6.942
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/JourneyFlowNode.stories.tsx": {
+ "chromium": 27.893,
+ "webkit": 5.996
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/PathFlowNode.stories.tsx": {
+ "chromium": 28.275,
+ "webkit": 4.767
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelFlowGraph/ProfileFlowNode.stories.tsx": {
+ "chromium": 24.497,
+ "webkit": 7.109
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelHistogramChart/FunnelHistogramChart.stories.tsx": {
+ "chromium": 20.872,
+ "webkit": 4.933
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelLineChart/FunnelLineChart.stories.tsx": {
+ "chromium": 27.974,
+ "webkit": 5.355
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelStepsBarChart/FunnelStepsBarChart.stories.tsx": {
+ "chromium": 62.052,
+ "webkit": 20.738
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelTimeToConvertTable/FunnelTimeToConvertTable.stories.tsx": {
+ "chromium": 7.261,
+ "webkit": 4.492
+ },
+ "products/product_analytics/frontend/insights/funnels/FunnelTrendsTable/FunnelTrendsTable.stories.tsx": {
+ "chromium": 15.6,
+ "webkit": 4.553
+ },
+ "products/product_analytics/frontend/insights/home/HomeDashboardStarterModal.stories.tsx": {
+ "chromium": 19.557,
+ "webkit": 6.4
+ },
+ "products/product_analytics/frontend/insights/home/HomeTabChartCard.stories.tsx": {
+ "chromium": 6.76,
+ "webkit": 4.454
+ },
+ "products/product_analytics/frontend/insights/home/HomeTabDefault.stories.tsx": {
+ "chromium": 24.874,
+ "webkit": 7.975
+ },
+ "products/product_analytics/frontend/insights/home/InsightHomeGuide.stories.tsx": {
+ "chromium": 20.691,
+ "webkit": 4.472
+ },
+ "products/product_analytics/frontend/insights/insightQuickStart/InsightQuickStart.stories.tsx": {
+ "chromium": 6.829,
+ "webkit": 3.108
+ },
+ "products/product_analytics/frontend/insights/insightScene/sidePanel/InsightPanelActions.stories.tsx": {
+ "chromium": 31.165,
+ "webkit": 9.639
+ },
+ "products/product_analytics/frontend/insights/journeys/JourneyGrid.stories.tsx": {
+ "chromium": 9.108,
+ "webkit": 3.344
+ },
+ "products/product_analytics/frontend/insights/newInsightMenu/NewInsightMenu.stories.tsx": {
+ "chromium": 6.222,
+ "webkit": 4.391
+ },
+ "products/product_analytics/frontend/insights/paths/Paths.stories.tsx": {
+ "chromium": 20.402,
+ "webkit": 12.025
+ },
+ "products/product_analytics/frontend/insights/retention/RetentionBarChart/RetentionBarChart.stories.tsx": {
+ "chromium": 12.371,
+ "webkit": 3.824
+ },
+ "products/product_analytics/frontend/insights/retention/RetentionLineChart/RetentionLineChart.stories.tsx": {
+ "chromium": 17.072,
+ "webkit": 4.434
+ },
+ "products/product_analytics/frontend/insights/savedInsights/SavedInsights.stories.tsx": {
+ "chromium": 51.259,
+ "webkit": 13.843
+ },
+ "products/product_analytics/frontend/insights/shared/BoldNumber/BoldNumber.stories.tsx": {
+ "chromium": 14.922,
+ "webkit": 5.622
+ },
+ "products/product_analytics/frontend/insights/shared/BoldNumber/Textfit.stories.tsx": {
+ "chromium": 6.283,
+ "webkit": 2.844
+ },
+ "products/product_analytics/frontend/insights/shared/InsightSeriesTooltip.stories.tsx": {
+ "chromium": 23.209,
+ "webkit": 5.124
+ },
+ "products/product_analytics/frontend/insights/shared/InsightTooltip/InsightTooltip.stories.tsx": {
+ "chromium": 24.158,
+ "webkit": 4.625
+ },
+ "products/product_analytics/frontend/insights/shared/InsightsTable/InsightsTable.stories.tsx": {
+ "chromium": 32.708,
+ "webkit": 7.473
+ },
+ "products/product_analytics/frontend/insights/stickiness/StickinessBarChart/StickinessBarChart.stories.tsx": {
+ "chromium": 11.959,
+ "webkit": 3.551
+ },
+ "products/product_analytics/frontend/insights/stickiness/StickinessLineChart/StickinessLineChart.stories.tsx": {
+ "chromium": 12.639,
+ "webkit": 3.375
+ },
+ "products/product_analytics/frontend/insights/trends/BoxPlot/BoxPlot.stories.tsx": {
+ "chromium": 8.634,
+ "webkit": 4.729
+ },
+ "products/product_analytics/frontend/insights/trends/Metric/Metric.stories.tsx": {
+ "chromium": 12.358,
+ "webkit": 4.907
+ },
+ "products/product_analytics/frontend/insights/trends/RegionMap/RegionMap.stories.tsx": {
+ "chromium": 8.467,
+ "webkit": 3.809
+ },
+ "products/product_analytics/frontend/insights/trends/TrendsBarChart/TrendsBarChart.stories.tsx": {
+ "chromium": 50.959,
+ "webkit": 9.542
+ },
+ "products/product_analytics/frontend/insights/trends/TrendsLifecycleChart/TrendsLifecycleChart.stories.tsx": {
+ "chromium": 30.896,
+ "webkit": 6.696
+ },
+ "products/product_analytics/frontend/insights/trends/TrendsLineChart/TrendsLineChart.stories.tsx": {
+ "chromium": 30.723,
+ "webkit": 6.653
+ },
+ "products/product_analytics/frontend/insights/trends/TrendsPieChart/TrendsPieChart.stories.tsx": {
+ "chromium": 26.73,
+ "webkit": 4.94
+ },
+ "products/product_analytics/frontend/insights/trends/TrendsProportionBar/TrendsProportionBar.stories.tsx": {
+ "chromium": 7.789,
+ "webkit": 4.387
+ },
+ "products/product_analytics/frontend/insights/trends/TrendsSlopeChart/TrendsSlopeChart.stories.tsx": {
+ "chromium": 14.94,
+ "webkit": 4.892
+ },
+ "products/product_analytics/frontend/insights/trends/WorldMap/WorldMap.stories.tsx": {
+ "chromium": 8.447,
+ "webkit": 2.905
+ },
+ "products/product_analytics/mcp/apps/InsightActorsView.stories.tsx": {
+ "chromium": 9.167,
+ "webkit": 3.04
+ },
+ "products/product_analytics/mcp/apps/RetentionActorsView.stories.tsx": {
+ "chromium": 4.128,
+ "webkit": 2.698
+ },
+ "products/replay_vision/frontend/components/CitedMarkdown.stories.tsx": {
+ "chromium": 13.185,
+ "webkit": 2.778
+ },
+ "products/replay_vision/frontend/components/ObservationThumbnail.stories.tsx": {
+ "chromium": 18.0,
+ "webkit": 2.946
+ },
+ "products/replay_vision/frontend/components/PlayerSidebarObservationsTab.stories.tsx": {
+ "chromium": 40.728,
+ "webkit": 13.429
+ },
+ "products/replay_vision/frontend/components/RecordingExpiredTag.stories.tsx": {
+ "chromium": 9.323,
+ "webkit": 3.767
+ },
+ "products/replay_vision/frontend/components/RecordingTimeline.stories.tsx": {
+ "chromium": 34.443,
+ "webkit": 5.464
+ },
+ "products/replay_vision/frontend/posthogAi/ReplayVisionScanWidget.stories.tsx": {
+ "chromium": 12.78,
+ "webkit": 2.774
+ },
+ "products/replay_vision/frontend/replay_scanners/ReplayScannersScene.stories.tsx": {
+ "chromium": 347.225,
+ "webkit": 104.956
+ },
+ "products/replay_vision/frontend/replay_scanners/components/ScannerTriggersSettingsDialog.stories.tsx": {
+ "chromium": 10.888,
+ "webkit": 4.725
+ },
+ "products/replay_vision/frontend/replay_scanners/components/SpendTrajectoryChart.stories.tsx": {
+ "chromium": 20.984,
+ "webkit": 3.763
+ },
+ "products/replay_vision/frontend/replay_scanners/components/WatchFeedEmptyState.stories.tsx": {
+ "chromium": 23.811,
+ "webkit": 5.359
+ },
+ "products/replay_vision/mcp/apps/ReplayVision.stories.tsx": {
+ "chromium": 12.613,
+ "webkit": 3.943
+ },
+ "products/revenue_analytics/frontend/settings/EventConfigurationModal.stories.tsx": {
+ "chromium": 5.523,
+ "webkit": 3.29
+ },
+ "products/revenue_analytics/frontend/settings/RevenueAnalyticsSettings.stories.tsx": {
+ "chromium": 8.317,
+ "webkit": 2.22
+ },
+ "products/review_hog/frontend/CodeReviewScene.stories.tsx": {
+ "chromium": 49.458,
+ "webkit": 21.243
+ },
+ "products/signals/frontend/inbox/InboxScene.stories.tsx": {
+ "chromium": 87.372,
+ "webkit": 23.321
+ },
+ "products/signals/frontend/inbox/components/badges/InboxBadges.stories.tsx": {
+ "chromium": 5.4,
+ "webkit": 3.156
+ },
+ "products/signals/frontend/inbox/components/cards/InboxCards.stories.tsx": {
+ "chromium": 27.217,
+ "webkit": 5.292
+ },
+ "products/signals/frontend/inbox/components/config/AgentSteeringSection.stories.tsx": {
+ "chromium": 9.24,
+ "webkit": 4.861
+ },
+ "products/signals/frontend/inbox/components/config/LinearTeamsModal.stories.tsx": {
+ "chromium": 9.106,
+ "webkit": 5.472
+ },
+ "products/signals/frontend/inbox/components/config/RepoRoutingRules.stories.tsx": {
+ "chromium": 17.38,
+ "webkit": 3.407
+ },
+ "products/signals/frontend/inbox/components/config/SelfDrivingSection.stories.tsx": {
+ "chromium": 63.557,
+ "webkit": 10.026
+ },
+ "products/signals/frontend/inbox/components/config/SignalSourcesPanel.stories.tsx": {
+ "chromium": 41.939,
+ "webkit": 8.095
+ },
+ "products/signals/frontend/inbox/components/config/SlackNotificationsSection.stories.tsx": {
+ "chromium": 24.376,
+ "webkit": 4.408
+ },
+ "products/signals/frontend/inbox/components/config/SourceSteeringModal.stories.tsx": {
+ "chromium": 13.174,
+ "webkit": 3.615
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutConfigControls.stories.tsx": {
+ "chromium": 27.377,
+ "webkit": 5.469
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutDetailView.stories.tsx": {
+ "chromium": 26.499,
+ "webkit": 5.098
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutMcpServersPicker.stories.tsx": {
+ "chromium": 9.32,
+ "webkit": 2.767
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutNewButton.stories.tsx": {
+ "chromium": 25.679,
+ "webkit": 6.264
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutOwners.stories.tsx": {
+ "chromium": 5.752,
+ "webkit": 2.151
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutRepositoriesPicker.stories.tsx": {
+ "chromium": 13.136,
+ "webkit": 2.776
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutRubricReference.stories.tsx": {
+ "chromium": 9.156,
+ "webkit": 3.067
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutRubricsModal.stories.tsx": {
+ "chromium": 46.173,
+ "webkit": 17.084
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutSuggestionsStrip.stories.tsx": {
+ "chromium": 53.902,
+ "webkit": 8.178
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutTags.stories.tsx": {
+ "chromium": 25.579,
+ "webkit": 4.48
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutToolsPicker.stories.tsx": {
+ "chromium": 9.282,
+ "webkit": 3.414
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutWriteAccessTag.stories.tsx": {
+ "chromium": 16.577,
+ "webkit": 2.726
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutWriteScopesPicker.stories.tsx": {
+ "chromium": 23.499,
+ "webkit": 4.185
+ },
+ "products/signals/frontend/inbox/components/config/scouts/ScoutsRoster.stories.tsx": {
+ "chromium": 29.71,
+ "webkit": 5.626
+ },
+ "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialComparisonReport.stories.tsx": {
+ "chromium": 37.119,
+ "webkit": 6.036
+ },
+ "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialJudgment.stories.tsx": {
+ "chromium": 28.322,
+ "webkit": 4.735
+ },
+ "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialRunDrawer.stories.tsx": {
+ "chromium": 19.808,
+ "webkit": 6.226
+ },
+ "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialSetup.stories.tsx": {
+ "chromium": 26.309,
+ "webkit": 4.602
+ },
+ "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrials.stories.tsx": {
+ "chromium": 12.008,
+ "webkit": 5.043
+ },
+ "products/signals/frontend/inbox/components/config/scouts/trials/ScoutTrialsView.stories.tsx": {
+ "chromium": 77.96,
+ "webkit": 10.302
+ },
+ "products/signals/frontend/inbox/components/detail/ArtefactLogList.stories.tsx": {
+ "chromium": 36.765,
+ "webkit": 6.441
+ },
+ "products/signals/frontend/inbox/components/detail/ArtefactPullRequest.stories.tsx": {
+ "chromium": 12.984,
+ "webkit": 3.686
+ },
+ "products/signals/frontend/inbox/components/detail/DiscussReportButton.stories.tsx": {
+ "chromium": 15.304,
+ "webkit": 7.273
+ },
+ "products/signals/frontend/inbox/components/detail/ImplementButton.stories.tsx": {
+ "chromium": 8.995,
+ "webkit": 3.116
+ },
+ "products/signals/frontend/inbox/components/detail/InboxDetail.stories.tsx": {
+ "chromium": 70.884,
+ "webkit": 24.457
+ },
+ "products/signals/frontend/inbox/components/detail/PullRequestDiffView.stories.tsx": {
+ "chromium": 17.109,
+ "webkit": 6.048
+ },
+ "products/signals/frontend/inbox/components/detail/ReportCheckRow.stories.tsx": {
+ "chromium": 13.157,
+ "webkit": 3.843
+ },
+ "products/signals/frontend/inbox/components/detail/ReportExpectedImpact.stories.tsx": {
+ "chromium": 45.532,
+ "webkit": 7.866
+ },
+ "products/signals/frontend/inbox/components/detail/ReportFeedbackCelebration.stories.tsx": {
+ "chromium": 9.46,
+ "webkit": 3.054
+ },
+ "products/signals/frontend/inbox/components/detail/ReportMetrics.stories.tsx": {
+ "chromium": 24.628,
+ "webkit": 4.969
+ },
+ "products/signals/frontend/inbox/components/detail/ReportSourceSuggestion.stories.tsx": {
+ "chromium": 5.031,
+ "webkit": 2.715
+ },
+ "products/signals/frontend/inbox/components/detail/ReportTaskRow.stories.tsx": {
+ "chromium": 9.569,
+ "webkit": 2.541
+ },
+ "products/signals/frontend/inbox/components/detail/SuggestedReviewersSection.stories.tsx": {
+ "chromium": 43.097,
+ "webkit": 6.476
+ },
+ "products/signals/frontend/inbox/components/onboarding/InboxSetupFlow.stories.tsx": {
+ "chromium": 65.002,
+ "webkit": 11.112
+ },
+ "products/signals/frontend/inbox/components/onboarding/SelfDrivingIntroModal.stories.tsx": {
+ "chromium": 5.888,
+ "webkit": 2.467
+ },
+ "products/signals/frontend/inbox/components/scratchpad/ScratchpadPanel.stories.tsx": {
+ "chromium": 28.647,
+ "webkit": 4.81
+ },
+ "products/signals/frontend/inbox/components/shell/HotkeyRadio.stories.tsx": {
+ "chromium": 6.041,
+ "webkit": 2.352
+ },
+ "products/signals/frontend/inbox/components/shell/InboxUsageWidget.stories.tsx": {
+ "chromium": 27.635,
+ "webkit": 5.352
+ },
+ "products/signals/frontend/inbox/components/shell/InboxValueSummary.stories.tsx": {
+ "chromium": 27.047,
+ "webkit": 4.312
+ },
+ "products/signals/frontend/inbox/components/signalCards/SignalCards.stories.tsx": {
+ "chromium": 29.107,
+ "webkit": 6.051
+ },
+ "products/signals/frontend/inbox/components/tabs/InboxTabs.stories.tsx": {
+ "chromium": 33.262,
+ "webkit": 6.071
+ },
+ "products/skills/frontend/LLMSkillScene.stories.tsx": {
+ "chromium": 17.576,
+ "webkit": 4.521
+ },
+ "products/stamphog/frontend/scenes/StamphogDigestsScene/StamphogDigestsScene.stories.tsx": {
+ "chromium": 14.725,
+ "webkit": 5.489
+ },
+ "products/stamphog/frontend/scenes/StamphogRunsScene/StamphogRunsScene.stories.tsx": {
+ "chromium": 9.981,
+ "webkit": 3.73
+ },
+ "products/stamphog/frontend/scenes/StamphogScene/StamphogScene.stories.tsx": {
+ "chromium": 30.941,
+ "webkit": 9.328
+ },
+ "products/subscriptions/frontend/components/SubscriptionSummaries/SubscriptionSummaries.stories.tsx": {
+ "chromium": 5.815,
+ "webkit": 2.769
+ },
+ "products/subscriptions/frontend/components/Subscriptions/SubscriptionsModal.stories.tsx": {
+ "chromium": 21.438,
+ "webkit": 5.157
+ },
+ "products/subscriptions/frontend/scenes/components/NewSubscriptionTarget.stories.tsx": {
+ "chromium": 9.702,
+ "webkit": 3.626
+ },
+ "products/subscriptions/frontend/scenes/components/SubscriptionDeliveryHistory.stories.tsx": {
+ "chromium": 17.052,
+ "webkit": 3.538
+ },
+ "products/subscriptions/frontend/scenes/components/SubscriptionsTable.stories.tsx": {
+ "chromium": 10.511,
+ "webkit": 2.981
+ },
+ "products/surveys/frontend/SurveyStatsSummary.stories.tsx": {
+ "chromium": 17.237,
+ "webkit": 4.833
+ },
+ "products/surveys/frontend/components/StackedBar.stories.tsx": {
+ "chromium": 14.212,
+ "webkit": 3.372
+ },
+ "products/surveys/frontend/components/SurveyResponseBreakdown.stories.tsx": {
+ "chromium": 19.433,
+ "webkit": 3.947
+ },
+ "products/surveys/mcp/apps/Surveys.stories.tsx": {
+ "chromium": 13.112,
+ "webkit": 5.226
+ },
+ "products/tasks/frontend/components/TaskConnectorsPicker/CyclotronJobInputTaskConnectors.stories.tsx": {
+ "chromium": 17.042,
+ "webkit": 3.608
+ },
+ "products/tasks/frontend/infrastructure/ReleasePipeline.stories.tsx": {
+ "chromium": 31.194,
+ "webkit": 5.631
+ },
+ "products/tasks/frontend/spaces/SpaceFeedCard.stories.tsx": {
+ "chromium": 1.745,
+ "webkit": 2.512
+ },
+ "products/tracing/frontend/OperationsTable.stories.tsx": {
+ "chromium": 16.023,
+ "webkit": 3.807
+ },
+ "products/tracing/frontend/components/TraceDrawer/TraceAiEventsCapNotice.stories.tsx": {
+ "chromium": 6.459,
+ "webkit": 2.404
+ },
+ "products/tracing/frontend/components/TracingImpactCounts.stories.tsx": {
+ "chromium": 16.617,
+ "webkit": 3.719
+ },
+ "products/tracing/frontend/components/VirtualizedSpanList/SpanColumnConfigurator.stories.tsx": {
+ "chromium": 9.901,
+ "webkit": 2.815
+ },
+ "products/tracing/frontend/components/VirtualizedSpanList/SpanErrorsBadge.stories.tsx": {
+ "chromium": 21.128,
+ "webkit": 5.967
+ },
+ "products/tracing/frontend/components/VirtualizedSpanList/VirtualizedSpanList.stories.tsx": {
+ "chromium": 24.334,
+ "webkit": 4.613
+ },
+ "products/visual_review/frontend/scenes/VisualReviewFlakinessScene.stories.tsx": {
+ "chromium": 14.451,
+ "webkit": 4.317
+ },
+ "products/visual_review/frontend/scenes/VisualReviewRunScene.stories.tsx": {
+ "chromium": 35.865,
+ "webkit": 11.849
+ },
+ "products/warehouse_sources/frontend/components/SourceDestinationsBanner.stories.tsx": {
+ "chromium": 8.751,
+ "webkit": 3.587
+ },
+ "products/warehouse_sources/frontend/scenes/PipelineOverviewScene/PipelineOverviewScene.stories.tsx": {
+ "chromium": 10.664,
+ "webkit": 4.851
+ },
+ "products/web_analytics/frontend/agent_analytics/AgentAnalytics.stories.tsx": {
+ "chromium": 35.399,
+ "webkit": 11.46
+ },
+ "products/web_analytics/frontend/contentAutopilot/ContentAutopilot.stories.tsx": {
+ "chromium": 35.705,
+ "webkit": 6.185
+ },
+ "products/web_analytics/frontend/contentAutopilot/ContentAutopilotBriefPanel.stories.tsx": {
+ "chromium": 9.466,
+ "webkit": 3.527
+ },
+ "products/web_analytics/frontend/contentAutopilot/ContentAutopilotSourceLedger.stories.tsx": {
+ "chromium": 5.152,
+ "webkit": 4.064
+ },
+ "products/web_analytics/frontend/contentAutopilot/ContentAutopilotValidationSummary.stories.tsx": {
+ "chromium": 13.04,
+ "webkit": 3.266
+ },
+ "products/web_analytics/frontend/heatmaps/components/HeatmapScreenshotCookieSettings.stories.tsx": {
+ "chromium": 20.871,
+ "webkit": 4.828
+ },
+ "products/web_analytics/frontend/heatmaps/components/HeatmapsPricingNotice.stories.tsx": {
+ "chromium": 9.207,
+ "webkit": 2.79
+ },
+ "products/web_analytics/frontend/heatmaps/history/PageHistoryTile.stories.tsx": {
+ "chromium": 19.759,
+ "webkit": 5.024
+ },
+ "products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapNewScene.stories.tsx": {
+ "chromium": 44.294,
+ "webkit": 8.958
+ },
+ "products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapRecordingScene.stories.tsx": {
+ "chromium": 29.031,
+ "webkit": 2.016
+ },
+ "products/web_analytics/frontend/heatmaps/scenes/heatmap/HeatmapScene.stories.tsx": {
+ "chromium": 129.43,
+ "webkit": 32.328
+ },
+ "products/web_analytics/frontend/heatmaps/scenes/heatmaps/HeatmapsScene.stories.tsx": {
+ "chromium": 9.709,
+ "webkit": 3.592
+ },
+ "products/web_analytics/frontend/marketing/MarketingAnalyticsCrossSell.stories.tsx": {
+ "chromium": 38.197,
+ "webkit": 8.678
+ },
+ "products/wizard/frontend/runs/WizardRunDiffViewer.stories.tsx": {
+ "chromium": 8.616,
+ "webkit": 6.13
+ },
+ "products/wizard/frontend/runs/WizardRunSyncCard.stories.tsx": {
+ "chromium": 16.264,
+ "webkit": 4.275
+ },
+ "products/workflows/frontend/OptOuts/CustomerIOImportModal.stories.tsx": {
+ "chromium": 50.348,
+ "webkit": 10.606
+ },
+ "products/workflows/frontend/SendCalendar/SendCalendar.stories.tsx": {
+ "chromium": 25.432,
+ "webkit": 5.218
+ },
+ "products/workflows/frontend/Workflows/Reputation/WorkflowsReputation.stories.tsx": {
+ "chromium": 21.32,
+ "webkit": 3.994
+ },
+ "products/workflows/frontend/Workflows/hogflows/editor/graph/HogFlowGraphEditor.stories.tsx": {
+ "chromium": 42.722,
+ "webkit": 19.39
+ },
+ "products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanel.stories.tsx": {
+ "chromium": 53.164,
+ "webkit": 11.205
+ },
+ "products/workflows/frontend/Workflows/hogflows/steps/StepDelay.stories.tsx": {
+ "chromium": 14.862,
+ "webkit": 5.375
+ },
+ "products/workflows/frontend/Workflows/hogflows/steps/components/CustomerTaskWorkflowReferenceInput.stories.tsx": {
+ "chromium": 9.664,
+ "webkit": 3.358
+ },
+ "products/workflows/frontend/Workflows/hogflows/steps/components/RealtimeCohortAudienceNotice.stories.tsx": {
+ "chromium": 5.738,
+ "webkit": 5.574
+ },
+ "products/workflows/frontend/Workflows/hogflows/steps/components/RealtimeCohortCalculatingBanner.stories.tsx": {
+ "chromium": 9.806,
+ "webkit": 3.063
+ },
+ "products/workflows/frontend/Workflows/hogflows/steps/components/TriggerVolumeEstimate.stories.tsx": {
+ "chromium": 10.257,
+ "webkit": 5.529
+ },
+ "products/workflows/frontend/Workflows/hogflows/steps/components/UtmTagFields.stories.tsx": {
+ "chromium": 5.528,
+ "webkit": 4.249
+ },
+ "products/workflows/frontend/Workflows/hogflows/tree/HogFlowTreeEditor.stories.tsx": {
+ "chromium": 44.712,
+ "webkit": 13.455
+ },
+ "products/workflows/frontend/Workflows/suggestions/WorkflowSuggestionEmailChange.stories.tsx": {
+ "chromium": 1.63,
+ "webkit": 1.851
+ },
+ "products/workflows/frontend/Workflows/templates/WorkflowTemplateCard.stories.tsx": {
+ "chromium": 24.238,
+ "webkit": 5.245
+ },
+ "products/workflows/mcp/apps/EmailTemplate.stories.tsx": {
+ "chromium": 18.566,
+ "webkit": 3.15
+ },
+ "products/workflows/mcp/apps/Workflows.stories.tsx": {
+ "chromium": 20.153,
+ "webkit": 5.447
+ },
+ "services/mcp/src/ui-apps/components/AppStates.stories.tsx": {
+ "chromium": 7.036,
+ "webkit": 4.639
+ },
+ "services/mcp/src/ui-apps/components/Funnels.stories.tsx": {
+ "chromium": 8.198,
+ "webkit": 5.383
+ },
+ "services/mcp/src/ui-apps/components/Lifecycle.stories.tsx": {
+ "chromium": 6.651,
+ "webkit": 2.747
+ },
+ "services/mcp/src/ui-apps/components/Paths.stories.tsx": {
+ "chromium": 7.92,
+ "webkit": 3.771
+ },
+ "services/mcp/src/ui-apps/components/Stickiness.stories.tsx": {
+ "chromium": 7.247,
+ "webkit": 3.066
+ },
+ "services/mcp/src/ui-apps/components/Table.stories.tsx": {
+ "chromium": 8.65,
+ "webkit": 3.136
+ },
+ "services/mcp/src/ui-apps/components/Trends.stories.tsx": {
+ "chromium": 26.358,
+ "webkit": 5.871
+ }
}
diff --git a/frontend/bin/check-toolbar-graph.mjs b/frontend/bin/check-toolbar-graph.mjs
index 32c32f0782d9..26969fa6246a 100644
--- a/frontend/bin/check-toolbar-graph.mjs
+++ b/frontend/bin/check-toolbar-graph.mjs
@@ -27,7 +27,7 @@ const baselinePath = path.join(__dirname, 'toolbar-graph-baseline.json')
// size is owned by check-toolbar-size.mjs, measured from the esbuild OUTPUT (post-tree-shake)
// and surfaced in the shared CI comment — the right place to look at toolbar size. Input-graph
// source bytes count code that tree-shakes away, so this check deliberately reports no byte size.
-const ENTRY = 'src/toolbar/index.tsx'
+const ENTRY = 'src/toolbar/floating/index.tsx'
const APP_ZONE = [/^src\/products/, /^src\/scenes\//, /^src\/layout\//, /^src\/models\//, /^\.\.\/products\//]
diff --git a/frontend/bin/toolbar-graph-baseline.json b/frontend/bin/toolbar-graph-baseline.json
index 7b7ddd065755..98a2c469578c 100644
--- a/frontend/bin/toolbar-graph-baseline.json
+++ b/frontend/bin/toolbar-graph-baseline.json
@@ -1,10 +1,10 @@
{
"//": "Toolbar -> app-zone import edges that exist today, enforced by bin/check-toolbar-graph.mjs. These are the toolbar's intentional seams into app code. Do not add entries; delete an entry if you cut its edge.",
"edges": [
- "src/toolbar/product-tours/ProductToursSidebar.tsx -> src/scenes/product-tours/stepUtils.tsx",
- "src/toolbar/product-tours/StepCard.tsx -> src/scenes/product-tours/stepUtils.tsx",
- "src/toolbar/product-tours/productToursLogic.ts -> src/scenes/product-tours/constants.ts",
- "src/toolbar/product-tours/productToursLogic.ts -> src/scenes/product-tours/editor/generateStepHtml.ts",
- "src/toolbar/product-tours/productToursLogic.ts -> src/scenes/product-tours/stepUtils.tsx"
+ "src/toolbar/floating/components/product-tours/ProductToursSidebar.tsx -> src/scenes/product-tours/stepUtils.tsx",
+ "src/toolbar/floating/components/product-tours/StepCard.tsx -> src/scenes/product-tours/stepUtils.tsx",
+ "src/toolbar/shared/product-tours/productToursLogic.ts -> src/scenes/product-tours/constants.ts",
+ "src/toolbar/shared/product-tours/productToursLogic.ts -> src/scenes/product-tours/editor/generateStepHtml.ts",
+ "src/toolbar/shared/product-tours/productToursLogic.ts -> src/scenes/product-tours/stepUtils.tsx"
]
}
diff --git a/frontend/bin/toolbar-metafile.mjs b/frontend/bin/toolbar-metafile.mjs
index 627cded43ede..98df856918e0 100644
--- a/frontend/bin/toolbar-metafile.mjs
+++ b/frontend/bin/toolbar-metafile.mjs
@@ -6,7 +6,7 @@ import path from 'path'
// toolbar-esbuild-meta.json (config name 'Toolbar'); the loader (dist/toolbar.js)
// is built separately and is not part of the metafile.
-export const TOOLBAR_ENTRY_POINT = 'src/toolbar/index.tsx'
+export const TOOLBAR_ENTRY_POINT = 'src/toolbar/floating/index.tsx'
export function readToolbarMetafile() {
const metafilePath = path.resolve(process.cwd(), 'toolbar-esbuild-meta.json')
diff --git a/frontend/package.json b/frontend/package.json
index e89e2de3133d..b1690337edfd 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -50,13 +50,14 @@
"check-color-tokens": "node ./bin/check-color-tokens.mjs",
"check-toolbar-graph": "node ./bin/check-toolbar-graph.mjs",
"check-toolbar-size": "node ./bin/check-toolbar-size.mjs",
- "start-vite": "pnpm build:products && concurrently --kill-others-on-fail -n VITE,TOOLBAR,WORKERS -c green,magenta,cyan \"vite --host 0.0.0.0\" \"pnpm watch:toolbar\" \"pnpm watch:workers\"",
+ "start-vite": "pnpm build:products && concurrently --kill-others-on-fail -n VITE,TOOLBAR,WORKERS -c green,magenta,cyan \"vite --host 0.0.0.0\" \"pnpm watch:toolbar-floating\" \"pnpm watch:workers\"",
"watch:workers": "node ./bin/watch-workers.mjs --dev",
- "watch:toolbar": "node ./bin/build-toolbar.mjs --dev",
+ "build:toolbar-floating": "node ./bin/build-toolbar.mjs",
+ "watch:toolbar-floating": "node ./bin/build-toolbar.mjs --dev",
"build:toolbar-extension": "node ./bin/build-toolbar-extension.mjs",
"watch:toolbar-extension": "node ./bin/build-toolbar-extension.mjs --dev",
- "build:toolbars": "node ./bin/build-toolbar.mjs && node ./bin/build-toolbar-extension.mjs",
- "watch:toolbars": "concurrently --kill-others-on-fail -n TOOLBAR,EXTENSION -c magenta,blue \"pnpm watch:toolbar\" \"pnpm watch:toolbar-extension\"",
+ "build:toolbar-all": "pnpm build:toolbar-floating && pnpm build:toolbar-extension",
+ "watch:toolbar-all": "concurrently --kill-others-on-fail -n FLOATING,EXTENSION -c magenta,blue \"pnpm watch:toolbar-floating\" \"pnpm watch:toolbar-extension\"",
"mobile-replay:web:schema:build:json": "ts-json-schema-generator -f ./tsconfig.json --path 'node_modules/posthog-js/dist/rrweb-types.d.ts' --type 'eventWithTime' --expose all --no-top-ref --no-type-check --out ./src/scenes/session-recordings/mobile-replay/schema/web/rr-web-schema.json && oxfmt ./src/scenes/session-recordings/mobile-replay/schema/web/rr-web-schema.json",
"mobile-replay:mobile:schema:build:json": "ts-json-schema-generator -f ./tsconfig.json --path './src/scenes/session-recordings/mobile-replay/mobile.types.ts' --type 'mobileEventWithTime' --expose all --no-top-ref --no-type-check --out ./src/scenes/session-recordings/mobile-replay/schema/mobile/rr-mobile-schema.json && oxfmt ./src/scenes/session-recordings/mobile-replay/schema/mobile/rr-mobile-schema.json",
"mobile-replay:schema:build:json": "pnpm mobile-replay:web:schema:build:json && pnpm mobile-replay:mobile:schema:build:json",
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index e20bbdd2a439..a86c9bdbcc97 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -16909,13 +16909,13 @@ snapshots:
scenes-other-toolbar--experiments-disabled-in-parent--light:
hash: v1.k794b7964.2e54054b75d3de55a7ef010c5af2baac7a217e6e8a30966b1eb37d35270ec710.pvFqo6BT4h5wWn-wPkRFaZw3dPBQ5U3lE4Qyq607ieE
scenes-other-toolbar--feature-flags--dark:
- hash: v1.k794b7964.380bf1dd27734dda6a75b00591d6f741f637fb60ab220fabe7c898d0296afbd5.GuLlI1UZKc7VS-mB883j3bdcKoPcEs00pHkoNRlEoy0
+ hash: v1.k794b7964.14765293a4cd493fc74f667b9dd7423423523c04eaf967993065ddd971a5d18a.u1N9q4JR2q_kV1OZWHOvyl7Jl8x5OdOI9T2ziDBMsM0
scenes-other-toolbar--feature-flags--light:
- hash: v1.k794b7964.a6b6dfa8f69a38f809dda3bb9b72b83ef1e5919104a5fa46f11c69595d960193.Wji3K2NnwibAiJP7kELDpbiobRkB8Q0csZLuEfJBOzw
+ hash: v1.k794b7964.11f2a7ee7b61560bba5a8a7657fa3b52b9dfa7c5e59addc1f71822c35eb917e7.MEFZ4KfqwtInu_7agwMtMVSe9u0ea0uu4PdOp45axog
scenes-other-toolbar--feature-flags-dark--dark:
- hash: v1.k794b7964.dae4c61eece57e3eb70f7f3a15335a0a6ea901aac2c11e8d8912a4d016b31de4.nffqdkdCJs98Ze__7fLzqB58nXjaj5j5qPx8mpPsJyM
+ hash: v1.k794b7964.be7df5ef5351a48a47d5b4ca6de24c9df0bcddbeb95b5dc052e782a35deb0b6b.cXUiX0aX2Mn5VxylRm8xjQUJFQQ5AxCSV7VqVQTI2ws
scenes-other-toolbar--feature-flags-dark--light:
- hash: v1.k794b7964.df69f67c93107fd027ba9495b59e812c069dd15b31d4c656c019a1215ea4c4e1.abSIANsON5AV9z9X0y95CA0ow4mrmZ_h2EI-jGxEFNY
+ hash: v1.k794b7964.793e918bb49bd1a73bcbbda876400aa5d4acd5ad9f35a4dc15906d30b25fc642.J4MqIYPRkRFh1dYHDdSwOZAcLK24n2iiToTjT4EOVrM
scenes-other-toolbar--heatmap--dark:
hash: v1.k794b7964.086fd8b0d97e595878b1ff4fffd5f23cfbc66ab145366ba2d42723ab347ba470.5ylwJ-It7Bv1vnDjPJ9V9qEl4HeoElTzXTO2j9ZwaP0
scenes-other-toolbar--heatmap--light:
@@ -16977,9 +16977,9 @@ snapshots:
scenes-other-toolbar-extension--experiments--light:
hash: v1.k794b7964.e3115faf60178e70f22fd5b94f08714a513b660762bf3101f2a8f77ddc760d94.-SbW7x9Bz73JOswYlwvgx4vkamQtdx3Cxzgq8ZWPHkw
scenes-other-toolbar-extension--feature-flags--dark:
- hash: v1.k794b7964.cbed94c6ab2310c5981ae51f686b4e72e2f089a6b0f241781b7f501e698b3e49.HpMZUPuzhYkRGMyh4ACxT9Yxtl1Pxv_O5rR4C9tnyBc
+ hash: v1.k794b7964.b6f9c59caeb890f1955baec8614468cb2563d3c4b162821c65f6bd198cb009e3.iEZoGcbnGDovJT5K6ibfkSmcB6g06Zj5pfSGKAcdP7A
scenes-other-toolbar-extension--feature-flags--light:
- hash: v1.k794b7964.6d3760a66d6dd9016bc0479ecb0e32d1910acbc1997df7772c9255223ae27a34.YMqjcAbIJSwc0YHOPlZHqMq4T9yNbeP4Ujb6isEJrP4
+ hash: v1.k794b7964.cc2dcf889b227b454d03895896ac4bb83750e7f34528c364118ba310b6614098.M6rT2njNyA1_WhHoa9QxlNk3eij86cHBpnOUyQWOI5w
scenes-other-toolbar-extension--heatmap--dark:
hash: v1.k794b7964.9e90ae389acba7acc5c8feec155491b537ba3baaa347eb0b5330ffb12499d4fb.VUffPogQJoMuKDMRtEnuNNJGtmtcbFY9djuyg2QUMv4
scenes-other-toolbar-extension--heatmap--light:
diff --git a/frontend/src/globals.d.ts b/frontend/src/globals.d.ts
index 5d051b17b3db..24178d075182 100644
--- a/frontend/src/globals.d.ts
+++ b/frontend/src/globals.d.ts
@@ -21,7 +21,7 @@ declare global {
// sibling files (currently just toolbar.css) from the same versioned URL.
const __POSTHOG_TOOLBAR_PUBLIC_PATH__: string
- // Build-time constant injected into the toolbar loader (frontend/src/toolbar/loader.ts):
+ // Build-time constant injected into the toolbar loader (frontend/src/toolbar/floating/loader.ts):
// the basename of the toolbar app's ESM entry inside dist/toolbar/ — hashed in prod
// builds (e.g. `toolbar-app-ABC123.js`), plain `toolbar-app.js` in dev. See
// finalizeToolbarBuild in frontend/toolbar-config.mjs.
diff --git a/frontend/src/layout/InternalFeedback/InternalFeedbackWidget.tsx b/frontend/src/layout/InternalFeedback/InternalFeedbackWidget.tsx
index c9bae0c41683..57062c3d45eb 100644
--- a/frontend/src/layout/InternalFeedback/InternalFeedbackWidget.tsx
+++ b/frontend/src/layout/InternalFeedback/InternalFeedbackWidget.tsx
@@ -1,7 +1,7 @@
import { useValues } from 'kea'
import { createPortal } from 'react-dom'
-import { ElementHighlight } from '~/toolbar/product-tours/ElementHighlight'
+import { ElementHighlight } from '~/toolbar/shared/product-tours/ElementHighlight'
import { INTERNAL_FEEDBACK_IGNORE_ATTR } from './captureFeedbackScreenshot'
import { InternalFeedbackBar } from './InternalFeedbackBar'
diff --git a/frontend/src/layout/InternalFeedback/internalFeedbackLogic.ts b/frontend/src/layout/InternalFeedback/internalFeedbackLogic.ts
index 5e6d2d99496b..b9f61183cdf2 100644
--- a/frontend/src/layout/InternalFeedback/internalFeedbackLogic.ts
+++ b/frontend/src/layout/InternalFeedback/internalFeedbackLogic.ts
@@ -3,8 +3,8 @@ import posthog from 'posthog-js'
import { ApiError } from 'lib/api'
-import { ElementRect } from '~/toolbar/types'
-import { elementToQuery, getRectForElement } from '~/toolbar/utils'
+import { ElementRect } from '~/toolbar/shared/types'
+import { elementToQuery, getRectForElement } from '~/toolbar/shared/utils'
import { internalFeedbackCreate } from 'products/platform_features/frontend/generated/api'
diff --git a/frontend/src/lib/components/HedgehogMode/HedgehogMode.tsx b/frontend/src/lib/components/HedgehogMode/HedgehogMode.tsx
index cd41e5ddfcdb..31e34b949e4e 100644
--- a/frontend/src/lib/components/HedgehogMode/HedgehogMode.tsx
+++ b/frontend/src/lib/components/HedgehogMode/HedgehogMode.tsx
@@ -5,7 +5,7 @@ import { themeLogic } from 'lib/logic/themeLogic'
import { inStorybook } from 'lib/utils/dom'
import { lazyWithRetry } from 'lib/utils/retryImport'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { useShortcut } from '../Shortcuts/useShortcut'
import { hedgehogModeLogic } from './hedgehogModeLogic'
diff --git a/frontend/src/lib/components/HedgehogMode/hedgehogModeLogic.ts b/frontend/src/lib/components/HedgehogMode/hedgehogModeLogic.ts
index af0ddbdb3d3b..bdd06d2bce83 100644
--- a/frontend/src/lib/components/HedgehogMode/hedgehogModeLogic.ts
+++ b/frontend/src/lib/components/HedgehogMode/hedgehogModeLogic.ts
@@ -18,8 +18,8 @@ import api from 'lib/api'
import { membersLogic } from 'scenes/organization/membersLogic'
import { userLogic } from 'scenes/userLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarFetch } from '~/toolbar/toolbarFetch'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarFetch } from '~/toolbar/shared/toolbarFetch'
import { HedgehogConfig, MinimalHedgehogConfig } from '~/types'
import type { OrganizationMemberType, UserType } from '../../../types'
diff --git a/frontend/src/lib/components/heatmaps/ScrollDepthCanvas.tsx b/frontend/src/lib/components/heatmaps/ScrollDepthCanvas.tsx
index bd4db346b7fd..3240637d82be 100644
--- a/frontend/src/lib/components/heatmaps/ScrollDepthCanvas.tsx
+++ b/frontend/src/lib/components/heatmaps/ScrollDepthCanvas.tsx
@@ -6,7 +6,7 @@ import { useMousePosition } from 'lib/components/heatmaps/useMousePosition'
import { useScrollSync } from 'lib/components/heatmaps/useScrollSync'
import { cn } from 'lib/utils/css-classes'
-import { HeatmapElement } from '~/toolbar/types'
+import { HeatmapElement } from '~/toolbar/shared/types'
export const scrollDepthColor = (count: number, maxCount: number, heatmapColorPalette: string | null): string => {
const value = 1 - count / maxCount
diff --git a/frontend/src/lib/components/heatmaps/heatmapDataLogic.test.ts b/frontend/src/lib/components/heatmaps/heatmapDataLogic.test.ts
index edf0f9e0c2d8..d67767d0a2f4 100644
--- a/frontend/src/lib/components/heatmaps/heatmapDataLogic.test.ts
+++ b/frontend/src/lib/components/heatmaps/heatmapDataLogic.test.ts
@@ -9,7 +9,7 @@ import {
import { CommonFilters, HeatmapBoundsFilter } from 'lib/components/heatmaps/types'
import { initKeaTests } from '~/test/init'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { AppContext } from '~/types'
describe('heatmapDataLogic window resize', () => {
diff --git a/frontend/src/lib/components/heatmaps/heatmapDataLogic.ts b/frontend/src/lib/components/heatmaps/heatmapDataLogic.ts
index ce904a6e0cb8..9c07def4b60e 100644
--- a/frontend/src/lib/components/heatmaps/heatmapDataLogic.ts
+++ b/frontend/src/lib/components/heatmaps/heatmapDataLogic.ts
@@ -26,10 +26,10 @@ import { lemonToast } from 'lib/lemon-ui/LemonToast/LemonToast'
import { dateFilterToText } from 'lib/utils/dateFilters'
import { getAppContext } from 'lib/utils/getAppContext'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarFetch } from '~/toolbar/toolbarFetch'
-import { ToolbarRequestError } from '~/toolbar/toolbarRequestError'
-import { HeatmapElement, HeatmapResponseType } from '~/toolbar/types'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarFetch } from '~/toolbar/shared/toolbarFetch'
+import { ToolbarRequestError } from '~/toolbar/shared/toolbarRequestError'
+import { HeatmapElement, HeatmapResponseType } from '~/toolbar/shared/types'
import { FilterType } from '~/types'
export interface HeatmapDateRangeOverride {
diff --git a/frontend/src/lib/components/heatmaps/useScrollSync.ts b/frontend/src/lib/components/heatmaps/useScrollSync.ts
index 94827bcb4173..a3c956f14d4e 100644
--- a/frontend/src/lib/components/heatmaps/useScrollSync.ts
+++ b/frontend/src/lib/components/heatmaps/useScrollSync.ts
@@ -1,7 +1,7 @@
import { PostHog } from 'posthog-js'
import { useEffect, useRef } from 'react'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
export function useScrollSync(enabled: boolean = true): {
innerRef: React.RefObject<HTMLDivElement>
diff --git a/frontend/src/loadPostHogJS.flagRequests.test.ts b/frontend/src/loadPostHogJS.flagRequests.test.ts
index aec7752a4250..a3f78ca0a68e 100644
--- a/frontend/src/loadPostHogJS.flagRequests.test.ts
+++ b/frontend/src/loadPostHogJS.flagRequests.test.ts
@@ -12,7 +12,7 @@ import { AppContext, PreflightStatus, Realm, UserType } from '~/types'
// The real SDK decides when /flags is requested, so these tests count the requests it sends.
jest.unmock('posthog-js')
// The toolbar starts a second posthog-js instance with its own flags requests, which are out of scope here.
-jest.mock('~/toolbar/toolbarPosthogJS', () => ({
+jest.mock('~/toolbar/shared/toolbarPosthogJS', () => ({
toolbarPosthogJS: {},
captureToolbarException: jest.fn(),
useToolbarFeatureFlag: () => false,
diff --git a/frontend/src/toolbar/TELEMETRY.md b/frontend/src/toolbar/TELEMETRY.md
index 22548ae7dbf7..32fc1166329b 100644
--- a/frontend/src/toolbar/TELEMETRY.md
+++ b/frontend/src/toolbar/TELEMETRY.md
@@ -19,7 +19,7 @@ Fired once when the toolbar finishes initialization.
| `ui_host_matches_api_host` | `boolean` | Whether UI and API hosts are the same |
| `load_duration_ms` | `number \| undefined` | Time from `ph_load_toolbar` call to initialization complete |
-**File:** `toolbarConfigLogic.ts`
+**File:** `shared/toolbarConfigLogic.ts`
### `toolbar ui host check`
@@ -35,7 +35,7 @@ Fired after the CORS reachability check to the PostHog app.
| `error_type` | `string` | Only on error: `timeout`, `network_or_cors`, `http_error`, `unknown` |
| `duration_ms` | `number` | Time taken for the check |
-**File:** `toolbarConfigLogic.ts`
+**File:** `shared/toolbarConfigLogic.ts`
## Authentication
@@ -47,7 +47,7 @@ Fired when the user triggers authentication.
| ------------------ | --------- | ------------------------------------ |
| `is_authenticated` | `boolean` | Auth state when action was triggered |
-**File:** `toolbarConfigLogic.ts`
+**File:** `shared/toolbarConfigLogic.ts`
### `toolbar oauth exchange`
@@ -59,7 +59,7 @@ Fired after an OAuth authorization code exchange attempt.
| `duration_ms` | `number` | Time taken for the exchange |
| `error` | `string` | Only on `error` status: error description |
-**File:** `toolbarConfigLogic.ts`
+**File:** `shared/toolbarConfigLogic.ts`
### `toolbar token refresh`
@@ -71,21 +71,21 @@ Fired after a token refresh attempt (triggered automatically on 401 responses).
| `duration_ms` | `number` | Time taken for the refresh |
| `http_status` | `number` | Only on `error`: HTTP status code |
-**File:** `toolbarAuth.ts`
+**File:** `shared/toolbarAuth.ts`
### `toolbar token expired`
Fired when the OAuth token expires or a 403 is received.
No properties.
-**File:** `toolbarConfigLogic.ts`
+**File:** `shared/toolbarConfigLogic.ts`
### `toolbar logout`
Fired when the user logs out from the toolbar.
No properties.
-**File:** `toolbarConfigLogic.ts`
+**File:** `shared/toolbarConfigLogic.ts`
### `toolbar ui host config modal opened`
@@ -95,7 +95,7 @@ Fired when the UI host configuration modal is shown (auth error state).
| --------- | -------- | --------------------- |
| `ui_host` | `string` | Current UI host value |
-**File:** `toolbarConfigLogic.ts`
+**File:** `shared/toolbarConfigLogic.ts`
## API requests
@@ -112,7 +112,7 @@ Covers all toolbar API endpoints.
| `duration_ms` | `number` | Total time including any token retry |
| `did_token_retry` | `boolean` | Whether a 401 triggered a token refresh + retry |
-**File:** `toolbarFetch.ts`
+**File:** `shared/toolbarFetch.ts`
## Menu and mode
@@ -125,7 +125,7 @@ Fired when a toolbar menu becomes visible.
| `menu` | `MenuState` | Menu that was opened |
| `previous_menu` | `MenuState` | Menu that was previously visible |
-**File:** `bar/toolbarLogic.ts`
+**File:** `shared/bar/toolbarLogic.ts`
### `toolbar menu closed`
@@ -135,7 +135,7 @@ Fired when a toolbar menu is closed (state returns to `'none'`).
| -------- | ----------- | -------------------- |
| `menu` | `MenuState` | Menu that was closed |
-**File:** `bar/toolbarLogic.ts`
+**File:** `shared/bar/toolbarLogic.ts`
### `toolbar mode triggered`
@@ -146,9 +146,9 @@ Fired when a toolbar mode is toggled on or off.
| `mode` | `string` | One of: `heatmap`, `inspect`, `actions`, `experiments`, `product-tours` |
| `enabled` | `boolean` | Whether the mode was enabled or disabled |
-**Files:** `elements/elementsLogic.ts`, `elements/heatmapToolbarMenuLogic.ts`,
-`actions/actionsTabLogic.tsx`, `experiments/experimentsTabLogic.tsx`,
-`product-tours/productToursLogic.ts`
+**Files:** `shared/elements/elementsLogic.ts`, `shared/elements/heatmapToolbarMenuLogic.ts`,
+`shared/actions/actionsTabLogic.tsx`, `shared/experiments/experimentsTabLogic.tsx`,
+`shared/product-tours/productToursLogic.ts`
## Heatmaps / clickmaps
@@ -171,13 +171,13 @@ A user paginating emits one event per page with cumulative `event_count` — gro
| `cache_hit` | `boolean` | Whether the page-elements cache was warm (no collect + index rebuild) |
| `completed` | `boolean` | False when the run did not finish — superseded by a newer run, or failed mid-processing |
-**File:** `elements/heatmapToolbarMenuLogic.ts`
+**File:** `shared/elements/heatmapToolbarMenuLogic.ts`
### `toolbar heatmap load all started`
Fired when someone presses "Load all" in the heatmap menu to page through the remaining click data. No properties.
-**File:** `stats/HeatmapToolbarMenu.tsx`
+**File:** `floating/components/stats/HeatmapToolbarMenu.tsx`
### `toolbar heatmap load all stopped`
@@ -188,7 +188,7 @@ Fired when someone presses "Stop loading" to end a run early. A run that ends on
| `pages_loaded` | `number` | Pages the run had loaded when it was stopped |
| `element_count` | `number` | Element stats rows loaded when it was stopped |
-**File:** `stats/HeatmapToolbarMenu.tsx`
+**File:** `floating/components/stats/HeatmapToolbarMenu.tsx`
### `toolbar heatmap area selection started`
@@ -199,7 +199,7 @@ Fired when the user starts picking an area to filter the heatmap/clickmap to (th
| `candidate_count` | `number` | Area candidates rendered as hover targets |
| `capped` | `boolean` | Whether the candidate list hit its rendering cap (candidates beyond the cap, if any, were dropped) |
-**File:** `elements/heatmapToolbarMenuLogic.ts`
+**File:** `shared/elements/heatmapToolbarMenuLogic.ts`
### `toolbar heatmap area filter changed`
@@ -213,7 +213,7 @@ Fired when the heatmap area filter is applied, changed, or cleared.
| `trigger` | `'user' \| 'element_lost'` | `user` = picked or cleared in the UI; `element_lost` = the tracked node left the DOM and could not be re-resolved |
| `arrow_stepped` | `boolean \| undefined` | Only on `trigger: 'user'`: whether arrow keys refined the selection before it was applied |
-**File:** `elements/heatmapToolbarMenuLogic.ts`
+**File:** `shared/elements/heatmapToolbarMenuLogic.ts`
## Element inspection
@@ -232,7 +232,7 @@ Fired when an element is selected in inspect mode.
| `has_data_attr` | `boolean` | Whether element has data attributes |
| `data_attributes` | `string[]` | List of data attribute names |
-**File:** `elements/elementsLogic.ts`
+**File:** `shared/elements/elementsLogic.ts`
## Actions
@@ -244,7 +244,7 @@ Fired when the manual CSS selector editing modal is opened.
| ---------- | ---------------- | ----------------------------- |
| `selector` | `string \| null` | Current selector being edited |
-**File:** `actions/ActionsEditingToolbarMenu.tsx`
+**File:** `floating/components/actions/ActionsEditingToolbarMenu.tsx`
### `toolbar_manual_selector_applied`
@@ -254,7 +254,7 @@ Fired when a user applies a manual CSS selector.
| ---------------- | -------- | ----------------------------- |
| `chosenSelector` | `string` | The selector that was applied |
-**File:** `actions/ActionsEditingToolbarMenu.tsx`
+**File:** `floating/components/actions/ActionsEditingToolbarMenu.tsx`
## Feature flags
@@ -263,14 +263,14 @@ Fired when a user applies a manual CSS selector.
Fired when a feature flag override is applied.
No properties.
-**File:** `flags/flagsToolbarLogic.ts`
+**File:** `shared/flags/flagsToolbarLogic.ts`
### `toolbar feature flag override removed`
Fired when a feature flag override is removed.
No properties.
-**File:** `flags/flagsToolbarLogic.ts`
+**File:** `shared/flags/flagsToolbarLogic.ts`
### `toolbar flags impersonated`
@@ -280,7 +280,7 @@ Fired when flags are loaded for a different distinct ID.
| ------------- | -------- | ---------------------------------- |
| `distinct_id` | `string` | The distinct ID being impersonated |
-**File:** `flags/flagsToolbarLogic.ts`
+**File:** `shared/flags/flagsToolbarLogic.ts`
## Product tours
@@ -289,7 +289,7 @@ Fired when flags are loaded for a different distinct ID.
Fired when session recording starts for product tour editing.
No properties.
-**File:** `product-tours/productToursLogic.ts`
+**File:** `shared/product-tours/productToursLogic.ts`
### `product tour step added`
@@ -301,7 +301,7 @@ Fired when a new step is added to a tour.
| `step_index` | `number` | Index of the new step |
| `tour_id` | `string \| null` | ID of the tour being edited |
-**File:** `product-tours/productToursLogic.ts`
+**File:** `shared/product-tours/productToursLogic.ts`
### `product tour step removed`
@@ -314,7 +314,7 @@ Fired when a step is removed from a tour.
| `tour_id` | `string \| null` | ID of the tour |
| `remaining_steps` | `number` | Steps remaining after removal |
-**File:** `product-tours/productToursLogic.ts`
+**File:** `shared/product-tours/productToursLogic.ts`
### `product tour consent selected`
@@ -324,7 +324,7 @@ Fired when the user selects session recording consent.
| --------- | --------- | ------------------------- |
| `consent` | `boolean` | Whether consent was given |
-**File:** `product-tours/productToursLogic.ts`
+**File:** `shared/product-tours/productToursLogic.ts`
### `product tour preview started`
@@ -335,7 +335,7 @@ Fired when the user starts previewing a product tour.
| `tour_id` | `string \| null` | ID of the tour being previewed |
| `step_count` | `number` | Number of steps in the tour |
-**File:** `product-tours/productToursLogic.ts`
+**File:** `shared/product-tours/productToursLogic.ts`
## Screenshots
@@ -347,7 +347,7 @@ Fired after a successful screenshot/media upload.
| -------- | ----------- | ------------------ |
| `source` | `'toolbar'` | Always `'toolbar'` |
-**File:** `screenshot-upload/screenshotUploadLogic.ts`
+**File:** `shared/screenshot-upload/screenshotUploadLogic.ts`
## Browser extension
@@ -360,7 +360,7 @@ Fired when the side panel shows a new state.
| `state` | `string` | The state kind, for example `'ready'` or `'unauthorized-url'` |
| `unsupported_reason` | `string \| undefined` | Why the toolbar can't run on the page, for `'unsupported-page'` |
-**File:** `extension/extensionPanelLogic.ts`
+**File:** `extension/logics/panel/extensionPanelLogic.ts`
### `toolbar extension page tool used`
@@ -371,7 +371,7 @@ Fired when the user runs a tool on the page from the extension.
| `tool` | `string` | `'inspect'`, `'heatmap'`, `'save-heatmap'`, `'actions'`, `'create-action'`, `'save-action'`, `'flags'`, `'override-flag'`, `'clear-flag-overrides'`, `'impersonate-flags'`, `'events'`, `'export-events'`, `'web-vitals'`, `'experiments'`, `'create-experiment'`, `'save-experiment'`, `'more'`, `'pii-masking'`, `'screenshot-for-event'`, or `'view-session-recording'` |
| `payload` | `boolean \| undefined` | `true` when `'override-flag'` sets a payload |
-**File:** `extension/extensionTelemetry.ts`
+**File:** `extension/browser/extensionTelemetry.ts`
### `toolbar extension authenticated`
@@ -383,4 +383,4 @@ Fired when the extension finishes the toolbar OAuth flow for a project, which gi
| `interactive` | `boolean` | `true` when the user clicked **Connect**, `false` when the panel started it |
| `error` | `string \| undefined` | The error message, for `'error'` |
-**File:** `extension/extensionAuthLogic.ts`
+**File:** `extension/logics/panel/extensionAuthLogic.ts`
diff --git a/frontend/src/toolbar/extension/ExtensionFlagRow.tsx b/frontend/src/toolbar/extension/ExtensionFlagRow.tsx
deleted file mode 100644
index eddb0b7598d7..000000000000
--- a/frontend/src/toolbar/extension/ExtensionFlagRow.tsx
+++ /dev/null
@@ -1,113 +0,0 @@
-import clsx from 'clsx'
-import { useActions, useValues } from 'kea'
-
-import { IconOpenInNew } from 'lib/lemon-ui/icons'
-import { LemonButton } from 'lib/lemon-ui/LemonButton'
-import { LemonRadio } from 'lib/lemon-ui/LemonRadio'
-import { LemonSwitch } from 'lib/lemon-ui/LemonSwitch'
-import { LemonTextArea } from 'lib/lemon-ui/LemonTextArea'
-import { Link } from 'lib/lemon-ui/Link'
-
-import { urls } from '~/toolbar/urls'
-
-import { extensionFlagsLogic } from './extensionFlagsLogic'
-import { extensionPanelLogic } from './extensionPanelLogic'
-import type { FlagInfo } from './pageToolbarBridge'
-
-export function ExtensionFlagRow({ flag }: { flag: FlagInfo }): JSX.Element {
- const { draftPayloads, flagsState, mutationDisabledReason } = useValues(extensionFlagsLogic)
- const { setFlagOverride, removeFlagOverride, openPayloadEditor, closePayloadEditor, setDraftPayload, savePayload } =
- useActions(extensionFlagsLogic)
- const { projectUrl } = useValues(extensionPanelLogic)
- const { key, id, value, currentValue, hasOverride, variants, payloadOverride } = flag
- const draftPayload = draftPayloads[key]
- const payloadError = flagsState?.payloadErrors[key] ?? null
-
- // Matches the floating toolbar: choosing the value PostHog evaluates removes the override instead.
- const choose = (newValue: string | boolean): void => {
- if (newValue === value && hasOverride) {
- removeFlagOverride(key)
- } else {
- setFlagOverride(key, newValue)
- }
- }
-
- return (
- <div className={clsx('flex flex-col gap-1 rounded px-2 py-1', hasOverride && 'bg-fill-primary')}>
- <div className="flex items-center gap-2">
- <Link
- className="flex-1 min-w-0 truncate font-medium"
- to={projectUrl(id ? urls.featureFlag(id) : urls.featureFlags())}
- target="_blank"
- subtle
- >
- <span translate="no">{key}</span> <IconOpenInNew />
- </Link>
- <LemonButton
- size="xsmall"
- type="secondary"
- onClick={() =>
- openPayloadEditor(key, payloadOverride !== null ? JSON.stringify(payloadOverride, null, 2) : '')
- }
- disabledReason={
- mutationDisabledReason ?? (currentValue ? null : 'Turn the flag on to edit its payload')
- }
- data-attr="toolbar-extension-flag-edit-payload"
- >
- Edit payload
- </LemonButton>
- <LemonSwitch
- checked={!!currentValue}
- disabledReason={mutationDisabledReason}
- onChange={(checked) => choose(variants.length > 0 && checked ? variants[0].key : checked)}
- data-attr="toolbar-extension-flag-toggle"
- />
- </div>
- {currentValue && variants.length > 0 ? (
- <LemonRadio
- className="pl-4"
- value={typeof currentValue === 'string' ? currentValue : undefined}
- options={variants.map((variant) => ({
- label: `${variant.key}${variant.name ? ` - ${variant.name}` : ''}${
- variant.rolloutPercentage !== null ? ` (${variant.rolloutPercentage}%)` : ''
- }`,
- value: variant.key,
- disabledReason: mutationDisabledReason ?? undefined,
- }))}
- onChange={choose}
- />
- ) : null}
- {draftPayload !== undefined ? (
- <div className="flex items-start gap-2">
- <LemonTextArea
- className={clsx('flex-1 font-mono text-xs', payloadError && 'border-danger')}
- value={draftPayload}
- onChange={(draft) => setDraftPayload(key, draft)}
- placeholder='For example: "A string", 2500, {"key": "value"}'
- minRows={2}
- />
- <div className="flex flex-col gap-1">
- <LemonButton
- size="xsmall"
- type="primary"
- center
- disabledReason={mutationDisabledReason}
- onClick={() => savePayload(key)}
- data-attr="toolbar-extension-flag-save-payload"
- >
- Save
- </LemonButton>
- <LemonButton size="xsmall" center onClick={() => closePayloadEditor(key)}>
- Cancel
- </LemonButton>
- </div>
- </div>
- ) : payloadOverride !== null ? (
- <div className="truncate font-mono text-xs text-secondary" translate="no">
- {JSON.stringify(payloadOverride)}
- </div>
- ) : null}
- {payloadError ? <div className="text-xs text-danger">{payloadError}</div> : null}
- </div>
- )
-}
diff --git a/frontend/src/toolbar/extension/background.ts b/frontend/src/toolbar/extension/background.ts
index de7243066421..eed12d1e6ac5 100644
--- a/frontend/src/toolbar/extension/background.ts
+++ b/frontend/src/toolbar/extension/background.ts
@@ -1,3 +1,3 @@
-import { openPanelFromToolbarButton } from './extensionBrowser'
+import { openPanelFromToolbarButton } from './browser/extensionBrowser'
openPanelFromToolbarButton()
diff --git a/frontend/src/toolbar/extension/extensionBrowser.ts b/frontend/src/toolbar/extension/browser/extensionBrowser.ts
similarity index 99%
rename from frontend/src/toolbar/extension/extensionBrowser.ts
rename to frontend/src/toolbar/extension/browser/extensionBrowser.ts
index d60290992349..1d3db2e59c03 100644
--- a/frontend/src/toolbar/extension/extensionBrowser.ts
+++ b/frontend/src/toolbar/extension/browser/extensionBrowser.ts
@@ -1,4 +1,4 @@
-import { PAGE_TOOLBAR_PORT, PageToolbarTokens } from './pageToolbarBridge'
+import { PAGE_TOOLBAR_PORT, PageToolbarTokens } from '../messaging/pageToolbarBridge'
// Firefox and Chrome both expose the promise-based `chrome.*` namespace to Manifest V3 extensions.
// Only the calls the side panel, the background script and the content script make are typed here.
diff --git a/frontend/src/toolbar/extension/extensionOAuth.ts b/frontend/src/toolbar/extension/browser/extensionOAuth.ts
similarity index 95%
rename from frontend/src/toolbar/extension/extensionOAuth.ts
rename to frontend/src/toolbar/extension/browser/extensionOAuth.ts
index 8df7b2837c93..9a43f69daf7b 100644
--- a/frontend/src/toolbar/extension/extensionOAuth.ts
+++ b/frontend/src/toolbar/extension/browser/extensionOAuth.ts
@@ -1,7 +1,7 @@
-import { generatePKCE, parseToolbarAuthHash, requestOAuthTokens } from '~/toolbar/utils'
+import { generatePKCE, parseToolbarAuthHash, requestOAuthTokens } from '~/toolbar/shared/utils'
+import type { PageToolbarTokens } from '../messaging/pageToolbarBridge'
import { waitForTabUrl } from './extensionBrowser'
-import type { PageToolbarTokens } from './pageToolbarBridge'
// A background tab normally redirects back within a few seconds. A tab the user watches can stop on a login or
// consent page, so it gets longer.
diff --git a/frontend/src/toolbar/extension/extensionTelemetry.ts b/frontend/src/toolbar/extension/browser/extensionTelemetry.ts
similarity index 91%
rename from frontend/src/toolbar/extension/extensionTelemetry.ts
rename to frontend/src/toolbar/extension/browser/extensionTelemetry.ts
index c68d91436678..4c94c875c8ab 100644
--- a/frontend/src/toolbar/extension/extensionTelemetry.ts
+++ b/frontend/src/toolbar/extension/browser/extensionTelemetry.ts
@@ -1,4 +1,4 @@
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
// pinned: sent as the `tool` property of `toolbar extension page tool used`
type PageToolKey =
diff --git a/frontend/src/toolbar/extension/ExtensionActionEditor.tsx b/frontend/src/toolbar/extension/components/actions/ExtensionActionEditor.tsx
similarity index 93%
rename from frontend/src/toolbar/extension/ExtensionActionEditor.tsx
rename to frontend/src/toolbar/extension/components/actions/ExtensionActionEditor.tsx
index 3ccb1bdb2bc0..3f6fb0d017aa 100644
--- a/frontend/src/toolbar/extension/ExtensionActionEditor.tsx
+++ b/frontend/src/toolbar/extension/components/actions/ExtensionActionEditor.tsx
@@ -10,12 +10,12 @@ import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { Link } from 'lib/lemon-ui/Link'
-import { ActionStepEditor } from '~/toolbar/actions/ActionStepEditor'
-import { SelectorEditingModal } from '~/toolbar/actions/SelectorEditingModal'
-import { urls } from '~/toolbar/urls'
+import { ActionStepEditor } from '~/toolbar/shared/actions/ActionStepEditor'
+import { SelectorEditingModal } from '~/toolbar/shared/actions/SelectorEditingModal'
+import { urls } from '~/toolbar/shared/urls'
-import { extensionActionsLogic } from './extensionActionsLogic'
-import { extensionPanelLogic } from './extensionPanelLogic'
+import { extensionActionsLogic } from '../../logics/panel/extensionActionsLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
export function ExtensionActionEditor(): JSX.Element | null {
const { actionsState, actionForm, editingSelector, saving } = useValues(extensionActionsLogic)
diff --git a/frontend/src/toolbar/extension/ExtensionActionsList.tsx b/frontend/src/toolbar/extension/components/actions/ExtensionActionsList.tsx
similarity index 84%
rename from frontend/src/toolbar/extension/ExtensionActionsList.tsx
rename to frontend/src/toolbar/extension/components/actions/ExtensionActionsList.tsx
index c68927a672e0..8ace3dd12ed4 100644
--- a/frontend/src/toolbar/extension/ExtensionActionsList.tsx
+++ b/frontend/src/toolbar/extension/components/actions/ExtensionActionsList.tsx
@@ -1,10 +1,10 @@
import { useActions, useValues } from 'kea'
-import { urls } from '~/toolbar/urls'
+import { urls } from '~/toolbar/shared/urls'
-import { extensionActionsLogic } from './extensionActionsLogic'
-import { ExtensionEntityList } from './ExtensionEntityList'
-import { extensionPanelLogic } from './extensionPanelLogic'
+import { extensionActionsLogic } from '../../logics/panel/extensionActionsLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
+import { ExtensionEntityList } from '../panel/ExtensionEntityList'
export function ExtensionActionsList(): JSX.Element {
const { actionsState, filteredActions, searchTerm } = useValues(extensionActionsLogic)
diff --git a/frontend/src/toolbar/extension/ExtensionEventsMenu.tsx b/frontend/src/toolbar/extension/components/debug/ExtensionEventsMenu.tsx
similarity index 92%
rename from frontend/src/toolbar/extension/ExtensionEventsMenu.tsx
rename to frontend/src/toolbar/extension/components/debug/ExtensionEventsMenu.tsx
index 1cca6c15cca1..b2a6a27182a2 100644
--- a/frontend/src/toolbar/extension/ExtensionEventsMenu.tsx
+++ b/frontend/src/toolbar/extension/components/debug/ExtensionEventsMenu.tsx
@@ -7,16 +7,16 @@ import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { LemonTag } from 'lib/lemon-ui/LemonTag'
-import { eventTypeMenuItems, hidePropertiesMenuItems } from '~/toolbar/debug/eventDebugMenuItems'
-import { EventRow } from '~/toolbar/debug/EventRow'
+import { eventTypeMenuItems, hidePropertiesMenuItems } from '~/toolbar/shared/debug/eventDebugMenuItems'
+import { EventRow } from '~/toolbar/shared/debug/EventRow'
import { EventType } from '~/types'
-import { extensionEventsLogic } from './extensionEventsLogic'
-import type { PageEventsCommand } from './extensionPageEventsLogic'
-import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { ExtensionToolLoading } from './ExtensionToolLoading'
-import { NoPagePosthogBanner } from './NoPagePosthogBanner'
-import { DebugEventRow, PageToolbarEventsState } from './pageToolbarBridge'
+import type { PageEventsCommand } from '../../logics/page/extensionPageEventsLogic'
+import { extensionEventsLogic } from '../../logics/panel/extensionEventsLogic'
+import { extensionPageToolbarConnectionLogic } from '../../logics/panel/extensionPageToolbarConnectionLogic'
+import { DebugEventRow, PageToolbarEventsState } from '../../messaging/pageToolbarBridge'
+import { ExtensionToolLoading } from '../panel/ExtensionToolLoading'
+import { NoPagePosthogBanner } from '../panel/NoPagePosthogBanner'
function asEvent(row: DebugEventRow, eventsState: PageToolbarEventsState): EventType {
const payload = row.uuid === eventsState.expandedEventId ? eventsState.expandedEventPayload : null
diff --git a/frontend/src/toolbar/extension/ExtensionInspectedElement.tsx b/frontend/src/toolbar/extension/components/elements/ExtensionInspectedElement.tsx
similarity index 90%
rename from frontend/src/toolbar/extension/ExtensionInspectedElement.tsx
rename to frontend/src/toolbar/extension/components/elements/ExtensionInspectedElement.tsx
index 1e980a10390f..e789506a3d9d 100644
--- a/frontend/src/toolbar/extension/ExtensionInspectedElement.tsx
+++ b/frontend/src/toolbar/extension/components/elements/ExtensionInspectedElement.tsx
@@ -6,12 +6,12 @@ import { ElementClickStats } from 'lib/components/heatmaps/ElementClickStats'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { Link } from 'lib/lemon-ui/Link'
-import { SelectorQualityWarning } from '~/toolbar/elements/SelectorQualityWarning'
-import { urls } from '~/toolbar/urls'
+import { SelectorQualityWarning } from '~/toolbar/shared/elements/SelectorQualityWarning'
+import { urls } from '~/toolbar/shared/urls'
-import { extensionActionsLogic } from './extensionActionsLogic'
-import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { extensionPanelLogic } from './extensionPanelLogic'
+import { extensionActionsLogic } from '../../logics/panel/extensionActionsLogic'
+import { extensionPageToolbarConnectionLogic } from '../../logics/panel/extensionPageToolbarConnectionLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
export function ExtensionInspectedElement(): JSX.Element | null {
const { inspect, heatmap } = useValues(extensionPageToolbarConnectionLogic)
diff --git a/frontend/src/toolbar/extension/ExtensionExperimentEditor.tsx b/frontend/src/toolbar/extension/components/experiments/ExtensionExperimentEditor.tsx
similarity index 93%
rename from frontend/src/toolbar/extension/ExtensionExperimentEditor.tsx
rename to frontend/src/toolbar/extension/components/experiments/ExtensionExperimentEditor.tsx
index de1e4aa975a3..7e0e65a82c3c 100644
--- a/frontend/src/toolbar/extension/ExtensionExperimentEditor.tsx
+++ b/frontend/src/toolbar/extension/components/experiments/ExtensionExperimentEditor.tsx
@@ -12,13 +12,13 @@ import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { LemonLabel } from 'lib/lemon-ui/LemonLabel'
import { Link } from 'lib/lemon-ui/Link'
-import { WebExperimentVariant } from '~/toolbar/experiments/WebExperimentVariant'
-import { WebExperimentVariantHeader } from '~/toolbar/experiments/WebExperimentVariantHeader'
-import { urls } from '~/toolbar/urls'
+import { WebExperimentVariant } from '~/toolbar/shared/experiments/WebExperimentVariant'
+import { WebExperimentVariantHeader } from '~/toolbar/shared/experiments/WebExperimentVariantHeader'
+import { urls } from '~/toolbar/shared/urls'
+import { extensionExperimentsLogic } from '../../logics/panel/extensionExperimentsLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
import { ExtensionExperimentEditorProvider } from './ExtensionExperimentEditorProvider'
-import { extensionExperimentsLogic } from './extensionExperimentsLogic'
-import { extensionPanelLogic } from './extensionPanelLogic'
const byControlFirst = (a: string, b: string): number =>
a === 'control' ? -1 : b === 'control' ? 1 : a.localeCompare(b)
diff --git a/frontend/src/toolbar/extension/ExtensionExperimentEditorProvider.tsx b/frontend/src/toolbar/extension/components/experiments/ExtensionExperimentEditorProvider.tsx
similarity index 94%
rename from frontend/src/toolbar/extension/ExtensionExperimentEditorProvider.tsx
rename to frontend/src/toolbar/extension/components/experiments/ExtensionExperimentEditorProvider.tsx
index e9b27c0ac960..4a7db831e673 100644
--- a/frontend/src/toolbar/extension/ExtensionExperimentEditorProvider.tsx
+++ b/frontend/src/toolbar/extension/components/experiments/ExtensionExperimentEditorProvider.tsx
@@ -5,9 +5,9 @@ import {
WebExperimentEditor,
WebExperimentEditorContext,
canRenameVariant,
-} from '~/toolbar/experiments/webExperimentEditorContext'
+} from '~/toolbar/shared/experiments/webExperimentEditorContext'
-import { extensionExperimentsLogic } from './extensionExperimentsLogic'
+import { extensionExperimentsLogic } from '../../logics/panel/extensionExperimentsLogic'
/** Binds the toolbar's web experiment editor components to the panel's copy of the form. The page applies the changes. */
export function ExtensionExperimentEditorProvider({ children }: { children: React.ReactNode }): JSX.Element | null {
diff --git a/frontend/src/toolbar/extension/ExtensionExperimentsList.tsx b/frontend/src/toolbar/extension/components/experiments/ExtensionExperimentsList.tsx
similarity index 89%
rename from frontend/src/toolbar/extension/ExtensionExperimentsList.tsx
rename to frontend/src/toolbar/extension/components/experiments/ExtensionExperimentsList.tsx
index e2e6e0bc9c32..14dbef9bf58f 100644
--- a/frontend/src/toolbar/extension/ExtensionExperimentsList.tsx
+++ b/frontend/src/toolbar/extension/components/experiments/ExtensionExperimentsList.tsx
@@ -3,11 +3,11 @@ import { useActions, useValues } from 'kea'
import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { Link } from 'lib/lemon-ui/Link'
-import { urls } from '~/toolbar/urls'
+import { urls } from '~/toolbar/shared/urls'
-import { ExtensionEntityList } from './ExtensionEntityList'
-import { extensionExperimentsLogic } from './extensionExperimentsLogic'
-import { extensionPanelLogic } from './extensionPanelLogic'
+import { extensionExperimentsLogic } from '../../logics/panel/extensionExperimentsLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
+import { ExtensionEntityList } from '../panel/ExtensionEntityList'
export function ExtensionExperimentsList(): JSX.Element {
const { experimentsState, filteredExperiments, searchTerm } = useValues(extensionExperimentsLogic)
diff --git a/frontend/src/toolbar/extension/ExtensionFlagsMenu.tsx b/frontend/src/toolbar/extension/components/flags/ExtensionFlagsMenu.tsx
similarity index 72%
rename from frontend/src/toolbar/extension/ExtensionFlagsMenu.tsx
rename to frontend/src/toolbar/extension/components/flags/ExtensionFlagsMenu.tsx
index e2d143eb4eb6..383229d20ba5 100644
--- a/frontend/src/toolbar/extension/ExtensionFlagsMenu.tsx
+++ b/frontend/src/toolbar/extension/components/flags/ExtensionFlagsMenu.tsx
@@ -6,15 +6,32 @@ import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
-import { ExtensionFlagRow } from './ExtensionFlagRow'
-import { extensionFlagsLogic } from './extensionFlagsLogic'
-import { ExtensionToolLoading } from './ExtensionToolLoading'
-import { NoPagePosthogBanner } from './NoPagePosthogBanner'
+import { FeatureFlagRow } from '~/toolbar/shared/flags/FeatureFlagRow'
+import { urls } from '~/toolbar/shared/urls'
+
+import { extensionFlagsLogic } from '../../logics/panel/extensionFlagsLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
+import { ExtensionToolLoading } from '../panel/ExtensionToolLoading'
+import { NoPagePosthogBanner } from '../panel/NoPagePosthogBanner'
export function ExtensionFlagsMenu(): JSX.Element {
- const { flagsState, filteredFlags, searchTerm, mutationDisabledReason, impersonationOpen, draftDistinctId } =
- useValues(extensionFlagsLogic)
const {
+ flagsState,
+ filteredFlags,
+ searchTerm,
+ mutationDisabledReason,
+ impersonationOpen,
+ draftDistinctId,
+ draftPayloads,
+ } = useValues(extensionFlagsLogic)
+ const { projectUrl } = useValues(extensionPanelLogic)
+ const {
+ setFlagOverride,
+ removeFlagOverride,
+ openPayloadEditor,
+ closePayloadEditor,
+ setDraftPayload,
+ savePayload,
setSearchTerm,
clearOverrides,
reloadFlags,
@@ -103,7 +120,21 @@ export function ExtensionFlagsMenu(): JSX.Element {
{filteredFlags.length > 0 ? (
<div className="flex flex-col gap-px">
{filteredFlags.map((flag) => (
- <ExtensionFlagRow key={flag.key} flag={flag} />
+ <FeatureFlagRow
+ key={flag.key}
+ flag={flag}
+ flagUrl={projectUrl(flag.id ? urls.featureFlag(flag.id) : urls.featureFlags())}
+ payloadDraft={draftPayloads[flag.key] ?? null}
+ payloadError={flagsState.payloadErrors[flag.key] ?? null}
+ disabledReason={mutationDisabledReason}
+ onSetOverride={(value) => setFlagOverride(flag.key, value)}
+ onRemoveOverride={() => removeFlagOverride(flag.key)}
+ onOpenPayloadEditor={(initialDraft) => openPayloadEditor(flag.key, initialDraft)}
+ onPayloadDraftChange={(draft) => setDraftPayload(flag.key, draft)}
+ onSavePayload={() => savePayload(flag.key)}
+ onClosePayloadEditor={() => closePayloadEditor(flag.key)}
+ dataAttrPrefix="toolbar-extension-flag"
+ />
))}
</div>
) : loading ? (
diff --git a/frontend/src/toolbar/extension/ExtensionDebugInfo.tsx b/frontend/src/toolbar/extension/components/more/ExtensionDebugInfo.tsx
similarity index 96%
rename from frontend/src/toolbar/extension/ExtensionDebugInfo.tsx
rename to frontend/src/toolbar/extension/components/more/ExtensionDebugInfo.tsx
index bf467f46e3df..04248ad7f0a0 100644
--- a/frontend/src/toolbar/extension/ExtensionDebugInfo.tsx
+++ b/frontend/src/toolbar/extension/components/more/ExtensionDebugInfo.tsx
@@ -5,8 +5,8 @@ import { IconCheck, IconRefresh, IconX } from '@posthog/icons'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { extensionMoreLogic } from './extensionMoreLogic'
-import { NoPagePosthogBanner } from './NoPagePosthogBanner'
+import { extensionMoreLogic } from '../../logics/panel/extensionMoreLogic'
+import { NoPagePosthogBanner } from '../panel/NoPagePosthogBanner'
function DebugInfoRow({ label, value }: { label: string; value: string | boolean | number | null }): JSX.Element {
return (
diff --git a/frontend/src/toolbar/extension/ExtensionMoreMenu.tsx b/frontend/src/toolbar/extension/components/more/ExtensionMoreMenu.tsx
similarity index 100%
rename from frontend/src/toolbar/extension/ExtensionMoreMenu.tsx
rename to frontend/src/toolbar/extension/components/more/ExtensionMoreMenu.tsx
diff --git a/frontend/src/toolbar/extension/ExtensionPiiMasking.tsx b/frontend/src/toolbar/extension/components/more/ExtensionPiiMasking.tsx
similarity index 93%
rename from frontend/src/toolbar/extension/ExtensionPiiMasking.tsx
rename to frontend/src/toolbar/extension/components/more/ExtensionPiiMasking.tsx
index 892f846f0b46..1711a2dd5904 100644
--- a/frontend/src/toolbar/extension/ExtensionPiiMasking.tsx
+++ b/frontend/src/toolbar/extension/components/more/ExtensionPiiMasking.tsx
@@ -4,9 +4,9 @@ import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { LemonSelect } from 'lib/lemon-ui/LemonSelect'
import { LemonSwitch } from 'lib/lemon-ui/LemonSwitch'
-import { PII_MASKING_PRESET_COLORS } from '~/toolbar/bar/piiMaskingStyles'
+import { PII_MASKING_PRESET_COLORS } from '~/toolbar/shared/bar/piiMaskingStyles'
-import { extensionMoreLogic } from './extensionMoreLogic'
+import { extensionMoreLogic } from '../../logics/panel/extensionMoreLogic'
function ColorSwatch({ color }: { color: string }): JSX.Element {
return (
diff --git a/frontend/src/toolbar/extension/ExtensionScreenshotForEvent.tsx b/frontend/src/toolbar/extension/components/more/ExtensionScreenshotForEvent.tsx
similarity index 98%
rename from frontend/src/toolbar/extension/ExtensionScreenshotForEvent.tsx
rename to frontend/src/toolbar/extension/components/more/ExtensionScreenshotForEvent.tsx
index cda23d3ac55b..b1836c80cdfa 100644
--- a/frontend/src/toolbar/extension/ExtensionScreenshotForEvent.tsx
+++ b/frontend/src/toolbar/extension/components/more/ExtensionScreenshotForEvent.tsx
@@ -7,7 +7,7 @@ import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { extensionMoreLogic } from './extensionMoreLogic'
+import { extensionMoreLogic } from '../../logics/panel/extensionMoreLogic'
/** Takes a screenshot of the page and adds it to an event definition, like the toolbar's "Screenshot for event". */
export function ExtensionScreenshotForEvent(): JSX.Element {
diff --git a/frontend/src/toolbar/extension/pageToolbarHost.tsx b/frontend/src/toolbar/extension/components/page/pageToolbarHost.tsx
similarity index 94%
rename from frontend/src/toolbar/extension/pageToolbarHost.tsx
rename to frontend/src/toolbar/extension/components/page/pageToolbarHost.tsx
index 2d7778025e29..da2e81aa18aa 100644
--- a/frontend/src/toolbar/extension/pageToolbarHost.tsx
+++ b/frontend/src/toolbar/extension/components/page/pageToolbarHost.tsx
@@ -1,23 +1,23 @@
import { getContext } from 'kea'
import { Root, createRoot } from 'react-dom/client'
-import { ElementOverlays } from '~/toolbar/elements/ElementOverlays'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { ElementOverlays } from '~/toolbar/shared/elements/ElementOverlays'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { ToolbarProps } from '~/types'
-import { ExtensionPort, extensionFileUrl, onPageToolbarConnect } from './extensionBrowser'
-import { extensionPageExperimentsLogic } from './extensionPageExperimentsLogic'
-import { extensionPageFlagsLogic } from './extensionPageFlagsLogic'
-import { extensionPageMoreLogic } from './extensionPageMoreLogic'
-import { extensionPageToolbarLogic, getPageToolbarState } from './extensionPageToolbarLogic'
-import { PagePosthogBridge, onPagePosthogAppeared, requestPageAnalytics } from './pagePosthogBridge'
+import { ExtensionPort, extensionFileUrl, onPageToolbarConnect } from '../../browser/extensionBrowser'
+import { extensionPageExperimentsLogic } from '../../logics/page/extensionPageExperimentsLogic'
+import { extensionPageFlagsLogic } from '../../logics/page/extensionPageFlagsLogic'
+import { extensionPageMoreLogic } from '../../logics/page/extensionPageMoreLogic'
+import { extensionPageToolbarLogic, getPageToolbarState } from '../../logics/page/extensionPageToolbarLogic'
+import { PagePosthogBridge, onPagePosthogAppeared, requestPageAnalytics } from '../../messaging/pagePosthogBridge'
import {
PageToolbarMessage,
PageToolbarMode,
PageToolbarSession,
PageToolbarState,
isPageToolbarRequest,
-} from './pageToolbarBridge'
+} from '../../messaging/pageToolbarBridge'
const STATE_POST_INTERVAL_MS = 100
diff --git a/frontend/src/toolbar/extension/ExtensionEntityList.tsx b/frontend/src/toolbar/extension/components/panel/ExtensionEntityList.tsx
similarity index 100%
rename from frontend/src/toolbar/extension/ExtensionEntityList.tsx
rename to frontend/src/toolbar/extension/components/panel/ExtensionEntityList.tsx
diff --git a/frontend/src/toolbar/extension/ExtensionPageToolbar.tsx b/frontend/src/toolbar/extension/components/panel/ExtensionPageToolbar.tsx
similarity index 94%
rename from frontend/src/toolbar/extension/ExtensionPageToolbar.tsx
rename to frontend/src/toolbar/extension/components/panel/ExtensionPageToolbar.tsx
index 85c200c47510..87d0174fa5e4 100644
--- a/frontend/src/toolbar/extension/ExtensionPageToolbar.tsx
+++ b/frontend/src/toolbar/extension/components/panel/ExtensionPageToolbar.tsx
@@ -3,7 +3,7 @@ import { useActions, useValues } from 'kea'
import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { extensionAuthLogic } from './extensionAuthLogic'
+import { extensionAuthLogic } from '../../logics/panel/extensionAuthLogic'
import { ExtensionPageToolbarTools } from './ExtensionPageToolbarTools'
export function ExtensionPageToolbar(): JSX.Element {
diff --git a/frontend/src/toolbar/extension/ExtensionPageToolbarTools.tsx b/frontend/src/toolbar/extension/components/panel/ExtensionPageToolbarTools.tsx
similarity index 85%
rename from frontend/src/toolbar/extension/ExtensionPageToolbarTools.tsx
rename to frontend/src/toolbar/extension/components/panel/ExtensionPageToolbarTools.tsx
index 25f910227ecc..a677564f1ddd 100644
--- a/frontend/src/toolbar/extension/ExtensionPageToolbarTools.tsx
+++ b/frontend/src/toolbar/extension/components/panel/ExtensionPageToolbarTools.tsx
@@ -7,22 +7,22 @@ import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonSegmentedButton } from 'lib/lemon-ui/LemonSegmentedButton'
-import { SelectorCountContext, SelectorMatchCounter } from '~/toolbar/actions/SelectorCountContext'
+import { SelectorCountContext, SelectorMatchCounter } from '~/toolbar/shared/actions/SelectorCountContext'
-import { ExtensionActionEditor } from './ExtensionActionEditor'
-import { ExtensionActionsList } from './ExtensionActionsList'
-import { ExtensionEventsMenu } from './ExtensionEventsMenu'
-import { ExtensionExperimentEditor } from './ExtensionExperimentEditor'
-import { ExtensionExperimentsList } from './ExtensionExperimentsList'
-import { ExtensionFlagsMenu } from './ExtensionFlagsMenu'
-import { ExtensionHeatmapMenu } from './ExtensionHeatmapMenu'
-import { ExtensionInspectedElement } from './ExtensionInspectedElement'
-import { ExtensionMoreMenu } from './ExtensionMoreMenu'
-import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
+import { extensionPageToolbarConnectionLogic } from '../../logics/panel/extensionPageToolbarConnectionLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
+import { ExtensionActionEditor } from '../actions/ExtensionActionEditor'
+import { ExtensionActionsList } from '../actions/ExtensionActionsList'
+import { ExtensionEventsMenu } from '../debug/ExtensionEventsMenu'
+import { ExtensionInspectedElement } from '../elements/ExtensionInspectedElement'
+import { ExtensionExperimentEditor } from '../experiments/ExtensionExperimentEditor'
+import { ExtensionExperimentsList } from '../experiments/ExtensionExperimentsList'
+import { ExtensionFlagsMenu } from '../flags/ExtensionFlagsMenu'
+import { ExtensionMoreMenu } from '../more/ExtensionMoreMenu'
+import { ExtensionHeatmapMenu } from '../stats/ExtensionHeatmapMenu'
+import { ExtensionWebVitalsMenu } from '../web-vitals/ExtensionWebVitalsMenu'
import { PAGE_TOOLS, PageToolDefinition, PageToolMode } from './extensionPageTools'
-import { extensionPanelLogic } from './extensionPanelLogic'
import { ExtensionToolHint } from './ExtensionToolHint'
-import { ExtensionWebVitalsMenu } from './ExtensionWebVitalsMenu'
import { usePageToolDisabledReason } from './usePageToolDisabledReason'
function ToolBody({ mode }: { mode: PageToolMode }): JSX.Element {
diff --git a/frontend/src/toolbar/extension/ExtensionPanel.stories.tsx b/frontend/src/toolbar/extension/components/panel/ExtensionPanel.stories.tsx
similarity index 97%
rename from frontend/src/toolbar/extension/ExtensionPanel.stories.tsx
rename to frontend/src/toolbar/extension/components/panel/ExtensionPanel.stories.tsx
index 9ef2dd8f25ff..36d3dd157e03 100644
--- a/frontend/src/toolbar/extension/ExtensionPanel.stories.tsx
+++ b/frontend/src/toolbar/extension/components/panel/ExtensionPanel.stories.tsx
@@ -6,10 +6,10 @@ import { Meta, StoryObj } from '@storybook/react'
import { mswDecorator } from '~/mocks/browser'
+import type { PageToolbarMode } from '../../messaging/pageToolbarBridge'
import { configureFakeExtensionBrowser } from './__mocks__/fakeExtensionBrowser'
import { STORY_PAGE_URL, pageToolbarState } from './__mocks__/pageToolbarState'
import { ExtensionPanel } from './ExtensionPanel'
-import type { PageToolbarMode } from './pageToolbarBridge'
type StoryArgs = { mode: PageToolbarMode }
diff --git a/frontend/src/toolbar/extension/ExtensionPanel.tsx b/frontend/src/toolbar/extension/components/panel/ExtensionPanel.tsx
similarity index 96%
rename from frontend/src/toolbar/extension/ExtensionPanel.tsx
rename to frontend/src/toolbar/extension/components/panel/ExtensionPanel.tsx
index 508e83c7f39f..64a67133d21a 100644
--- a/frontend/src/toolbar/extension/ExtensionPanel.tsx
+++ b/frontend/src/toolbar/extension/components/panel/ExtensionPanel.tsx
@@ -4,12 +4,12 @@ import { Logo } from 'lib/brand'
import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { urls } from '~/toolbar/urls'
+import { urls } from '~/toolbar/shared/urls'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
+import type { ExtensionPanelState, UnsupportedPageReason } from '../../logics/panel/extensionPanelState'
import { ExtensionPageToolbar } from './ExtensionPageToolbar'
-import { extensionPanelLogic } from './extensionPanelLogic'
import { ExtensionPanelSettings } from './ExtensionPanelSettings'
-import type { ExtensionPanelState, UnsupportedPageReason } from './extensionPanelState'
const UNSUPPORTED_PAGE_MESSAGES: Record<UnsupportedPageReason, string> = {
'browser-page': "The toolbar can't run on this page. Open your website to use it.",
diff --git a/frontend/src/toolbar/extension/ExtensionPanelSettings.tsx b/frontend/src/toolbar/extension/components/panel/ExtensionPanelSettings.tsx
similarity index 97%
rename from frontend/src/toolbar/extension/ExtensionPanelSettings.tsx
rename to frontend/src/toolbar/extension/components/panel/ExtensionPanelSettings.tsx
index c8b709ecdf7a..b39e7fae929d 100644
--- a/frontend/src/toolbar/extension/ExtensionPanelSettings.tsx
+++ b/frontend/src/toolbar/extension/components/panel/ExtensionPanelSettings.tsx
@@ -9,9 +9,9 @@ import { LemonLabel } from 'lib/lemon-ui/LemonLabel'
import { LemonSelect } from 'lib/lemon-ui/LemonSelect'
import { cn } from 'lib/utils/css-classes'
-import { canonicalizeUiHost } from '~/toolbar/toolbarConfigLogic'
+import { canonicalizeUiHost } from '~/toolbar/shared/toolbarConfigLogic'
-import { extensionPanelLogic } from './extensionPanelLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
const CLOUD_HOSTS = ['https://us.posthog.com', 'https://eu.posthog.com']
const CUSTOM_HOST = 'custom'
diff --git a/frontend/src/toolbar/extension/ExtensionToolHint.tsx b/frontend/src/toolbar/extension/components/panel/ExtensionToolHint.tsx
similarity index 100%
rename from frontend/src/toolbar/extension/ExtensionToolHint.tsx
rename to frontend/src/toolbar/extension/components/panel/ExtensionToolHint.tsx
diff --git a/frontend/src/toolbar/extension/ExtensionToolLoading.tsx b/frontend/src/toolbar/extension/components/panel/ExtensionToolLoading.tsx
similarity index 100%
rename from frontend/src/toolbar/extension/ExtensionToolLoading.tsx
rename to frontend/src/toolbar/extension/components/panel/ExtensionToolLoading.tsx
diff --git a/frontend/src/toolbar/extension/NoPagePosthogBanner.tsx b/frontend/src/toolbar/extension/components/panel/NoPagePosthogBanner.tsx
similarity index 100%
rename from frontend/src/toolbar/extension/NoPagePosthogBanner.tsx
rename to frontend/src/toolbar/extension/components/panel/NoPagePosthogBanner.tsx
diff --git a/frontend/src/toolbar/extension/__mocks__/fakeExtensionBrowser.ts b/frontend/src/toolbar/extension/components/panel/__mocks__/fakeExtensionBrowser.ts
similarity index 93%
rename from frontend/src/toolbar/extension/__mocks__/fakeExtensionBrowser.ts
rename to frontend/src/toolbar/extension/components/panel/__mocks__/fakeExtensionBrowser.ts
index eab7805d0666..dc5cd550ee41 100644
--- a/frontend/src/toolbar/extension/__mocks__/fakeExtensionBrowser.ts
+++ b/frontend/src/toolbar/extension/components/panel/__mocks__/fakeExtensionBrowser.ts
@@ -1,5 +1,5 @@
-import type { ExtensionPort } from '../extensionBrowser'
-import type { PageToolbarMessage, PageToolbarState } from '../pageToolbarBridge'
+import type { ExtensionPort } from '../../../browser/extensionBrowser'
+import type { PageToolbarMessage, PageToolbarState } from '../../../messaging/pageToolbarBridge'
// Stories render the side panel outside an extension. `extensionBrowser.ts` reads `browser` when the module loads, so
// a story imports this module before any panel module.
diff --git a/frontend/src/toolbar/extension/__mocks__/pageToolbarState.ts b/frontend/src/toolbar/extension/components/panel/__mocks__/pageToolbarState.ts
similarity index 97%
rename from frontend/src/toolbar/extension/__mocks__/pageToolbarState.ts
rename to frontend/src/toolbar/extension/components/panel/__mocks__/pageToolbarState.ts
index 969cb193c449..4a99c17d49c0 100644
--- a/frontend/src/toolbar/extension/__mocks__/pageToolbarState.ts
+++ b/frontend/src/toolbar/extension/components/panel/__mocks__/pageToolbarState.ts
@@ -1,8 +1,8 @@
import { DEFAULT_HEATMAP_FILTERS } from 'lib/components/IframedToolbarBrowser/utils'
-import type { ActionForm } from '~/toolbar/types'
+import type { ActionForm } from '~/toolbar/shared/types'
-import type { PageToolbarMode, PageToolbarState } from '../pageToolbarBridge'
+import type { PageToolbarMode, PageToolbarState } from '../../../messaging/pageToolbarBridge'
export const STORY_PAGE_URL = 'https://hedgebox.example.com/pricing'
diff --git a/frontend/src/toolbar/extension/extensionPageTools.tsx b/frontend/src/toolbar/extension/components/panel/extensionPageTools.tsx
similarity index 95%
rename from frontend/src/toolbar/extension/extensionPageTools.tsx
rename to frontend/src/toolbar/extension/components/panel/extensionPageTools.tsx
index 7c9fb0a69c94..2a95ad937704 100644
--- a/frontend/src/toolbar/extension/extensionPageTools.tsx
+++ b/frontend/src/toolbar/extension/components/panel/extensionPageTools.tsx
@@ -2,10 +2,10 @@ import { IconBolt, IconCursorClick, IconFlask, IconLive, IconPieChart, IconSearc
import { IconMenu } from 'lib/lemon-ui/icons'
-import { urls } from '~/toolbar/urls'
+import { urls } from '~/toolbar/shared/urls'
import { AvailableFeature } from '~/types'
-import type { PageToolbarMode } from './pageToolbarBridge'
+import type { PageToolbarMode } from '../../messaging/pageToolbarBridge'
export type PageToolMode = Exclude<PageToolbarMode, 'none'>
diff --git a/frontend/src/toolbar/extension/usePageToolDisabledReason.ts b/frontend/src/toolbar/extension/components/panel/usePageToolDisabledReason.ts
similarity index 82%
rename from frontend/src/toolbar/extension/usePageToolDisabledReason.ts
rename to frontend/src/toolbar/extension/components/panel/usePageToolDisabledReason.ts
index b61fedfd29d7..5911f4ec9afa 100644
--- a/frontend/src/toolbar/extension/usePageToolDisabledReason.ts
+++ b/frontend/src/toolbar/extension/components/panel/usePageToolDisabledReason.ts
@@ -2,11 +2,11 @@ import { useValues } from 'kea'
import { FEATURE_FLAGS } from 'lib/constants'
-import { ToolbarFeatureGateStatus, toolbarFeatureGateStatus } from '~/toolbar/toolbarEntitlementsLogic'
-import { useToolbarFeatureFlag } from '~/toolbar/toolbarPosthogJS'
+import { ToolbarFeatureGateStatus, toolbarFeatureGateStatus } from '~/toolbar/shared/toolbarEntitlementsLogic'
+import { useToolbarFeatureFlag } from '~/toolbar/shared/toolbarPosthogJS'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
import type { PageToolDefinition } from './extensionPageTools'
-import { extensionPanelLogic } from './extensionPanelLogic'
const GATE_DISABLED_REASONS: Record<ToolbarFeatureGateStatus, string | null> = {
available: null,
diff --git a/frontend/src/toolbar/extension/ExtensionHeatmapMenu.tsx b/frontend/src/toolbar/extension/components/stats/ExtensionHeatmapMenu.tsx
similarity index 96%
rename from frontend/src/toolbar/extension/ExtensionHeatmapMenu.tsx
rename to frontend/src/toolbar/extension/components/stats/ExtensionHeatmapMenu.tsx
index c06fff9c451a..b3a3b16f988d 100644
--- a/frontend/src/toolbar/extension/ExtensionHeatmapMenu.tsx
+++ b/frontend/src/toolbar/extension/components/stats/ExtensionHeatmapMenu.tsx
@@ -14,14 +14,14 @@ import { LemonSwitch } from 'lib/lemon-ui/LemonSwitch'
import { Link } from 'lib/lemon-ui/Link'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { urls } from '~/toolbar/urls'
+import { urls } from '~/toolbar/shared/urls'
-import { ExtensionInspectedElement } from './ExtensionInspectedElement'
-import type { PageHeatmapCommand } from './extensionPageHeatmapLogic'
-import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { extensionPanelLogic } from './extensionPanelLogic'
-import { capturePageToolUsed } from './extensionTelemetry'
-import type { PageToolbarHeatmapState } from './pageToolbarBridge'
+import { capturePageToolUsed } from '../../browser/extensionTelemetry'
+import type { PageHeatmapCommand } from '../../logics/page/extensionPageHeatmapLogic'
+import { extensionPageToolbarConnectionLogic } from '../../logics/panel/extensionPageToolbarConnectionLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
+import type { PageToolbarHeatmapState } from '../../messaging/pageToolbarBridge'
+import { ExtensionInspectedElement } from '../elements/ExtensionInspectedElement'
function HeatmapsCollectionWarning({ heatmap }: { heatmap: PageToolbarHeatmapState }): JSX.Element | null {
const { projectUrl } = useValues(extensionPanelLogic)
diff --git a/frontend/src/toolbar/extension/ExtensionWebVitalsMenu.tsx b/frontend/src/toolbar/extension/components/web-vitals/ExtensionWebVitalsMenu.tsx
similarity index 83%
rename from frontend/src/toolbar/extension/ExtensionWebVitalsMenu.tsx
rename to frontend/src/toolbar/extension/components/web-vitals/ExtensionWebVitalsMenu.tsx
index 4dd62c6a439c..54ccabaf6877 100644
--- a/frontend/src/toolbar/extension/ExtensionWebVitalsMenu.tsx
+++ b/frontend/src/toolbar/extension/components/web-vitals/ExtensionWebVitalsMenu.tsx
@@ -5,12 +5,12 @@ import { IconRefresh } from '@posthog/icons'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { Link } from 'lib/lemon-ui/Link'
-import { urls } from '~/toolbar/urls'
-import { WebVitalsReport } from '~/toolbar/web-vitals/WebVitalsReport'
+import { urls } from '~/toolbar/shared/urls'
+import { WebVitalsReport } from '~/toolbar/shared/web-vitals/WebVitalsReport'
-import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { extensionPanelLogic } from './extensionPanelLogic'
-import { ExtensionToolLoading } from './ExtensionToolLoading'
+import { extensionPageToolbarConnectionLogic } from '../../logics/panel/extensionPageToolbarConnectionLogic'
+import { extensionPanelLogic } from '../../logics/panel/extensionPanelLogic'
+import { ExtensionToolLoading } from '../panel/ExtensionToolLoading'
const WEB_VITALS_DOCS_URL = 'https://posthog.com/docs/web-analytics/web-vitals'
diff --git a/frontend/src/toolbar/extension/content.tsx b/frontend/src/toolbar/extension/content.tsx
index a78057f32e83..ac63202f90d2 100644
--- a/frontend/src/toolbar/extension/content.tsx
+++ b/frontend/src/toolbar/extension/content.tsx
@@ -1,5 +1,5 @@
import '~/styles'
-import '~/toolbar/styles.scss'
+import '~/toolbar/shared/styles.scss'
import { resetContext } from 'kea'
import { disposablesPlugin } from 'kea-disposables'
@@ -10,10 +10,10 @@ import { subscriptionsPlugin } from 'kea-subscriptions'
import { waitForPlugin } from 'kea-waitfor'
import { windowValuesPlugin } from 'kea-window-values'
-import { TOOLBAR_EXTENSION_ID, TOOLBAR_ROOT_ATTRIBUTE } from '~/toolbar/utils'
+import { TOOLBAR_EXTENSION_ID, TOOLBAR_ROOT_ATTRIBUTE } from '~/toolbar/shared/utils'
-import { answerContentScriptPing } from './extensionBrowser'
-import { PageToolbarHost } from './pageToolbarHost'
+import { answerContentScriptPing } from './browser/extensionBrowser'
+import { PageToolbarHost } from './components/page/pageToolbarHost'
const INSTALLED_FLAG = '__posthogToolbarExtensionContent'
diff --git a/frontend/src/toolbar/extension/extensionPageActionsLogic.ts b/frontend/src/toolbar/extension/logics/page/extensionPageActionsLogic.ts
similarity index 96%
rename from frontend/src/toolbar/extension/extensionPageActionsLogic.ts
rename to frontend/src/toolbar/extension/logics/page/extensionPageActionsLogic.ts
index 4c69acbbecf2..beb210cea6f7 100644
--- a/frontend/src/toolbar/extension/extensionPageActionsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/page/extensionPageActionsLogic.ts
@@ -1,11 +1,11 @@
import { MakeLogicType, actions, connect, kea, listeners, path, reducers, selectors } from 'kea'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { actionsTabLogic } from '~/toolbar/shared/actions/actionsTabLogic'
-import type { ActionType, ElementType } from '../../types'
-import type { ActionForm } from '../types'
-import type { ActionSaveResult, PageToolbarActionsState } from './pageToolbarBridge'
+import type { ActionType, ElementType } from '../../../../types'
+import type { ActionForm } from '../../../shared/types'
+import type { ActionSaveResult, PageToolbarActionsState } from '../../messaging/pageToolbarBridge'
export type PageActionsCommand =
| { type: 'select-action'; id: number | null }
diff --git a/frontend/src/toolbar/extension/extensionPageEventsLogic.ts b/frontend/src/toolbar/extension/logics/page/extensionPageEventsLogic.ts
similarity index 95%
rename from frontend/src/toolbar/extension/extensionPageEventsLogic.ts
rename to frontend/src/toolbar/extension/logics/page/extensionPageEventsLogic.ts
index 540be3b5b3c8..31e46712c7ec 100644
--- a/frontend/src/toolbar/extension/extensionPageEventsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/page/extensionPageEventsLogic.ts
@@ -2,14 +2,14 @@ import { MakeLogicType, actions, connect, kea, listeners, path, props, reducers,
import { subscriptions } from 'kea-subscriptions'
import type { PostHog } from 'posthog-js'
-import { downloadEventsAsJson } from '~/toolbar/debug/downloadEventsAsJson'
-import type { EventCategory } from '~/toolbar/debug/eventCategories'
-import { eventDebugMenuLogic } from '~/toolbar/debug/eventDebugMenuLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { downloadEventsAsJson } from '~/toolbar/shared/debug/downloadEventsAsJson'
+import type { EventCategory } from '~/toolbar/shared/debug/eventCategories'
+import { eventDebugMenuLogic } from '~/toolbar/shared/debug/eventDebugMenuLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import type { EventType } from '~/types'
-import type { PagePosthogBridge } from './pagePosthogBridge'
-import type { DebugEventRow, PageToolbarEventsState } from './pageToolbarBridge'
+import type { PagePosthogBridge } from '../../messaging/pagePosthogBridge'
+import type { DebugEventRow, PageToolbarEventsState } from '../../messaging/pageToolbarBridge'
// Every change to the events slice carries the rows, so the panel gets the newest events only. The debugger keeps more.
const MAX_PANEL_EVENT_ROWS = 200
diff --git a/frontend/src/toolbar/extension/extensionPageExperimentsLogic.ts b/frontend/src/toolbar/extension/logics/page/extensionPageExperimentsLogic.ts
similarity index 95%
rename from frontend/src/toolbar/extension/extensionPageExperimentsLogic.ts
rename to frontend/src/toolbar/extension/logics/page/extensionPageExperimentsLogic.ts
index 910c1079ef45..20bacf13ab8f 100644
--- a/frontend/src/toolbar/extension/extensionPageExperimentsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/page/extensionPageExperimentsLogic.ts
@@ -1,13 +1,17 @@
import { MakeLogicType, actions, connect, kea, listeners, path, reducers, selectors } from 'kea'
import type { PostHog } from 'posthog-js'
-import type { ElementSelectorType } from '~/toolbar/experiments/elementSelectorTypes'
-import { experimentsLogic } from '~/toolbar/experiments/experimentsLogic'
-import { experimentsTabLogic, restoreOriginalHtmlState } from '~/toolbar/experiments/experimentsTabLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import type { WebExperiment, WebExperimentForm } from '~/toolbar/types'
+import type { ElementSelectorType } from '~/toolbar/shared/experiments/elementSelectorTypes'
+import { experimentsLogic } from '~/toolbar/shared/experiments/experimentsLogic'
+import { experimentsTabLogic, restoreOriginalHtmlState } from '~/toolbar/shared/experiments/experimentsTabLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import type { WebExperiment, WebExperimentForm } from '~/toolbar/shared/types'
-import type { ExperimentFormDraft, ExperimentSaveResult, PageToolbarExperimentsState } from './pageToolbarBridge'
+import type {
+ ExperimentFormDraft,
+ ExperimentSaveResult,
+ PageToolbarExperimentsState,
+} from '../../messaging/pageToolbarBridge'
/** Finds the element like posthog-js applies web experiments, without entering shadow roots. */
function querySelectorInDocument(selector: string): HTMLElement | null {
@@ -84,8 +88,8 @@ export interface extensionPageExperimentsLogicActions {
removeVariant: (variant: string) => {
variant: string
} // experimentsTabLogic
- selectExperiment: (id: null | import('../../types').ExperimentIdType) => {
- id: null | import('../../types').ExperimentIdType
+ selectExperiment: (id: null | import('../../../../types').ExperimentIdType) => {
+ id: null | import('../../../../types').ExperimentIdType
} // experimentsTabLogic
submitExperimentForm: () => {
value: boolean
diff --git a/frontend/src/toolbar/extension/extensionPageFlagsLogic.ts b/frontend/src/toolbar/extension/logics/page/extensionPageFlagsLogic.ts
similarity index 87%
rename from frontend/src/toolbar/extension/extensionPageFlagsLogic.ts
rename to frontend/src/toolbar/extension/logics/page/extensionPageFlagsLogic.ts
index 6cc2495f5ea1..cf85153a2c05 100644
--- a/frontend/src/toolbar/extension/extensionPageFlagsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/page/extensionPageFlagsLogic.ts
@@ -1,12 +1,13 @@
import { MakeLogicType, actions, connect, kea, listeners, path, reducers, selectors } from 'kea'
import type { PostHog } from 'posthog-js'
-import { flagsToolbarLogic, flagsToolbarLogicValues } from '~/toolbar/flags/flagsToolbarLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { FlagInfo, toFlagInfo } from '~/toolbar/shared/flags/flagInfo'
+import { flagsToolbarLogic, flagsToolbarLogicValues } from '~/toolbar/shared/flags/flagsToolbarLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
-import type { FeatureFlagType } from '../../types'
-import type { PageFlagMutationStatus } from './pagePosthogBridge'
-import type { FlagInfo, PageToolbarFlagsState } from './pageToolbarBridge'
+import type { FeatureFlagType } from '../../../../types'
+import type { PageFlagMutationStatus } from '../../messaging/pagePosthogBridge'
+import type { PageToolbarFlagsState } from '../../messaging/pageToolbarBridge'
export type PageFlagsCommand =
| { type: 'set-flag-override'; flagKey: string; value: string | boolean }
@@ -106,23 +107,7 @@ export const extensionPageFlagsLogic = kea<extensionPageFlagsLogicType>([
],
}),
selectors({
- flags: [
- (s) => [s.filteredFlags],
- (filteredFlags: FilteredFlag[]): FlagInfo[] =>
- filteredFlags.map(({ feature_flag, value, currentValue, hasOverride, payloadOverride }) => ({
- key: feature_flag.key,
- id: feature_flag.id ?? null,
- value,
- currentValue,
- hasOverride,
- variants: (feature_flag.filters?.multivariate?.variants ?? []).map((variant) => ({
- key: variant.key,
- name: variant.name ?? null,
- rolloutPercentage: variant.rollout_percentage ?? null,
- })),
- payloadOverride: payloadOverride ?? null,
- })),
- ],
+ flags: [(s) => [s.filteredFlags], (filteredFlags: FilteredFlag[]): FlagInfo[] => filteredFlags.map(toFlagInfo)],
pageState: [
(s) => [
s.posthog,
diff --git a/frontend/src/toolbar/extension/extensionPageHeatmapLogic.ts b/frontend/src/toolbar/extension/logics/page/extensionPageHeatmapLogic.ts
similarity index 97%
rename from frontend/src/toolbar/extension/extensionPageHeatmapLogic.ts
rename to frontend/src/toolbar/extension/logics/page/extensionPageHeatmapLogic.ts
index 14b06b1e4bf6..34c9dc73df0d 100644
--- a/frontend/src/toolbar/extension/extensionPageHeatmapLogic.ts
+++ b/frontend/src/toolbar/extension/logics/page/extensionPageHeatmapLogic.ts
@@ -8,15 +8,15 @@ import type {
ScrollDepthPosthogJsError,
} from 'lib/components/heatmaps/types'
-import { elementsLogic } from '~/toolbar/elements/elementsLogic'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
-import { currentPageLogic } from '~/toolbar/stats/currentPageLogic'
-import { heatmapCaptureLogic } from '~/toolbar/stats/heatmapCaptureLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import type { CountedHTMLElement } from '~/toolbar/types'
+import { elementsLogic } from '~/toolbar/shared/elements/elementsLogic'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
+import { currentPageLogic } from '~/toolbar/shared/stats/currentPageLogic'
+import { heatmapCaptureLogic } from '~/toolbar/shared/stats/heatmapCaptureLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import type { CountedHTMLElement } from '~/toolbar/shared/types'
-import type { CaptureProgress, CaptureSummary } from '../stats/heatmapCaptureLogic'
-import type { HeatmapSaveResult, PageToolbarHeatmapState } from './pageToolbarBridge'
+import type { CaptureProgress, CaptureSummary } from '../../../shared/stats/heatmapCaptureLogic'
+import type { HeatmapSaveResult, PageToolbarHeatmapState } from '../../messaging/pageToolbarBridge'
export type PageHeatmapCommand =
| { type: 'set-wildcard-href'; href: string }
diff --git a/frontend/src/toolbar/extension/extensionPageMoreLogic.ts b/frontend/src/toolbar/extension/logics/page/extensionPageMoreLogic.ts
similarity index 96%
rename from frontend/src/toolbar/extension/extensionPageMoreLogic.ts
rename to frontend/src/toolbar/extension/logics/page/extensionPageMoreLogic.ts
index 0e3817e1b8bf..9233c543ede7 100644
--- a/frontend/src/toolbar/extension/extensionPageMoreLogic.ts
+++ b/frontend/src/toolbar/extension/logics/page/extensionPageMoreLogic.ts
@@ -6,13 +6,13 @@ import {
DEFAULT_PII_MASKING_COLOR,
applyPiiMaskingStylesheet,
getPiiMaskingWarnings,
-} from '~/toolbar/bar/piiMaskingStyles'
-import { screenshotUploadLogic } from '~/toolbar/screenshot-upload/screenshotUploadLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+} from '~/toolbar/shared/bar/piiMaskingStyles'
+import { screenshotUploadLogic } from '~/toolbar/shared/screenshot-upload/screenshotUploadLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
-import type { EventDefinition } from '../../types'
-import type { PagePosthogBridge } from './pagePosthogBridge'
-import type { PageDebugInfo, PageToolbarMoreState } from './pageToolbarBridge'
+import type { EventDefinition } from '../../../../types'
+import type { PagePosthogBridge } from '../../messaging/pagePosthogBridge'
+import type { PageDebugInfo, PageToolbarMoreState } from '../../messaging/pageToolbarBridge'
export type PageMoreCommand =
| { type: 'reload-debug-info' }
diff --git a/frontend/src/toolbar/extension/extensionPageToolbarLogic.ts b/frontend/src/toolbar/extension/logics/page/extensionPageToolbarLogic.ts
similarity index 94%
rename from frontend/src/toolbar/extension/extensionPageToolbarLogic.ts
rename to frontend/src/toolbar/extension/logics/page/extensionPageToolbarLogic.ts
index 065098ab3cac..b9d2cd628bce 100644
--- a/frontend/src/toolbar/extension/extensionPageToolbarLogic.ts
+++ b/frontend/src/toolbar/extension/logics/page/extensionPageToolbarLogic.ts
@@ -1,24 +1,17 @@
import { MakeLogicType, actions, afterMount, connect, kea, listeners, path, props, reducers, selectors } from 'kea'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
-import { SelectorMatchCounts, countSelectorMatches } from '~/toolbar/actions/SelectorCountContext'
-import { elementsLogic } from '~/toolbar/elements/elementsLogic'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
-import { experimentsTabLogic } from '~/toolbar/experiments/experimentsTabLogic'
-import { currentPageLogic } from '~/toolbar/stats/currentPageLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import type { ElementWithMetadata } from '~/toolbar/types'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { actionsTabLogic } from '~/toolbar/shared/actions/actionsTabLogic'
+import { SelectorMatchCounts, countSelectorMatches } from '~/toolbar/shared/actions/SelectorCountContext'
+import { elementsLogic } from '~/toolbar/shared/elements/elementsLogic'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
+import { experimentsTabLogic } from '~/toolbar/shared/experiments/experimentsTabLogic'
+import { currentPageLogic } from '~/toolbar/shared/stats/currentPageLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import type { ElementWithMetadata } from '~/toolbar/shared/types'
-import type { FragileSelectorResult } from '../utils/selectorQuality'
-import { extensionPageActionsLogic } from './extensionPageActionsLogic'
-import { EMPTY_PAGE_EVENTS_STATE, extensionPageEventsLogic } from './extensionPageEventsLogic'
-import { extensionPageExperimentsLogic } from './extensionPageExperimentsLogic'
-import { extensionPageFlagsLogic } from './extensionPageFlagsLogic'
-import { extensionPageHeatmapLogic } from './extensionPageHeatmapLogic'
-import { extensionPageMoreLogic } from './extensionPageMoreLogic'
-import { extensionPageWebVitalsLogic, getPageWebVitalsState } from './extensionPageWebVitalsLogic'
-import type { PagePosthogBridge } from './pagePosthogBridge'
+import type { FragileSelectorResult } from '../../../shared/utils/selectorQuality'
+import type { PagePosthogBridge } from '../../messaging/pagePosthogBridge'
import type {
InspectedElementInfo,
PageToolCommands,
@@ -28,7 +21,14 @@ import type {
PageToolbarMode,
PageToolbarState,
PageToolbarTokens,
-} from './pageToolbarBridge'
+} from '../../messaging/pageToolbarBridge'
+import { extensionPageActionsLogic } from './extensionPageActionsLogic'
+import { EMPTY_PAGE_EVENTS_STATE, extensionPageEventsLogic } from './extensionPageEventsLogic'
+import { extensionPageExperimentsLogic } from './extensionPageExperimentsLogic'
+import { extensionPageFlagsLogic } from './extensionPageFlagsLogic'
+import { extensionPageHeatmapLogic } from './extensionPageHeatmapLogic'
+import { extensionPageMoreLogic } from './extensionPageMoreLogic'
+import { extensionPageWebVitalsLogic, getPageWebVitalsState } from './extensionPageWebVitalsLogic'
export type PageSessionCommand =
| { type: 'set-mode'; mode: PageToolbarMode }
diff --git a/frontend/src/toolbar/extension/extensionPageWebVitalsLogic.ts b/frontend/src/toolbar/extension/logics/page/extensionPageWebVitalsLogic.ts
similarity index 90%
rename from frontend/src/toolbar/extension/extensionPageWebVitalsLogic.ts
rename to frontend/src/toolbar/extension/logics/page/extensionPageWebVitalsLogic.ts
index 619920660bcd..12c8efe0bb64 100644
--- a/frontend/src/toolbar/extension/extensionPageWebVitalsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/page/extensionPageWebVitalsLogic.ts
@@ -1,10 +1,10 @@
import { MakeLogicType, actions, connect, kea, listeners, path } from 'kea'
import type { PostHog } from 'posthog-js'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { webVitalsToolbarLogic } from '~/toolbar/web-vitals/webVitalsToolbarLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { webVitalsToolbarLogic } from '~/toolbar/shared/web-vitals/webVitalsToolbarLogic'
-import type { PageToolbarWebVitalsState } from './pageToolbarBridge'
+import type { PageToolbarWebVitalsState } from '../../messaging/pageToolbarBridge'
export type PageWebVitalsCommand = { type: 'reload-web-vitals' }
diff --git a/frontend/src/toolbar/extension/extensionActionsLogic.ts b/frontend/src/toolbar/extension/logics/panel/extensionActionsLogic.ts
similarity index 95%
rename from frontend/src/toolbar/extension/extensionActionsLogic.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionActionsLogic.ts
index b4207e1b5289..b0e60322b9a6 100644
--- a/frontend/src/toolbar/extension/extensionActionsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/panel/extensionActionsLogic.ts
@@ -3,13 +3,13 @@ import { forms } from 'kea-forms'
import type { DeepPartial, DeepPartialMap, FieldName, ValidationErrorType } from 'kea-forms'
import { subscriptions } from 'kea-subscriptions'
-import type { ActionForm } from '~/toolbar/types'
+import type { ActionForm } from '~/toolbar/shared/types'
-import type { PageActionsCommand } from './extensionPageActionsLogic'
+import { capturePageToolUsed } from '../../browser/extensionTelemetry'
+import { PageFormSync } from '../../messaging/pageFormSync'
+import type { PageToolbarActionsState, PageToolbarState } from '../../messaging/pageToolbarBridge'
+import type { PageActionsCommand } from '../page/extensionPageActionsLogic'
import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { capturePageToolUsed } from './extensionTelemetry'
-import { PageFormSync } from './pageFormSync'
-import type { PageToolbarActionsState, PageToolbarState } from './pageToolbarBridge'
const EMPTY_ACTION_FORM = { name: null, steps: [{}] } as ActionForm
@@ -38,8 +38,8 @@ export interface extensionActionsLogicValues {
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface extensionActionsLogicActions {
- sendCommand: (message: import('./pageToolbarBridge').PageToolbarCommand) => {
- message: import('./pageToolbarBridge').PageToolbarCommand
+ sendCommand: (message: import('../../messaging/pageToolbarBridge').PageToolbarCommand) => {
+ message: import('../../messaging/pageToolbarBridge').PageToolbarCommand
} // extensionPageToolbarConnectionLogic
applySelector: (
index: number,
diff --git a/frontend/src/toolbar/extension/extensionAuthLogic.ts b/frontend/src/toolbar/extension/logics/panel/extensionAuthLogic.ts
similarity index 96%
rename from frontend/src/toolbar/extension/extensionAuthLogic.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionAuthLogic.ts
index 8564b5883bcd..99e97851c51a 100644
--- a/frontend/src/toolbar/extension/extensionAuthLogic.ts
+++ b/frontend/src/toolbar/extension/logics/panel/extensionAuthLogic.ts
@@ -2,13 +2,13 @@ import { MakeLogicType, actions, connect, kea, listeners, path, reducers, select
import { subscriptions } from 'kea-subscriptions'
import type { UserApi } from '~/generated/core/api.schemas'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
-import { getStoredTokens, setStoredTokens } from './extensionBrowser'
-import { authenticateToolbar } from './extensionOAuth'
+import { getStoredTokens, setStoredTokens } from '../../browser/extensionBrowser'
+import { authenticateToolbar } from '../../browser/extensionOAuth'
+import type { PageToolbarTokens } from '../../messaging/pageToolbarBridge'
import { extensionPanelLogic } from './extensionPanelLogic'
import type { ExtensionPanelState } from './extensionPanelState'
-import type { PageToolbarTokens } from './pageToolbarBridge'
export type ToolbarAuthStatus = 'loading' | 'signed-out' | 'authenticating' | 'authenticated' | 'failed'
diff --git a/frontend/src/toolbar/extension/extensionEventsLogic.ts b/frontend/src/toolbar/extension/logics/panel/extensionEventsLogic.ts
similarity index 90%
rename from frontend/src/toolbar/extension/extensionEventsLogic.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionEventsLogic.ts
index 036c4567561b..e61127a9ff2b 100644
--- a/frontend/src/toolbar/extension/extensionEventsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/panel/extensionEventsLogic.ts
@@ -1,8 +1,8 @@
import { MakeLogicType, actions, connect, kea, listeners, path, reducers, selectors } from 'kea'
+import { capturePageToolUsed } from '../../browser/extensionTelemetry'
+import type { PageToolbarEventsState, PageToolbarState } from '../../messaging/pageToolbarBridge'
import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { capturePageToolUsed } from './extensionTelemetry'
-import type { PageToolbarEventsState, PageToolbarState } from './pageToolbarBridge'
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface extensionEventsLogicValues {
@@ -13,8 +13,8 @@ export interface extensionEventsLogicValues {
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface extensionEventsLogicActions {
- sendCommand: (message: import('./pageToolbarBridge').PageToolbarCommand) => {
- message: import('./pageToolbarBridge').PageToolbarCommand
+ sendCommand: (message: import('../../messaging/pageToolbarBridge').PageToolbarCommand) => {
+ message: import('../../messaging/pageToolbarBridge').PageToolbarCommand
} // extensionPageToolbarConnectionLogic
exportEvents: () => {
value: true
diff --git a/frontend/src/toolbar/extension/extensionExperimentsLogic.ts b/frontend/src/toolbar/extension/logics/panel/extensionExperimentsLogic.ts
similarity index 94%
rename from frontend/src/toolbar/extension/extensionExperimentsLogic.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionExperimentsLogic.ts
index fd4d64c6df24..6a0679718938 100644
--- a/frontend/src/toolbar/extension/extensionExperimentsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/panel/extensionExperimentsLogic.ts
@@ -3,13 +3,17 @@ import { forms } from 'kea-forms'
import type { DeepPartial, DeepPartialMap, FieldName, ValidationErrorType } from 'kea-forms'
import { subscriptions } from 'kea-subscriptions'
-import { canRenameVariant } from '~/toolbar/experiments/webExperimentEditorContext'
+import { canRenameVariant } from '~/toolbar/shared/experiments/webExperimentEditorContext'
-import type { PageExperimentsCommand } from './extensionPageExperimentsLogic'
+import { capturePageToolUsed } from '../../browser/extensionTelemetry'
+import { PageFormSync } from '../../messaging/pageFormSync'
+import type {
+ ExperimentFormDraft,
+ PageToolbarExperimentsState,
+ PageToolbarState,
+} from '../../messaging/pageToolbarBridge'
+import type { PageExperimentsCommand } from '../page/extensionPageExperimentsLogic'
import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { capturePageToolUsed } from './extensionTelemetry'
-import { PageFormSync } from './pageFormSync'
-import type { ExperimentFormDraft, PageToolbarExperimentsState, PageToolbarState } from './pageToolbarBridge'
const EMPTY_EXPERIMENT_FORM: ExperimentFormDraft = { name: '', variants: {} }
@@ -37,8 +41,8 @@ export interface extensionExperimentsLogicValues {
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface extensionExperimentsLogicActions {
- sendCommand: (message: import('./pageToolbarBridge').PageToolbarCommand) => {
- message: import('./pageToolbarBridge').PageToolbarCommand
+ sendCommand: (message: import('../../messaging/pageToolbarBridge').PageToolbarCommand) => {
+ message: import('../../messaging/pageToolbarBridge').PageToolbarCommand
} // extensionPageToolbarConnectionLogic
renameVariant: (
variant: string,
diff --git a/frontend/src/toolbar/extension/extensionFlagsLogic.ts b/frontend/src/toolbar/extension/logics/panel/extensionFlagsLogic.ts
similarity index 95%
rename from frontend/src/toolbar/extension/extensionFlagsLogic.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionFlagsLogic.ts
index d54d6ac1dcc4..f5433860d73b 100644
--- a/frontend/src/toolbar/extension/extensionFlagsLogic.ts
+++ b/frontend/src/toolbar/extension/logics/panel/extensionFlagsLogic.ts
@@ -1,9 +1,11 @@
import { MakeLogicType, actions, connect, kea, listeners, path, reducers, selectors } from 'kea'
-import type { PageFlagsCommand } from './extensionPageFlagsLogic'
+import type { FlagInfo } from '~/toolbar/shared/flags/flagInfo'
+
+import { capturePageToolUsed } from '../../browser/extensionTelemetry'
+import type { PageToolbarFlagsState, PageToolbarState } from '../../messaging/pageToolbarBridge'
+import type { PageFlagsCommand } from '../page/extensionPageFlagsLogic'
import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { capturePageToolUsed } from './extensionTelemetry'
-import type { FlagInfo, PageToolbarFlagsState, PageToolbarState } from './pageToolbarBridge'
export type FlagValue = string | boolean
@@ -29,8 +31,8 @@ export interface extensionFlagsLogicActions {
receiveState: (state: PageToolbarState | null) => {
state: PageToolbarState | null
} // extensionPageToolbarConnectionLogic
- sendCommand: (message: import('./pageToolbarBridge').PageToolbarCommand) => {
- message: import('./pageToolbarBridge').PageToolbarCommand
+ sendCommand: (message: import('../../messaging/pageToolbarBridge').PageToolbarCommand) => {
+ message: import('../../messaging/pageToolbarBridge').PageToolbarCommand
} // extensionPageToolbarConnectionLogic
clearImpersonation: () => {
value: true
diff --git a/frontend/src/toolbar/extension/extensionMoreLogic.ts b/frontend/src/toolbar/extension/logics/panel/extensionMoreLogic.ts
similarity index 90%
rename from frontend/src/toolbar/extension/extensionMoreLogic.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionMoreLogic.ts
index cb8968fd0dd8..aecd358af02f 100644
--- a/frontend/src/toolbar/extension/extensionMoreLogic.ts
+++ b/frontend/src/toolbar/extension/logics/panel/extensionMoreLogic.ts
@@ -1,10 +1,10 @@
import { MakeLogicType, actions, connect, kea, listeners, path, reducers, selectors } from 'kea'
-import { openTab } from './extensionBrowser'
-import type { PageMoreCommand } from './extensionPageMoreLogic'
+import { openTab } from '../../browser/extensionBrowser'
+import { capturePageToolUsed } from '../../browser/extensionTelemetry'
+import { PageToolbarMoreState, PageToolbarState } from '../../messaging/pageToolbarBridge'
+import type { PageMoreCommand } from '../page/extensionPageMoreLogic'
import { extensionPageToolbarConnectionLogic } from './extensionPageToolbarConnectionLogic'
-import { capturePageToolUsed } from './extensionTelemetry'
-import { PageToolbarMoreState, PageToolbarState } from './pageToolbarBridge'
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface extensionMoreLogicValues {
@@ -16,8 +16,8 @@ export interface extensionMoreLogicValues {
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface extensionMoreLogicActions {
- sendCommand: (message: import('./pageToolbarBridge').PageToolbarCommand) => {
- message: import('./pageToolbarBridge').PageToolbarCommand
+ sendCommand: (message: import('../../messaging/pageToolbarBridge').PageToolbarCommand) => {
+ message: import('../../messaging/pageToolbarBridge').PageToolbarCommand
} // extensionPageToolbarConnectionLogic
closeScreenshot: () => {
value: true
diff --git a/frontend/src/toolbar/extension/extensionPageToolbarConnectionLogic.ts b/frontend/src/toolbar/extension/logics/panel/extensionPageToolbarConnectionLogic.ts
similarity index 95%
rename from frontend/src/toolbar/extension/extensionPageToolbarConnectionLogic.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionPageToolbarConnectionLogic.ts
index 43c7dd6b935a..f6ee7f26926a 100644
--- a/frontend/src/toolbar/extension/extensionPageToolbarConnectionLogic.ts
+++ b/frontend/src/toolbar/extension/logics/panel/extensionPageToolbarConnectionLogic.ts
@@ -11,22 +11,32 @@ import {
selectors,
} from 'kea'
-import type { SelectorMatchCounter } from '~/toolbar/actions/SelectorCountContext'
-import { urls } from '~/toolbar/urls'
+import type { SelectorMatchCounter } from '~/toolbar/shared/actions/SelectorCountContext'
+import { urls } from '~/toolbar/shared/urls'
-import { extensionAuthLogic } from './extensionAuthLogic'
-import { ExtensionPort, connectToPageToolbar, ensureContentScript, injectPageAgent, openTab } from './extensionBrowser'
-import { extensionPanelLogic } from './extensionPanelLogic'
-import { capturePageToolUsed } from './extensionTelemetry'
+import {
+ ExtensionPort,
+ connectToPageToolbar,
+ ensureContentScript,
+ injectPageAgent,
+ openTab,
+} from '../../browser/extensionBrowser'
+import { capturePageToolUsed } from '../../browser/extensionTelemetry'
import {
PageToolbarCommand,
PageToolbarMode,
PageToolbarRequest,
PageToolbarState,
isPageToolbarMessage,
-} from './pageToolbarBridge'
-import type { PageToolbarTokens } from './pageToolbarBridge'
-import type { PageToolbarHeatmapState, PageToolbarInspectState, PageToolbarWebVitalsState } from './pageToolbarBridge'
+} from '../../messaging/pageToolbarBridge'
+import type { PageToolbarTokens } from '../../messaging/pageToolbarBridge'
+import type {
+ PageToolbarHeatmapState,
+ PageToolbarInspectState,
+ PageToolbarWebVitalsState,
+} from '../../messaging/pageToolbarBridge'
+import { extensionAuthLogic } from './extensionAuthLogic'
+import { extensionPanelLogic } from './extensionPanelLogic'
export type PageToolbarConnectionStatus = 'idle' | 'connecting' | 'connected' | 'failed'
diff --git a/frontend/src/toolbar/extension/extensionPanelLogic.ts b/frontend/src/toolbar/extension/logics/panel/extensionPanelLogic.ts
similarity index 97%
rename from frontend/src/toolbar/extension/extensionPanelLogic.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionPanelLogic.ts
index cb9cc3010e8d..20c4233ec8e3 100644
--- a/frontend/src/toolbar/extension/extensionPanelLogic.ts
+++ b/frontend/src/toolbar/extension/logics/panel/extensionPanelLogic.ts
@@ -8,10 +8,10 @@ import type {
ToolbarEntitlementsApiEntitlements,
UserApi,
} from '~/generated/core/api.schemas'
-import { canonicalizeUiHost } from '~/toolbar/toolbarConfigLogic'
-import { fetchToolbarEntitlements } from '~/toolbar/toolbarEntitlementsLogic'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { joinWithUiHost, safeFetch } from '~/toolbar/utils'
+import { canonicalizeUiHost } from '~/toolbar/shared/toolbarConfigLogic'
+import { fetchToolbarEntitlements } from '~/toolbar/shared/toolbarEntitlementsLogic'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { joinWithUiHost, safeFetch } from '~/toolbar/shared/utils'
import {
getActiveTab,
@@ -21,8 +21,8 @@ import {
openTab,
requestHostPermission,
setStoredUiHost,
-} from './extensionBrowser'
-import type { ExtensionFeatureKey } from './extensionPageTools'
+} from '../../browser/extensionBrowser'
+import type { ExtensionFeatureKey } from '../../components/panel/extensionPageTools'
import {
ExtensionPanelState,
SessionUserResult,
diff --git a/frontend/src/toolbar/extension/extensionPanelState.test.ts b/frontend/src/toolbar/extension/logics/panel/extensionPanelState.test.ts
similarity index 100%
rename from frontend/src/toolbar/extension/extensionPanelState.test.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionPanelState.test.ts
diff --git a/frontend/src/toolbar/extension/extensionPanelState.ts b/frontend/src/toolbar/extension/logics/panel/extensionPanelState.ts
similarity index 100%
rename from frontend/src/toolbar/extension/extensionPanelState.ts
rename to frontend/src/toolbar/extension/logics/panel/extensionPanelState.ts
diff --git a/frontend/src/toolbar/extension/pageAgentProtocol.ts b/frontend/src/toolbar/extension/messaging/pageAgentProtocol.ts
similarity index 100%
rename from frontend/src/toolbar/extension/pageAgentProtocol.ts
rename to frontend/src/toolbar/extension/messaging/pageAgentProtocol.ts
diff --git a/frontend/src/toolbar/extension/pageFormSync.ts b/frontend/src/toolbar/extension/messaging/pageFormSync.ts
similarity index 100%
rename from frontend/src/toolbar/extension/pageFormSync.ts
rename to frontend/src/toolbar/extension/messaging/pageFormSync.ts
diff --git a/frontend/src/toolbar/extension/pagePosthogBridge.test.ts b/frontend/src/toolbar/extension/messaging/pagePosthogBridge.test.ts
similarity index 100%
rename from frontend/src/toolbar/extension/pagePosthogBridge.test.ts
rename to frontend/src/toolbar/extension/messaging/pagePosthogBridge.test.ts
diff --git a/frontend/src/toolbar/extension/pagePosthogBridge.ts b/frontend/src/toolbar/extension/messaging/pagePosthogBridge.ts
similarity index 100%
rename from frontend/src/toolbar/extension/pagePosthogBridge.ts
rename to frontend/src/toolbar/extension/messaging/pagePosthogBridge.ts
diff --git a/frontend/src/toolbar/extension/pageToolbarBridge.ts b/frontend/src/toolbar/extension/messaging/pageToolbarBridge.ts
similarity index 88%
rename from frontend/src/toolbar/extension/pageToolbarBridge.ts
rename to frontend/src/toolbar/extension/messaging/pageToolbarBridge.ts
index 22f16d6d5b8a..8a378bf1353c 100644
--- a/frontend/src/toolbar/extension/pageToolbarBridge.ts
+++ b/frontend/src/toolbar/extension/messaging/pageToolbarBridge.ts
@@ -5,22 +5,27 @@ import type {
ScrollDepthPosthogJsError,
} from 'lib/components/heatmaps/types'
-import type { SelectorMatchCounts } from '~/toolbar/actions/SelectorCountContext'
-import type { EventCategory } from '~/toolbar/debug/eventCategories'
-import type { PosthogDebugInfo } from '~/toolbar/debug/posthogDebugInfo'
-import type { ElementSelectorType } from '~/toolbar/experiments/elementSelectorTypes'
-import type { ActionForm, WebExperimentForm } from '~/toolbar/types'
-import type { WebVitalsMetrics } from '~/toolbar/web-vitals/webVitalsToolbarLogic'
+import type { SelectorMatchCounts } from '~/toolbar/shared/actions/SelectorCountContext'
+import type { EventCategory } from '~/toolbar/shared/debug/eventCategories'
+import type { PosthogDebugInfo } from '~/toolbar/shared/debug/posthogDebugInfo'
+import type { ElementSelectorType } from '~/toolbar/shared/experiments/elementSelectorTypes'
+import type { FlagInfo } from '~/toolbar/shared/flags/flagInfo'
+import type { ActionForm, WebExperimentForm } from '~/toolbar/shared/types'
+import type { WebVitalsMetrics } from '~/toolbar/shared/web-vitals/webVitalsToolbarLogic'
import type { ActionStepType, ElementType } from '~/types'
-import type { PageActionsCommand } from './extensionPageActionsLogic'
-import type { PageEventsCommand } from './extensionPageEventsLogic'
-import type { PageExperimentsCommand } from './extensionPageExperimentsLogic'
-import type { PageFlagsCommand } from './extensionPageFlagsLogic'
-import type { PageHeatmapCommand } from './extensionPageHeatmapLogic'
-import type { PageMoreCommand } from './extensionPageMoreLogic'
-import type { PageInspectCommand, PageSessionCommand, PageSelectorsCommand } from './extensionPageToolbarLogic'
-import type { PageWebVitalsCommand } from './extensionPageWebVitalsLogic'
+import type { PageActionsCommand } from '../logics/page/extensionPageActionsLogic'
+import type { PageEventsCommand } from '../logics/page/extensionPageEventsLogic'
+import type { PageExperimentsCommand } from '../logics/page/extensionPageExperimentsLogic'
+import type { PageFlagsCommand } from '../logics/page/extensionPageFlagsLogic'
+import type { PageHeatmapCommand } from '../logics/page/extensionPageHeatmapLogic'
+import type { PageMoreCommand } from '../logics/page/extensionPageMoreLogic'
+import type {
+ PageInspectCommand,
+ PageSessionCommand,
+ PageSelectorsCommand,
+} from '../logics/page/extensionPageToolbarLogic'
+import type { PageWebVitalsCommand } from '../logics/page/extensionPageWebVitalsLogic'
/**
* The content script runs the toolbar's own logics in the page, signed in with the extension's OAuth tokens. The panel
@@ -202,17 +207,6 @@ export interface PageToolbarExperimentsState {
saveResult: ExperimentSaveResult | null
}
-export interface FlagInfo {
- key: string
- id: number | null
- /** The value PostHog evaluates for the signed-in user. Choosing it again removes the override. */
- value: string | boolean
- currentValue: string | boolean
- hasOverride: boolean
- variants: { key: string; name: string | null; rolloutPercentage: number | null }[]
- payloadOverride: unknown
-}
-
export interface PageToolbarFlagsState {
/** False when the page has no `window.posthog`, so overrides can't reach it. */
available: boolean
diff --git a/frontend/src/toolbar/extension/pageAgent.ts b/frontend/src/toolbar/extension/pageAgent.ts
index 90ca4a081bf6..83592a110436 100644
--- a/frontend/src/toolbar/extension/pageAgent.ts
+++ b/frontend/src/toolbar/extension/pageAgent.ts
@@ -1,4 +1,4 @@
-import { DebugInfoPosthog, readPosthogDebugInfo } from '~/toolbar/debug/posthogDebugInfo'
+import { DebugInfoPosthog, readPosthogDebugInfo } from '~/toolbar/shared/debug/posthogDebugInfo'
import {
PAGE_AGENT_REPLY_SOURCE,
@@ -6,8 +6,8 @@ import {
PageAgentReplyMessage,
PageAgentRequest,
isPageAgentRequestMessage,
-} from './pageAgentProtocol'
-import type { PageAnalyticsInfo, PageDebugInfo, PageFeatureFlagsSnapshot } from './pageToolbarBridge'
+} from './messaging/pageAgentProtocol'
+import type { PageAnalyticsInfo, PageDebugInfo, PageFeatureFlagsSnapshot } from './messaging/pageToolbarBridge'
interface PagePosthog extends DebugInfoPosthog {
__loaded?: boolean
diff --git a/frontend/src/toolbar/extension/panel.tsx b/frontend/src/toolbar/extension/panel.tsx
index cc68972db914..f1117a956645 100644
--- a/frontend/src/toolbar/extension/panel.tsx
+++ b/frontend/src/toolbar/extension/panel.tsx
@@ -6,9 +6,9 @@ import { loadersPlugin } from 'kea-loaders'
import { subscriptionsPlugin } from 'kea-subscriptions'
import { createRoot } from 'react-dom/client'
-import { extensionAuthLogic } from './extensionAuthLogic'
-import { ExtensionPanel } from './ExtensionPanel'
-import { extensionPanelLogic } from './extensionPanelLogic'
+import { ExtensionPanel } from './components/panel/ExtensionPanel'
+import { extensionAuthLogic } from './logics/panel/extensionAuthLogic'
+import { extensionPanelLogic } from './logics/panel/extensionPanelLogic'
// The app's styles pick their colors from the body's theme attribute, which the panel takes from the browser.
const darkModeQuery = window.matchMedia('(prefers-color-scheme: dark)')
diff --git a/frontend/src/toolbar/flags/FlagsToolbarMenu.tsx b/frontend/src/toolbar/flags/FlagsToolbarMenu.tsx
deleted file mode 100644
index ac152d38da86..000000000000
--- a/frontend/src/toolbar/flags/FlagsToolbarMenu.tsx
+++ /dev/null
@@ -1,295 +0,0 @@
-import clsx from 'clsx'
-import { useActions, useValues } from 'kea'
-
-import { IconPerson } from '@posthog/icons'
-
-import { AnimatedCollapsible } from 'lib/components/AnimatedCollapsible'
-import { useOnMountEffect } from 'lib/hooks/useOnMountEffect'
-import { IconOpenInNew } from 'lib/lemon-ui/icons'
-import { LemonButton } from 'lib/lemon-ui/LemonButton'
-import { LemonInput } from 'lib/lemon-ui/LemonInput'
-import { LemonRadio } from 'lib/lemon-ui/LemonRadio'
-import { LemonSwitch } from 'lib/lemon-ui/LemonSwitch'
-import { LemonTextArea } from 'lib/lemon-ui/LemonTextArea'
-import { Link } from 'lib/lemon-ui/Link'
-import { Spinner } from 'lib/lemon-ui/Spinner'
-
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
-import { flagsToolbarLogic } from '~/toolbar/flags/flagsToolbarLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { urls } from '~/toolbar/urls'
-import { joinWithUiHost } from '~/toolbar/utils'
-
-export const FlagsToolbarMenu = (): JSX.Element => {
- const {
- searchTerm,
- filteredFlags,
- userFlagsLoading,
- draftPayloads,
- payloadErrors,
- countFlagsOverridden,
- impersonatedDistinctId,
- openPayloadEditors,
- draftDistinctId,
- impersonationOpen,
- } = useValues(flagsToolbarLogic)
- const {
- setSearchTerm,
- setOverriddenUserFlag,
- deleteOverriddenUserFlag,
- getUserFlags,
- checkLocalOverrides,
- setFeatureFlagValueFromPostHogClient,
- setDraftPayload,
- savePayloadOverride,
- setPayloadEditorOpen,
- clearAllOverrides,
- loadFlagsForDistinctId,
- clearImpersonation,
- setDraftDistinctId,
- setImpersonationOpen,
- } = useActions(flagsToolbarLogic)
- const { uiHost, posthog: posthogClient, toolbarFlagsKey } = useValues(toolbarConfigLogic)
-
- useOnMountEffect(() => {
- posthogClient?.onFeatureFlags(setFeatureFlagValueFromPostHogClient)
-
- if (toolbarFlagsKey && posthogClient) {
- // When toolbarFlagsKey is present, flags were pre-loaded via overrideFeatureFlags
-
- // Read the current values directly and update state
- const currentFlags = posthogClient.featureFlags.getFlagVariants()
- setFeatureFlagValueFromPostHogClient(Object.keys(currentFlags), currentFlags)
- }
-
- getUserFlags()
- checkLocalOverrides()
- })
-
- return (
- <ToolbarMenu>
- <ToolbarMenu.Header>
- <div className="flex gap-2 items-center w-full pr-3">
- <LemonInput
- autoFocus
- placeholder="Search"
- fullWidth
- type="search"
- value={searchTerm}
- onChange={(s) => setSearchTerm(s)}
- />
- <LemonButton
- type="secondary"
- size="small"
- className="flex-shrink-0"
- onClick={clearAllOverrides}
- disabledReason={countFlagsOverridden === 0 ? 'No overrides to clear' : undefined}
- >
- Clear overrides
- </LemonButton>
- <LemonButton
- className="flex-shrink-0"
- size="small"
- icon={<IconPerson />}
- type={impersonatedDistinctId ? 'primary' : 'secondary'}
- onClick={() => setImpersonationOpen(!impersonationOpen)}
- tooltip="Load feature flags for a provided distinct ID"
- />
- </div>
- </ToolbarMenu.Header>
-
- <ToolbarMenu.Body>
- <div className="mt-1">
- {filteredFlags.length > 0 ? (
- filteredFlags.map(
- ({ feature_flag, value, hasOverride, hasVariants, currentValue, payloadOverride }) => (
- <div
- className={clsx('-mx-1 py-1 px-2', hasOverride && 'bg-fill-primary')}
- key={feature_flag.key}
- >
- <div className="flex flex-row items-center deprecated-space-x-2">
- <div className="flex-1 truncate">
- <Link
- className="font-medium"
- to={joinWithUiHost(
- uiHost,
- feature_flag.id
- ? urls.featureFlag(feature_flag.id)
- : urls.featureFlags()
- )}
- subtle
- target="_blank"
- >
- {feature_flag.key}
- <IconOpenInNew />
- </Link>
- </div>
- <LemonButton
- size="xsmall"
- type="secondary"
- onClick={() => setPayloadEditorOpen(feature_flag.key, true)}
- disabledReason={
- currentValue ? undefined : 'Cannot edit payload while flag is disabled'
- }
- >
- Edit payload
- </LemonButton>
- <LemonSwitch
- checked={!!currentValue}
- onChange={(checked) => {
- const newValue =
- hasVariants && checked
- ? (feature_flag.filters?.multivariate?.variants[0]
- ?.key as string)
- : checked
- if (newValue === value && hasOverride) {
- deleteOverriddenUserFlag(feature_flag.key)
- } else {
- setOverriddenUserFlag(feature_flag.key, newValue)
- }
- }}
- />
- </div>
-
- <AnimatedCollapsible collapsed={!currentValue}>
- <>
- {hasVariants ? (
- <LemonRadio
- className={clsx('pt-1 pl-4 w-full', hasOverride && 'bg-mark')}
- value={typeof currentValue === 'string' ? currentValue : undefined}
- options={
- feature_flag.filters?.multivariate?.variants.map((variant) => ({
- label: `${variant.key}${
- variant.name ? ` - ${variant.name}` : ''
- } (${variant.rollout_percentage}%)`,
- value: variant.key,
- })) || []
- }
- onChange={(newValue) => {
- if (newValue === value && hasOverride) {
- deleteOverriddenUserFlag(feature_flag.key)
- } else {
- setOverriddenUserFlag(feature_flag.key, newValue)
- }
- }}
- />
- ) : null}
-
- <div className={clsx(hasVariants && 'py-1 pl-4')}>
- {openPayloadEditors[feature_flag.key] ? (
- <div className="flex gap-2 items-start mt-1">
- <LemonTextArea
- className={clsx(
- 'font-mono text-xs flex-1 !rounded',
- payloadErrors[feature_flag.key] && 'border-danger'
- )}
- value={
- draftPayloads[feature_flag.key] ??
- (payloadOverride
- ? JSON.stringify(payloadOverride, null, 2)
- : '')
- }
- onChange={(val) => setDraftPayload(feature_flag.key, val)}
- placeholder='Examples: "A string", 2500, {"key": "value"}'
- minRows={2}
- />
- <div className="flex flex-col gap-1">
- <LemonButton
- size="xsmall"
- type="primary"
- onClick={() => savePayloadOverride(feature_flag.key)}
- center
- >
- Save
- </LemonButton>
- <LemonButton
- size="xsmall"
- onClick={() =>
- setPayloadEditorOpen(feature_flag.key, false)
- }
- >
- Cancel
- </LemonButton>
- </div>
- </div>
- ) : (
- <div className="flex justify-end items-center gap-2">
- {payloadOverride && (
- <div className="font-mono text-xs truncate flex-1">
- {JSON.stringify(payloadOverride)}
- </div>
- )}
- </div>
- )}
- </div>
- </>
- </AnimatedCollapsible>
- </div>
- )
- )
- ) : (
- <div className="flex flex-row items-center p-1">
- {userFlagsLoading ? (
- <span className="flex-1 flex justify-center items-center p-4">
- <Spinner className="text-2xl" />
- </span>
- ) : (
- `No ${searchTerm.length ? 'matching ' : ''}feature flags found in the project.`
- )}
- </div>
- )}
- </div>
- </ToolbarMenu.Body>
-
- <ToolbarMenu.Footer>
- <div className="flex flex-col gap-1 w-full">
- <AnimatedCollapsible collapsed={!impersonationOpen && !impersonatedDistinctId}>
- <div className="pb-2">
- {impersonatedDistinctId ? (
- <div className="flex items-center gap-2">
- <span className="text-xs flex-1 truncate">
- Viewing as: <strong>{impersonatedDistinctId}</strong>
- </span>
- <LemonButton type="secondary" size="xsmall" onClick={clearImpersonation}>
- Clear
- </LemonButton>
- </div>
- ) : (
- <div className="flex gap-1 items-center">
- <LemonInput
- placeholder="Distinct ID"
- fullWidth
- size="small"
- value={draftDistinctId}
- onChange={setDraftDistinctId}
- onPressEnter={() => {
- if (draftDistinctId.trim()) {
- loadFlagsForDistinctId(draftDistinctId.trim())
- }
- }}
- />
- <LemonButton
- type="secondary"
- size="small"
- className="flex-shrink-0"
- onClick={() => {
- if (draftDistinctId.trim()) {
- loadFlagsForDistinctId(draftDistinctId.trim())
- }
- }}
- disabledReason={!draftDistinctId.trim() ? 'Enter a distinct ID' : undefined}
- >
- Load
- </LemonButton>
- </div>
- )}
- </div>
- </AnimatedCollapsible>
- <span className="text-xs">
- Note: overriding feature flags and payloads will only affect this browser.
- </span>
- </div>
- </ToolbarMenu.Footer>
- </ToolbarMenu>
- )
-}
diff --git a/frontend/src/toolbar/Toolbar.stories.tsx b/frontend/src/toolbar/floating/components/Toolbar.stories.tsx
similarity index 95%
rename from frontend/src/toolbar/Toolbar.stories.tsx
rename to frontend/src/toolbar/floating/components/Toolbar.stories.tsx
index 9c99d0f371c9..c0da872d10b6 100644
--- a/frontend/src/toolbar/Toolbar.stories.tsx
+++ b/frontend/src/toolbar/floating/components/Toolbar.stories.tsx
@@ -1,5 +1,5 @@
import '~/styles'
-import '~/toolbar/styles.scss'
+import '~/toolbar/shared/styles.scss'
import { Meta, StoryObj } from '@storybook/react'
import { useActions, useMountedLogic } from 'kea'
@@ -8,18 +8,18 @@ import { useEffect } from 'react'
import { useOnMountEffect } from 'lib/hooks/useOnMountEffect'
import { useStorybookMocks } from '~/mocks/browser'
-import { ToolbarApp } from '~/toolbar/ToolbarApp'
+import { ToolbarApp } from '~/toolbar/floating/components/ToolbarApp'
import { ToolbarParams } from '~/types'
+import { MenuState, toolbarLogic } from '../../shared/bar/toolbarLogic'
+import { toolbarConfigLogic } from '../../shared/toolbarConfigLogic'
+import { toolbarPosthogJS } from '../../shared/toolbarPosthogJS'
+import { TOOLBAR_ID } from '../../shared/utils'
import { listActionsAPIResponse } from './__mocks__/list-actions-response'
import { listHeatmapStatsAPIResponse } from './__mocks__/list-heatmap-stats-response'
import { listMyFlagsAPIResponse } from './__mocks__/list-my-flags-response'
import { listExperimentsAPIResponse } from './__mocks__/list-web-experiments-response'
import { listWebVitalsAPIResponse } from './__mocks__/list-web-vitals-response'
-import { MenuState, toolbarLogic } from './bar/toolbarLogic'
-import { toolbarConfigLogic } from './toolbarConfigLogic'
-import { toolbarPosthogJS } from './toolbarPosthogJS'
-import { TOOLBAR_ID } from './utils'
function useToolbarStyles(): void {
useOnMountEffect(() => {
diff --git a/frontend/src/toolbar/ToolbarApp.tsx b/frontend/src/toolbar/floating/components/ToolbarApp.tsx
similarity index 92%
rename from frontend/src/toolbar/ToolbarApp.tsx
rename to frontend/src/toolbar/floating/components/ToolbarApp.tsx
index 3b4baa8250f3..fc9031fd9495 100644
--- a/frontend/src/toolbar/ToolbarApp.tsx
+++ b/frontend/src/toolbar/floating/components/ToolbarApp.tsx
@@ -6,14 +6,14 @@ import { Slide, ToastContainer } from 'react-toastify'
import { useOnMountEffect } from 'lib/hooks/useOnMountEffect'
import { useSecondRender } from 'lib/hooks/useSecondRender'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { ToolbarContainer } from '~/toolbar/ToolbarContainer'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { ToolbarContainer } from '~/toolbar/floating/components/ToolbarContainer'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
import { ToolbarProps } from '~/types'
-import { TOOLBAR_ID, TOOLBAR_ROOT_ATTRIBUTE } from './utils'
-import { webVitalsToolbarLogic } from './web-vitals/webVitalsToolbarLogic'
+import { TOOLBAR_ID, TOOLBAR_ROOT_ATTRIBUTE } from '../../shared/utils'
+import { webVitalsToolbarLogic } from '../../shared/web-vitals/webVitalsToolbarLogic'
type HTMLElementWithShadowRoot = HTMLElement & { shadowRoot: ShadowRoot }
diff --git a/frontend/src/toolbar/ToolbarContainer.tsx b/frontend/src/toolbar/floating/components/ToolbarContainer.tsx
similarity index 92%
rename from frontend/src/toolbar/ToolbarContainer.tsx
rename to frontend/src/toolbar/floating/components/ToolbarContainer.tsx
index 1b2737367f3d..0fe36d911836 100644
--- a/frontend/src/toolbar/ToolbarContainer.tsx
+++ b/frontend/src/toolbar/floating/components/ToolbarContainer.tsx
@@ -4,12 +4,12 @@ import { useState } from 'react'
import { Fade } from 'lib/components/Fade/Fade'
import { FloatingContainerContext } from 'lib/hooks/useFloatingContainerContext'
+import { toolbarLogic } from '../../shared/bar/toolbarLogic'
+import { toolbarConfigLogic } from '../../shared/toolbarConfigLogic'
import { Toolbar } from './bar/Toolbar'
import { ToolbarFixedZones } from './bar/ToolbarFixedZones'
-import { toolbarLogic } from './bar/toolbarLogic'
import { Elements } from './elements/Elements'
import { HedgehogButton } from './hedgehog/HedgehogButton'
-import { toolbarConfigLogic } from './toolbarConfigLogic'
export function ToolbarContainer(): JSX.Element {
const { buttonVisible } = useValues(toolbarConfigLogic)
diff --git a/frontend/src/toolbar/__mocks__/list-actions-response.ts b/frontend/src/toolbar/floating/components/__mocks__/list-actions-response.ts
similarity index 100%
rename from frontend/src/toolbar/__mocks__/list-actions-response.ts
rename to frontend/src/toolbar/floating/components/__mocks__/list-actions-response.ts
diff --git a/frontend/src/toolbar/__mocks__/list-heatmap-stats-response.ts b/frontend/src/toolbar/floating/components/__mocks__/list-heatmap-stats-response.ts
similarity index 100%
rename from frontend/src/toolbar/__mocks__/list-heatmap-stats-response.ts
rename to frontend/src/toolbar/floating/components/__mocks__/list-heatmap-stats-response.ts
diff --git a/frontend/src/toolbar/__mocks__/list-my-flags-response.ts b/frontend/src/toolbar/floating/components/__mocks__/list-my-flags-response.ts
similarity index 100%
rename from frontend/src/toolbar/__mocks__/list-my-flags-response.ts
rename to frontend/src/toolbar/floating/components/__mocks__/list-my-flags-response.ts
diff --git a/frontend/src/toolbar/__mocks__/list-web-experiments-response.ts b/frontend/src/toolbar/floating/components/__mocks__/list-web-experiments-response.ts
similarity index 100%
rename from frontend/src/toolbar/__mocks__/list-web-experiments-response.ts
rename to frontend/src/toolbar/floating/components/__mocks__/list-web-experiments-response.ts
diff --git a/frontend/src/toolbar/__mocks__/list-web-vitals-response.ts b/frontend/src/toolbar/floating/components/__mocks__/list-web-vitals-response.ts
similarity index 100%
rename from frontend/src/toolbar/__mocks__/list-web-vitals-response.ts
rename to frontend/src/toolbar/floating/components/__mocks__/list-web-vitals-response.ts
diff --git a/frontend/src/toolbar/actions/ActionsEditingToolbarMenu.tsx b/frontend/src/toolbar/floating/components/actions/ActionsEditingToolbarMenu.tsx
similarity index 94%
rename from frontend/src/toolbar/actions/ActionsEditingToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/actions/ActionsEditingToolbarMenu.tsx
index 7f4b8ea1efff..75a2facde285 100644
--- a/frontend/src/toolbar/actions/ActionsEditingToolbarMenu.tsx
+++ b/frontend/src/toolbar/floating/components/actions/ActionsEditingToolbarMenu.tsx
@@ -7,11 +7,11 @@ import { LemonDivider } from '@posthog/lemon-ui'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
-import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
-import { ActionStepEditor } from '~/toolbar/actions/ActionStepEditor'
-import { SelectorEditingModal } from '~/toolbar/actions/SelectorEditingModal'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
+import { actionsTabLogic } from '~/toolbar/shared/actions/actionsTabLogic'
+import { ActionStepEditor } from '~/toolbar/shared/actions/ActionStepEditor'
+import { SelectorEditingModal } from '~/toolbar/shared/actions/SelectorEditingModal'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
export const ActionsEditingToolbarMenu = (): JSX.Element => {
const {
diff --git a/frontend/src/toolbar/actions/ActionsListView.tsx b/frontend/src/toolbar/floating/components/actions/ActionsListView.tsx
similarity index 91%
rename from frontend/src/toolbar/actions/ActionsListView.tsx
rename to frontend/src/toolbar/floating/components/actions/ActionsListView.tsx
index 85394ccb0efd..a1dbac3ed906 100644
--- a/frontend/src/toolbar/actions/ActionsListView.tsx
+++ b/frontend/src/toolbar/floating/components/actions/ActionsListView.tsx
@@ -5,8 +5,8 @@ import { Link } from '@posthog/lemon-ui'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { actionsTabLogic } from '~/toolbar/shared/actions/actionsTabLogic'
import { ActionType } from '~/types'
interface ActionsListViewProps {
diff --git a/frontend/src/toolbar/actions/ActionsToolbarMenu.tsx b/frontend/src/toolbar/floating/components/actions/ActionsToolbarMenu.tsx
similarity index 80%
rename from frontend/src/toolbar/actions/ActionsToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/actions/ActionsToolbarMenu.tsx
index da4b3b28c1e3..df173c05b03d 100644
--- a/frontend/src/toolbar/actions/ActionsToolbarMenu.tsx
+++ b/frontend/src/toolbar/floating/components/actions/ActionsToolbarMenu.tsx
@@ -9,14 +9,14 @@ import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { Link } from 'lib/lemon-ui/Link'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { ActionsEditingToolbarMenu } from '~/toolbar/actions/ActionsEditingToolbarMenu'
-import { ActionsListView } from '~/toolbar/actions/ActionsListView'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { urls } from '~/toolbar/urls'
-import { joinWithUiHost } from '~/toolbar/utils'
+import { ActionsEditingToolbarMenu } from '~/toolbar/floating/components/actions/ActionsEditingToolbarMenu'
+import { ActionsListView } from '~/toolbar/floating/components/actions/ActionsListView'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { actionsTabLogic } from '~/toolbar/shared/actions/actionsTabLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { urls } from '~/toolbar/shared/urls'
+import { joinWithUiHost } from '~/toolbar/shared/utils'
const ActionsListToolbarMenu = (): JSX.Element => {
const { searchTerm } = useValues(actionsLogic)
diff --git a/frontend/src/toolbar/bar/AnimatedLogomark.tsx b/frontend/src/toolbar/floating/components/bar/AnimatedLogomark.tsx
similarity index 100%
rename from frontend/src/toolbar/bar/AnimatedLogomark.tsx
rename to frontend/src/toolbar/floating/components/bar/AnimatedLogomark.tsx
diff --git a/frontend/src/toolbar/bar/AuthConfirmModal.tsx b/frontend/src/toolbar/floating/components/bar/AuthConfirmModal.tsx
similarity index 97%
rename from frontend/src/toolbar/bar/AuthConfirmModal.tsx
rename to frontend/src/toolbar/floating/components/bar/AuthConfirmModal.tsx
index 580534564c31..0b00b7e16f2c 100644
--- a/frontend/src/toolbar/bar/AuthConfirmModal.tsx
+++ b/frontend/src/toolbar/floating/components/bar/AuthConfirmModal.tsx
@@ -7,8 +7,8 @@ import { IconWarning, IconX } from '@posthog/icons'
import { Logomark } from 'lib/brand'
import { useFloatingContainer } from 'lib/hooks/useFloatingContainerContext'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
interface AuthConfirmModalProps {
visible: boolean
diff --git a/frontend/src/toolbar/bar/Toolbar.scss b/frontend/src/toolbar/floating/components/bar/Toolbar.scss
similarity index 99%
rename from frontend/src/toolbar/bar/Toolbar.scss
rename to frontend/src/toolbar/floating/components/bar/Toolbar.scss
index 61b01ba4d55a..cf3e37f3c927 100644
--- a/frontend/src/toolbar/bar/Toolbar.scss
+++ b/frontend/src/toolbar/floating/components/bar/Toolbar.scss
@@ -1,4 +1,4 @@
-@import '../../styles/base';
+@import '../../../../styles/base';
#button-toolbar {
position: fixed;
diff --git a/frontend/src/toolbar/bar/Toolbar.tsx b/frontend/src/toolbar/floating/components/bar/Toolbar.tsx
similarity index 91%
rename from frontend/src/toolbar/bar/Toolbar.tsx
rename to frontend/src/toolbar/floating/components/bar/Toolbar.tsx
index 2415b0fbd440..52d4b5aee5f6 100644
--- a/frontend/src/toolbar/bar/Toolbar.tsx
+++ b/frontend/src/toolbar/floating/components/bar/Toolbar.tsx
@@ -37,24 +37,24 @@ import { Link } from 'lib/lemon-ui/Link'
import { inStorybook, inStorybookTestRunner } from 'lib/utils/dom'
import { retryImport } from 'lib/utils/retryImport'
-import { AnimatedLogomark } from '~/toolbar/bar/AnimatedLogomark'
-import { AuthConfirmModal } from '~/toolbar/bar/AuthConfirmModal'
-import { PII_MASKING_PRESET_COLORS } from '~/toolbar/bar/piiMaskingStyles'
-import { ToolbarLockedFeature } from '~/toolbar/bar/ToolbarLockedFeature'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
-import { UiHostConfigModal } from '~/toolbar/bar/UiHostConfigModal'
-import { readPosthogDebugInfo } from '~/toolbar/debug/posthogDebugInfo'
-import { fieldNotesLogic } from '~/toolbar/field-notes/fieldNotesLogic'
-import { productToursLogic } from '~/toolbar/product-tours/productToursLogic'
-import { screenshotUploadLogic } from '~/toolbar/screenshot-upload/screenshotUploadLogic'
-import { ScreenshotUploadModal } from '~/toolbar/screenshot-upload/ScreenshotUploadModal'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { AnimatedLogomark } from '~/toolbar/floating/components/bar/AnimatedLogomark'
+import { AuthConfirmModal } from '~/toolbar/floating/components/bar/AuthConfirmModal'
+import { ToolbarLockedFeature } from '~/toolbar/floating/components/bar/ToolbarLockedFeature'
+import { UiHostConfigModal } from '~/toolbar/floating/components/bar/UiHostConfigModal'
+import { ScreenshotUploadModal } from '~/toolbar/floating/components/screenshot-upload/ScreenshotUploadModal'
+import { PII_MASKING_PRESET_COLORS } from '~/toolbar/shared/bar/piiMaskingStyles'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
+import { readPosthogDebugInfo } from '~/toolbar/shared/debug/posthogDebugInfo'
+import { fieldNotesLogic } from '~/toolbar/shared/field-notes/fieldNotesLogic'
+import { productToursLogic } from '~/toolbar/shared/product-tours/productToursLogic'
+import { screenshotUploadLogic } from '~/toolbar/shared/screenshot-upload/screenshotUploadLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import {
ToolbarFeatureGateStatus,
toolbarEntitlementsLogic,
useToolbarFeatureGateStatus,
-} from '~/toolbar/toolbarEntitlementsLogic'
-import { useToolbarFeatureFlag } from '~/toolbar/toolbarPosthogJS'
+} from '~/toolbar/shared/toolbarEntitlementsLogic'
+import { useToolbarFeatureFlag } from '~/toolbar/shared/toolbarPosthogJS'
import { AvailableFeature } from '~/types'
import { ToolbarButton } from './ToolbarButton'
@@ -65,46 +65,52 @@ import { ToolbarMenu } from './ToolbarMenu'
// on toolbar boot. Styles are unaffected — the shadow root loads the entry stylesheet, and
// bin/check-toolbar-size.mjs fails the build if a lazy chunk holds CSS the entry doesn't.
const ActionsToolbarMenu = lazy(() =>
- retryImport(() => import('~/toolbar/actions/ActionsToolbarMenu')).then((m) => ({
+ retryImport(() => import('~/toolbar/floating/components/actions/ActionsToolbarMenu')).then((m) => ({
default: m.ActionsToolbarMenu,
}))
)
const EventDebugMenu = lazy(() =>
- retryImport(() => import('~/toolbar/debug/EventDebugMenu')).then((m) => ({ default: m.EventDebugMenu }))
+ retryImport(() => import('~/toolbar/floating/components/debug/EventDebugMenu')).then((m) => ({
+ default: m.EventDebugMenu,
+ }))
)
const ExperimentsToolbarMenu = lazy(() =>
- retryImport(() => import('~/toolbar/experiments/ExperimentsToolbarMenu')).then((m) => ({
+ retryImport(() => import('~/toolbar/floating/components/experiments/ExperimentsToolbarMenu')).then((m) => ({
default: m.ExperimentsToolbarMenu,
}))
)
const FieldNotesOverlay = lazy(() =>
- retryImport(() => import('~/toolbar/field-notes/FieldNotesOverlay')).then((m) => ({
+ retryImport(() => import('~/toolbar/floating/components/field-notes/FieldNotesOverlay')).then((m) => ({
default: m.FieldNotesOverlay,
}))
)
const FieldNotesToolbarMenu = lazy(() =>
- retryImport(() => import('~/toolbar/field-notes/FieldNotesToolbarMenu')).then((m) => ({
+ retryImport(() => import('~/toolbar/floating/components/field-notes/FieldNotesToolbarMenu')).then((m) => ({
default: m.FieldNotesToolbarMenu,
}))
)
const FlagsToolbarMenu = lazy(() =>
- retryImport(() => import('~/toolbar/flags/FlagsToolbarMenu')).then((m) => ({ default: m.FlagsToolbarMenu }))
+ retryImport(() => import('~/toolbar/floating/components/flags/FlagsToolbarMenu')).then((m) => ({
+ default: m.FlagsToolbarMenu,
+ }))
)
const ProductToursSidebar = lazy(() =>
- retryImport(() => import('~/toolbar/product-tours/ProductToursSidebar')).then((m) => ({
+ retryImport(() => import('~/toolbar/floating/components/product-tours/ProductToursSidebar')).then((m) => ({
default: m.ProductToursSidebar,
}))
)
const ProductToursToolbarMenu = lazy(() =>
- retryImport(() => import('~/toolbar/product-tours/ProductToursToolbarMenu')).then((m) => ({
+ retryImport(() => import('~/toolbar/floating/components/product-tours/ProductToursToolbarMenu')).then((m) => ({
default: m.ProductToursToolbarMenu,
}))
)
const HeatmapToolbarMenu = lazy(() =>
- retryImport(() => import('~/toolbar/stats/HeatmapToolbarMenu')).then((m) => ({ default: m.HeatmapToolbarMenu }))
+ retryImport(() => import('~/toolbar/floating/components/stats/HeatmapToolbarMenu')).then((m) => ({
+ default: m.HeatmapToolbarMenu,
+ }))
)
const WebVitalsToolbarMenu = lazy(() =>
- retryImport(() => import('~/toolbar/web-vitals/WebVitalsToolbarMenu')).then((m) => ({
+ retryImport(() => import('~/toolbar/floating/components/web-vitals/WebVitalsToolbarMenu')).then((m) => ({
default: m.WebVitalsToolbarMenu,
}))
)
diff --git a/frontend/src/toolbar/bar/ToolbarButton.scss b/frontend/src/toolbar/floating/components/bar/ToolbarButton.scss
similarity index 100%
rename from frontend/src/toolbar/bar/ToolbarButton.scss
rename to frontend/src/toolbar/floating/components/bar/ToolbarButton.scss
diff --git a/frontend/src/toolbar/bar/ToolbarButton.tsx b/frontend/src/toolbar/floating/components/bar/ToolbarButton.tsx
similarity index 96%
rename from frontend/src/toolbar/bar/ToolbarButton.tsx
rename to frontend/src/toolbar/floating/components/bar/ToolbarButton.tsx
index b819caec300a..5725ef726b83 100644
--- a/frontend/src/toolbar/bar/ToolbarButton.tsx
+++ b/frontend/src/toolbar/floating/components/bar/ToolbarButton.tsx
@@ -9,7 +9,7 @@ import { Tooltip } from '@posthog/lemon-ui'
import { capitalizeFirstLetter } from 'lib/utils/strings'
-import { MenuState, toolbarLogic } from './toolbarLogic'
+import { MenuState, toolbarLogic } from '../../../shared/bar/toolbarLogic'
export type ToolbarButtonProps = {
children: React.ReactNode
diff --git a/frontend/src/toolbar/bar/ToolbarFixedZones.tsx b/frontend/src/toolbar/floating/components/bar/ToolbarFixedZones.tsx
similarity index 93%
rename from frontend/src/toolbar/bar/ToolbarFixedZones.tsx
rename to frontend/src/toolbar/floating/components/bar/ToolbarFixedZones.tsx
index 65699012ec2f..83e71c1b4040 100644
--- a/frontend/src/toolbar/bar/ToolbarFixedZones.tsx
+++ b/frontend/src/toolbar/floating/components/bar/ToolbarFixedZones.tsx
@@ -1,7 +1,7 @@
import clsx from 'clsx'
import { useValues } from 'kea'
-import { TOOLBAR_FIXED_POSITION_HITBOX, toolbarLogic } from './toolbarLogic'
+import { TOOLBAR_FIXED_POSITION_HITBOX, toolbarLogic } from '../../../shared/bar/toolbarLogic'
export function ToolbarFixedZones(): JSX.Element | null {
const { isDragging, fixedPositions } = useValues(toolbarLogic)
diff --git a/frontend/src/toolbar/bar/ToolbarLockedFeature.test.tsx b/frontend/src/toolbar/floating/components/bar/ToolbarLockedFeature.test.tsx
similarity index 80%
rename from frontend/src/toolbar/bar/ToolbarLockedFeature.test.tsx
rename to frontend/src/toolbar/floating/components/bar/ToolbarLockedFeature.test.tsx
index 6e670e318ac2..6d8e17831bd4 100644
--- a/frontend/src/toolbar/bar/ToolbarLockedFeature.test.tsx
+++ b/frontend/src/toolbar/floating/components/bar/ToolbarLockedFeature.test.tsx
@@ -5,9 +5,9 @@ import { expectLogic } from 'kea-test-utils'
import { useMocks } from '~/mocks/jest'
import { initKeaTests } from '~/test/init'
-import { ToolbarLockedFeature } from '~/toolbar/bar/ToolbarLockedFeature'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarEntitlementsLogic } from '~/toolbar/toolbarEntitlementsLogic'
+import { ToolbarLockedFeature } from '~/toolbar/floating/components/bar/ToolbarLockedFeature'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarEntitlementsLogic } from '~/toolbar/shared/toolbarEntitlementsLogic'
describe('ToolbarLockedFeature', () => {
beforeEach(() => {
diff --git a/frontend/src/toolbar/bar/ToolbarLockedFeature.tsx b/frontend/src/toolbar/floating/components/bar/ToolbarLockedFeature.tsx
similarity index 81%
rename from frontend/src/toolbar/bar/ToolbarLockedFeature.tsx
rename to frontend/src/toolbar/floating/components/bar/ToolbarLockedFeature.tsx
index e7bf6ceba0c2..028a52448db8 100644
--- a/frontend/src/toolbar/bar/ToolbarLockedFeature.tsx
+++ b/frontend/src/toolbar/floating/components/bar/ToolbarLockedFeature.tsx
@@ -3,12 +3,12 @@ import { useActions, useValues } from 'kea'
import { IconLock } from '@posthog/icons'
import { LemonButton } from '@posthog/lemon-ui'
-import { toolbarLockedFeatureLogic } from '~/toolbar/bar/toolbarLockedFeatureLogic'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarEntitlementsLogic } from '~/toolbar/toolbarEntitlementsLogic'
-import { urls } from '~/toolbar/urls'
-import { joinWithUiHost } from '~/toolbar/utils'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
+import { toolbarLockedFeatureLogic } from '~/toolbar/floating/logics/toolbarLockedFeatureLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarEntitlementsLogic } from '~/toolbar/shared/toolbarEntitlementsLogic'
+import { urls } from '~/toolbar/shared/urls'
+import { joinWithUiHost } from '~/toolbar/shared/utils'
export interface ToolbarLockedFeatureProps {
featureName: string
diff --git a/frontend/src/toolbar/bar/ToolbarMenu.tsx b/frontend/src/toolbar/floating/components/bar/ToolbarMenu.tsx
similarity index 100%
rename from frontend/src/toolbar/bar/ToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/bar/ToolbarMenu.tsx
diff --git a/frontend/src/toolbar/bar/UiHostConfigModal.tsx b/frontend/src/toolbar/floating/components/bar/UiHostConfigModal.tsx
similarity index 97%
rename from frontend/src/toolbar/bar/UiHostConfigModal.tsx
rename to frontend/src/toolbar/floating/components/bar/UiHostConfigModal.tsx
index 1353db3d7624..e773f15f4373 100644
--- a/frontend/src/toolbar/bar/UiHostConfigModal.tsx
+++ b/frontend/src/toolbar/floating/components/bar/UiHostConfigModal.tsx
@@ -6,7 +6,7 @@ import { IconX } from '@posthog/icons'
import { Logomark } from 'lib/brand'
import { useFloatingContainer } from 'lib/hooks/useFloatingContainerContext'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
interface UiHostConfigModalProps {
visible: boolean
diff --git a/frontend/src/toolbar/debug/EventDebugMenu.tsx b/frontend/src/toolbar/floating/components/debug/EventDebugMenu.tsx
similarity index 96%
rename from frontend/src/toolbar/debug/EventDebugMenu.tsx
rename to frontend/src/toolbar/floating/components/debug/EventDebugMenu.tsx
index 06f53d794343..1e8f5c23e85e 100644
--- a/frontend/src/toolbar/debug/EventDebugMenu.tsx
+++ b/frontend/src/toolbar/floating/components/debug/EventDebugMenu.tsx
@@ -7,11 +7,11 @@ import { SettingsBar, SettingsMenu } from 'lib/components/PanelSettings/PanelSet
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
-import { downloadEventsAsJson } from '~/toolbar/debug/downloadEventsAsJson'
-import { eventTypeMenuItems, hidePropertiesMenuItems } from '~/toolbar/debug/eventDebugMenuItems'
-import { eventDebugMenuLogic } from '~/toolbar/debug/eventDebugMenuLogic'
-import { EventRow } from '~/toolbar/debug/EventRow'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
+import { downloadEventsAsJson } from '~/toolbar/shared/debug/downloadEventsAsJson'
+import { eventTypeMenuItems, hidePropertiesMenuItems } from '~/toolbar/shared/debug/eventDebugMenuItems'
+import { eventDebugMenuLogic } from '~/toolbar/shared/debug/eventDebugMenuLogic'
+import { EventRow } from '~/toolbar/shared/debug/EventRow'
import { EventType } from '~/types'
import { ToolbarMenu } from '../bar/ToolbarMenu'
diff --git a/frontend/src/toolbar/elements/ElementInfo.tsx b/frontend/src/toolbar/floating/components/elements/ElementInfo.tsx
similarity index 86%
rename from frontend/src/toolbar/elements/ElementInfo.tsx
rename to frontend/src/toolbar/floating/components/elements/ElementInfo.tsx
index c304a5ec685f..d41b10e13959 100644
--- a/frontend/src/toolbar/elements/ElementInfo.tsx
+++ b/frontend/src/toolbar/floating/components/elements/ElementInfo.tsx
@@ -5,13 +5,13 @@ import { LemonButton } from '@posthog/lemon-ui'
import { ElementClickStats } from 'lib/components/heatmaps/ElementClickStats'
-import { ActionsListView } from '~/toolbar/actions/ActionsListView'
-import { ActionStep } from '~/toolbar/actions/ActionStep'
-import { elementsLogic } from '~/toolbar/elements/elementsLogic'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
+import { ActionsListView } from '~/toolbar/floating/components/actions/ActionsListView'
+import { ActionStep } from '~/toolbar/shared/actions/ActionStep'
+import { elementsLogic } from '~/toolbar/shared/elements/elementsLogic'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
-import { actionsTabLogic } from '../actions/actionsTabLogic'
-import { SelectorQualityWarning } from './SelectorQualityWarning'
+import { actionsTabLogic } from '../../../shared/actions/actionsTabLogic'
+import { SelectorQualityWarning } from '../../../shared/elements/SelectorQualityWarning'
export function ElementInfo(): JSX.Element | null {
const { clickCount: totalClickCount, dateRange } = useValues(heatmapToolbarMenuLogic)
diff --git a/frontend/src/toolbar/elements/ElementInfoWindow.tsx b/frontend/src/toolbar/floating/components/elements/ElementInfoWindow.tsx
similarity index 96%
rename from frontend/src/toolbar/elements/ElementInfoWindow.tsx
rename to frontend/src/toolbar/floating/components/elements/ElementInfoWindow.tsx
index d17c0f11f603..01acd1e3c169 100644
--- a/frontend/src/toolbar/elements/ElementInfoWindow.tsx
+++ b/frontend/src/toolbar/floating/components/elements/ElementInfoWindow.tsx
@@ -2,8 +2,8 @@ import { useActions, useValues } from 'kea'
import { IconX } from '@posthog/icons'
-import { ElementInfo } from '~/toolbar/elements/ElementInfo'
-import { elementsLogic } from '~/toolbar/elements/elementsLogic'
+import { ElementInfo } from '~/toolbar/floating/components/elements/ElementInfo'
+import { elementsLogic } from '~/toolbar/shared/elements/elementsLogic'
export function ElementInfoWindow(): JSX.Element | null {
const {
diff --git a/frontend/src/toolbar/elements/Elements.tsx b/frontend/src/toolbar/floating/components/elements/Elements.tsx
similarity index 76%
rename from frontend/src/toolbar/elements/Elements.tsx
rename to frontend/src/toolbar/floating/components/elements/Elements.tsx
index 7f294a923b69..9f256bbb97ae 100644
--- a/frontend/src/toolbar/elements/Elements.tsx
+++ b/frontend/src/toolbar/floating/components/elements/Elements.tsx
@@ -1,11 +1,11 @@
import { useValues } from 'kea'
-import { ElementInfoWindow } from '~/toolbar/elements/ElementInfoWindow'
-import { ElementOverlays } from '~/toolbar/elements/ElementOverlays'
-import { ElementHighlight } from '~/toolbar/product-tours/ElementHighlight'
-import { productToursLogic } from '~/toolbar/product-tours/productToursLogic'
+import { ElementInfoWindow } from '~/toolbar/floating/components/elements/ElementInfoWindow'
+import { ElementOverlays } from '~/toolbar/shared/elements/ElementOverlays'
+import { ElementHighlight } from '~/toolbar/shared/product-tours/ElementHighlight'
+import { productToursLogic } from '~/toolbar/shared/product-tours/productToursLogic'
-import { toolbarLogic } from '../bar/toolbarLogic'
+import { toolbarLogic } from '../../../shared/bar/toolbarLogic'
export function Elements(): JSX.Element {
const { visibleMenu: activeToolbarMode } = useValues(toolbarLogic)
diff --git a/frontend/src/toolbar/experiments/ExperimentsEditingToolbarMenu.tsx b/frontend/src/toolbar/floating/components/experiments/ExperimentsEditingToolbarMenu.tsx
similarity index 93%
rename from frontend/src/toolbar/experiments/ExperimentsEditingToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/experiments/ExperimentsEditingToolbarMenu.tsx
index 634ed8d7ca02..6a8a5bd7af9b 100644
--- a/frontend/src/toolbar/experiments/ExperimentsEditingToolbarMenu.tsx
+++ b/frontend/src/toolbar/floating/components/experiments/ExperimentsEditingToolbarMenu.tsx
@@ -9,11 +9,11 @@ import { LemonCollapse } from 'lib/lemon-ui/LemonCollapse'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { LemonLabel } from 'lib/lemon-ui/LemonLabel'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
-import { ExperimentsTabEditorProvider } from '~/toolbar/experiments/ExperimentsTabEditorProvider'
-import { experimentsTabLogic } from '~/toolbar/experiments/experimentsTabLogic'
-import { WebExperimentVariant } from '~/toolbar/experiments/WebExperimentVariant'
-import { WebExperimentVariantHeader } from '~/toolbar/experiments/WebExperimentVariantHeader'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
+import { ExperimentsTabEditorProvider } from '~/toolbar/floating/components/experiments/ExperimentsTabEditorProvider'
+import { experimentsTabLogic } from '~/toolbar/shared/experiments/experimentsTabLogic'
+import { WebExperimentVariant } from '~/toolbar/shared/experiments/WebExperimentVariant'
+import { WebExperimentVariantHeader } from '~/toolbar/shared/experiments/WebExperimentVariantHeader'
export const ExperimentsEditingToolbarMenu = (): JSX.Element => {
const { selectedExperimentId, experimentForm, addVariantAvailable, selectedVariant, experimentFormErrors } =
diff --git a/frontend/src/toolbar/experiments/ExperimentsListView.tsx b/frontend/src/toolbar/floating/components/experiments/ExperimentsListView.tsx
similarity index 91%
rename from frontend/src/toolbar/experiments/ExperimentsListView.tsx
rename to frontend/src/toolbar/floating/components/experiments/ExperimentsListView.tsx
index 358fc101f6cb..f09ab212b28f 100644
--- a/frontend/src/toolbar/experiments/ExperimentsListView.tsx
+++ b/frontend/src/toolbar/floating/components/experiments/ExperimentsListView.tsx
@@ -4,8 +4,8 @@ import { Link } from '@posthog/lemon-ui'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { experimentsLogic } from '~/toolbar/experiments/experimentsLogic'
-import { experimentsTabLogic } from '~/toolbar/experiments/experimentsTabLogic'
+import { experimentsLogic } from '~/toolbar/shared/experiments/experimentsLogic'
+import { experimentsTabLogic } from '~/toolbar/shared/experiments/experimentsTabLogic'
import { Experiment } from '~/types'
interface ExperimentsListViewProps {
diff --git a/frontend/src/toolbar/experiments/WebExperimentVariant.test.tsx b/frontend/src/toolbar/floating/components/experiments/ExperimentsTabEditorProvider.test.tsx
similarity index 84%
rename from frontend/src/toolbar/experiments/WebExperimentVariant.test.tsx
rename to frontend/src/toolbar/floating/components/experiments/ExperimentsTabEditorProvider.test.tsx
index 95ec922cc4f1..fbce6b5c66b6 100644
--- a/frontend/src/toolbar/experiments/WebExperimentVariant.test.tsx
+++ b/frontend/src/toolbar/floating/components/experiments/ExperimentsTabEditorProvider.test.tsx
@@ -4,10 +4,10 @@ import { render, screen, within } from '@testing-library/react'
import userEvent from '@testing-library/user-event'
import { initKeaTests } from '~/test/init'
-import { ExperimentsTabEditorProvider } from '~/toolbar/experiments/ExperimentsTabEditorProvider'
-import { experimentsTabLogic } from '~/toolbar/experiments/experimentsTabLogic'
-import { WebExperimentVariant } from '~/toolbar/experiments/WebExperimentVariant'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { ExperimentsTabEditorProvider } from '~/toolbar/floating/components/experiments/ExperimentsTabEditorProvider'
+import { experimentsTabLogic } from '~/toolbar/shared/experiments/experimentsTabLogic'
+import { WebExperimentVariant } from '~/toolbar/shared/experiments/WebExperimentVariant'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
describe('WebExperimentVariant', () => {
const setVariantTransforms = (selectors: string[]): void => {
diff --git a/frontend/src/toolbar/experiments/ExperimentsTabEditorProvider.tsx b/frontend/src/toolbar/floating/components/experiments/ExperimentsTabEditorProvider.tsx
similarity index 94%
rename from frontend/src/toolbar/experiments/ExperimentsTabEditorProvider.tsx
rename to frontend/src/toolbar/floating/components/experiments/ExperimentsTabEditorProvider.tsx
index 1b38e73cd30d..ad4c1923cfbd 100644
--- a/frontend/src/toolbar/experiments/ExperimentsTabEditorProvider.tsx
+++ b/frontend/src/toolbar/floating/components/experiments/ExperimentsTabEditorProvider.tsx
@@ -1,13 +1,13 @@
import { useActions, useValues } from 'kea'
import { useMemo } from 'react'
-import { experimentsTabLogic } from '~/toolbar/experiments/experimentsTabLogic'
-import { setSanitizedHTML, setSanitizedStyle } from '~/toolbar/experiments/sanitize'
+import { experimentsTabLogic } from '~/toolbar/shared/experiments/experimentsTabLogic'
+import { setSanitizedHTML, setSanitizedStyle } from '~/toolbar/shared/experiments/sanitize'
import {
WebExperimentEditor,
WebExperimentEditorContext,
canRenameVariant,
-} from '~/toolbar/experiments/webExperimentEditorContext'
+} from '~/toolbar/shared/experiments/webExperimentEditorContext'
/** Binds the web experiment editor components to the floating toolbar's experiment form. */
export function ExperimentsTabEditorProvider({ children }: { children: React.ReactNode }): JSX.Element {
diff --git a/frontend/src/toolbar/experiments/ExperimentsToolbarMenu.tsx b/frontend/src/toolbar/floating/components/experiments/ExperimentsToolbarMenu.tsx
similarity index 85%
rename from frontend/src/toolbar/experiments/ExperimentsToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/experiments/ExperimentsToolbarMenu.tsx
index a521927c3996..971060e62328 100644
--- a/frontend/src/toolbar/experiments/ExperimentsToolbarMenu.tsx
+++ b/frontend/src/toolbar/floating/components/experiments/ExperimentsToolbarMenu.tsx
@@ -10,14 +10,14 @@ import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { Link } from 'lib/lemon-ui/Link'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
-import { ExperimentsEditingToolbarMenu } from '~/toolbar/experiments/ExperimentsEditingToolbarMenu'
-import { ExperimentsListView } from '~/toolbar/experiments/ExperimentsListView'
-import { experimentsLogic } from '~/toolbar/experiments/experimentsLogic'
-import { experimentsTabLogic } from '~/toolbar/experiments/experimentsTabLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { urls } from '~/toolbar/urls'
-import { joinWithUiHost } from '~/toolbar/utils'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
+import { ExperimentsEditingToolbarMenu } from '~/toolbar/floating/components/experiments/ExperimentsEditingToolbarMenu'
+import { ExperimentsListView } from '~/toolbar/floating/components/experiments/ExperimentsListView'
+import { experimentsLogic } from '~/toolbar/shared/experiments/experimentsLogic'
+import { experimentsTabLogic } from '~/toolbar/shared/experiments/experimentsTabLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { urls } from '~/toolbar/shared/urls'
+import { joinWithUiHost } from '~/toolbar/shared/utils'
const ExperimentsListToolbarMenu = (): JSX.Element => {
const { searchTerm } = useValues(experimentsLogic)
diff --git a/frontend/src/toolbar/field-notes/FieldNotesOverlay.tsx b/frontend/src/toolbar/floating/components/field-notes/FieldNotesOverlay.tsx
similarity index 97%
rename from frontend/src/toolbar/field-notes/FieldNotesOverlay.tsx
rename to frontend/src/toolbar/floating/components/field-notes/FieldNotesOverlay.tsx
index 977b94a4ab3f..ee1be4d8ad18 100644
--- a/frontend/src/toolbar/field-notes/FieldNotesOverlay.tsx
+++ b/frontend/src/toolbar/floating/components/field-notes/FieldNotesOverlay.tsx
@@ -3,9 +3,9 @@ import { useActions, useValues } from 'kea'
import { IconX } from '@posthog/icons'
import { LemonButton, LemonTextArea } from '@posthog/lemon-ui'
-import { ElementHighlight } from '~/toolbar/product-tours/ElementHighlight'
+import { ElementHighlight } from '~/toolbar/shared/product-tours/ElementHighlight'
-import { fieldNotesLogic } from './fieldNotesLogic'
+import { fieldNotesLogic } from '../../../shared/field-notes/fieldNotesLogic'
const COMMENT_BOX_WIDTH = 320
diff --git a/frontend/src/toolbar/field-notes/FieldNotesToolbarMenu.tsx b/frontend/src/toolbar/floating/components/field-notes/FieldNotesToolbarMenu.tsx
similarity index 95%
rename from frontend/src/toolbar/field-notes/FieldNotesToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/field-notes/FieldNotesToolbarMenu.tsx
index f2a36135b043..d2a7aac7aed8 100644
--- a/frontend/src/toolbar/field-notes/FieldNotesToolbarMenu.tsx
+++ b/frontend/src/toolbar/floating/components/field-notes/FieldNotesToolbarMenu.tsx
@@ -5,9 +5,9 @@ import { LemonButton } from '@posthog/lemon-ui'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
-import { fieldNotesLogic } from './fieldNotesLogic'
+import { fieldNotesLogic } from '../../../shared/field-notes/fieldNotesLogic'
export function FieldNotesToolbarMenu(): JSX.Element {
const { fieldNotes, fieldNotesLoading, isFieldNoting, deletingId } = useValues(fieldNotesLogic)
diff --git a/frontend/src/toolbar/floating/components/flags/FlagsToolbarMenu.tsx b/frontend/src/toolbar/floating/components/flags/FlagsToolbarMenu.tsx
new file mode 100644
index 000000000000..f24b5ccbe3d8
--- /dev/null
+++ b/frontend/src/toolbar/floating/components/flags/FlagsToolbarMenu.tsx
@@ -0,0 +1,194 @@
+import { useActions, useValues } from 'kea'
+
+import { IconPerson } from '@posthog/icons'
+
+import { AnimatedCollapsible } from 'lib/components/AnimatedCollapsible'
+import { useOnMountEffect } from 'lib/hooks/useOnMountEffect'
+import { LemonButton } from 'lib/lemon-ui/LemonButton'
+import { LemonInput } from 'lib/lemon-ui/LemonInput'
+import { Spinner } from 'lib/lemon-ui/Spinner'
+
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
+import { FeatureFlagRow } from '~/toolbar/shared/flags/FeatureFlagRow'
+import { toFlagInfo } from '~/toolbar/shared/flags/flagInfo'
+import { flagsToolbarLogic } from '~/toolbar/shared/flags/flagsToolbarLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { urls } from '~/toolbar/shared/urls'
+import { joinWithUiHost } from '~/toolbar/shared/utils'
+
+export const FlagsToolbarMenu = (): JSX.Element => {
+ const {
+ searchTerm,
+ filteredFlags,
+ userFlagsLoading,
+ draftPayloads,
+ payloadErrors,
+ countFlagsOverridden,
+ impersonatedDistinctId,
+ openPayloadEditors,
+ draftDistinctId,
+ impersonationOpen,
+ } = useValues(flagsToolbarLogic)
+ const {
+ setSearchTerm,
+ setOverriddenUserFlag,
+ deleteOverriddenUserFlag,
+ getUserFlags,
+ checkLocalOverrides,
+ setFeatureFlagValueFromPostHogClient,
+ setDraftPayload,
+ savePayloadOverride,
+ setPayloadEditorOpen,
+ clearAllOverrides,
+ loadFlagsForDistinctId,
+ clearImpersonation,
+ setDraftDistinctId,
+ setImpersonationOpen,
+ } = useActions(flagsToolbarLogic)
+ const { uiHost, posthog: posthogClient, toolbarFlagsKey } = useValues(toolbarConfigLogic)
+
+ useOnMountEffect(() => {
+ posthogClient?.onFeatureFlags(setFeatureFlagValueFromPostHogClient)
+
+ if (toolbarFlagsKey && posthogClient) {
+ // When toolbarFlagsKey is present, flags were pre-loaded via overrideFeatureFlags
+
+ // Read the current values directly and update state
+ const currentFlags = posthogClient.featureFlags.getFlagVariants()
+ setFeatureFlagValueFromPostHogClient(Object.keys(currentFlags), currentFlags)
+ }
+
+ getUserFlags()
+ checkLocalOverrides()
+ })
+
+ return (
+ <ToolbarMenu>
+ <ToolbarMenu.Header>
+ <div className="flex gap-2 items-center w-full pr-3">
+ <LemonInput
+ autoFocus
+ placeholder="Search"
+ fullWidth
+ type="search"
+ value={searchTerm}
+ onChange={(s) => setSearchTerm(s)}
+ />
+ <LemonButton
+ type="secondary"
+ size="small"
+ className="flex-shrink-0"
+ onClick={clearAllOverrides}
+ disabledReason={countFlagsOverridden === 0 ? 'No overrides to clear' : undefined}
+ >
+ Clear overrides
+ </LemonButton>
+ <LemonButton
+ className="flex-shrink-0"
+ size="small"
+ icon={<IconPerson />}
+ type={impersonatedDistinctId ? 'primary' : 'secondary'}
+ onClick={() => setImpersonationOpen(!impersonationOpen)}
+ tooltip="Load feature flags for a provided distinct ID"
+ />
+ </div>
+ </ToolbarMenu.Header>
+
+ <ToolbarMenu.Body>
+ <div className="mt-1">
+ {filteredFlags.length > 0 ? (
+ <div className="flex flex-col gap-px">
+ {filteredFlags.map((filteredFlag) => {
+ const flag = toFlagInfo(filteredFlag)
+ const { key, id } = flag
+ return (
+ <FeatureFlagRow
+ key={key}
+ flag={flag}
+ flagUrl={joinWithUiHost(
+ uiHost,
+ id ? urls.featureFlag(id) : urls.featureFlags()
+ )}
+ payloadDraft={openPayloadEditors[key] ? (draftPayloads[key] ?? '') : null}
+ payloadError={payloadErrors[key] ?? null}
+ disabledReason={null}
+ onSetOverride={(value) => setOverriddenUserFlag(key, value)}
+ onRemoveOverride={() => deleteOverriddenUserFlag(key)}
+ onOpenPayloadEditor={(initialDraft) => {
+ setDraftPayload(key, initialDraft)
+ setPayloadEditorOpen(key, true)
+ }}
+ onPayloadDraftChange={(draft) => setDraftPayload(key, draft)}
+ onSavePayload={() => savePayloadOverride(key)}
+ onClosePayloadEditor={() => setPayloadEditorOpen(key, false)}
+ dataAttrPrefix="toolbar-flag"
+ />
+ )
+ })}
+ </div>
+ ) : (
+ <div className="flex flex-row items-center p-1">
+ {userFlagsLoading ? (
+ <span className="flex-1 flex justify-center items-center p-4">
+ <Spinner className="text-2xl" />
+ </span>
+ ) : (
+ `No ${searchTerm.length ? 'matching ' : ''}feature flags found in the project.`
+ )}
+ </div>
+ )}
+ </div>
+ </ToolbarMenu.Body>
+
+ <ToolbarMenu.Footer>
+ <div className="flex flex-col gap-1 w-full">
+ <AnimatedCollapsible collapsed={!impersonationOpen && !impersonatedDistinctId}>
+ <div className="pb-2">
+ {impersonatedDistinctId ? (
+ <div className="flex items-center gap-2">
+ <span className="text-xs flex-1 truncate">
+ Viewing as: <strong>{impersonatedDistinctId}</strong>
+ </span>
+ <LemonButton type="secondary" size="xsmall" onClick={clearImpersonation}>
+ Clear
+ </LemonButton>
+ </div>
+ ) : (
+ <div className="flex gap-1 items-center">
+ <LemonInput
+ placeholder="Distinct ID"
+ fullWidth
+ size="small"
+ value={draftDistinctId}
+ onChange={setDraftDistinctId}
+ onPressEnter={() => {
+ if (draftDistinctId.trim()) {
+ loadFlagsForDistinctId(draftDistinctId.trim())
+ }
+ }}
+ />
+ <LemonButton
+ type="secondary"
+ size="small"
+ className="flex-shrink-0"
+ onClick={() => {
+ if (draftDistinctId.trim()) {
+ loadFlagsForDistinctId(draftDistinctId.trim())
+ }
+ }}
+ disabledReason={!draftDistinctId.trim() ? 'Enter a distinct ID' : undefined}
+ >
+ Load
+ </LemonButton>
+ </div>
+ )}
+ </div>
+ </AnimatedCollapsible>
+ <span className="text-xs">
+ Note: overriding feature flags and payloads will only affect this browser.
+ </span>
+ </div>
+ </ToolbarMenu.Footer>
+ </ToolbarMenu>
+ )
+}
diff --git a/frontend/src/toolbar/hedgehog/HedgehogButton.tsx b/frontend/src/toolbar/floating/components/hedgehog/HedgehogButton.tsx
similarity index 85%
rename from frontend/src/toolbar/hedgehog/HedgehogButton.tsx
rename to frontend/src/toolbar/floating/components/hedgehog/HedgehogButton.tsx
index 0eed90b17f01..ccfb35e7be77 100644
--- a/frontend/src/toolbar/hedgehog/HedgehogButton.tsx
+++ b/frontend/src/toolbar/floating/components/hedgehog/HedgehogButton.tsx
@@ -2,7 +2,7 @@ import { useValues } from 'kea'
import { HedgehogMode } from 'lib/components/HedgehogMode/HedgehogMode'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
export function HedgehogButton(): JSX.Element | null {
const { hedgehogModeEnabled, hedgehogModeAvailable } = useValues(toolbarLogic)
diff --git a/frontend/src/toolbar/product-tours/ProductToursSidebar.tsx b/frontend/src/toolbar/floating/components/product-tours/ProductToursSidebar.tsx
similarity index 98%
rename from frontend/src/toolbar/product-tours/ProductToursSidebar.tsx
rename to frontend/src/toolbar/floating/components/product-tours/ProductToursSidebar.tsx
index 947e28774c99..258ed9375b96 100644
--- a/frontend/src/toolbar/product-tours/ProductToursSidebar.tsx
+++ b/frontend/src/toolbar/floating/components/product-tours/ProductToursSidebar.tsx
@@ -7,16 +7,16 @@ import { LemonButton, LemonInput, Link } from '@posthog/lemon-ui'
import { LemonModal } from 'lib/lemon-ui/LemonModal'
import { hasIncompleteTargeting } from 'scenes/product-tours/stepUtils'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import {
PRODUCT_TOURS_MIN_JS_VERSION,
TourStep,
hasMinProductToursVersion,
productToursLogic,
-} from './productToursLogic'
+} from '../../../shared/product-tours/productToursLogic'
+import { PRODUCT_TOURS_SIDEBAR_TRANSITION_MS } from '../../../shared/product-tours/utils'
import { StepCard } from './StepCard'
-import { PRODUCT_TOURS_SIDEBAR_TRANSITION_MS } from './utils'
const SIDEBAR_WIDTH = 320
diff --git a/frontend/src/toolbar/product-tours/ProductToursToolbarMenu.tsx b/frontend/src/toolbar/floating/components/product-tours/ProductToursToolbarMenu.tsx
similarity index 93%
rename from frontend/src/toolbar/product-tours/ProductToursToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/product-tours/ProductToursToolbarMenu.tsx
index 160de7f2a5f2..46ab4fbaf2b1 100644
--- a/frontend/src/toolbar/product-tours/ProductToursToolbarMenu.tsx
+++ b/frontend/src/toolbar/floating/components/product-tours/ProductToursToolbarMenu.tsx
@@ -4,9 +4,9 @@ import { LemonButton } from '@posthog/lemon-ui'
import { Spinner } from 'lib/lemon-ui/Spinner'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
-import { productToursLogic } from './productToursLogic'
+import { productToursLogic } from '../../../shared/product-tours/productToursLogic'
export function ProductToursToolbarMenu(): JSX.Element {
const { newTour, selectTour } = useActions(productToursLogic)
diff --git a/frontend/src/toolbar/product-tours/StepCard.tsx b/frontend/src/toolbar/floating/components/product-tours/StepCard.tsx
similarity index 98%
rename from frontend/src/toolbar/product-tours/StepCard.tsx
rename to frontend/src/toolbar/floating/components/product-tours/StepCard.tsx
index 0ac425d26a78..090d343fb688 100644
--- a/frontend/src/toolbar/product-tours/StepCard.tsx
+++ b/frontend/src/toolbar/floating/components/product-tours/StepCard.tsx
@@ -6,10 +6,10 @@ import { LemonButton, LemonInput, LemonSegmentedButton, LemonSlider, LemonSwitch
import { IconDragHandle } from 'lib/lemon-ui/icons'
import { getStepIcon, getStepTitle, hasElementTarget, hasIncompleteTargeting } from 'scenes/product-tours/stepUtils'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { joinWithUiHost } from '~/toolbar/utils'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { joinWithUiHost } from '~/toolbar/shared/utils'
-import { TourStep, productToursLogic } from './productToursLogic'
+import { TourStep, productToursLogic } from '../../../shared/product-tours/productToursLogic'
interface StepCardProps {
step: TourStep
diff --git a/frontend/src/toolbar/screenshot-upload/ScreenshotUploadModal.tsx b/frontend/src/toolbar/floating/components/screenshot-upload/ScreenshotUploadModal.tsx
similarity index 97%
rename from frontend/src/toolbar/screenshot-upload/ScreenshotUploadModal.tsx
rename to frontend/src/toolbar/floating/components/screenshot-upload/ScreenshotUploadModal.tsx
index 9a541e324d15..cfd2fb112aba 100644
--- a/frontend/src/toolbar/screenshot-upload/ScreenshotUploadModal.tsx
+++ b/frontend/src/toolbar/floating/components/screenshot-upload/ScreenshotUploadModal.tsx
@@ -4,7 +4,7 @@ import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { LemonModal } from 'lib/lemon-ui/LemonModal'
-import { screenshotUploadLogic } from '~/toolbar/screenshot-upload/screenshotUploadLogic'
+import { screenshotUploadLogic } from '~/toolbar/shared/screenshot-upload/screenshotUploadLogic'
export const ScreenshotUploadModal = (): JSX.Element => {
const {
diff --git a/frontend/src/toolbar/stats/HeatmapToolbarMenu.tsx b/frontend/src/toolbar/floating/components/stats/HeatmapToolbarMenu.tsx
similarity index 97%
rename from frontend/src/toolbar/stats/HeatmapToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/stats/HeatmapToolbarMenu.tsx
index 71d6969bc39b..757b1b3e51d2 100644
--- a/frontend/src/toolbar/stats/HeatmapToolbarMenu.tsx
+++ b/frontend/src/toolbar/floating/components/stats/HeatmapToolbarMenu.tsx
@@ -12,16 +12,16 @@ import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { Spinner } from 'lib/lemon-ui/Spinner'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
-import { elementsLogic } from '~/toolbar/elements/elementsLogic'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
-import { currentPageLogic } from '~/toolbar/stats/currentPageLogic'
-import { heatmapCaptureLogic } from '~/toolbar/stats/heatmapCaptureLogic'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { urls } from '~/toolbar/urls'
-import { joinWithUiHost } from '~/toolbar/utils'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
+import { elementsLogic } from '~/toolbar/shared/elements/elementsLogic'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
+import { currentPageLogic } from '~/toolbar/shared/stats/currentPageLogic'
+import { heatmapCaptureLogic } from '~/toolbar/shared/stats/heatmapCaptureLogic'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { urls } from '~/toolbar/shared/urls'
+import { joinWithUiHost } from '~/toolbar/shared/utils'
-import { toolbarConfigLogic } from '../toolbarConfigLogic'
+import { toolbarConfigLogic } from '../../../shared/toolbarConfigLogic'
const HeatmapsJSWarning = (): JSX.Element | null => {
const { posthog, uiHost } = useValues(toolbarConfigLogic)
diff --git a/frontend/src/toolbar/web-vitals/WebVitalsToolbarMenu.test.tsx b/frontend/src/toolbar/floating/components/web-vitals/WebVitalsToolbarMenu.test.tsx
similarity index 88%
rename from frontend/src/toolbar/web-vitals/WebVitalsToolbarMenu.test.tsx
rename to frontend/src/toolbar/floating/components/web-vitals/WebVitalsToolbarMenu.test.tsx
index 71236718c24c..9486b5198231 100644
--- a/frontend/src/toolbar/web-vitals/WebVitalsToolbarMenu.test.tsx
+++ b/frontend/src/toolbar/floating/components/web-vitals/WebVitalsToolbarMenu.test.tsx
@@ -4,9 +4,9 @@ import { act, render, screen } from '@testing-library/react'
import { expectLogic } from 'kea-test-utils'
import { initKeaTests } from '~/test/init'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
-import { webVitalsToolbarLogic } from './webVitalsToolbarLogic'
+import { webVitalsToolbarLogic } from '../../../shared/web-vitals/webVitalsToolbarLogic'
import { WebVitalsToolbarMenu } from './WebVitalsToolbarMenu'
describe('WebVitalsToolbarMenu', () => {
diff --git a/frontend/src/toolbar/web-vitals/WebVitalsToolbarMenu.tsx b/frontend/src/toolbar/floating/components/web-vitals/WebVitalsToolbarMenu.tsx
similarity index 75%
rename from frontend/src/toolbar/web-vitals/WebVitalsToolbarMenu.tsx
rename to frontend/src/toolbar/floating/components/web-vitals/WebVitalsToolbarMenu.tsx
index 101ccb7e4ce9..1d07a816a7c4 100644
--- a/frontend/src/toolbar/web-vitals/WebVitalsToolbarMenu.tsx
+++ b/frontend/src/toolbar/floating/components/web-vitals/WebVitalsToolbarMenu.tsx
@@ -2,13 +2,13 @@ import { useValues } from 'kea'
import { Link } from '@posthog/lemon-ui'
-import { ToolbarMenu } from '~/toolbar/bar/ToolbarMenu'
-import { urls } from '~/toolbar/urls'
-import { joinWithUiHost } from '~/toolbar/utils'
+import { ToolbarMenu } from '~/toolbar/floating/components/bar/ToolbarMenu'
+import { urls } from '~/toolbar/shared/urls'
+import { joinWithUiHost } from '~/toolbar/shared/utils'
-import { toolbarConfigLogic } from '../toolbarConfigLogic'
-import { WebVitalsReport } from './WebVitalsReport'
-import { webVitalsToolbarLogic } from './webVitalsToolbarLogic'
+import { toolbarConfigLogic } from '../../../shared/toolbarConfigLogic'
+import { WebVitalsReport } from '../../../shared/web-vitals/WebVitalsReport'
+import { webVitalsToolbarLogic } from '../../../shared/web-vitals/webVitalsToolbarLogic'
export const WebVitalsToolbarMenu = (): JSX.Element => {
const { localWebVitals, remoteWebVitals } = useValues(webVitalsToolbarLogic)
diff --git a/frontend/src/toolbar/index.test.ts b/frontend/src/toolbar/floating/index.test.ts
similarity index 98%
rename from frontend/src/toolbar/index.test.ts
rename to frontend/src/toolbar/floating/index.test.ts
index 8b3acc9dc77d..da95e4d03c74 100644
--- a/frontend/src/toolbar/index.test.ts
+++ b/frontend/src/toolbar/floating/index.test.ts
@@ -2,8 +2,8 @@ import { ToolbarParams } from '~/types'
// Keep the real toolbar posthog-js instance (rendering depends on it) but spy on
// the exception capture helper so we can assert what does and doesn't get reported.
-jest.mock('~/toolbar/toolbarPosthogJS', () => ({
- ...jest.requireActual('~/toolbar/toolbarPosthogJS'),
+jest.mock('~/toolbar/shared/toolbarPosthogJS', () => ({
+ ...jest.requireActual('~/toolbar/shared/toolbarPosthogJS'),
captureToolbarException: jest.fn(),
}))
@@ -157,7 +157,7 @@ describe('Toolbar flag loading', () => {
const consoleWarnSpy = jest.spyOn(console, 'warn').mockImplementation()
await import('./index')
- const { captureToolbarException } = await import('~/toolbar/toolbarPosthogJS')
+ const { captureToolbarException } = await import('~/toolbar/shared/toolbarPosthogJS')
const mockPostHog = {
featureFlags: {
diff --git a/frontend/src/toolbar/index.tsx b/frontend/src/toolbar/floating/index.tsx
similarity index 95%
rename from frontend/src/toolbar/index.tsx
rename to frontend/src/toolbar/floating/index.tsx
index f657e8b4e9b0..576eb72be0d9 100644
--- a/frontend/src/toolbar/index.tsx
+++ b/frontend/src/toolbar/floating/index.tsx
@@ -1,5 +1,5 @@
import '~/styles'
-import './styles.scss'
+import '../shared/styles.scss'
import { KeaPlugin, resetContext } from 'kea'
import { disposablesPlugin } from 'kea-disposables'
@@ -13,13 +13,13 @@ import { windowValuesPlugin } from 'kea-window-values'
import type { PostHog } from 'posthog-js'
import { createRoot } from 'react-dom/client'
-import { ToolbarApp } from '~/toolbar/ToolbarApp'
-import { canonicalizeApiHost, identifiesToolbarUser } from '~/toolbar/toolbarConfigLogic'
-import { isToolbarMounted, posthogToolbarController, setToolbarRefs } from '~/toolbar/toolbarController'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { isToolbarRequestError } from '~/toolbar/toolbarRequestError'
-import { safeFetch, toError } from '~/toolbar/utils'
+import { ToolbarApp } from '~/toolbar/floating/components/ToolbarApp'
+import { isToolbarMounted, posthogToolbarController, setToolbarRefs } from '~/toolbar/floating/toolbarController'
+import { canonicalizeApiHost, identifiesToolbarUser } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { isToolbarRequestError } from '~/toolbar/shared/toolbarRequestError'
+import { safeFetch, toError } from '~/toolbar/shared/utils'
import { ToolbarParams } from '~/types'
interface InitKeaProps {
diff --git a/frontend/src/toolbar/loader.ts b/frontend/src/toolbar/floating/loader.ts
similarity index 98%
rename from frontend/src/toolbar/loader.ts
rename to frontend/src/toolbar/floating/loader.ts
index fc3dd8352f33..3a3a342a44df 100644
--- a/frontend/src/toolbar/loader.ts
+++ b/frontend/src/toolbar/floating/loader.ts
@@ -18,7 +18,7 @@ import type { ToolbarParams } from '~/types'
// artifacts are served from Django /static/ on any region or self-hosted instance, and from
// the versioned, major-alias and compatibility prefixes on the posthog-js CDN.
-type ToolbarModule = typeof import('~/toolbar/index')
+type ToolbarModule = typeof import('~/toolbar/floating/index')
// document.currentScript is only set during the initial synchronous evaluation, so capture it
// at module scope. It is null when the loader is evaluated as a module (tests) — then the
diff --git a/frontend/src/toolbar/bar/toolbarLockedFeatureLogic.ts b/frontend/src/toolbar/floating/logics/toolbarLockedFeatureLogic.ts
similarity index 94%
rename from frontend/src/toolbar/bar/toolbarLockedFeatureLogic.ts
rename to frontend/src/toolbar/floating/logics/toolbarLockedFeatureLogic.ts
index 40ef559cfcd5..59fdf78e9696 100644
--- a/frontend/src/toolbar/bar/toolbarLockedFeatureLogic.ts
+++ b/frontend/src/toolbar/floating/logics/toolbarLockedFeatureLogic.ts
@@ -1,6 +1,6 @@
import { MakeLogicType, actions, afterMount, kea, listeners, path, props } from 'kea'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
export interface ToolbarLockedFeatureLogicProps {
featureName: string
diff --git a/frontend/src/toolbar/toolbarController.test.ts b/frontend/src/toolbar/floating/toolbarController.test.ts
similarity index 97%
rename from frontend/src/toolbar/toolbarController.test.ts
rename to frontend/src/toolbar/floating/toolbarController.test.ts
index 3677bfe150d0..3540469ed5d5 100644
--- a/frontend/src/toolbar/toolbarController.test.ts
+++ b/frontend/src/toolbar/floating/toolbarController.test.ts
@@ -1,17 +1,17 @@
import type { Root } from 'react-dom/client'
import { initKeaTests } from '~/test/init'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
import {
clearToolbarRefs,
posthogToolbarController,
PostHogToolbarController,
setToolbarRefs,
-} from '~/toolbar/toolbarController'
+} from '~/toolbar/floating/toolbarController'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
// The toolbar logger mirrors intentional error/auth paths to the console (its job on
// customer pages); tests exercise those paths on purpose, so stub the boundary.
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
diff --git a/frontend/src/toolbar/toolbarController.ts b/frontend/src/toolbar/floating/toolbarController.ts
similarity index 96%
rename from frontend/src/toolbar/toolbarController.ts
rename to frontend/src/toolbar/floating/toolbarController.ts
index 5177c3b3df71..8d484482fd86 100644
--- a/frontend/src/toolbar/toolbarController.ts
+++ b/frontend/src/toolbar/floating/toolbarController.ts
@@ -1,8 +1,8 @@
import { resetContext } from 'kea'
import type { Root } from 'react-dom/client'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { TOOLBAR_ID } from '~/toolbar/utils'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { TOOLBAR_ID } from '~/toolbar/shared/utils'
// Private module-level state — persists across the singleton within the IIFE bundle
let _reactRoot: Root | null = null
diff --git a/frontend/src/toolbar/owners.yaml b/frontend/src/toolbar/owners.yaml
index 0d1a3847cd25..691eb6fc951f 100644
--- a/frontend/src/toolbar/owners.yaml
+++ b/frontend/src/toolbar/owners.yaml
@@ -1,9 +1,2 @@
version: 1
-owners: []
-rules:
- - match: '/elements/heatmapToolbarMenuLogic.ts'
- owners: team-web-analytics
- - match: '/product-tours/'
- owners: '@adboio'
- - match: '/web-vitals/'
- owners: team-web-analytics
+owners: team-growth
diff --git a/frontend/src/toolbar/actions/ActionAttribute.tsx b/frontend/src/toolbar/shared/actions/ActionAttribute.tsx
similarity index 97%
rename from frontend/src/toolbar/actions/ActionAttribute.tsx
rename to frontend/src/toolbar/shared/actions/ActionAttribute.tsx
index bcd2a43e4cbc..02bb7fd34477 100644
--- a/frontend/src/toolbar/actions/ActionAttribute.tsx
+++ b/frontend/src/toolbar/shared/actions/ActionAttribute.tsx
@@ -4,7 +4,7 @@ import { LemonSwitch, Link } from '@posthog/lemon-ui'
import { IconBranch, IconClipboardEdit, IconLink, IconTextSize } from 'lib/lemon-ui/icons'
-import { SelectorQualityBadge } from '~/toolbar/elements/SelectorQualityWarning'
+import { SelectorQualityBadge } from '~/toolbar/shared/elements/SelectorQualityWarning'
import { actionsTabLogic } from './actionsTabLogic'
import { ActionStepPropertyKey } from './ActionStep'
diff --git a/frontend/src/toolbar/actions/ActionStep.tsx b/frontend/src/toolbar/shared/actions/ActionStep.tsx
similarity index 92%
rename from frontend/src/toolbar/actions/ActionStep.tsx
rename to frontend/src/toolbar/shared/actions/ActionStep.tsx
index a2a34a43412a..77fac3088381 100644
--- a/frontend/src/toolbar/actions/ActionStep.tsx
+++ b/frontend/src/toolbar/shared/actions/ActionStep.tsx
@@ -1,6 +1,6 @@
import { useValues } from 'kea'
-import { ActionAttribute } from '~/toolbar/actions/ActionAttribute'
+import { ActionAttribute } from '~/toolbar/shared/actions/ActionAttribute'
import { ActionStepType } from '~/types'
import { actionsTabLogic } from './actionsTabLogic'
diff --git a/frontend/src/toolbar/actions/ActionStepEditor.tsx b/frontend/src/toolbar/shared/actions/ActionStepEditor.tsx
similarity index 94%
rename from frontend/src/toolbar/actions/ActionStepEditor.tsx
rename to frontend/src/toolbar/shared/actions/ActionStepEditor.tsx
index 23729fe7c259..b8feda9f4179 100644
--- a/frontend/src/toolbar/actions/ActionStepEditor.tsx
+++ b/frontend/src/toolbar/shared/actions/ActionStepEditor.tsx
@@ -3,9 +3,9 @@ import { LemonTag } from '@posthog/lemon-ui'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
-import { StepField } from '~/toolbar/actions/StepField'
-import { SelectorQualityWarning } from '~/toolbar/elements/SelectorQualityWarning'
-import { ActionStepForm } from '~/toolbar/types'
+import { StepField } from '~/toolbar/shared/actions/StepField'
+import { SelectorQualityWarning } from '~/toolbar/shared/elements/SelectorQualityWarning'
+import { ActionStepForm } from '~/toolbar/shared/types'
interface ActionStepEditorProps {
step: ActionStepForm
diff --git a/frontend/src/toolbar/actions/SelectorCount.tsx b/frontend/src/toolbar/shared/actions/SelectorCount.tsx
similarity index 100%
rename from frontend/src/toolbar/actions/SelectorCount.tsx
rename to frontend/src/toolbar/shared/actions/SelectorCount.tsx
diff --git a/frontend/src/toolbar/actions/SelectorCountContext.ts b/frontend/src/toolbar/shared/actions/SelectorCountContext.ts
similarity index 100%
rename from frontend/src/toolbar/actions/SelectorCountContext.ts
rename to frontend/src/toolbar/shared/actions/SelectorCountContext.ts
diff --git a/frontend/src/toolbar/actions/SelectorEditingModal.tsx b/frontend/src/toolbar/shared/actions/SelectorEditingModal.tsx
similarity index 100%
rename from frontend/src/toolbar/actions/SelectorEditingModal.tsx
rename to frontend/src/toolbar/shared/actions/SelectorEditingModal.tsx
diff --git a/frontend/src/toolbar/actions/StepField.tsx b/frontend/src/toolbar/shared/actions/StepField.tsx
similarity index 97%
rename from frontend/src/toolbar/actions/StepField.tsx
rename to frontend/src/toolbar/shared/actions/StepField.tsx
index d22c562ac668..f5d8b568d651 100644
--- a/frontend/src/toolbar/actions/StepField.tsx
+++ b/frontend/src/toolbar/shared/actions/StepField.tsx
@@ -7,8 +7,8 @@ import { LemonInput } from 'lib/lemon-ui/LemonInput/LemonInput'
import { LemonSegmentedButton } from 'lib/lemon-ui/LemonSegmentedButton'
import { LemonTextArea } from 'lib/lemon-ui/LemonTextArea/LemonTextArea'
-import { SelectorCount } from '~/toolbar/actions/SelectorCount'
-import { ActionStepForm } from '~/toolbar/types'
+import { SelectorCount } from '~/toolbar/shared/actions/SelectorCount'
+import { ActionStepForm } from '~/toolbar/shared/types'
interface StepFieldProps {
item: 'href' | 'text' | 'selector' | 'url'
diff --git a/frontend/src/toolbar/actions/actionsLogic.test.ts b/frontend/src/toolbar/shared/actions/actionsLogic.test.ts
similarity index 96%
rename from frontend/src/toolbar/actions/actionsLogic.test.ts
rename to frontend/src/toolbar/shared/actions/actionsLogic.test.ts
index 6ac5c0182c09..cf3bd6c01e03 100644
--- a/frontend/src/toolbar/actions/actionsLogic.test.ts
+++ b/frontend/src/toolbar/shared/actions/actionsLogic.test.ts
@@ -1,8 +1,8 @@
import { expectLogic } from 'kea-test-utils'
import { initKeaTests } from '~/test/init'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { AccessControlLevel, ActionType } from '~/types'
const unsortedActions: ActionType[] = [
diff --git a/frontend/src/toolbar/actions/actionsLogic.ts b/frontend/src/toolbar/shared/actions/actionsLogic.ts
similarity index 98%
rename from frontend/src/toolbar/actions/actionsLogic.ts
rename to frontend/src/toolbar/shared/actions/actionsLogic.ts
index a5dc115c7433..9c81e81cb28a 100644
--- a/frontend/src/toolbar/actions/actionsLogic.ts
+++ b/frontend/src/toolbar/shared/actions/actionsLogic.ts
@@ -4,7 +4,7 @@ import { loaders } from 'kea-loaders'
import { createFuse } from 'lib/utils/fuseSearch'
import { permanentlyMount } from 'lib/utils/kea-logic-builders'
-import { toolbarApi } from '~/toolbar/toolbarApi'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
import { ActionType } from '~/types'
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
diff --git a/frontend/src/toolbar/actions/actionsTabLogic.test.ts b/frontend/src/toolbar/shared/actions/actionsTabLogic.test.ts
similarity index 93%
rename from frontend/src/toolbar/actions/actionsTabLogic.test.ts
rename to frontend/src/toolbar/shared/actions/actionsTabLogic.test.ts
index 32528edc55a8..82175c81610f 100644
--- a/frontend/src/toolbar/actions/actionsTabLogic.test.ts
+++ b/frontend/src/toolbar/shared/actions/actionsTabLogic.test.ts
@@ -2,14 +2,14 @@ import { expectLogic } from 'kea-test-utils'
import { resumeKeaLoadersErrors, silenceKeaLoadersErrors } from '~/initKea'
import { initKeaTests } from '~/test/init'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { actionsTabLogic } from '~/toolbar/shared/actions/actionsTabLogic'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
// The toolbar logger mirrors intentional error/auth paths to the console (its job on
// customer pages); tests exercise those paths on purpose, so stub the boundary.
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
diff --git a/frontend/src/toolbar/actions/actionsTabLogic.tsx b/frontend/src/toolbar/shared/actions/actionsTabLogic.tsx
similarity index 97%
rename from frontend/src/toolbar/actions/actionsTabLogic.tsx
rename to frontend/src/toolbar/shared/actions/actionsTabLogic.tsx
index b26c929004d9..fcf51e03c24f 100644
--- a/frontend/src/toolbar/actions/actionsTabLogic.tsx
+++ b/frontend/src/toolbar/shared/actions/actionsTabLogic.tsx
@@ -5,22 +5,22 @@ import { subscriptions } from 'kea-subscriptions'
import { lemonToast } from 'lib/lemon-ui/LemonToast/LemonToast'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { ActionDraftType, ActionForm } from '~/toolbar/types'
-import { urls } from '~/toolbar/urls'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { ActionDraftType, ActionForm } from '~/toolbar/shared/types'
+import { urls } from '~/toolbar/shared/urls'
import {
actionStepToActionStepFormItem,
elementToActionStep,
joinWithUiHost,
stepToDatabaseFormat,
-} from '~/toolbar/utils'
+} from '~/toolbar/shared/utils'
import { AccessControlLevel, ActionType, ElementType } from '~/types'
-import type { ToolbarUserIntent } from '../../types'
+import type { ToolbarUserIntent } from '../../../types'
import type { ActionStepPropertyKey } from './ActionStep'
function newAction(
diff --git a/frontend/src/toolbar/bar/piiMaskingStyles.ts b/frontend/src/toolbar/shared/bar/piiMaskingStyles.ts
similarity index 100%
rename from frontend/src/toolbar/bar/piiMaskingStyles.ts
rename to frontend/src/toolbar/shared/bar/piiMaskingStyles.ts
diff --git a/frontend/src/toolbar/bar/toolbarLogic.ts b/frontend/src/toolbar/shared/bar/toolbarLogic.ts
similarity index 96%
rename from frontend/src/toolbar/bar/toolbarLogic.ts
rename to frontend/src/toolbar/shared/bar/toolbarLogic.ts
index 3fb1d6cbdf9b..1111731a7836 100644
--- a/frontend/src/toolbar/bar/toolbarLogic.ts
+++ b/frontend/src/toolbar/shared/bar/toolbarLogic.ts
@@ -6,26 +6,26 @@ import { hedgehogModeLogic } from 'lib/components/HedgehogMode/hedgehogModeLogic
import { HedgehogActor } from 'lib/components/HedgehogMode/types'
import { PostHogAppToolbarEvent } from 'lib/components/IframedToolbarBrowser/utils'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
-import { elementsLogic } from '~/toolbar/elements/elementsLogic'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
-import { experimentsLogic } from '~/toolbar/experiments/experimentsLogic'
-import { experimentsTabLogic } from '~/toolbar/experiments/experimentsTabLogic'
-import { fieldNotesLogic } from '~/toolbar/field-notes/fieldNotesLogic'
-import { flagsToolbarLogic } from '~/toolbar/flags/flagsToolbarLogic'
-import { productToursLogic } from '~/toolbar/product-tours/productToursLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { isToolbarFeatureGated, toolbarEntitlementsLogic } from '~/toolbar/toolbarEntitlementsLogic'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { TOOLBAR_CONTAINER_CLASS, TOOLBAR_ID, inBounds, makeNavigateWrapper } from '~/toolbar/utils'
-import { webVitalsToolbarLogic } from '~/toolbar/web-vitals/webVitalsToolbarLogic'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { actionsTabLogic } from '~/toolbar/shared/actions/actionsTabLogic'
+import { elementsLogic } from '~/toolbar/shared/elements/elementsLogic'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
+import { experimentsLogic } from '~/toolbar/shared/experiments/experimentsLogic'
+import { experimentsTabLogic } from '~/toolbar/shared/experiments/experimentsTabLogic'
+import { fieldNotesLogic } from '~/toolbar/shared/field-notes/fieldNotesLogic'
+import { flagsToolbarLogic } from '~/toolbar/shared/flags/flagsToolbarLogic'
+import { productToursLogic } from '~/toolbar/shared/product-tours/productToursLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { isToolbarFeatureGated, toolbarEntitlementsLogic } from '~/toolbar/shared/toolbarEntitlementsLogic'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { TOOLBAR_CONTAINER_CLASS, TOOLBAR_ID, inBounds, makeNavigateWrapper } from '~/toolbar/shared/utils'
+import { webVitalsToolbarLogic } from '~/toolbar/shared/web-vitals/webVitalsToolbarLogic'
import { AvailableFeature } from '~/types'
-import type { CommonFilters, HeatmapFilters, HeatmapFixedPositionMode } from '../../lib/components/heatmaps/types'
-import type { HedgehogModeInterface } from '../../lib/components/HedgehogMode/types'
-import type { ActionType } from '../../types'
+import type { CommonFilters, HeatmapFilters, HeatmapFixedPositionMode } from '../../../lib/components/heatmaps/types'
+import type { HedgehogModeInterface } from '../../../lib/components/HedgehogMode/types'
+import type { ActionType } from '../../../types'
import { DEFAULT_PII_MASKING_COLOR, applyPiiMaskingStylesheet, getPiiMaskingWarnings } from './piiMaskingStyles'
const MARGIN = 2
diff --git a/frontend/src/toolbar/debug/EventRow.tsx b/frontend/src/toolbar/shared/debug/EventRow.tsx
similarity index 98%
rename from frontend/src/toolbar/debug/EventRow.tsx
rename to frontend/src/toolbar/shared/debug/EventRow.tsx
index 48acf1ac9d26..fe5df30b1eb3 100644
--- a/frontend/src/toolbar/debug/EventRow.tsx
+++ b/frontend/src/toolbar/shared/debug/EventRow.tsx
@@ -7,7 +7,7 @@ import { SimpleKeyValueList } from 'lib/components/SimpleKeyValueList'
import { TaxonomicFilterGroupType } from 'lib/components/TaxonomicFilter/types'
import { dayjs } from 'lib/dayjs'
-import { classifyEvent, EventCategory } from '~/toolbar/debug/eventCategories'
+import { classifyEvent, EventCategory } from '~/toolbar/shared/debug/eventCategories'
import { EventType } from '~/types'
const EVENT_CATEGORY_COLORS: Record<EventCategory, string> = {
diff --git a/frontend/src/toolbar/debug/downloadEventsAsJson.ts b/frontend/src/toolbar/shared/debug/downloadEventsAsJson.ts
similarity index 100%
rename from frontend/src/toolbar/debug/downloadEventsAsJson.ts
rename to frontend/src/toolbar/shared/debug/downloadEventsAsJson.ts
diff --git a/frontend/src/toolbar/debug/eventCategories.ts b/frontend/src/toolbar/shared/debug/eventCategories.ts
similarity index 100%
rename from frontend/src/toolbar/debug/eventCategories.ts
rename to frontend/src/toolbar/shared/debug/eventCategories.ts
diff --git a/frontend/src/toolbar/debug/eventDebugMenuItems.tsx b/frontend/src/toolbar/shared/debug/eventDebugMenuItems.tsx
similarity index 97%
rename from frontend/src/toolbar/debug/eventDebugMenuItems.tsx
rename to frontend/src/toolbar/shared/debug/eventDebugMenuItems.tsx
index 6b5420c7f033..3785d0eb18ac 100644
--- a/frontend/src/toolbar/debug/eventDebugMenuItems.tsx
+++ b/frontend/src/toolbar/shared/debug/eventDebugMenuItems.tsx
@@ -3,7 +3,7 @@ import { BaseIcon, IconCheck, IconLogomark, IconVideoCamera } from '@posthog/ico
import { IconUnverifiedEvent } from 'lib/lemon-ui/icons'
import { LemonMenuItem } from 'lib/lemon-ui/LemonMenu'
-import { EventCategory } from '~/toolbar/debug/eventCategories'
+import { EventCategory } from '~/toolbar/shared/debug/eventCategories'
function checkableMenuItem(
label: string,
diff --git a/frontend/src/toolbar/debug/eventDebugMenuLogic.test.ts b/frontend/src/toolbar/shared/debug/eventDebugMenuLogic.test.ts
similarity index 98%
rename from frontend/src/toolbar/debug/eventDebugMenuLogic.test.ts
rename to frontend/src/toolbar/shared/debug/eventDebugMenuLogic.test.ts
index 477a1651a89c..c464e15a1891 100644
--- a/frontend/src/toolbar/debug/eventDebugMenuLogic.test.ts
+++ b/frontend/src/toolbar/shared/debug/eventDebugMenuLogic.test.ts
@@ -1,9 +1,9 @@
import { expectLogic } from 'kea-test-utils'
import { initKeaTests } from '~/test/init'
-import { classifyEvent } from '~/toolbar/debug/eventCategories'
-import { eventDebugMenuLogic } from '~/toolbar/debug/eventDebugMenuLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { classifyEvent } from '~/toolbar/shared/debug/eventCategories'
+import { eventDebugMenuLogic } from '~/toolbar/shared/debug/eventDebugMenuLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { EventType } from '~/types'
function makeEvent(overrides: Partial<EventType> = {}): EventType {
diff --git a/frontend/src/toolbar/debug/eventDebugMenuLogic.ts b/frontend/src/toolbar/shared/debug/eventDebugMenuLogic.ts
similarity index 98%
rename from frontend/src/toolbar/debug/eventDebugMenuLogic.ts
rename to frontend/src/toolbar/shared/debug/eventDebugMenuLogic.ts
index 9f0eeedd6dc0..8871cf28b84c 100644
--- a/frontend/src/toolbar/debug/eventDebugMenuLogic.ts
+++ b/frontend/src/toolbar/shared/debug/eventDebugMenuLogic.ts
@@ -6,8 +6,8 @@ import { permanentlyMount } from 'lib/utils/kea-logic-builders'
import { CLOUD_INTERNAL_POSTHOG_PROPERTY_KEYS } from '~/taxonomy/taxonomy'
import { PROPERTY_KEYS } from '~/taxonomy/taxonomy'
-import { EventCategory, classifyEvent } from '~/toolbar/debug/eventCategories'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { EventCategory, classifyEvent } from '~/toolbar/shared/debug/eventCategories'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { EventType } from '~/types'
function tryRegexMatch(text: string, pattern: string): boolean {
diff --git a/frontend/src/toolbar/debug/posthogDebugInfo.ts b/frontend/src/toolbar/shared/debug/posthogDebugInfo.ts
similarity index 100%
rename from frontend/src/toolbar/debug/posthogDebugInfo.ts
rename to frontend/src/toolbar/shared/debug/posthogDebugInfo.ts
diff --git a/frontend/src/toolbar/elements/AutocaptureElement.tsx b/frontend/src/toolbar/shared/elements/AutocaptureElement.tsx
similarity index 93%
rename from frontend/src/toolbar/elements/AutocaptureElement.tsx
rename to frontend/src/toolbar/shared/elements/AutocaptureElement.tsx
index b1c9faef1420..d744ec0c20f8 100644
--- a/frontend/src/toolbar/elements/AutocaptureElement.tsx
+++ b/frontend/src/toolbar/shared/elements/AutocaptureElement.tsx
@@ -2,8 +2,8 @@ import { memo } from 'react'
import { objectsEqual } from 'lib/utils/objects'
-import { ElementRect } from '~/toolbar/types'
-import { EMPTY_STYLE, rectEqual } from '~/toolbar/utils'
+import { ElementRect } from '~/toolbar/shared/types'
+import { EMPTY_STYLE, rectEqual } from '~/toolbar/shared/utils'
interface AutocaptureElementProps {
rect?: ElementRect
diff --git a/frontend/src/toolbar/elements/AutocaptureElementLabel.tsx b/frontend/src/toolbar/shared/elements/AutocaptureElementLabel.tsx
similarity index 94%
rename from frontend/src/toolbar/elements/AutocaptureElementLabel.tsx
rename to frontend/src/toolbar/shared/elements/AutocaptureElementLabel.tsx
index 9e4035522dea..1d9ed0450351 100644
--- a/frontend/src/toolbar/elements/AutocaptureElementLabel.tsx
+++ b/frontend/src/toolbar/shared/elements/AutocaptureElementLabel.tsx
@@ -2,8 +2,8 @@ import { memo } from 'react'
import { objectsEqual } from 'lib/utils/objects'
-import { ElementRect } from '~/toolbar/types'
-import { EMPTY_STYLE, inBounds, rectEqual } from '~/toolbar/utils'
+import { ElementRect } from '~/toolbar/shared/types'
+import { EMPTY_STYLE, inBounds, rectEqual } from '~/toolbar/shared/utils'
const heatmapLabelStyle = {
lineHeight: '14px',
diff --git a/frontend/src/toolbar/elements/ElementOverlays.tsx b/frontend/src/toolbar/shared/elements/ElementOverlays.tsx
similarity index 93%
rename from frontend/src/toolbar/elements/ElementOverlays.tsx
rename to frontend/src/toolbar/shared/elements/ElementOverlays.tsx
index d25eca5a3eda..0f00fe30e523 100644
--- a/frontend/src/toolbar/elements/ElementOverlays.tsx
+++ b/frontend/src/toolbar/shared/elements/ElementOverlays.tsx
@@ -4,14 +4,14 @@ import { MouseEvent as ReactMouseEvent, ReactNode, useMemo } from 'react'
import { HeatmapCanvas } from 'lib/components/heatmaps/HeatmapCanvas'
import { useShiftKeyPressed } from 'lib/components/heatmaps/useShiftKeyPressed'
-import { AutocaptureElement } from '~/toolbar/elements/AutocaptureElement'
-import { AutocaptureElementLabel } from '~/toolbar/elements/AutocaptureElementLabel'
-import { elementsLogic } from '~/toolbar/elements/elementsLogic'
-import { FocusRect } from '~/toolbar/elements/FocusRect'
-import { HeatmapOverlayElements, getStableElementId } from '~/toolbar/elements/HeatmapOverlayElements'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
-import { ElementHighlight } from '~/toolbar/product-tours/ElementHighlight'
-import { getBoxColors, isInToolbarRoot } from '~/toolbar/utils'
+import { AutocaptureElement } from '~/toolbar/shared/elements/AutocaptureElement'
+import { AutocaptureElementLabel } from '~/toolbar/shared/elements/AutocaptureElementLabel'
+import { elementsLogic } from '~/toolbar/shared/elements/elementsLogic'
+import { FocusRect } from '~/toolbar/shared/elements/FocusRect'
+import { HeatmapOverlayElements, getStableElementId } from '~/toolbar/shared/elements/HeatmapOverlayElements'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
+import { ElementHighlight } from '~/toolbar/shared/product-tours/ElementHighlight'
+import { getBoxColors, isInToolbarRoot } from '~/toolbar/shared/utils'
import { ScrollDepth } from './ScrollDepth'
diff --git a/frontend/src/toolbar/elements/FocusRect.tsx b/frontend/src/toolbar/shared/elements/FocusRect.tsx
similarity index 97%
rename from frontend/src/toolbar/elements/FocusRect.tsx
rename to frontend/src/toolbar/shared/elements/FocusRect.tsx
index 046963aaaa27..acb3a7736dfe 100644
--- a/frontend/src/toolbar/elements/FocusRect.tsx
+++ b/frontend/src/toolbar/shared/elements/FocusRect.tsx
@@ -1,5 +1,5 @@
// draw a beam around an element
-import { ElementRect } from '~/toolbar/types'
+import { ElementRect } from '~/toolbar/shared/types'
export function FocusRect({ rect }: { rect: ElementRect }): JSX.Element {
const widths = [0, rect.left + window.pageXOffset, rect.left + window.pageXOffset + rect.width, window.innerWidth]
diff --git a/frontend/src/toolbar/elements/HeatmapOverlayElements.tsx b/frontend/src/toolbar/shared/elements/HeatmapOverlayElements.tsx
similarity index 96%
rename from frontend/src/toolbar/elements/HeatmapOverlayElements.tsx
rename to frontend/src/toolbar/shared/elements/HeatmapOverlayElements.tsx
index e05b093c6f86..e925aa1a95a4 100644
--- a/frontend/src/toolbar/elements/HeatmapOverlayElements.tsx
+++ b/frontend/src/toolbar/shared/elements/HeatmapOverlayElements.tsx
@@ -2,10 +2,10 @@ import { Fragment, memo } from 'react'
import { compactNumber } from 'lib/utils/numbers'
-import { AutocaptureElement } from '~/toolbar/elements/AutocaptureElement'
-import { AutocaptureElementLabel } from '~/toolbar/elements/AutocaptureElementLabel'
-import { ElementWithMetadata } from '~/toolbar/types'
-import { getBoxColors, getHeatMapHue } from '~/toolbar/utils'
+import { AutocaptureElement } from '~/toolbar/shared/elements/AutocaptureElement'
+import { AutocaptureElementLabel } from '~/toolbar/shared/elements/AutocaptureElementLabel'
+import { ElementWithMetadata } from '~/toolbar/shared/types'
+import { getBoxColors, getHeatMapHue } from '~/toolbar/shared/utils'
let nextElementId = 0
const elementIdMap = new WeakMap<HTMLElement, number>()
diff --git a/frontend/src/toolbar/elements/ScrollDepth.tsx b/frontend/src/toolbar/shared/elements/ScrollDepth.tsx
similarity index 97%
rename from frontend/src/toolbar/elements/ScrollDepth.tsx
rename to frontend/src/toolbar/shared/elements/ScrollDepth.tsx
index 2cf480345d90..92516cd02e53 100644
--- a/frontend/src/toolbar/elements/ScrollDepth.tsx
+++ b/frontend/src/toolbar/shared/elements/ScrollDepth.tsx
@@ -4,7 +4,7 @@ import { ScrollDepthMouseCanvas, scrollDepthColor } from 'lib/components/heatmap
import { useMousePosition } from 'lib/components/heatmaps/useMousePosition'
import { useShiftKeyPressed } from 'lib/components/heatmaps/useShiftKeyPressed'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
import { toolbarConfigLogic } from '../toolbarConfigLogic'
diff --git a/frontend/src/toolbar/elements/SelectorQualityWarning.tsx b/frontend/src/toolbar/shared/elements/SelectorQualityWarning.tsx
similarity index 95%
rename from frontend/src/toolbar/elements/SelectorQualityWarning.tsx
rename to frontend/src/toolbar/shared/elements/SelectorQualityWarning.tsx
index 3a4d923a05c3..bea91ff34211 100644
--- a/frontend/src/toolbar/elements/SelectorQualityWarning.tsx
+++ b/frontend/src/toolbar/shared/elements/SelectorQualityWarning.tsx
@@ -1,7 +1,7 @@
import { IconWarning } from '@posthog/icons'
import { LemonBanner } from '@posthog/lemon-ui'
-import { checkSelectorFragilityCached } from '~/toolbar/utils/selectorQuality'
+import { checkSelectorFragilityCached } from '~/toolbar/shared/utils/selectorQuality'
interface SelectorQualityWarningProps {
selector?: string | null
diff --git a/frontend/src/toolbar/elements/domElementIndex.test.ts b/frontend/src/toolbar/shared/elements/domElementIndex.test.ts
similarity index 99%
rename from frontend/src/toolbar/elements/domElementIndex.test.ts
rename to frontend/src/toolbar/shared/elements/domElementIndex.test.ts
index a551d8aafc81..05e9653c12fc 100644
--- a/frontend/src/toolbar/elements/domElementIndex.test.ts
+++ b/frontend/src/toolbar/shared/elements/domElementIndex.test.ts
@@ -1,6 +1,6 @@
import { collectAllElementsDeep } from 'query-selector-shadow-dom'
-import { ElementsEventType } from '~/toolbar/types'
+import { ElementsEventType } from '~/toolbar/shared/types'
import { ElementType } from '~/types'
import {
diff --git a/frontend/src/toolbar/elements/domElementIndex.ts b/frontend/src/toolbar/shared/elements/domElementIndex.ts
similarity index 99%
rename from frontend/src/toolbar/elements/domElementIndex.ts
rename to frontend/src/toolbar/shared/elements/domElementIndex.ts
index 087e10a938b4..73500c6240b4 100644
--- a/frontend/src/toolbar/elements/domElementIndex.ts
+++ b/frontend/src/toolbar/shared/elements/domElementIndex.ts
@@ -2,9 +2,9 @@ import { querySelectorAllDeep } from 'query-selector-shadow-dom'
import { elementToSelector, matchesDataAttribute } from 'lib/utils/actions'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { CountedHTMLElement, ElementsEventType } from '~/toolbar/types'
-import { isToolbarRootElement } from '~/toolbar/utils'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { CountedHTMLElement, ElementsEventType } from '~/toolbar/shared/types'
+import { isToolbarRootElement } from '~/toolbar/shared/utils'
import { ElementType } from '~/types'
interface ElementFingerprint {
diff --git a/frontend/src/toolbar/elements/elementsLogic.ts b/frontend/src/toolbar/shared/elements/elementsLogic.ts
similarity index 97%
rename from frontend/src/toolbar/elements/elementsLogic.ts
rename to frontend/src/toolbar/shared/elements/elementsLogic.ts
index bea0997d855d..fe5384746654 100644
--- a/frontend/src/toolbar/elements/elementsLogic.ts
+++ b/frontend/src/toolbar/shared/elements/elementsLogic.ts
@@ -4,13 +4,13 @@ import { collectAllElementsDeep } from 'query-selector-shadow-dom'
import { EXPERIMENT_TARGET_SELECTOR } from 'lib/utils/actions'
import { debounce } from 'lib/utils/async'
-import { actionsLogic } from '~/toolbar/actions/actionsLogic'
-import { actionsTabLogic } from '~/toolbar/actions/actionsTabLogic'
-import { experimentsTabLogic } from '~/toolbar/experiments/experimentsTabLogic'
-import { currentPageLogic } from '~/toolbar/stats/currentPageLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { ActionElementWithMetadata, ActionForm, ElementWithMetadata } from '~/toolbar/types'
+import { actionsLogic } from '~/toolbar/shared/actions/actionsLogic'
+import { actionsTabLogic } from '~/toolbar/shared/actions/actionsTabLogic'
+import { experimentsTabLogic } from '~/toolbar/shared/experiments/experimentsTabLogic'
+import { currentPageLogic } from '~/toolbar/shared/stats/currentPageLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { ActionElementWithMetadata, ActionForm, ElementWithMetadata } from '~/toolbar/shared/types'
import { ActionType } from '~/types'
import { elementToActionStep, getAllClickTargets, getElementForStep, getRectForElement } from '../utils'
@@ -189,7 +189,7 @@ export interface elementsLogicMeta {
) => boolean
heatmapEnabled: (heatmapEnabled: boolean) => boolean
heatmapElements: (
- countedElements: import('~/toolbar/types').CountedHTMLElement[],
+ countedElements: import('~/toolbar/shared/types').CountedHTMLElement[],
rectUpdateCounter: number,
buttonVisible: boolean
) => ElementWithMetadata[]
@@ -225,14 +225,14 @@ export interface elementsLogicMeta {
actionElements: ElementWithMetadata[],
inspectElements: ElementWithMetadata[],
actionsListElements: ActionElementWithMetadata[],
- selectedAction: ActionType | null | import('~/toolbar/types').ActionDraftType
+ selectedAction: ActionType | null | import('~/toolbar/shared/types').ActionDraftType
) => ElementWithMetadata[]
elementsToDisplay: (elementsToDisplayRaw: ElementWithMetadata[]) => ElementWithMetadata[]
labelsToDisplay: (
displayActionElements: boolean,
actionElements: ElementWithMetadata[],
actionsListElements: ActionElementWithMetadata[],
- selectedAction: ActionType | null | import('~/toolbar/types').ActionDraftType
+ selectedAction: ActionType | null | import('~/toolbar/shared/types').ActionDraftType
) => ElementWithMetadata[]
selectedElementMeta: (
selectedElement: HTMLElement | null,
@@ -423,7 +423,7 @@ export const elementsLogic = kea<elementsLogicType>([
s.rectUpdateCounter,
toolbarConfigLogic.selectors.buttonVisible,
],
- (countedElements: import('~/toolbar/types').CountedHTMLElement[]) => {
+ (countedElements: import('~/toolbar/shared/types').CountedHTMLElement[]) => {
const windowHeight = window.innerHeight
const result: ElementWithMetadata[] = []
@@ -602,7 +602,7 @@ export const elementsLogic = kea<elementsLogicType>([
actionElements: ElementWithMetadata[],
inspectElements: ElementWithMetadata[],
actionsListElements: ActionElementWithMetadata[],
- selectedAction: ActionType | null | import('~/toolbar/types').ActionDraftType
+ selectedAction: ActionType | null | import('~/toolbar/shared/types').ActionDraftType
) => {
if (inspectElements.length > 0) {
return inspectElements
@@ -649,7 +649,7 @@ export const elementsLogic = kea<elementsLogicType>([
displayActionElements: boolean,
actionElements: ElementWithMetadata[],
actionsListElements: ActionElementWithMetadata[],
- selectedAction: ActionType | null | import('~/toolbar/types').ActionDraftType
+ selectedAction: ActionType | null | import('~/toolbar/shared/types').ActionDraftType
) => {
if (displayActionElements && selectedAction && actionElements.length > 0) {
return actionElements
diff --git a/frontend/src/toolbar/elements/heatmapToolbarMenuLogic.test.ts b/frontend/src/toolbar/shared/elements/heatmapToolbarMenuLogic.test.ts
similarity index 98%
rename from frontend/src/toolbar/elements/heatmapToolbarMenuLogic.test.ts
rename to frontend/src/toolbar/shared/elements/heatmapToolbarMenuLogic.test.ts
index 7044bc9ef508..530fe1341a78 100644
--- a/frontend/src/toolbar/elements/heatmapToolbarMenuLogic.test.ts
+++ b/frontend/src/toolbar/shared/elements/heatmapToolbarMenuLogic.test.ts
@@ -4,11 +4,11 @@ import { heatmapDataLogic } from 'lib/components/heatmaps/heatmapDataLogic'
import { resumeKeaLoadersErrors, silenceKeaLoadersErrors } from '~/initKea'
import { initKeaTests } from '~/test/init'
-import { currentPageLogic } from '~/toolbar/stats/currentPageLogic'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { ElementsEventType } from '~/toolbar/types'
-import { TOOLBAR_ROOT_ATTRIBUTE } from '~/toolbar/utils'
+import { currentPageLogic } from '~/toolbar/shared/stats/currentPageLogic'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { ElementsEventType } from '~/toolbar/shared/types'
+import { TOOLBAR_ROOT_ATTRIBUTE } from '~/toolbar/shared/utils'
import {
LOAD_ALL_MAX_PAGES,
diff --git a/frontend/src/toolbar/elements/heatmapToolbarMenuLogic.ts b/frontend/src/toolbar/shared/elements/heatmapToolbarMenuLogic.ts
similarity index 98%
rename from frontend/src/toolbar/elements/heatmapToolbarMenuLogic.ts
rename to frontend/src/toolbar/shared/elements/heatmapToolbarMenuLogic.ts
index 104c905f7157..0d6ca50f7d48 100644
--- a/frontend/src/toolbar/elements/heatmapToolbarMenuLogic.ts
+++ b/frontend/src/toolbar/shared/elements/heatmapToolbarMenuLogic.ts
@@ -36,14 +36,14 @@ import {
matchEventToElementUsingIndex,
matchEventToElementUsingSelectors,
matchIsChainConsistent,
-} from '~/toolbar/elements/domElementIndex'
-import { productToursLogic } from '~/toolbar/product-tours/productToursLogic'
-import { currentPageLogic } from '~/toolbar/stats/currentPageLogic'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { ToolbarRequestError } from '~/toolbar/toolbarRequestError'
-import { CountedHTMLElement, ElementsEventType } from '~/toolbar/types'
+} from '~/toolbar/shared/elements/domElementIndex'
+import { productToursLogic } from '~/toolbar/shared/product-tours/productToursLogic'
+import { currentPageLogic } from '~/toolbar/shared/stats/currentPageLogic'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { ToolbarRequestError } from '~/toolbar/shared/toolbarRequestError'
+import { CountedHTMLElement, ElementsEventType } from '~/toolbar/shared/types'
import {
elementIsVisible,
elementToActionStep,
@@ -51,11 +51,11 @@ import {
isInToolbarRoot,
invalidateZoomCache,
trimElement,
-} from '~/toolbar/utils'
+} from '~/toolbar/shared/utils'
import { AnyPropertyFilter, PropertyFilterType, PropertyOperator } from '~/types'
-import type { HrefMatchType } from '../../lib/components/heatmaps/heatmapDataLogic'
-import type { CommonFilters, HeatmapFilters, HeatmapFixedPositionMode } from '../../lib/components/heatmaps/types'
+import type { HrefMatchType } from '../../../lib/components/heatmaps/heatmapDataLogic'
+import type { CommonFilters, HeatmapFilters, HeatmapFixedPositionMode } from '../../../lib/components/heatmaps/types'
import type { HeatmapElement, HeatmapResponseType } from '../types'
export const doesVersionSupportScrollDepth = createVersionChecker('1.99')
diff --git a/frontend/src/toolbar/experiments/SelectorEditor.tsx b/frontend/src/toolbar/shared/experiments/SelectorEditor.tsx
similarity index 93%
rename from frontend/src/toolbar/experiments/SelectorEditor.tsx
rename to frontend/src/toolbar/shared/experiments/SelectorEditor.tsx
index 3095722b78ed..a14af761bb31 100644
--- a/frontend/src/toolbar/experiments/SelectorEditor.tsx
+++ b/frontend/src/toolbar/shared/experiments/SelectorEditor.tsx
@@ -6,8 +6,8 @@ import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
import { LemonModal } from 'lib/lemon-ui/LemonModal'
-import { SelectorCountContext } from '~/toolbar/actions/SelectorCountContext'
-import { useWebExperimentEditor } from '~/toolbar/experiments/webExperimentEditorContext'
+import { SelectorCountContext } from '~/toolbar/shared/actions/SelectorCountContext'
+import { useWebExperimentEditor } from '~/toolbar/shared/experiments/webExperimentEditorContext'
interface SelectorEditorProps {
selector: string | null
diff --git a/frontend/src/toolbar/experiments/WebExperimentTransformField.tsx b/frontend/src/toolbar/shared/experiments/WebExperimentTransformField.tsx
similarity index 93%
rename from frontend/src/toolbar/experiments/WebExperimentTransformField.tsx
rename to frontend/src/toolbar/shared/experiments/WebExperimentTransformField.tsx
index 7b6e403aae08..7b5ba337f9c8 100644
--- a/frontend/src/toolbar/experiments/WebExperimentTransformField.tsx
+++ b/frontend/src/toolbar/shared/experiments/WebExperimentTransformField.tsx
@@ -4,10 +4,10 @@ import { LemonLabel, LemonSelect } from '@posthog/lemon-ui'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonTextArea } from 'lib/lemon-ui/LemonTextArea/LemonTextArea'
-import { ElementSelectorButtonTypes, ElementSelectorType } from '~/toolbar/experiments/elementSelectorTypes'
-import { htmlSanitizationWouldStrip, styleSanitizationWouldStrip } from '~/toolbar/experiments/sanitize'
-import { useWebExperimentEditor } from '~/toolbar/experiments/webExperimentEditorContext'
-import { WebExperimentTransform } from '~/toolbar/types'
+import { ElementSelectorButtonTypes, ElementSelectorType } from '~/toolbar/shared/experiments/elementSelectorTypes'
+import { htmlSanitizationWouldStrip, styleSanitizationWouldStrip } from '~/toolbar/shared/experiments/sanitize'
+import { useWebExperimentEditor } from '~/toolbar/shared/experiments/webExperimentEditorContext'
+import { WebExperimentTransform } from '~/toolbar/shared/types'
interface WebExperimentTransformFieldProps {
variant: string
diff --git a/frontend/src/toolbar/experiments/WebExperimentTransformHeader.tsx b/frontend/src/toolbar/shared/experiments/WebExperimentTransformHeader.tsx
similarity index 88%
rename from frontend/src/toolbar/experiments/WebExperimentTransformHeader.tsx
rename to frontend/src/toolbar/shared/experiments/WebExperimentTransformHeader.tsx
index 059165885156..c3ef7a1c9448 100644
--- a/frontend/src/toolbar/experiments/WebExperimentTransformHeader.tsx
+++ b/frontend/src/toolbar/shared/experiments/WebExperimentTransformHeader.tsx
@@ -3,9 +3,9 @@ import { Tooltip } from '@posthog/lemon-ui'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
-import { SelectorCount } from '~/toolbar/actions/SelectorCount'
-import { useWebExperimentEditor } from '~/toolbar/experiments/webExperimentEditorContext'
-import { WebExperimentTransform } from '~/toolbar/types'
+import { SelectorCount } from '~/toolbar/shared/actions/SelectorCount'
+import { useWebExperimentEditor } from '~/toolbar/shared/experiments/webExperimentEditorContext'
+import { WebExperimentTransform } from '~/toolbar/shared/types'
import { SelectorEditor } from './SelectorEditor'
diff --git a/frontend/src/toolbar/experiments/WebExperimentVariant.tsx b/frontend/src/toolbar/shared/experiments/WebExperimentVariant.tsx
similarity index 91%
rename from frontend/src/toolbar/experiments/WebExperimentVariant.tsx
rename to frontend/src/toolbar/shared/experiments/WebExperimentVariant.tsx
index 889abe90a1af..ced3826367fa 100644
--- a/frontend/src/toolbar/experiments/WebExperimentVariant.tsx
+++ b/frontend/src/toolbar/shared/experiments/WebExperimentVariant.tsx
@@ -7,9 +7,9 @@ import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonCollapse } from 'lib/lemon-ui/LemonCollapse'
import { LemonInput } from 'lib/lemon-ui/LemonInput/LemonInput'
-import { useWebExperimentEditor } from '~/toolbar/experiments/webExperimentEditorContext'
-import { WebExperimentTransformField } from '~/toolbar/experiments/WebExperimentTransformField'
-import { WebExperimentTransformHeader } from '~/toolbar/experiments/WebExperimentTransformHeader'
+import { useWebExperimentEditor } from '~/toolbar/shared/experiments/webExperimentEditorContext'
+import { WebExperimentTransformField } from '~/toolbar/shared/experiments/WebExperimentTransformField'
+import { WebExperimentTransformHeader } from '~/toolbar/shared/experiments/WebExperimentTransformHeader'
interface WebExperimentVariantProps {
variant: string
diff --git a/frontend/src/toolbar/experiments/WebExperimentVariantHeader.tsx b/frontend/src/toolbar/shared/experiments/WebExperimentVariantHeader.tsx
similarity index 94%
rename from frontend/src/toolbar/experiments/WebExperimentVariantHeader.tsx
rename to frontend/src/toolbar/shared/experiments/WebExperimentVariantHeader.tsx
index 14b96a9fb284..a92117cdb7ce 100644
--- a/frontend/src/toolbar/experiments/WebExperimentVariantHeader.tsx
+++ b/frontend/src/toolbar/shared/experiments/WebExperimentVariantHeader.tsx
@@ -3,7 +3,7 @@ import { IconTrash } from '@posthog/icons'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { LemonTag } from 'lib/lemon-ui/LemonTag'
-import { useWebExperimentEditor } from '~/toolbar/experiments/webExperimentEditorContext'
+import { useWebExperimentEditor } from '~/toolbar/shared/experiments/webExperimentEditorContext'
interface WebExperimentVariantHeaderProps {
variant: string
diff --git a/frontend/src/toolbar/experiments/elementSelectorTypes.ts b/frontend/src/toolbar/shared/experiments/elementSelectorTypes.ts
similarity index 100%
rename from frontend/src/toolbar/experiments/elementSelectorTypes.ts
rename to frontend/src/toolbar/shared/experiments/elementSelectorTypes.ts
diff --git a/frontend/src/toolbar/experiments/experimentsLogic.test.ts b/frontend/src/toolbar/shared/experiments/experimentsLogic.test.ts
similarity index 96%
rename from frontend/src/toolbar/experiments/experimentsLogic.test.ts
rename to frontend/src/toolbar/shared/experiments/experimentsLogic.test.ts
index 1cb9b362215a..657047703d75 100644
--- a/frontend/src/toolbar/experiments/experimentsLogic.test.ts
+++ b/frontend/src/toolbar/shared/experiments/experimentsLogic.test.ts
@@ -6,13 +6,13 @@ jest.mock('lib/lemon-ui/LemonToast/LemonToast', () => ({
import { resumeKeaLoadersErrors, silenceKeaLoadersErrors } from '~/initKea'
import { initKeaTests } from '~/test/init'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { experimentsLogic } from './experimentsLogic'
// The toolbar logger mirrors intentional error/auth paths to the console (its job on
// customer pages); tests exercise those paths on purpose, so stub the boundary.
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
diff --git a/frontend/src/toolbar/experiments/experimentsLogic.ts b/frontend/src/toolbar/shared/experiments/experimentsLogic.ts
similarity index 97%
rename from frontend/src/toolbar/experiments/experimentsLogic.ts
rename to frontend/src/toolbar/shared/experiments/experimentsLogic.ts
index 69286a1a1daf..a12f944dea13 100644
--- a/frontend/src/toolbar/experiments/experimentsLogic.ts
+++ b/frontend/src/toolbar/shared/experiments/experimentsLogic.ts
@@ -4,8 +4,8 @@ import { loaders } from 'kea-loaders'
import { createFuse } from 'lib/utils/fuseSearch'
import { permanentlyMount } from 'lib/utils/kea-logic-builders'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { WebExperiment } from '~/toolbar/types'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { WebExperiment } from '~/toolbar/shared/types'
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface experimentsLogicValues {
diff --git a/frontend/src/toolbar/experiments/experimentsTabLogic.test.ts b/frontend/src/toolbar/shared/experiments/experimentsTabLogic.test.ts
similarity index 98%
rename from frontend/src/toolbar/experiments/experimentsTabLogic.test.ts
rename to frontend/src/toolbar/shared/experiments/experimentsTabLogic.test.ts
index 1a8c474b332f..c9e6a5106709 100644
--- a/frontend/src/toolbar/experiments/experimentsTabLogic.test.ts
+++ b/frontend/src/toolbar/shared/experiments/experimentsTabLogic.test.ts
@@ -8,21 +8,21 @@ jest.mock('lib/lemon-ui/LemonToast/LemonToast', () => ({
}))
// The failure-path tests intentionally exercise toolbarLogger, which logs to the console by design
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
import { useMocks } from '~/mocks/jest'
import { initKeaTests } from '~/test/init'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { experimentsLogic } from './experimentsLogic'
import { experimentsTabLogic } from './experimentsTabLogic'
// The toolbar logger mirrors intentional error/auth paths to the console (its job on
// customer pages); tests exercise those paths on purpose, so stub the boundary.
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
diff --git a/frontend/src/toolbar/experiments/experimentsTabLogic.tsx b/frontend/src/toolbar/shared/experiments/experimentsTabLogic.tsx
similarity index 97%
rename from frontend/src/toolbar/experiments/experimentsTabLogic.tsx
rename to frontend/src/toolbar/shared/experiments/experimentsTabLogic.tsx
index f08459167cf5..dde7197c2822 100644
--- a/frontend/src/toolbar/experiments/experimentsTabLogic.tsx
+++ b/frontend/src/toolbar/shared/experiments/experimentsTabLogic.tsx
@@ -6,24 +6,24 @@ import { subscriptions } from 'kea-subscriptions'
import { lemonToast } from 'lib/lemon-ui/LemonToast/LemonToast'
import { EXPERIMENT_TARGET_SELECTOR } from 'lib/utils/actions'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
-import { ElementSelectorType } from '~/toolbar/experiments/elementSelectorTypes'
-import { experimentsLogic } from '~/toolbar/experiments/experimentsLogic'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
+import { ElementSelectorType } from '~/toolbar/shared/experiments/elementSelectorTypes'
+import { experimentsLogic } from '~/toolbar/shared/experiments/experimentsLogic'
import {
sanitizeExperimentHTML,
sanitizeExperimentStyle,
setSanitizedHTML,
setSanitizedStyle,
-} from '~/toolbar/experiments/sanitize'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { WebExperiment, WebExperimentDraftType, WebExperimentForm } from '~/toolbar/types'
-import { urls } from '~/toolbar/urls'
-import { elementToQuery, isLaunched, joinWithUiHost, percentageDistribution } from '~/toolbar/utils'
+} from '~/toolbar/shared/experiments/sanitize'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { WebExperiment, WebExperimentDraftType, WebExperimentForm } from '~/toolbar/shared/types'
+import { urls } from '~/toolbar/shared/urls'
+import { elementToQuery, isLaunched, joinWithUiHost, percentageDistribution } from '~/toolbar/shared/utils'
import { Experiment, ExperimentIdType } from '~/types'
-import type { ToolbarUserIntent } from '../../types'
+import type { ToolbarUserIntent } from '../../../types'
function newExperiment(): WebExperimentForm {
return {
diff --git a/frontend/src/toolbar/experiments/sanitize.test.ts b/frontend/src/toolbar/shared/experiments/sanitize.test.ts
similarity index 100%
rename from frontend/src/toolbar/experiments/sanitize.test.ts
rename to frontend/src/toolbar/shared/experiments/sanitize.test.ts
diff --git a/frontend/src/toolbar/experiments/sanitize.ts b/frontend/src/toolbar/shared/experiments/sanitize.ts
similarity index 100%
rename from frontend/src/toolbar/experiments/sanitize.ts
rename to frontend/src/toolbar/shared/experiments/sanitize.ts
diff --git a/frontend/src/toolbar/experiments/webExperimentEditorContext.ts b/frontend/src/toolbar/shared/experiments/webExperimentEditorContext.ts
similarity index 96%
rename from frontend/src/toolbar/experiments/webExperimentEditorContext.ts
rename to frontend/src/toolbar/shared/experiments/webExperimentEditorContext.ts
index c98cd68e8713..2946754ae4d7 100644
--- a/frontend/src/toolbar/experiments/webExperimentEditorContext.ts
+++ b/frontend/src/toolbar/shared/experiments/webExperimentEditorContext.ts
@@ -1,6 +1,6 @@
import { createContext, useContext } from 'react'
-import type { WebExperimentVariant } from '~/toolbar/types'
+import type { WebExperimentVariant } from '~/toolbar/shared/types'
import type { ExperimentIdType } from '~/types'
import type { ElementSelectorType } from './elementSelectorTypes'
diff --git a/frontend/src/toolbar/field-notes/fieldNotesLogic.ts b/frontend/src/toolbar/shared/field-notes/fieldNotesLogic.ts
similarity index 96%
rename from frontend/src/toolbar/field-notes/fieldNotesLogic.ts
rename to frontend/src/toolbar/shared/field-notes/fieldNotesLogic.ts
index 2414a5077e65..a135f59eae06 100644
--- a/frontend/src/toolbar/field-notes/fieldNotesLogic.ts
+++ b/frontend/src/toolbar/shared/field-notes/fieldNotesLogic.ts
@@ -3,15 +3,15 @@ import { loaders } from 'kea-loaders'
import { lemonToast } from 'lib/lemon-ui/LemonToast'
-import { inferSelector } from '~/toolbar/product-tours/elementInference'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { isToolbarRequestError } from '~/toolbar/toolbarRequestError'
-import { ElementRect } from '~/toolbar/types'
-import { TOOLBAR_ID, elementToActionStep, getRectForElement, joinWithUiHost } from '~/toolbar/utils'
-import { captureAndUploadElementScreenshot } from '~/toolbar/utils/screenshot'
+import { inferSelector } from '~/toolbar/shared/product-tours/elementInference'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { isToolbarRequestError } from '~/toolbar/shared/toolbarRequestError'
+import { ElementRect } from '~/toolbar/shared/types'
+import { TOOLBAR_ID, elementToActionStep, getRectForElement, joinWithUiHost } from '~/toolbar/shared/utils'
+import { captureAndUploadElementScreenshot } from '~/toolbar/shared/utils/screenshot'
export interface PageContext {
url: string
diff --git a/frontend/src/toolbar/shared/flags/FeatureFlagRow.tsx b/frontend/src/toolbar/shared/flags/FeatureFlagRow.tsx
new file mode 100644
index 000000000000..05c924e2cf89
--- /dev/null
+++ b/frontend/src/toolbar/shared/flags/FeatureFlagRow.tsx
@@ -0,0 +1,132 @@
+import clsx from 'clsx'
+
+import { AnimatedCollapsible } from 'lib/components/AnimatedCollapsible'
+import { IconOpenInNew } from 'lib/lemon-ui/icons'
+import { LemonButton } from 'lib/lemon-ui/LemonButton'
+import { LemonRadio } from 'lib/lemon-ui/LemonRadio'
+import { LemonSwitch } from 'lib/lemon-ui/LemonSwitch'
+import { LemonTextArea } from 'lib/lemon-ui/LemonTextArea'
+import { Link } from 'lib/lemon-ui/Link'
+
+import type { FlagInfo } from './flagInfo'
+
+export interface FeatureFlagRowProps {
+ flag: FlagInfo
+ flagUrl: string
+ /** `null` while the payload editor is closed. */
+ payloadDraft: string | null
+ payloadError: string | null
+ /** Disables every change, for example while the page applies the last one. */
+ disabledReason: string | null
+ onSetOverride: (value: string | boolean) => void
+ onRemoveOverride: () => void
+ onOpenPayloadEditor: (initialDraft: string) => void
+ onPayloadDraftChange: (draft: string) => void
+ onSavePayload: () => void
+ onClosePayloadEditor: () => void
+ /** pinned: each form's `data-attr` values start with its own prefix */
+ dataAttrPrefix: string
+}
+
+export function FeatureFlagRow({
+ flag,
+ flagUrl,
+ payloadDraft,
+ payloadError,
+ disabledReason,
+ onSetOverride,
+ onRemoveOverride,
+ onOpenPayloadEditor,
+ onPayloadDraftChange,
+ onSavePayload,
+ onClosePayloadEditor,
+ dataAttrPrefix,
+}: FeatureFlagRowProps): JSX.Element {
+ const { key, value, currentValue, hasOverride, variants, payloadOverride } = flag
+ const hasPayloadOverride = payloadOverride !== null && payloadOverride !== undefined
+
+ // Choosing the value PostHog evaluates removes the override instead of pinning that value.
+ const choose = (newValue: string | boolean): void => {
+ if (newValue === value && hasOverride) {
+ onRemoveOverride()
+ } else {
+ onSetOverride(newValue)
+ }
+ }
+
+ return (
+ <div className={clsx('flex flex-col gap-1 rounded px-2 py-1', hasOverride && 'bg-fill-primary')}>
+ <div className="flex items-center gap-2">
+ <Link className="flex-1 min-w-0 truncate font-medium" to={flagUrl} target="_blank" subtle>
+ <span translate="no">{key}</span> <IconOpenInNew />
+ </Link>
+ <LemonButton
+ size="xsmall"
+ type="secondary"
+ onClick={() =>
+ onOpenPayloadEditor(hasPayloadOverride ? JSON.stringify(payloadOverride, null, 2) : '')
+ }
+ disabledReason={disabledReason ?? (currentValue ? null : 'Turn the flag on to edit its payload')}
+ data-attr={`${dataAttrPrefix}-edit-payload`}
+ >
+ Edit payload
+ </LemonButton>
+ <LemonSwitch
+ checked={!!currentValue}
+ disabledReason={disabledReason}
+ onChange={(checked) => choose(variants.length > 0 && checked ? variants[0].key : checked)}
+ data-attr={`${dataAttrPrefix}-toggle`}
+ />
+ </div>
+ <AnimatedCollapsible collapsed={!currentValue}>
+ <div className="flex flex-col gap-1">
+ {variants.length > 0 ? (
+ <LemonRadio
+ className="pl-4"
+ value={typeof currentValue === 'string' ? currentValue : undefined}
+ options={variants.map((variant) => ({
+ label: `${variant.key}${variant.name ? ` - ${variant.name}` : ''}${
+ variant.rolloutPercentage !== null ? ` (${variant.rolloutPercentage}%)` : ''
+ }`,
+ value: variant.key,
+ disabledReason: disabledReason ?? undefined,
+ }))}
+ onChange={choose}
+ />
+ ) : null}
+ {payloadDraft !== null ? (
+ <div className="flex items-start gap-2">
+ <LemonTextArea
+ className={clsx('flex-1 font-mono text-xs', payloadError && 'border-danger')}
+ value={payloadDraft}
+ onChange={onPayloadDraftChange}
+ placeholder='For example: "A string", 2500, {"key": "value"}'
+ minRows={2}
+ />
+ <div className="flex flex-col gap-1">
+ <LemonButton
+ size="xsmall"
+ type="primary"
+ center
+ disabledReason={disabledReason}
+ onClick={onSavePayload}
+ data-attr={`${dataAttrPrefix}-save-payload`}
+ >
+ Save
+ </LemonButton>
+ <LemonButton size="xsmall" center onClick={onClosePayloadEditor}>
+ Cancel
+ </LemonButton>
+ </div>
+ </div>
+ ) : hasPayloadOverride ? (
+ <div className="truncate font-mono text-xs text-secondary" translate="no">
+ {JSON.stringify(payloadOverride)}
+ </div>
+ ) : null}
+ {payloadError ? <div className="text-xs text-danger">{payloadError}</div> : null}
+ </div>
+ </AnimatedCollapsible>
+ </div>
+ )
+}
diff --git a/frontend/src/toolbar/shared/flags/flagInfo.ts b/frontend/src/toolbar/shared/flags/flagInfo.ts
new file mode 100644
index 000000000000..2fa5c5ab7e46
--- /dev/null
+++ b/frontend/src/toolbar/shared/flags/flagInfo.ts
@@ -0,0 +1,37 @@
+import type { flagsToolbarLogicValues } from './flagsToolbarLogic'
+
+type FilteredFlag = flagsToolbarLogicValues['filteredFlags'][number]
+
+/** One feature flag as the toolbar shows it, in a shape both forms can render and the extension can post. */
+export interface FlagInfo {
+ key: string
+ id: number | null
+ /** The value PostHog evaluates for the signed-in user. Choosing it again removes the override. */
+ value: string | boolean
+ currentValue: string | boolean
+ hasOverride: boolean
+ variants: { key: string; name: string | null; rolloutPercentage: number | null }[]
+ payloadOverride: unknown
+}
+
+export function toFlagInfo({
+ feature_flag,
+ value,
+ currentValue,
+ hasOverride,
+ payloadOverride,
+}: FilteredFlag): FlagInfo {
+ return {
+ key: feature_flag.key,
+ id: feature_flag.id ?? null,
+ value,
+ currentValue,
+ hasOverride,
+ variants: (feature_flag.filters?.multivariate?.variants ?? []).map((variant) => ({
+ key: variant.key,
+ name: variant.name ?? null,
+ rolloutPercentage: variant.rollout_percentage ?? null,
+ })),
+ payloadOverride: payloadOverride ?? null,
+ }
+}
diff --git a/frontend/src/toolbar/flags/flagsToolbarLogic.test.ts b/frontend/src/toolbar/shared/flags/flagsToolbarLogic.test.ts
similarity index 95%
rename from frontend/src/toolbar/flags/flagsToolbarLogic.test.ts
rename to frontend/src/toolbar/shared/flags/flagsToolbarLogic.test.ts
index d7987b0bd1f5..212fe5a8141b 100644
--- a/frontend/src/toolbar/flags/flagsToolbarLogic.test.ts
+++ b/frontend/src/toolbar/shared/flags/flagsToolbarLogic.test.ts
@@ -1,13 +1,13 @@
import { expectLogic } from 'kea-test-utils'
import { initKeaTests } from '~/test/init'
-import { flagsToolbarLogic } from '~/toolbar/flags/flagsToolbarLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { flagsToolbarLogic } from '~/toolbar/shared/flags/flagsToolbarLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { CombinedFeatureFlagAndValueType } from '~/types'
// The toolbar logger mirrors intentional error/auth paths to the console (its job on
// customer pages); tests exercise those paths on purpose, so stub the boundary.
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
diff --git a/frontend/src/toolbar/flags/flagsToolbarLogic.ts b/frontend/src/toolbar/shared/flags/flagsToolbarLogic.ts
similarity index 98%
rename from frontend/src/toolbar/flags/flagsToolbarLogic.ts
rename to frontend/src/toolbar/shared/flags/flagsToolbarLogic.ts
index 45b426a20059..193cc94ba52c 100644
--- a/frontend/src/toolbar/flags/flagsToolbarLogic.ts
+++ b/frontend/src/toolbar/shared/flags/flagsToolbarLogic.ts
@@ -5,13 +5,13 @@ import type { PostHog } from 'posthog-js'
import { createFuse } from 'lib/utils/fuseSearch'
import { permanentlyMount } from 'lib/utils/kea-logic-builders'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
import { CombinedFeatureFlagAndValueType } from '~/types'
-import type { FeatureFlagType } from '../../types'
+import type { FeatureFlagType } from '../../../types'
export type PayloadOverrides = Record<string, any>
diff --git a/frontend/src/toolbar/patch.ts b/frontend/src/toolbar/shared/patch.ts
similarity index 96%
rename from frontend/src/toolbar/patch.ts
rename to frontend/src/toolbar/shared/patch.ts
index c77139e503bd..a8173bc5e338 100644
--- a/frontend/src/toolbar/patch.ts
+++ b/frontend/src/toolbar/shared/patch.ts
@@ -2,7 +2,7 @@
// copied from https://github.com/rrweb-io/rrweb/blob/8aea5b00a4dfe5a6f59bd2ae72bb624f45e51e81/packages/rrweb/src/utils.ts#L129
// which was copied from https://github.com/getsentry/sentry-javascript/blob/b2109071975af8bf0316d3b5b38f519bdaf5dc15/packages/utils/src/object.ts
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
export function patch(
source: { [key: string]: any },
diff --git a/frontend/src/toolbar/product-tours/ElementHighlight.tsx b/frontend/src/toolbar/shared/product-tours/ElementHighlight.tsx
similarity index 97%
rename from frontend/src/toolbar/product-tours/ElementHighlight.tsx
rename to frontend/src/toolbar/shared/product-tours/ElementHighlight.tsx
index b51dc9bb7abb..176325133d49 100644
--- a/frontend/src/toolbar/product-tours/ElementHighlight.tsx
+++ b/frontend/src/toolbar/shared/product-tours/ElementHighlight.tsx
@@ -1,4 +1,4 @@
-import { ElementRect } from '~/toolbar/types'
+import { ElementRect } from '~/toolbar/shared/types'
export interface ElementHighlightProps {
rect: ElementRect
diff --git a/frontend/src/toolbar/product-tours/elementInference.ts b/frontend/src/toolbar/shared/product-tours/elementInference.ts
similarity index 98%
rename from frontend/src/toolbar/product-tours/elementInference.ts
rename to frontend/src/toolbar/shared/product-tours/elementInference.ts
index 0c2828656cf8..3b52586a496b 100644
--- a/frontend/src/toolbar/product-tours/elementInference.ts
+++ b/frontend/src/toolbar/shared/product-tours/elementInference.ts
@@ -2,9 +2,9 @@ import { querySelectorAllDeep } from 'query-selector-shadow-dom'
import { TAGS_TO_IGNORE } from 'lib/utils/actions'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException } from '~/toolbar/toolbarPosthogJS'
-import { TOOLBAR_ID, elementIsVisible, getParent } from '~/toolbar/utils'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException } from '~/toolbar/shared/toolbarPosthogJS'
+import { TOOLBAR_ID, elementIsVisible, getParent } from '~/toolbar/shared/utils'
export interface SelectorGroup {
cardinality: number
diff --git a/frontend/src/toolbar/product-tours/productToursLogic.ts b/frontend/src/toolbar/shared/product-tours/productToursLogic.ts
similarity index 98%
rename from frontend/src/toolbar/product-tours/productToursLogic.ts
rename to frontend/src/toolbar/shared/product-tours/productToursLogic.ts
index 8cb1f1f3dad6..1a1825a35fd5 100644
--- a/frontend/src/toolbar/product-tours/productToursLogic.ts
+++ b/frontend/src/toolbar/shared/product-tours/productToursLogic.ts
@@ -20,19 +20,19 @@ import {
hasIncompleteTargeting,
} from 'scenes/product-tours/stepUtils'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { ToolbarRequestError, isToolbarRequestError } from '~/toolbar/toolbarRequestError'
-import { ElementRect } from '~/toolbar/types'
-import { urls } from '~/toolbar/urls'
-import { TOOLBAR_ID, elementToActionStep, getRectForElement, joinWithUiHost } from '~/toolbar/utils'
-import { captureAndUploadElementScreenshot } from '~/toolbar/utils/screenshot'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { ToolbarRequestError, isToolbarRequestError } from '~/toolbar/shared/toolbarRequestError'
+import { ElementRect } from '~/toolbar/shared/types'
+import { urls } from '~/toolbar/shared/urls'
+import { TOOLBAR_ID, elementToActionStep, getRectForElement, joinWithUiHost } from '~/toolbar/shared/utils'
+import { captureAndUploadElementScreenshot } from '~/toolbar/shared/utils/screenshot'
import { ProductTour, ProductTourStep, ProductTourStepType } from '~/types'
-import type { ToolbarUserIntent } from '../../types'
+import type { ToolbarUserIntent } from '../../../types'
import { inferSelector } from './elementInference'
import { PRODUCT_TOURS_SIDEBAR_TRANSITION_MS } from './utils'
diff --git a/frontend/src/toolbar/product-tours/utils.ts b/frontend/src/toolbar/shared/product-tours/utils.ts
similarity index 96%
rename from frontend/src/toolbar/product-tours/utils.ts
rename to frontend/src/toolbar/shared/product-tours/utils.ts
index 9608433f4bb9..3a3db1a58f1a 100644
--- a/frontend/src/toolbar/product-tours/utils.ts
+++ b/frontend/src/toolbar/shared/product-tours/utils.ts
@@ -1,5 +1,5 @@
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { TOOLBAR_ID, elementToQuery } from '~/toolbar/utils'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { TOOLBAR_ID, elementToQuery } from '~/toolbar/shared/utils'
export const PRODUCT_TOURS_SIDEBAR_TRANSITION_MS = 200
diff --git a/frontend/src/toolbar/screenshot-upload/screenshotUploadLogic.ts b/frontend/src/toolbar/shared/screenshot-upload/screenshotUploadLogic.ts
similarity index 96%
rename from frontend/src/toolbar/screenshot-upload/screenshotUploadLogic.ts
rename to frontend/src/toolbar/shared/screenshot-upload/screenshotUploadLogic.ts
index cdcf9f05f323..42073bb217cd 100644
--- a/frontend/src/toolbar/screenshot-upload/screenshotUploadLogic.ts
+++ b/frontend/src/toolbar/shared/screenshot-upload/screenshotUploadLogic.ts
@@ -3,11 +3,11 @@ import { loaders } from 'kea-loaders'
import { lemonToast } from 'lib/lemon-ui/LemonToast'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { ToolbarRequestError } from '~/toolbar/toolbarRequestError'
-import { safeFetch } from '~/toolbar/utils'
-import { captureElementScreenshot, uploadScreenshot } from '~/toolbar/utils/screenshot'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { ToolbarRequestError } from '~/toolbar/shared/toolbarRequestError'
+import { safeFetch } from '~/toolbar/shared/utils'
+import { captureElementScreenshot, uploadScreenshot } from '~/toolbar/shared/utils/screenshot'
import { EventDefinition } from '~/types'
export interface ScreenshotUploadLogicProps {
diff --git a/frontend/src/toolbar/shims/featureFlagLogic.ts b/frontend/src/toolbar/shared/shims/featureFlagLogic.ts
similarity index 100%
rename from frontend/src/toolbar/shims/featureFlagLogic.ts
rename to frontend/src/toolbar/shared/shims/featureFlagLogic.ts
diff --git a/frontend/src/toolbar/shims/membersLogic.ts b/frontend/src/toolbar/shared/shims/membersLogic.ts
similarity index 100%
rename from frontend/src/toolbar/shims/membersLogic.ts
rename to frontend/src/toolbar/shared/shims/membersLogic.ts
diff --git a/frontend/src/toolbar/shims/sceneLogic.ts b/frontend/src/toolbar/shared/shims/sceneLogic.ts
similarity index 100%
rename from frontend/src/toolbar/shims/sceneLogic.ts
rename to frontend/src/toolbar/shared/shims/sceneLogic.ts
diff --git a/frontend/src/toolbar/shims/shimConsumerIntegration.test.ts b/frontend/src/toolbar/shared/shims/shimConsumerIntegration.test.ts
similarity index 94%
rename from frontend/src/toolbar/shims/shimConsumerIntegration.test.ts
rename to frontend/src/toolbar/shared/shims/shimConsumerIntegration.test.ts
index 87ed50327ff6..f8475e0e0106 100644
--- a/frontend/src/toolbar/shims/shimConsumerIntegration.test.ts
+++ b/frontend/src/toolbar/shared/shims/shimConsumerIntegration.test.ts
@@ -1,8 +1,8 @@
-jest.mock('scenes/userLogic', () => require('~/toolbar/shims/userLogic'))
-jest.mock('scenes/organization/membersLogic', () => require('~/toolbar/shims/membersLogic'))
-jest.mock('scenes/sceneLogic', () => require('~/toolbar/shims/sceneLogic'))
-jest.mock('scenes/teamLogic', () => require('~/toolbar/shims/teamLogic'))
-jest.mock('lib/logic/featureFlagLogic', () => require('~/toolbar/shims/featureFlagLogic'))
+jest.mock('scenes/userLogic', () => require('~/toolbar/shared/shims/userLogic'))
+jest.mock('scenes/organization/membersLogic', () => require('~/toolbar/shared/shims/membersLogic'))
+jest.mock('scenes/sceneLogic', () => require('~/toolbar/shared/shims/sceneLogic'))
+jest.mock('scenes/teamLogic', () => require('~/toolbar/shared/shims/teamLogic'))
+jest.mock('lib/logic/featureFlagLogic', () => require('~/toolbar/shared/shims/featureFlagLogic'))
jest.mock('lib/api', () => ({
__esModule: true,
default: { get: jest.fn().mockResolvedValue(null), update: jest.fn().mockResolvedValue(null) },
@@ -11,7 +11,7 @@ jest.mock('lib/api', () => ({
import { expectLogic } from 'kea-test-utils'
import { initKeaTests } from '~/test/init'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import { AppContext } from '~/types'
global.fetch = jest.fn(() =>
diff --git a/frontend/src/toolbar/shims/shims.test.ts b/frontend/src/toolbar/shared/shims/shims.test.ts
similarity index 100%
rename from frontend/src/toolbar/shims/shims.test.ts
rename to frontend/src/toolbar/shared/shims/shims.test.ts
diff --git a/frontend/src/toolbar/shims/surveyQuestionLabelsLogic.ts b/frontend/src/toolbar/shared/shims/surveyQuestionLabelsLogic.ts
similarity index 100%
rename from frontend/src/toolbar/shims/surveyQuestionLabelsLogic.ts
rename to frontend/src/toolbar/shared/shims/surveyQuestionLabelsLogic.ts
diff --git a/frontend/src/toolbar/shims/teamLogic.ts b/frontend/src/toolbar/shared/shims/teamLogic.ts
similarity index 100%
rename from frontend/src/toolbar/shims/teamLogic.ts
rename to frontend/src/toolbar/shared/shims/teamLogic.ts
diff --git a/frontend/src/toolbar/shims/userLogic.ts b/frontend/src/toolbar/shared/shims/userLogic.ts
similarity index 100%
rename from frontend/src/toolbar/shims/userLogic.ts
rename to frontend/src/toolbar/shared/shims/userLogic.ts
diff --git a/frontend/src/toolbar/stats/currentPageLogic.test.ts b/frontend/src/toolbar/shared/stats/currentPageLogic.test.ts
similarity index 95%
rename from frontend/src/toolbar/stats/currentPageLogic.test.ts
rename to frontend/src/toolbar/shared/stats/currentPageLogic.test.ts
index 4477a2464ef5..6bb08b116e46 100644
--- a/frontend/src/toolbar/stats/currentPageLogic.test.ts
+++ b/frontend/src/toolbar/shared/stats/currentPageLogic.test.ts
@@ -1,4 +1,8 @@
-import { endsWithTrailingSlash, isTooSpecificWildcardHref, withoutPostHogInit } from '~/toolbar/stats/currentPageLogic'
+import {
+ endsWithTrailingSlash,
+ isTooSpecificWildcardHref,
+ withoutPostHogInit,
+} from '~/toolbar/shared/stats/currentPageLogic'
const posthogInitHashParam =
'__posthog={%22action%22:%20%22ph_authorize%22,%20%22token%22:%20%the-ph-token%22,%20%22temporaryToken%22:%20%the-posthog-token%22,%20%22actionId%22:%20null,%20%22userIntent%22:%20%22heatmaps%22,%20%22toolbarVersion%22:%20%22toolbar%22,%20%22apiURL%22:%20%22https://eu.posthog.com%22,%20%22dataAttributes%22:%20[%22data-attr%22],%20%22instrument%22:%20true,%20%22userEmail%22:%20%[email protected]%22,%20%22distinctId%22:%20%the-distinct-id%22}'
diff --git a/frontend/src/toolbar/stats/currentPageLogic.ts b/frontend/src/toolbar/shared/stats/currentPageLogic.ts
similarity index 98%
rename from frontend/src/toolbar/stats/currentPageLogic.ts
rename to frontend/src/toolbar/shared/stats/currentPageLogic.ts
index bec30b62f8ad..209d896f3dae 100644
--- a/frontend/src/toolbar/stats/currentPageLogic.ts
+++ b/frontend/src/toolbar/shared/stats/currentPageLogic.ts
@@ -1,6 +1,6 @@
import { MakeLogicType, actions, afterMount, kea, listeners, path, reducers, selectors } from 'kea'
-import { makeNavigateWrapper } from '~/toolbar/utils'
+import { makeNavigateWrapper } from '~/toolbar/shared/utils'
const replaceWithWildcard = (part: string): string => {
// replace uuids
diff --git a/frontend/src/toolbar/stats/heatmapCaptureLogic.test.ts b/frontend/src/toolbar/shared/stats/heatmapCaptureLogic.test.ts
similarity index 93%
rename from frontend/src/toolbar/stats/heatmapCaptureLogic.test.ts
rename to frontend/src/toolbar/shared/stats/heatmapCaptureLogic.test.ts
index 8eede44365cf..05d9cb5a2fdb 100644
--- a/frontend/src/toolbar/stats/heatmapCaptureLogic.test.ts
+++ b/frontend/src/toolbar/shared/stats/heatmapCaptureLogic.test.ts
@@ -2,25 +2,25 @@ import { expectLogic } from 'kea-test-utils'
import { resumeKeaLoadersErrors, silenceKeaLoadersErrors } from '~/initKea'
import { initKeaTests } from '~/test/init'
-import { currentPageLogic } from '~/toolbar/stats/currentPageLogic'
-import { heatmapCaptureLogic } from '~/toolbar/stats/heatmapCaptureLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { currentPageLogic } from '~/toolbar/shared/stats/currentPageLogic'
+import { heatmapCaptureLogic } from '~/toolbar/shared/stats/heatmapCaptureLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
-jest.mock('~/toolbar/utils/screenshot', () => ({
+jest.mock('~/toolbar/shared/utils/screenshot', () => ({
captureElementScreenshot: jest.fn(() => Promise.resolve(new Blob(['fake-image'], { type: 'image/jpeg' }))),
}))
jest.mock('lib/lemon-ui/LemonToast', () => ({
lemonToast: { success: jest.fn(), warning: jest.fn(), error: jest.fn() },
}))
-jest.mock('~/toolbar/utils/responsiveScreenshot', () => ({
+jest.mock('~/toolbar/shared/utils/responsiveScreenshot', () => ({
RESPONSIVE_CAPTURE_WIDTHS: [320, 768, 1440],
captureResponsiveScreenshots: jest.fn(),
}))
-const { captureResponsiveScreenshots } = jest.requireMock('~/toolbar/utils/responsiveScreenshot')
+const { captureResponsiveScreenshots } = jest.requireMock('~/toolbar/shared/utils/responsiveScreenshot')
const { lemonToast } = jest.requireMock('lib/lemon-ui/LemonToast')
const jpeg = (): Blob => new Blob(['fake-image'], { type: 'image/jpeg' })
diff --git a/frontend/src/toolbar/stats/heatmapCaptureLogic.ts b/frontend/src/toolbar/shared/stats/heatmapCaptureLogic.ts
similarity index 92%
rename from frontend/src/toolbar/stats/heatmapCaptureLogic.ts
rename to frontend/src/toolbar/shared/stats/heatmapCaptureLogic.ts
index f77acf889dc0..bd97574c0b10 100644
--- a/frontend/src/toolbar/stats/heatmapCaptureLogic.ts
+++ b/frontend/src/toolbar/shared/stats/heatmapCaptureLogic.ts
@@ -3,19 +3,19 @@ import { loaders } from 'kea-loaders'
import { lemonToast } from 'lib/lemon-ui/LemonToast'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
-import { currentPageLogic } from '~/toolbar/stats/currentPageLogic'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { ToolbarRequestError } from '~/toolbar/toolbarRequestError'
-import { urls } from '~/toolbar/urls'
-import { joinWithUiHost } from '~/toolbar/utils'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
+import { currentPageLogic } from '~/toolbar/shared/stats/currentPageLogic'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { ToolbarRequestError } from '~/toolbar/shared/toolbarRequestError'
+import { urls } from '~/toolbar/shared/urls'
+import { joinWithUiHost } from '~/toolbar/shared/utils'
import {
RESPONSIVE_CAPTURE_WIDTHS,
WidthCapture,
captureResponsiveScreenshots,
-} from '~/toolbar/utils/responsiveScreenshot'
-import { captureElementScreenshot } from '~/toolbar/utils/screenshot'
+} from '~/toolbar/shared/utils/responsiveScreenshot'
+import { captureElementScreenshot } from '~/toolbar/shared/utils/screenshot'
interface HeatmapCaptureResult {
id: string
diff --git a/frontend/src/toolbar/styles.scss b/frontend/src/toolbar/shared/styles.scss
similarity index 99%
rename from frontend/src/toolbar/styles.scss
rename to frontend/src/toolbar/shared/styles.scss
index bf58278a825f..2d05542c0fb3 100644
--- a/frontend/src/toolbar/styles.scss
+++ b/frontend/src/toolbar/shared/styles.scss
@@ -1,4 +1,4 @@
-@import '../styles/base';
+@import '../../styles/base';
*,
*::before,
diff --git a/frontend/src/toolbar/toolbarApi.ts b/frontend/src/toolbar/shared/toolbarApi.ts
similarity index 98%
rename from frontend/src/toolbar/toolbarApi.ts
rename to frontend/src/toolbar/shared/toolbarApi.ts
index 5dbdf65bb730..ac64a441146f 100644
--- a/frontend/src/toolbar/toolbarApi.ts
+++ b/frontend/src/toolbar/shared/toolbarApi.ts
@@ -3,10 +3,10 @@ import { encodeParams } from 'kea-router'
import type { PaginatedResponse } from 'lib/api'
import { lemonToast } from 'lib/lemon-ui/LemonToast/LemonToast'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarFetch } from '~/toolbar/toolbarFetch'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import type { ElementsEventType, WebExperiment } from '~/toolbar/types'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarFetch } from '~/toolbar/shared/toolbarFetch'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import type { ElementsEventType, WebExperiment } from '~/toolbar/shared/types'
import type { ActionType, CombinedFeatureFlagAndValueType, EventDefinition, ProductTour } from '~/types'
/**
diff --git a/frontend/src/toolbar/toolbarAuth.ts b/frontend/src/toolbar/shared/toolbarAuth.ts
similarity index 96%
rename from frontend/src/toolbar/toolbarAuth.ts
rename to frontend/src/toolbar/shared/toolbarAuth.ts
index f0158adfd7ef..02ea39173f6a 100644
--- a/frontend/src/toolbar/toolbarAuth.ts
+++ b/frontend/src/toolbar/shared/toolbarAuth.ts
@@ -1,9 +1,9 @@
import { lemonToast } from 'lib/lemon-ui/LemonToast/LemonToast'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
-import { ToolbarRequestError, isToolbarRequestError } from '~/toolbar/toolbarRequestError'
-import { asNonEmptyString, safeFetch } from '~/toolbar/utils'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
+import { ToolbarRequestError, isToolbarRequestError } from '~/toolbar/shared/toolbarRequestError'
+import { asNonEmptyString, safeFetch } from '~/toolbar/shared/utils'
import { toolbarConfigLogic } from './toolbarConfigLogic'
diff --git a/frontend/src/toolbar/toolbarConfigLogic.test.ts b/frontend/src/toolbar/shared/toolbarConfigLogic.test.ts
similarity index 99%
rename from frontend/src/toolbar/toolbarConfigLogic.test.ts
rename to frontend/src/toolbar/shared/toolbarConfigLogic.test.ts
index eef00405603c..6f3115467e71 100644
--- a/frontend/src/toolbar/toolbarConfigLogic.test.ts
+++ b/frontend/src/toolbar/shared/toolbarConfigLogic.test.ts
@@ -2,13 +2,18 @@ import { expectLogic } from 'kea-test-utils'
import { resumeKeaLoadersErrors, silenceKeaLoadersErrors } from '~/initKea'
import { initKeaTests } from '~/test/init'
-import { canonicalizeApiHost, canonicalizeUiHost, toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { toolbarFetch, toolbarUploadMedia } from '~/toolbar/toolbarFetch'
-import { cleanToolbarAuthHash, OAUTH_LOCALSTORAGE_KEY, PKCE_STORAGE_KEY, readToolbarAuthHash } from '~/toolbar/utils'
+import { canonicalizeApiHost, canonicalizeUiHost, toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { toolbarFetch, toolbarUploadMedia } from '~/toolbar/shared/toolbarFetch'
+import {
+ cleanToolbarAuthHash,
+ OAUTH_LOCALSTORAGE_KEY,
+ PKCE_STORAGE_KEY,
+ readToolbarAuthHash,
+} from '~/toolbar/shared/utils'
// The toolbar logger mirrors intentional error/auth paths to the console (its job on
// customer pages); tests exercise those paths on purpose, so stub the boundary.
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
diff --git a/frontend/src/toolbar/toolbarConfigLogic.ts b/frontend/src/toolbar/shared/toolbarConfigLogic.ts
similarity index 99%
rename from frontend/src/toolbar/toolbarConfigLogic.ts
rename to frontend/src/toolbar/shared/toolbarConfigLogic.ts
index 04bd4c76e517..868472a2778b 100644
--- a/frontend/src/toolbar/toolbarConfigLogic.ts
+++ b/frontend/src/toolbar/shared/toolbarConfigLogic.ts
@@ -14,11 +14,11 @@ import type { PostHog } from 'posthog-js/dist/module'
import { lemonToast } from 'lib/lemon-ui/LemonToast/LemonToast'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException, toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
import { TOOLBAR_USER_INTENTS, ToolbarProps, ToolbarUserIntent } from '~/types'
-import type { ExperimentIdType } from '../types'
+import type { ExperimentIdType } from '../../types'
import {
asNonEmptyString,
cleanToolbarAuthHash,
diff --git a/frontend/src/toolbar/toolbarEntitlementsLogic.test.ts b/frontend/src/toolbar/shared/toolbarEntitlementsLogic.test.ts
similarity index 94%
rename from frontend/src/toolbar/toolbarEntitlementsLogic.test.ts
rename to frontend/src/toolbar/shared/toolbarEntitlementsLogic.test.ts
index 0d87535ea324..6b2e7a5b8786 100644
--- a/frontend/src/toolbar/toolbarEntitlementsLogic.test.ts
+++ b/frontend/src/toolbar/shared/toolbarEntitlementsLogic.test.ts
@@ -2,18 +2,18 @@ import { expectLogic } from 'kea-test-utils'
import { useMocks } from '~/mocks/jest'
import { initKeaTests } from '~/test/init'
-import { toolbarLogic } from '~/toolbar/bar/toolbarLogic'
-import { heatmapToolbarMenuLogic } from '~/toolbar/elements/heatmapToolbarMenuLogic'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarLogic } from '~/toolbar/shared/bar/toolbarLogic'
+import { heatmapToolbarMenuLogic } from '~/toolbar/shared/elements/heatmapToolbarMenuLogic'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
import {
ToolbarEntitlements,
ToolbarFeatureGateStatus,
isToolbarFeatureGated,
toolbarEntitlementsLogic,
toolbarFeatureGateStatus,
-} from '~/toolbar/toolbarEntitlementsLogic'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+} from '~/toolbar/shared/toolbarEntitlementsLogic'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
import { AvailableFeature } from '~/types'
describe('toolbarEntitlementsLogic', () => {
diff --git a/frontend/src/toolbar/toolbarEntitlementsLogic.ts b/frontend/src/toolbar/shared/toolbarEntitlementsLogic.ts
similarity index 96%
rename from frontend/src/toolbar/toolbarEntitlementsLogic.ts
rename to frontend/src/toolbar/shared/toolbarEntitlementsLogic.ts
index 1207b40a7dd3..8d37387ec646 100644
--- a/frontend/src/toolbar/toolbarEntitlementsLogic.ts
+++ b/frontend/src/toolbar/shared/toolbarEntitlementsLogic.ts
@@ -5,11 +5,11 @@ import { FeatureFlagKey } from 'lib/constants'
import { permanentlyMount } from 'lib/utils/kea-logic-builders'
import type { ToolbarEntitlementsApiEntitlements } from '~/generated/core/api.schemas'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
-import { captureToolbarApiRequest } from '~/toolbar/toolbarFetch'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { toolbarPosthogJS, useToolbarFeatureFlag } from '~/toolbar/toolbarPosthogJS'
-import { safeFetch } from '~/toolbar/utils'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
+import { captureToolbarApiRequest } from '~/toolbar/shared/toolbarFetch'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { toolbarPosthogJS, useToolbarFeatureFlag } from '~/toolbar/shared/toolbarPosthogJS'
+import { safeFetch } from '~/toolbar/shared/utils'
import { AvailableFeature } from '~/types'
export type ToolbarEntitlements = ToolbarEntitlementsApiEntitlements
diff --git a/frontend/src/toolbar/toolbarFetch.ts b/frontend/src/toolbar/shared/toolbarFetch.ts
similarity index 98%
rename from frontend/src/toolbar/toolbarFetch.ts
rename to frontend/src/toolbar/shared/toolbarFetch.ts
index c4dc5127b49c..224d8a449575 100644
--- a/frontend/src/toolbar/toolbarFetch.ts
+++ b/frontend/src/toolbar/shared/toolbarFetch.ts
@@ -1,7 +1,7 @@
import { combineUrl, encodeParams } from 'kea-router'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
import { withTokenRefresh } from './toolbarAuth'
import { toolbarConfigLogic } from './toolbarConfigLogic'
diff --git a/frontend/src/toolbar/toolbarLogger.ts b/frontend/src/toolbar/shared/toolbarLogger.ts
similarity index 98%
rename from frontend/src/toolbar/toolbarLogger.ts
rename to frontend/src/toolbar/shared/toolbarLogger.ts
index 43752e353721..de511cee4da6 100644
--- a/frontend/src/toolbar/toolbarLogger.ts
+++ b/frontend/src/toolbar/shared/toolbarLogger.ts
@@ -1,4 +1,4 @@
-import { toolbarPosthogJS } from '~/toolbar/toolbarPosthogJS'
+import { toolbarPosthogJS } from '~/toolbar/shared/toolbarPosthogJS'
type LogLevel = 'info' | 'warn' | 'error' | 'debug'
diff --git a/frontend/src/toolbar/toolbarPosthogJS.ts b/frontend/src/toolbar/shared/toolbarPosthogJS.ts
similarity index 100%
rename from frontend/src/toolbar/toolbarPosthogJS.ts
rename to frontend/src/toolbar/shared/toolbarPosthogJS.ts
diff --git a/frontend/src/toolbar/toolbarRequestError.ts b/frontend/src/toolbar/shared/toolbarRequestError.ts
similarity index 100%
rename from frontend/src/toolbar/toolbarRequestError.ts
rename to frontend/src/toolbar/shared/toolbarRequestError.ts
diff --git a/frontend/src/toolbar/types.ts b/frontend/src/toolbar/shared/types.ts
similarity index 100%
rename from frontend/src/toolbar/types.ts
rename to frontend/src/toolbar/shared/types.ts
diff --git a/frontend/src/toolbar/urls.test.ts b/frontend/src/toolbar/shared/urls.test.ts
similarity index 96%
rename from frontend/src/toolbar/urls.test.ts
rename to frontend/src/toolbar/shared/urls.test.ts
index 29a3c72acb01..423c9055a3b7 100644
--- a/frontend/src/toolbar/urls.test.ts
+++ b/frontend/src/toolbar/shared/urls.test.ts
@@ -3,7 +3,7 @@
// its path shape), which would break every "open in PostHog" link the toolbar renders.
import { urls as appUrls } from 'scenes/urls'
-import { urls as toolbarUrls } from '~/toolbar/urls'
+import { urls as toolbarUrls } from '~/toolbar/shared/urls'
describe('toolbar urls duplicate', () => {
// Every helper in ~/toolbar/urls needs sample args here — the completeness test enforces it.
diff --git a/frontend/src/toolbar/urls.ts b/frontend/src/toolbar/shared/urls.ts
similarity index 100%
rename from frontend/src/toolbar/urls.ts
rename to frontend/src/toolbar/shared/urls.ts
diff --git a/frontend/src/toolbar/utils.test.ts b/frontend/src/toolbar/shared/utils.test.ts
similarity index 100%
rename from frontend/src/toolbar/utils.test.ts
rename to frontend/src/toolbar/shared/utils.test.ts
diff --git a/frontend/src/toolbar/utils.ts b/frontend/src/toolbar/shared/utils.ts
similarity index 99%
rename from frontend/src/toolbar/utils.ts
rename to frontend/src/toolbar/shared/utils.ts
index f17c3bcc52b9..0a89ac597aab 100644
--- a/frontend/src/toolbar/utils.ts
+++ b/frontend/src/toolbar/shared/utils.ts
@@ -3,11 +3,11 @@ import { CSSProperties } from 'react'
import { CLICK_TARGETS, CLICK_TARGET_SELECTOR, TAGS_TO_IGNORE, escapeRegex } from 'lib/utils/actions'
-import { patch } from '~/toolbar/patch'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException } from '~/toolbar/toolbarPosthogJS'
-import { ActionStepForm, ElementRect } from '~/toolbar/types'
-import { finder } from '~/toolbar/vendor/finder'
+import { patch } from '~/toolbar/shared/patch'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException } from '~/toolbar/shared/toolbarPosthogJS'
+import { ActionStepForm, ElementRect } from '~/toolbar/shared/types'
+import { finder } from '~/toolbar/shared/vendor/finder'
import { Experiment, ActionStepType, ExperimentStatus } from '~/types'
import { ActionStepPropertyKey } from './actions/ActionStep'
diff --git a/frontend/src/toolbar/utils/responsiveScreenshot.test.ts b/frontend/src/toolbar/shared/utils/responsiveScreenshot.test.ts
similarity index 87%
rename from frontend/src/toolbar/utils/responsiveScreenshot.test.ts
rename to frontend/src/toolbar/shared/utils/responsiveScreenshot.test.ts
index 74322d655d46..ccab33fd14c2 100644
--- a/frontend/src/toolbar/utils/responsiveScreenshot.test.ts
+++ b/frontend/src/toolbar/shared/utils/responsiveScreenshot.test.ts
@@ -1,20 +1,20 @@
import { BLANK_IMAGE } from 'lib/utils/captureElementImage'
-import { captureResponsiveScreenshots } from '~/toolbar/utils/responsiveScreenshot'
+import { captureResponsiveScreenshots } from '~/toolbar/shared/utils/responsiveScreenshot'
-jest.mock('~/toolbar/utils/screenshot', () => ({
+jest.mock('~/toolbar/shared/utils/screenshot', () => ({
captureElementScreenshot: jest.fn(() => Promise.reject(new Error('capture failed'))),
}))
-jest.mock('~/toolbar/toolbarPosthogJS', () => ({
+jest.mock('~/toolbar/shared/toolbarPosthogJS', () => ({
captureToolbarException: jest.fn(),
}))
-jest.mock('~/toolbar/toolbarLogger', () => ({
+jest.mock('~/toolbar/shared/toolbarLogger', () => ({
toolbarLogger: { debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() },
}))
-const { captureElementScreenshot } = jest.requireMock('~/toolbar/utils/screenshot')
-const { captureToolbarException } = jest.requireMock('~/toolbar/toolbarPosthogJS')
-const { toolbarLogger } = jest.requireMock('~/toolbar/toolbarLogger')
+const { captureElementScreenshot } = jest.requireMock('~/toolbar/shared/utils/screenshot')
+const { captureToolbarException } = jest.requireMock('~/toolbar/shared/toolbarPosthogJS')
+const { toolbarLogger } = jest.requireMock('~/toolbar/shared/toolbarLogger')
describe('captureResponsiveScreenshots', () => {
beforeEach(() => {
diff --git a/frontend/src/toolbar/utils/responsiveScreenshot.ts b/frontend/src/toolbar/shared/utils/responsiveScreenshot.ts
similarity index 96%
rename from frontend/src/toolbar/utils/responsiveScreenshot.ts
rename to frontend/src/toolbar/shared/utils/responsiveScreenshot.ts
index 968cb26a1b98..f36cbda95441 100644
--- a/frontend/src/toolbar/utils/responsiveScreenshot.ts
+++ b/frontend/src/toolbar/shared/utils/responsiveScreenshot.ts
@@ -1,10 +1,10 @@
import { delay } from 'lib/utils/async'
import { BLANK_IMAGE } from 'lib/utils/captureElementImage'
-import { toolbarLogger } from '~/toolbar/toolbarLogger'
-import { captureToolbarException } from '~/toolbar/toolbarPosthogJS'
-import { TOOLBAR_ROOT_ATTRIBUTE, toError } from '~/toolbar/utils'
-import { captureElementScreenshot } from '~/toolbar/utils/screenshot'
+import { toolbarLogger } from '~/toolbar/shared/toolbarLogger'
+import { captureToolbarException } from '~/toolbar/shared/toolbarPosthogJS'
+import { TOOLBAR_ROOT_ATTRIBUTE, toError } from '~/toolbar/shared/utils'
+import { captureElementScreenshot } from '~/toolbar/shared/utils/screenshot'
export const RESPONSIVE_CAPTURE_WIDTHS = [320, 375, 425, 768, 1024, 1440, 1920]
diff --git a/frontend/src/toolbar/utils/screenshot.test.ts b/frontend/src/toolbar/shared/utils/screenshot.test.ts
similarity index 95%
rename from frontend/src/toolbar/utils/screenshot.test.ts
rename to frontend/src/toolbar/shared/utils/screenshot.test.ts
index 3475766372a4..c565a2bf9b51 100644
--- a/frontend/src/toolbar/utils/screenshot.test.ts
+++ b/frontend/src/toolbar/shared/utils/screenshot.test.ts
@@ -1,6 +1,6 @@
import { toBlob } from 'html-to-image'
-import { captureElementScreenshot } from '~/toolbar/utils/screenshot'
+import { captureElementScreenshot } from '~/toolbar/shared/utils/screenshot'
jest.mock('html-to-image', () => ({
toBlob: jest.fn(),
diff --git a/frontend/src/toolbar/utils/screenshot.ts b/frontend/src/toolbar/shared/utils/screenshot.ts
similarity index 92%
rename from frontend/src/toolbar/utils/screenshot.ts
rename to frontend/src/toolbar/shared/utils/screenshot.ts
index 3c271b3c1114..02fcbce3aa83 100644
--- a/frontend/src/toolbar/utils/screenshot.ts
+++ b/frontend/src/toolbar/shared/utils/screenshot.ts
@@ -1,7 +1,7 @@
import { captureElementImage } from 'lib/utils/captureElementImage'
-import { toolbarUploadMedia } from '~/toolbar/toolbarFetch'
-import { isToolbarRootElement, toError } from '~/toolbar/utils'
+import { toolbarUploadMedia } from '~/toolbar/shared/toolbarFetch'
+import { isToolbarRootElement, toError } from '~/toolbar/shared/utils'
export interface ElementScreenshot {
mediaId: string
diff --git a/frontend/src/toolbar/utils/selectorQuality.test.ts b/frontend/src/toolbar/shared/utils/selectorQuality.test.ts
similarity index 100%
rename from frontend/src/toolbar/utils/selectorQuality.test.ts
rename to frontend/src/toolbar/shared/utils/selectorQuality.test.ts
diff --git a/frontend/src/toolbar/utils/selectorQuality.ts b/frontend/src/toolbar/shared/utils/selectorQuality.ts
similarity index 100%
rename from frontend/src/toolbar/utils/selectorQuality.ts
rename to frontend/src/toolbar/shared/utils/selectorQuality.ts
diff --git a/frontend/src/toolbar/vendor/finder/index.test.ts b/frontend/src/toolbar/shared/vendor/finder/index.test.ts
similarity index 100%
rename from frontend/src/toolbar/vendor/finder/index.test.ts
rename to frontend/src/toolbar/shared/vendor/finder/index.test.ts
diff --git a/frontend/src/toolbar/vendor/finder/index.ts b/frontend/src/toolbar/shared/vendor/finder/index.ts
similarity index 100%
rename from frontend/src/toolbar/vendor/finder/index.ts
rename to frontend/src/toolbar/shared/vendor/finder/index.ts
diff --git a/frontend/src/toolbar/web-vitals/WebVitalsReport.tsx b/frontend/src/toolbar/shared/web-vitals/WebVitalsReport.tsx
similarity index 100%
rename from frontend/src/toolbar/web-vitals/WebVitalsReport.tsx
rename to frontend/src/toolbar/shared/web-vitals/WebVitalsReport.tsx
diff --git a/frontend/src/toolbar/web-vitals/webVitalsToolbarLogic.ts b/frontend/src/toolbar/shared/web-vitals/webVitalsToolbarLogic.ts
similarity index 98%
rename from frontend/src/toolbar/web-vitals/webVitalsToolbarLogic.ts
rename to frontend/src/toolbar/shared/web-vitals/webVitalsToolbarLogic.ts
index e6056691f939..cfd1724f7459 100644
--- a/frontend/src/toolbar/web-vitals/webVitalsToolbarLogic.ts
+++ b/frontend/src/toolbar/shared/web-vitals/webVitalsToolbarLogic.ts
@@ -7,8 +7,8 @@ import { inStorybook, inStorybookTestRunner } from 'lib/utils/dom'
import { permanentlyMount } from 'lib/utils/kea-logic-builders'
import { WebVitalsMetric } from '~/queries/schema/schema-general'
-import { toolbarApi } from '~/toolbar/toolbarApi'
-import { toolbarConfigLogic } from '~/toolbar/toolbarConfigLogic'
+import { toolbarApi } from '~/toolbar/shared/toolbarApi'
+import { toolbarConfigLogic } from '~/toolbar/shared/toolbarConfigLogic'
// We're giving different meaning for `undefined` and `null` here.
// `undefined` means we don't have a value yet, while `null` means we didn't get a value from the server.
diff --git a/frontend/src/toolbar/toolbarLayout.test.ts b/frontend/src/toolbar/toolbarLayout.test.ts
new file mode 100644
index 000000000000..cfe21cc05f65
--- /dev/null
+++ b/frontend/src/toolbar/toolbarLayout.test.ts
@@ -0,0 +1,58 @@
+import fs from 'fs'
+import path from 'path'
+
+type Zone = 'shared' | 'floating' | 'extension'
+
+const TOOLBAR_DIR = __dirname
+const SRC_DIR = path.resolve(TOOLBAR_DIR, '..')
+const ALLOWED_IMPORTS: Record<Zone, Zone[]> = {
+ shared: ['shared'],
+ floating: ['shared', 'floating'],
+ extension: ['shared', 'extension'],
+}
+const SPECIFIER = /(?:\bfrom\s+|\bimport\s*\(\s*|\bimport\s+|\brequire\s*\(\s*|\bjest\.\w+\s*\(\s*)['"]([^'"\n]+)['"]/g
+
+function zoneOf(file: string): Zone | null {
+ const [zone] = path.relative(TOOLBAR_DIR, file).split(path.sep)
+ return zone === 'shared' || zone === 'floating' || zone === 'extension' ? zone : null
+}
+
+function sourceFiles(dir: string): string[] {
+ return fs.readdirSync(dir, { withFileTypes: true }).flatMap((entry) => {
+ const fullPath = path.join(dir, entry.name)
+ if (entry.isDirectory()) {
+ return sourceFiles(fullPath)
+ }
+ return /\.(ts|tsx)$/.test(entry.name) ? [fullPath] : []
+ })
+}
+
+function importedPath(specifier: string, fromFile: string): string | null {
+ if (specifier.startsWith('.')) {
+ return path.resolve(path.dirname(fromFile), specifier)
+ }
+ if (specifier.startsWith('~/')) {
+ return path.join(SRC_DIR, specifier.slice(2))
+ }
+ return null
+}
+
+describe('toolbar layout', () => {
+ it('keeps shared code free of floating and extension code, and the two forms apart', () => {
+ const violations: string[] = []
+ for (const file of sourceFiles(TOOLBAR_DIR)) {
+ const zone = zoneOf(file)
+ if (!zone) {
+ continue
+ }
+ for (const [, specifier] of fs.readFileSync(file, 'utf8').matchAll(SPECIFIER)) {
+ const target = importedPath(specifier, file)
+ const targetZone = target ? zoneOf(target) : null
+ if (targetZone && !ALLOWED_IMPORTS[zone].includes(targetZone)) {
+ violations.push(`${path.relative(TOOLBAR_DIR, file)} imports ${specifier}`)
+ }
+ }
+ }
+ expect(violations).toEqual([])
+ })
+})
diff --git a/frontend/src/types.ts b/frontend/src/types.ts
index ea7afee8399b..6f42f5484a12 100644
--- a/frontend/src/types.ts
+++ b/frontend/src/types.ts
@@ -120,7 +120,7 @@ import { CyclotronInputType } from 'products/workflows/frontend/Workflows/hogflo
import type { HogFlow } from 'products/workflows/frontend/Workflows/hogflows/types'
import { PluginConfigSchema } from './legacy-plugin-scaffold'
-import { InferredSelector } from './toolbar/product-tours/elementInference'
+import { InferredSelector } from './toolbar/shared/product-tours/elementInference'
export enum ConversionRateInputType {
MANUAL = 'manual',
diff --git a/frontend/toolbar-config.mjs b/frontend/toolbar-config.mjs
index 9b79f08db771..c78d43279793 100644
--- a/frontend/toolbar-config.mjs
+++ b/frontend/toolbar-config.mjs
@@ -22,19 +22,19 @@ const toolbarPublicPathOverride = process.env.TOOLBAR_PUBLIC_PATH
// without side effects. If the upstream logic adds new connect() values, the shim
// will silently return undefined — keep shims in sync when connect contracts change.
const shimmedModules = {
- 'scenes/userLogic': 'src/toolbar/shims/userLogic.ts',
- 'scenes/organization/membersLogic': 'src/toolbar/shims/membersLogic.ts',
- 'scenes/sceneLogic': 'src/toolbar/shims/sceneLogic.ts',
- 'scenes/teamLogic': 'src/toolbar/shims/teamLogic.ts',
- 'lib/logic/featureFlagLogic': 'src/toolbar/shims/featureFlagLogic.ts',
+ 'scenes/userLogic': 'src/toolbar/shared/shims/userLogic.ts',
+ 'scenes/organization/membersLogic': 'src/toolbar/shared/shims/membersLogic.ts',
+ 'scenes/sceneLogic': 'src/toolbar/shared/shims/sceneLogic.ts',
+ 'scenes/teamLogic': 'src/toolbar/shared/shims/teamLogic.ts',
+ 'lib/logic/featureFlagLogic': 'src/toolbar/shared/shims/featureFlagLogic.ts',
// Survey question labels load from an authenticated endpoint the toolbar can't reach, so
// the shim keeps its shared consumers (PropertyKeyInfo, taxonomy helpers) out of the app zone.
- 'scenes/surveys/surveyQuestionLabelsLogic': 'src/toolbar/shims/surveyQuestionLabelsLogic.ts',
- // Not a kea shim: the toolbar's parity-tested urls duplicate (see src/toolbar/urls.ts).
+ 'scenes/surveys/surveyQuestionLabelsLogic': 'src/toolbar/shared/shims/surveyQuestionLabelsLogic.ts',
+ // Not a kea shim: the toolbar's parity-tested urls duplicate (see src/toolbar/shared/urls.ts).
// Toolbar code imports it directly; this entry covers lib/ components shared with the
// app (TZLabel, Link, HeatmapEventsPanel), whose scenes/urls import would otherwise pull
// every product manifest into the bundle.
- 'scenes/urls': 'src/toolbar/urls.ts',
+ 'scenes/urls': 'src/toolbar/shared/urls.ts',
}
// Modules replaced with an inert proxy that logs access in debug mode
@@ -138,7 +138,7 @@ function createToolbarModulePlugin(dirname, extraDeniedPatterns = []) {
// The toolbar ships as two artifacts:
//
-// dist/toolbar.js — a tiny classic-script loader (src/toolbar/loader.ts). posthog-js
+// dist/toolbar.js — a tiny classic-script loader (src/toolbar/floating/loader.ts). posthog-js
// injects it with a plain <script> tag on customer pages and calls
// window.ph_load_toolbar on load; the loader then import()s the app.
// dist/toolbar/ — the real app: an ESM entry (toolbar-app-<hash>.js, hashless copy
@@ -160,7 +160,7 @@ export function getToolbarAppBuildConfig(dirname) {
// Named 'Toolbar' so the metafile lands at toolbar-esbuild-meta.json, which
// bin/check-toolbar-graph.mjs and bin/check-toolbar-size.mjs read.
name: 'Toolbar',
- entryPoints: { 'toolbar-app': 'src/toolbar/index.tsx' },
+ entryPoints: { 'toolbar-app': 'src/toolbar/floating/index.tsx' },
format: 'esm',
splitting: true,
outdir: path.resolve(dirname, 'dist', 'toolbar'),
@@ -230,7 +230,7 @@ export async function finalizeToolbarBuild(dirname, buildResponse) {
await esbuildBuild({
absWorkingDir: dirname,
- entryPoints: ['src/toolbar/loader.ts'],
+ entryPoints: ['src/toolbar/floating/loader.ts'],
bundle: true,
// ESM output keeps the runtime-dynamic import() untouched; with no static
// imports/exports of its own, the file still parses as a classic script.
diff --git a/frontend/vite.config.mts b/frontend/vite.config.mts
index 17cc859caa92..936ea6e7eab5 100644
--- a/frontend/vite.config.mts
+++ b/frontend/vite.config.mts
@@ -123,7 +123,7 @@ export default defineConfig(({ mode }) => {
index: resolve(__dirname, 'src/index.tsx'),
exporter: resolve(__dirname, 'src/exporter/index.tsx'),
render_query: resolve(__dirname, 'src/render-query/index.tsx'),
- toolbar: resolve(__dirname, 'src/toolbar/index.tsx'),
+ toolbar: resolve(__dirname, 'src/toolbar/floating/index.tsx'),
},
output: {
entryFileNames: isDev ? '[name].js' : '[name]-[hash].js',
diff --git a/products/product_tours/ARCHITECTURE.md b/products/product_tours/ARCHITECTURE.md
index fac82dadaab8..2d78996289b8 100644
--- a/products/product_tours/ARCHITECTURE.md
+++ b/products/product_tours/ARCHITECTURE.md
@@ -124,7 +124,7 @@ Each tour gets an auto-created feature flag:
## Layer 2: Toolbar (Authoring UI)
-**Location:** `frontend/src/toolbar/product-tours/`
+**Location:** `frontend/src/toolbar/shared/product-tours/` (logic) and `frontend/src/toolbar/floating/product-tours/` (sidebar UI)
The toolbar is injected into the customer's website to allow visual tour creation.
diff --git a/products/web_analytics/frontend/heatmaps/components/heatmapCoverageLogic.ts b/products/web_analytics/frontend/heatmaps/components/heatmapCoverageLogic.ts
index ca1e3cee6356..778fc6de7800 100644
--- a/products/web_analytics/frontend/heatmaps/components/heatmapCoverageLogic.ts
+++ b/products/web_analytics/frontend/heatmaps/components/heatmapCoverageLogic.ts
@@ -79,7 +79,7 @@ export interface heatmapCoverageLogicValues {
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface heatmapCoverageLogicActions {
loadHeatmapSuccess: (
- rawHeatmap: null | import('~/toolbar/types').HeatmapResponseType,
+ rawHeatmap: null | import('~/toolbar/shared/types').HeatmapResponseType,
payload?:
| {
value: true
@@ -89,7 +89,7 @@ export interface heatmapCoverageLogicActions {
payload?: {
value: true
}
- rawHeatmap: null | import('~/toolbar/types').HeatmapResponseType
+ rawHeatmap: null | import('~/toolbar/shared/types').HeatmapResponseType
} // heatmapDataLogic
patchHeatmapFilters: (filters: Partial<HeatmapFilters>) => {
filters: Partial<HeatmapFilters>
diff --git a/products/web_analytics/frontend/heatmaps/components/recordingClickmapLogic.ts b/products/web_analytics/frontend/heatmaps/components/recordingClickmapLogic.ts
index 03f1b0d4228c..4d4961fa9490 100644
--- a/products/web_analytics/frontend/heatmaps/components/recordingClickmapLogic.ts
+++ b/products/web_analytics/frontend/heatmaps/components/recordingClickmapLogic.ts
@@ -20,9 +20,9 @@ import {
chainConsistencyProperties,
matchEventToElementUsingIndex,
matchIsChainConsistent,
-} from '~/toolbar/elements/domElementIndex'
-import type { ElementMatchOptions } from '~/toolbar/elements/domElementIndex'
-import { ElementsEventType } from '~/toolbar/types'
+} from '~/toolbar/shared/elements/domElementIndex'
+import type { ElementMatchOptions } from '~/toolbar/shared/elements/domElementIndex'
+import { ElementsEventType } from '~/toolbar/shared/types'
import { PropertyFilterType, PropertyOperator } from '~/types'
import type { TeamPublicType, TeamType } from '~/types'