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.

feat(navigation): clean up the simple sidebar and starred products (#107266)

Rafael Audibert1006ba5e7fab
diff --git a/.agents/skills/run-posthog/SKILL.md b/.agents/skills/run-posthog/SKILL.md
index 8e16c3fb4729..8410fa5b76a8 100644
--- a/.agents/skills/run-posthog/SKILL.md
+++ b/.agents/skills/run-posthog/SKILL.md
@@ -112,7 +112,7 @@ The frontend uses kea-router. The mapping rule:
| Edited path | Scene URL (under `/project/{team_id}/`) |
| ---------------------------------------- | ------------------------------------------------------- |
| `frontend/src/scenes/<name>/**` | usually `/<name>` (e.g. `insights/` → `/insights`) |
-| `frontend/src/scenes/activity/**` | `/activity/explore` (and other `ActivityTab`s) |
+| `frontend/src/scenes/activity/**` | `/activity/events` (and other `ActivityTab`s) |
| `frontend/src/scenes/data-management/**` | `/data-management/<sub>` |
| `frontend/src/scenes/settings/**` | `/settings/<section>` |
| `frontend/src/scenes/authentication/**` | `/login`, `/signup`, `/preflight` (un-scoped) |
diff --git a/.agents/skills/styling-sidebar-products/SKILL.md b/.agents/skills/styling-sidebar-products/SKILL.md
new file mode 100644
index 000000000000..fe9148ed18d5
--- /dev/null
+++ b/.agents/skills/styling-sidebar-products/SKILL.md
@@ -0,0 +1,89 @@
+---
+name: styling-sidebar-products
+description: >
+ How products and pages appear in the PostHog sidebar: which category they sit in, which icon and color they
+ get, and which groups share a color gradient. Use when adding a product or data management page to the
+ sidebar (treeItemsProducts or treeItemsMetadata in a products/*/manifest.tsx), giving an entry a new icon or
+ color, moving an entry between sidebar categories, adding a category, or when a sidebar icon renders the
+ wrong color, the wrong glyph, or differently once starred. Trigger terms: sidebar, nav, All products,
+ Popular, category, iconType, iconColor, product icon, product color, gradient, starred icon.
+---
+
+# Styling sidebar products
+
+The sidebar reads every entry from the product manifests.
+An entry needs three things to look right: a category, an icon type that only it uses in the sidebar, and a color.
+Some categories share a gradient, so a new entry in one of them changes its neighbors' colors too.
+
+## Where things live
+
+| What | File |
+| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |
+| Entry definition (`path`, `category`, `iconType`, `iconColor`, `href`, `flag`) | `products/<product>/manifest.tsx`, under `treeItemsProducts` or `treeItemsMetadata` |
+| Icon glyph and default color per icon type | `iconTypes` in `frontend/src/layout/panel-layout/ProjectTree/defaultTree.tsx` |
+| The icon type union | `FileSystemIconType` in `frontend/src/queries/schema/schema-general.ts` |
+| Color values | `--color-product-<name>-light` and `-dark` in `frontend/src/styles/base.scss` |
+| Category names | `ProductItemCategory` in `schema-general.ts` |
+| Category order in the sidebar | `CATEGORY_ORDER` in `frontend/src/layout/panel-layout/navbar/tabs/productsCatalog.ts` |
+| Sidebar-only groupings (Popular, hidden tab pages, pinned rows) | `navProductsTabLogic.ts` and `productsCatalog.ts` in the same folder |
+| Custom icons that are components, like the Support badge | `ProjectTree/customIconRegistry.tsx` |
+
+## Rules
+
+**One icon per entry.** No two sidebar entries share a glyph.
+If the icon type you want is also used outside the sidebar, for example `event_definition` or `data_pipeline_metadata`, add a new icon type instead of changing the shared one.
+A new icon type goes into the `FileSystemIconType` union and the `iconTypes` map, and then `hogli build:schema` regenerates the Python enums.
+
+**One color, set in both places.** Put the same color variable pair on the `iconTypes` entry and on the manifest entry's `iconColor`.
+The sidebar row uses the manifest color. Scene titles, search and other surfaces use the map color.
+When the two disagree, the product shows two colors across the app.
+Always give both a light and a dark variable, because a single value is reused for dark mode and reads poorly there.
+
+**Starred entries follow the product.** A star stores only `iconType || type` and `href`.
+The file tree looks up the product by `href` (`getProductIcon` in `defaultTree.tsx`) and uses its icon and color, and it wraps custom icons in `ProductIconWrapper`.
+Do not add a per-surface icon override. Fix the manifest and the map, and the star follows.
+
+**Pinned rows stay neutral.** Home, Self-driving and Activity and people have no color on purpose.
+
+## Color families
+
+Four categories use one gradient each. The steps follow the order the sidebar shows, which is alphabetical by label.
+
+| Category | Gradient | Light end points |
+| -------------- | ----------------------------- | -------------------------------------- |
+| AI engineering | indigo to magenta | `rgb(99 102 241)` to `rgb(196 60 218)` |
+| CDP | golden yellow to burnt orange | `rgb(234 179 8)` to `rgb(194 65 12)` |
+| Schema | teal to deep blue | `rgb(20 184 166)` to `rgb(29 78 216)` |
+| Tools | red to magenta pink | `rgb(239 68 68)` to `rgb(217 40 160)` |
+
+When you add, remove or rename an entry in one of these categories, regenerate the whole category, since every step moves:
+
+```sh
+python3 .agents/skills/styling-sidebar-products/scripts/sidebar_gradient.py schema \
+ actions annotations event-definitions mcp-servers sql-variables
+```
+
+Pass the color variable names in sidebar order, and include entries behind a feature flag.
+Paste the output over the matching lines in `base.scss`.
+If an entry shared a variable with a product outside the group, give it its own variable first. `warehouse-destinations` is an example: it used to share with Data ops.
+The end points, including dark mode, live in the script. Change them there, not by hand in `base.scss`.
+
+The other categories (Popular, Data, Monitoring, Product engineering, Messaging, Unreleased) use each product's own brand color.
+Pick a hue that differs from the entries right next to it in the same category.
+Avoid the gradient families above, so a product does not look like it belongs to AI engineering, CDP, Schema or Tools.
+
+## Categories
+
+Categories are values of `ProductItemCategory`, and the backend reads them through `products.json`.
+After renaming or adding one, update `CATEGORY_ORDER` in `productsCatalog.ts`, update the old nav's `CATEGORY_ORDER` in `ProjectTree/utils.tsx`, and update `test_get_products_by_category_has_expected_categories` in `posthog/test/test_products.py`.
+Then run `hogli build:schema` and `pnpm --filter=@posthog/frontend build:products`.
+
+Popular is sidebar-only. It lives in `POPULAR_PRODUCT_PATHS` and does not change a product's real category.
+Pages that are tabs of another page, like the definitions tabs, stay in their manifest but are hidden in `navProductsTabLogic.ts`.
+
+## Check it
+
+- `hogli test frontend/src/layout/panel-layout` runs the sidebar logic tests. It also checks that every starred product renders the same icon and color as its row, in `ProjectTree/utils.test.ts`.
+- Render the `Layout/Products and files` story in light and dark (`Dark` story), and look at the whole category, not only the new entry. A gradient reads wrong when one step is off.
+- Storybook does not hot-reload `base.scss`. Restart it after changing a color, or it keeps rendering the old values.
+- Neighboring steps need visible contrast. When steps look alike, widen the end points in hue and lightness rather than adding more steps.
diff --git a/.agents/skills/styling-sidebar-products/scripts/sidebar_gradient.py b/.agents/skills/styling-sidebar-products/scripts/sidebar_gradient.py
new file mode 100644
index 000000000000..521d335a18e9
--- /dev/null
+++ b/.agents/skills/styling-sidebar-products/scripts/sidebar_gradient.py
@@ -0,0 +1,54 @@
+#!/usr/bin/env python3
+"""Print --color-product-* variables that step a sidebar group through a gradient.
+
+Usage:
+ python3 sidebar_gradient.py GROUP name-one name-two ...
+
+GROUP is one of the gradient groups below. Pass the color variable names in the order the
+sidebar shows the entries, which is alphabetical by label within a category. Paste the output
+over the matching lines in frontend/src/styles/base.scss.
+"""
+
+import sys
+import colorsys
+
+# (light start, light end, dark start, dark end) as RGB.
+GROUPS: dict[str, tuple[tuple[int, int, int], ...]] = {
+ "ai-engineering": ((99, 102, 241), (196, 60, 218), (129, 140, 248), (232, 121, 249)),
+ "cdp": ((234, 179, 8), (194, 65, 12), (253, 224, 71), (249, 115, 22)),
+ "schema": ((20, 184, 166), (29, 78, 216), (94, 234, 212), (96, 165, 250)),
+ "tools": ((239, 68, 68), (217, 40, 160), (252, 165, 165), (244, 114, 208)),
+}
+
+
+def gradient(start: tuple[int, int, int], end: tuple[int, int, int], steps: int) -> list[tuple[int, int, int]]:
+ """Interpolate in HSL along the shorter way around the hue circle, so a warm range stays warm."""
+ h1, l1, s1 = colorsys.rgb_to_hls(*(c / 255 for c in start))
+ h2, l2, s2 = colorsys.rgb_to_hls(*(c / 255 for c in end))
+ dh = h2 - h1
+ if dh > 0.5:
+ dh -= 1
+ elif dh < -0.5:
+ dh += 1
+ colors: list[tuple[int, int, int]] = []
+ for i in range(steps):
+ t = i / (steps - 1) if steps > 1 else 0
+ r, g, b = colorsys.hls_to_rgb((h1 + dh * t) % 1, l1 + (l2 - l1) * t, s1 + (s2 - s1) * t)
+ colors.append((round(r * 255), round(g * 255), round(b * 255)))
+ return colors
+
+
+def main() -> None:
+ if len(sys.argv) < 3 or sys.argv[1] not in GROUPS:
+ sys.exit(f"usage: {sys.argv[0]} {{{','.join(GROUPS)}}} name [name ...]")
+ light_start, light_end, dark_start, dark_end = GROUPS[sys.argv[1]]
+ names = sys.argv[2:]
+ for name, light, dark in zip(
+ names, gradient(light_start, light_end, len(names)), gradient(dark_start, dark_end, len(names))
+ ):
+ sys.stdout.write(f" --color-product-{name}-light: rgb({light[0]} {light[1]} {light[2]});\n")
+ sys.stdout.write(f" --color-product-{name}-dark: rgb({dark[0]} {dark[1]} {dark[2]});\n")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/docs/onboarding/error-tracking/android.tsx b/docs/onboarding/error-tracking/android.tsx
index 2f1b8d5636be..fce350d4269a 100644
--- a/docs/onboarding/error-tracking/android.tsx
+++ b/docs/onboarding/error-tracking/android.tsx
@@ -107,7 +107,7 @@ export const getAndroidSteps = (ctx: OnboardingComponentsContext): StepDefinitio
{dedent`
Before proceeding, let's make sure exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/angular.tsx b/docs/onboarding/error-tracking/angular.tsx
index 6f1377fbf60e..a40710a60091 100644
--- a/docs/onboarding/error-tracking/angular.tsx
+++ b/docs/onboarding/error-tracking/angular.tsx
@@ -165,7 +165,7 @@ export const getAngularSteps = (ctx: OnboardingComponentsContext): StepDefinitio
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/dotnet.tsx b/docs/onboarding/error-tracking/dotnet.tsx
index 5fd213b9fede..5e83df431e7a 100644
--- a/docs/onboarding/error-tracking/dotnet.tsx
+++ b/docs/onboarding/error-tracking/dotnet.tsx
@@ -126,7 +126,7 @@ export const getDotNetSteps = (ctx: OnboardingComponentsContext): StepDefinition
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/elixir.tsx b/docs/onboarding/error-tracking/elixir.tsx
index 2523c343e804..214666a3f453 100644
--- a/docs/onboarding/error-tracking/elixir.tsx
+++ b/docs/onboarding/error-tracking/elixir.tsx
@@ -46,7 +46,7 @@ export const getElixirSteps = (ctx: OnboardingComponentsContext): StepDefinition
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/flutter.tsx b/docs/onboarding/error-tracking/flutter.tsx
index bb016c99defb..3e0f3779e481 100644
--- a/docs/onboarding/error-tracking/flutter.tsx
+++ b/docs/onboarding/error-tracking/flutter.tsx
@@ -155,7 +155,7 @@ export const getFlutterSteps = (ctx: OnboardingComponentsContext): StepDefinitio
{dedent`
Before proceeding, let's make sure exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/go.tsx b/docs/onboarding/error-tracking/go.tsx
index e4bf87239eb4..4a73850b457f 100644
--- a/docs/onboarding/error-tracking/go.tsx
+++ b/docs/onboarding/error-tracking/go.tsx
@@ -80,7 +80,7 @@ export const getGoSteps = (ctx: OnboardingComponentsContext): StepDefinition[] =
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/hono.tsx b/docs/onboarding/error-tracking/hono.tsx
index 0e78afb8aab8..6ab860d5cbb6 100644
--- a/docs/onboarding/error-tracking/hono.tsx
+++ b/docs/onboarding/error-tracking/hono.tsx
@@ -57,7 +57,7 @@ export const getHonoSteps = (ctx: OnboardingComponentsContext): StepDefinition[]
{dedent`
Before proceeding, let's make sure exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/ios.tsx b/docs/onboarding/error-tracking/ios.tsx
index d48c8cf72909..39228b70e4e7 100644
--- a/docs/onboarding/error-tracking/ios.tsx
+++ b/docs/onboarding/error-tracking/ios.tsx
@@ -234,7 +234,7 @@ export const getIOSSteps = (ctx: OnboardingComponentsContext): StepDefinition[]
{dedent`
Before proceeding, let's make sure exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/nextjs.tsx b/docs/onboarding/error-tracking/nextjs.tsx
index 2d0cb9a9999d..9474fe83e09b 100644
--- a/docs/onboarding/error-tracking/nextjs.tsx
+++ b/docs/onboarding/error-tracking/nextjs.tsx
@@ -173,7 +173,7 @@ export const getNextJSSteps = (ctx: OnboardingComponentsContext): StepDefinition
content: (
<Markdown>
{dedent`
- Check that exception events appear in the [activity feed](https://app.posthog.com/activity/explore).
+ Check that exception events appear in the [activity feed](https://app.posthog.com/activity/events).
`}
</Markdown>
),
@@ -268,7 +268,7 @@ export const getNextJSSteps = (ctx: OnboardingComponentsContext): StepDefinition
{dedent`
You should also see events and exceptions in PostHog coming from your server-side code in the activity feed.
- [Check for server events in PostHog](https://app.posthog.com/activity/explore)
+ [Check for server events in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/nodejs.tsx b/docs/onboarding/error-tracking/nodejs.tsx
index 6bf78476d53f..a7c0c66d1071 100644
--- a/docs/onboarding/error-tracking/nodejs.tsx
+++ b/docs/onboarding/error-tracking/nodejs.tsx
@@ -103,7 +103,7 @@ export const getNodeJSSteps = (ctx: OnboardingComponentsContext): StepDefinition
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/nuxt-3.6.tsx b/docs/onboarding/error-tracking/nuxt-3.6.tsx
index ddd72bdcbb88..51f0469a88c4 100644
--- a/docs/onboarding/error-tracking/nuxt-3.6.tsx
+++ b/docs/onboarding/error-tracking/nuxt-3.6.tsx
@@ -107,7 +107,7 @@ export const getNuxt36Steps = (ctx: OnboardingComponentsContext): StepDefinition
{dedent`
Before proceeding, let's make sure exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/nuxt.tsx b/docs/onboarding/error-tracking/nuxt.tsx
index c771b3b86c68..33cbf31484db 100644
--- a/docs/onboarding/error-tracking/nuxt.tsx
+++ b/docs/onboarding/error-tracking/nuxt.tsx
@@ -207,7 +207,7 @@ export const getNuxt37Steps = (ctx: OnboardingComponentsContext): StepDefinition
{dedent`
Before proceeding, let's make sure exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/php.tsx b/docs/onboarding/error-tracking/php.tsx
index 2711bd295330..5b4ead605188 100644
--- a/docs/onboarding/error-tracking/php.tsx
+++ b/docs/onboarding/error-tracking/php.tsx
@@ -90,7 +90,7 @@ export const getPHPSteps = (ctx: OnboardingComponentsContext): StepDefinition[]
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/python.tsx b/docs/onboarding/error-tracking/python.tsx
index ccdd2bbabba3..74449c259f3d 100644
--- a/docs/onboarding/error-tracking/python.tsx
+++ b/docs/onboarding/error-tracking/python.tsx
@@ -93,7 +93,7 @@ export const getPythonSteps = (ctx: OnboardingComponentsContext): StepDefinition
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/react-native.tsx b/docs/onboarding/error-tracking/react-native.tsx
index 92d338db2540..63552cb1ccd4 100644
--- a/docs/onboarding/error-tracking/react-native.tsx
+++ b/docs/onboarding/error-tracking/react-native.tsx
@@ -180,7 +180,7 @@ export const getReactNativeSteps = (ctx: OnboardingComponentsContext): StepDefin
{dedent`
Before proceeding, let's make sure exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/react.tsx b/docs/onboarding/error-tracking/react.tsx
index 7d83bc6a0d8b..c2f4ebb4fcf3 100644
--- a/docs/onboarding/error-tracking/react.tsx
+++ b/docs/onboarding/error-tracking/react.tsx
@@ -97,7 +97,7 @@ export const getReactSteps = (ctx: OnboardingComponentsContext): StepDefinition[
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/ruby-on-rails.tsx b/docs/onboarding/error-tracking/ruby-on-rails.tsx
index cc8de63cef1b..0491b12585b0 100644
--- a/docs/onboarding/error-tracking/ruby-on-rails.tsx
+++ b/docs/onboarding/error-tracking/ruby-on-rails.tsx
@@ -138,7 +138,7 @@ export const getRubyOnRailsSteps = (ctx: OnboardingComponentsContext): StepDefin
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/ruby.tsx b/docs/onboarding/error-tracking/ruby.tsx
index 5f47cfdd6204..94a9d0e8d12e 100644
--- a/docs/onboarding/error-tracking/ruby.tsx
+++ b/docs/onboarding/error-tracking/ruby.tsx
@@ -71,7 +71,7 @@ export const getRubySteps = (ctx: OnboardingComponentsContext): StepDefinition[]
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/svelte.tsx b/docs/onboarding/error-tracking/svelte.tsx
index 0d9504068a41..e63d8fb79171 100644
--- a/docs/onboarding/error-tracking/svelte.tsx
+++ b/docs/onboarding/error-tracking/svelte.tsx
@@ -87,7 +87,7 @@ export const getSvelteSteps = (ctx: OnboardingComponentsContext): StepDefinition
{dedent`
Before proceeding, let's make sure exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/docs/onboarding/error-tracking/web.tsx b/docs/onboarding/error-tracking/web.tsx
index 3a99ce08c42e..c217b90c8a87 100644
--- a/docs/onboarding/error-tracking/web.tsx
+++ b/docs/onboarding/error-tracking/web.tsx
@@ -63,7 +63,7 @@ export const getWebSteps = (ctx: OnboardingComponentsContext): StepDefinition[]
{dedent`
Confirm exception events are being captured and sent to PostHog. You should see events appear in the activity feed.
- [Check for exceptions in PostHog](https://app.posthog.com/activity/explore)
+ [Check for exceptions in PostHog](https://app.posthog.com/activity/events)
`}
</Markdown>
),
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 4029096b59b2..a193e0e94b5a 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -2197,17 +2197,21 @@ snapshots:
components-sample-data-state--wizard-installing--light:
hash: v1.k794b7964.2052c49beff2e0a5c5c533ae05c73bacc2619a04053b4529acf93574160c3a66.sTXp62J02o4EVCFfSt9_QV7YwS6UN87FpVxkPGrmZ3o
components-search--default--dark:
- hash: v1.k794b7964.77d0af1de6dd470829cea973c4a195a35aac94168e6038d557771f1729ed097f.J8B4xEuyNvPLQaj6pe_pyfBULwB0K2NlywrfWO8fQLc
+ hash: v1.k794b7964.df9dfca4d81ea14196343a7a85fb46d87d2d778b0722ccd64efd0e0ce065aaab.0-LKBT675yMulV7tP8EnPtFLDAlJcRdnjNCAkudUnPU
components-search--default--light:
- hash: v1.k794b7964.2a124731e58e1bc19b4a5b6c423408722368e1c8305e9cca9e6b847e4f1f5294.lXt0se1f9U5wkMBzHbUBoG6HCw34Km9UeAMaaJdXmzk
+ hash: v1.k794b7964.1e45100f37adaa3fb1c23c1bb96a1d51d14f50bb21ebdef682e4831ff6f049bb.xT5X2KKnEppe6R9VTurDm3F6-FJD51_92LmlGAtu8rY
+ components-search--no-recents--dark:
+ hash: v1.k794b7964.5ddecb083ea81b5b2f390926892ed93af258ba7647453c6a378a101f4cd5538e.OMb7iyoxBgCIbTaU3dz1e7NxHq54RpCzp5AosksFeVQ
+ components-search--no-recents--light:
+ hash: v1.k794b7964.892fd231d7a847fbb8cb476b2a3b1ecb3dd26d909b438e565577a41fb5bf9363.U1-jIXInXPIefSrs3J3LoxQpd3ydHLdDKDs2hR9uX48
components-search--product-recents-and-starred--dark:
- hash: v1.k794b7964.430d3f7f7dca464b4bcd5c33cf896b7391c2815ec24f0aaacf2a2dfb6fbebe19.YcCIQhKQlw1MmT5oETabRIvToRFVq46ASRAix4IwgIU
+ hash: v1.k794b7964.8afd7af2739ac45048d67219cbda76b2a37341558b1727626efc2a276d26b968.yVDHAcC3P3RVKJU-gZolegesqOIDBw_HaNaR1UxoBww
components-search--product-recents-and-starred--light:
- hash: v1.k794b7964.9596a3aeb87559122d58345b13bb17f97815f225c0f34c7c3003e6a89de85bc7.wam_dI-ByvAgf-4FdQCB6yMFckzNEJiPU-R5mZaot-k
+ hash: v1.k794b7964.b8da0d666c219b2f36b7d110b2109ec5586c8c42fecf67b52821a3b18fde4734.ZjncalrNKMXAQVhkoICoGDvgbi1edOR7DaVgF-QRVAQ
components-search--searching--dark:
- hash: v1.k794b7964.8640758c2d98a5f809ee318f61dc1e7669888757862a940b220e241742894ae2.3-TrMOHcLmJQNhFO0CuB3dEBeLcO-Cx-6lPP3jmfqzc
+ hash: v1.k794b7964.da5560e3b062f5b1f6cc4d9e5c338258502948ed2353f4add22970bbce7dfd4e.GwVjKIvJSaqKOTsWNTQb5Bz4v5jN-byKBorSc854UrA
components-search--searching--light:
- hash: v1.k794b7964.3576a4f0b13c1fc49b4613169cc28841b9e48e2cedb93f0e830ce0fc2078e2c5.zCWo8ojUtNkcXxli4ZyOxrXQUD-v5txUgteY328uCxE
+ hash: v1.k794b7964.9775e841728ad772089c8f176abeeee0d65c92c93c0dcf83f54a4b073b34fceb.97GZHXFK7aMWwRYJKX7CEhTVCfPJ6ZxW1nCJtUQkxI0
components-sentencelist--full-sentence--dark:
hash: v1.k794b7964.7e8e5dd2e09d246cc3668f362f2391fe67618bd1143aa393832297f5dc30e558.yptEWKc5RAUY613Fwd5cQ0VIinMvpdoI6cuKgagAGxk
components-sentencelist--full-sentence--light:
@@ -3761,9 +3765,9 @@ snapshots:
insights-worldmap--default--light:
hash: v1.k794b7964.a4f523dbe2e78f12ddf6c95d6e1e0b1da4457008aa42a9b83fb5e21bc4519915.sRV9jpfMOemd-Hss7Y7z4hMMwHYzM7l8Dq9i4uoJBiE
layout-flat-nav-browse--default--dark:
- hash: v1.k794b7964.5d1f1b535bb3492e1ecdfa3e1acac30e856bcacb109136cf4b88654a8fa2bfcb.N4pOX84PDiTGfw5A6cgk634GGZ5U2Z-1QQNM82ZTp8Y
+ hash: v1.k794b7964.df655c95b188c65a31c1c2a23c83140bc5f8868e1ba32bd1b4c56e95635064f0.UtGqJPi8g0kmOTagK70OahTICvY2qDWwJioVmqzd9ec
layout-flat-nav-browse--default--light:
- hash: v1.k794b7964.58d96f8a2cf0909da2fee6730ca62968503d17c4985f8ef5c0955c1a5d6d0cfc.jRiRZjbhssutoU8Tl2MTPRK606wz2E-HQ7eRugf-2Dc
+ hash: v1.k794b7964.d37726e2e2377a5486f9dd35d7577fe19a3d228847072240633d87d5bbbea62b.eHQIZcnhBCHKgbobYuA_Qz8gNf_IIxq3USUsfZqLmZQ
layout-impersonation-reason-modal--loading--dark:
hash: v1.k794b7964.56bc03177fcbe93f212232c9025d90ec672e9043881ce4e9a3dbbb612b501066.mkYeZ8C0UhPLy7CKjURxERYeFMjyvXrOyEpykdHmmrM
layout-impersonation-reason-modal--loading--light:
@@ -3821,89 +3825,89 @@ snapshots:
layout-navigation-eventingestionrestrictiondetails--whole-project--light:
hash: v1.k794b7964.56e91dee845e8cae758c631b29733ddb23d0bd46c4669cd904032f3f668c8dd9.lrp6-51HhFOiy6Rqy1o5KlQamvWmozjUVC8EQnCPhrU
layout-navigation-sidebar--density-comparison--dark:
- hash: v1.k794b7964.df539ff391e46f4c24f4f4c243f3149a5705f86d0e8161646c009bd8316bc5c6.C_MuSMbV7K7GzVXmd165W1P3qa9ZORkjoyRjgWRsqmc
+ hash: v1.k794b7964.d4e69a3d1504fadf1b4056c6b7f84dd8e94a1a44d9cc83ae46d2c023f9b5788a.1wbkpRs6-VqVJGd9C-utXO-kA7rQN7JPvJ_SZ6W9cAc
layout-navigation-sidebar--density-comparison--light:
- hash: v1.k794b7964.61942460c2a1824c4f9ba1126a3cb79d71990aaf407db67e60fe4730020f0437.7FE4yjUuNCwJfkzODJI8iJUupkwrfhX2Rm8fZqtd0v4
+ hash: v1.k794b7964.1ce2fdf015cbe4fefcaabc64af3bd2d8e671b8d502b3cf96bd07afea725d9fd1.zybM8RjBCVWcX5OYJ9MyNfMiwuu7HL9EgySs48INc_U
layout-products-and-files--chat--dark:
hash: v1.k794b7964.8fe0ef68f9f51c97987697cd41c0f90f047f36468086fb58dba53da457298777.S15LWTVbxxB728U348RP2XuOaV_KOVeAiQELXFL50pI
layout-products-and-files--chat--light:
hash: v1.k794b7964.4ef1016755694332433ac609609d9260b3f41ec0d4e2976d865e80ec659eb6ea.1h6HQOJz0Cx2kEkA-uRjet4eMxoBWDkZafr5JGHrKBw
layout-products-and-files--collapsed--dark:
- hash: v1.k794b7964.07709fbfa89d923ec45710dcaafdeff2e21411f66b0516f7830fb43b241d8647.4CNSUzkarLQun6OfNcQZDSgzvyxhvHvvbcBVnkGq1NE
+ hash: v1.k794b7964.47ba306c86104d0b1205b706a040aa06a49f124c71b0f2d602230bda6a438f97.UVVSeegIP8asQH9E5D0dNTGCllz9ANHtpftLX043dvw
layout-products-and-files--collapsed--light:
- hash: v1.k794b7964.1938fab46b8cca4c40dcdbed79cd38ce7b78da0b9f4c96345674afe594947d37.yX3NeYuOgAEh7t-2yA-7dbgU878uFrzGx1XBhPaINx8
- layout-products-and-files--configure-starred--dark:
- hash: v1.k794b7964.281f11b7ac4df2676bb3f08b9eada3fec1fb6bedb3e6529d71f43b2aaaccbd85.45KFJBnf46f_j50p4NWYE8hCFU5FQBt2c6dpgr0SffM
- layout-products-and-files--configure-starred--light:
- hash: v1.k794b7964.8564555f2da84c07b5df6ef6a331f6781be6b60d713a4a103786f629bb116fd3.intq_inQtbwr08CfqxrDBq9W1vC8XckEQ_49iSv4Y_U
+ hash: v1.k794b7964.de50a58a262adfe7c5541fcf12dcc6733ff6126028ce8444bffb111820a90acf.ZB3fLSm9GPnhA7f33FtGRfW8_h3eC9WOzNSLd-4Kjsg
+ layout-products-and-files--customize-sidebar--dark:
+ hash: v1.k794b7964.8431e1b7c0cf491435d1412e5fd235f10091ccc8642597c9c406f2fa670dbbcc.ofrtq-cnIF1EKpYpZ3xhxYy6BFrjNu8QIWA_O1uR8vk
+ layout-products-and-files--customize-sidebar--light:
+ hash: v1.k794b7964.5905dcae3eec5871b7d57ae73defe18195a516006f9f20b69ebfd07d80cc3bef.dw9bCthloDPwI7ifSY7GltfoobQqOjrDvxON1rfmWQc
layout-products-and-files--dark--dark:
- hash: v1.k794b7964.c25f948dc4e95e860626786cde681ac0370547866ed5b02f9b9ff553e842232c.veGpE3UkHOkoPD43qFXkk7IK380TK6eIX_c3pvU4wPA
+ hash: v1.k794b7964.f55ca77f155ea0686bdc1e177b6cd43b81264e2148a081d839ed48e2bdfdbc5c.BCJ0-VUSm4Tj6MGofFGpJ_Ls4o8addpeUTV8Ydg0vPc
layout-products-and-files--dark--light:
- hash: v1.k794b7964.df781bb079abec66950ec648175b80300fe8864762e72c4c686ddf9d8314dadb.roVhz0U3S5ngOh-4IwiMrR0tTCfujTdqJ49F0NGpDzM
+ hash: v1.k794b7964.ff697df5ca1592e744398c62c48bf66b14f429bbb1d9f13aba9c667f60c02aeb.MXaRnYfgDAlpfBi78_2PkBrF7aFKKOWYDVRVGnmXNm8
layout-products-and-files--empty-starred--dark:
- hash: v1.k794b7964.e26b9a571ac8afdc383038d5c207c95cb0533a16219d16f20c985cbcc4c00003.3-Fpg_bkfPAmlKi72_fYKJETh00QINh1RjlRs2R5SJg
+ hash: v1.k794b7964.bec6ae84521fb65d3947bf0fe2719526e8659a5c582ca945fe45a828786587b9.op81udDdtx462vHJBXBuECgvCN0w6mpgzMKhVAnNPlo
layout-products-and-files--empty-starred--light:
- hash: v1.k794b7964.2625184411b874c99b7488a00a8cf467c8cf7530fe3caa161295355480388010.Gw7o_MoW88Jej8Lwl14KFPi-t8_hQhyumLIos5dwJfk
+ hash: v1.k794b7964.e0a3a4b0c595ab1d5da3d9658731fbca25539e0a8109f30d1b3079faed0a4e9e.Y7yen__Xa63Z2-tJvG0uIP_voyc0JZTeADYwNvmVjAA
layout-products-and-files--files--dark:
- hash: v1.k794b7964.8a3201d77e7ad29ee3a45ebd7f2d41536eece216540a9c75e8403cae637cdc83.-6RUzrp14l3fPoJtlDgpAeDwK9DHLJQdE19q9STW33k
+ hash: v1.k794b7964.2108f656960d8d2c354b8e867035968a366c303023268ee449c7bfe8eebf732e.C4xkZ6OJm1MDbQmI0BohJfPPlBa149I2gohKmK1Zk1U
layout-products-and-files--files--light:
- hash: v1.k794b7964.12ecc881d3477c7d9bea5d4b1f3c5ab2cff83102209ecc6c0664bebfc59ce2b1.zfOoq_4Cn9erTVdGc63qDWu-NKfn8LGpfPKDFSnjWVE
+ hash: v1.k794b7964.54b36a3a3bb7fde8997dfb4acf02a956cea252c908a52d90622b5cb25b9104ca.4L_xrXJ6jZla02s2VH1uMgwn50-BsHf4zE0_B_NxVpA
layout-products-and-files--files-collapsed--dark:
- hash: v1.k794b7964.0b227dc93c6447c22559f5a6b691285343ed5d53abbc7c2c6b55169de0e60f3b.f_FxlbKq5mytfwJfbAqwKKj8lWkcipTKNZsGLldkDn0
+ hash: v1.k794b7964.b0591952d4006e603e6aa76eef63d9d02c2b190a1c3362383dfceef8d92ad3c2.XEXVgIvheCTaMBhbqMf79NhBgl09QCASZtS7UD9Ht0I
layout-products-and-files--files-collapsed--light:
- hash: v1.k794b7964.4155befaf179dd9f0a42502dfd8026810c787dfcdaf696a97fa916e3be4add1a.jFUdIVdjWmJk5kCki37gIrzV9RCAE09HwcdpiWR52Os
+ hash: v1.k794b7964.a5901a3ceac08697f2e8d24f57601eae9f939178a5c6bd980388f562b4bc1f9a.JiYoRAw2m1MC3k3rJNNEIAGDE19sXfGDW3RjkX-9_Nc
layout-products-and-files--files-dark--dark:
- hash: v1.k794b7964.8a3201d77e7ad29ee3a45ebd7f2d41536eece216540a9c75e8403cae637cdc83.sVKUreIw8LNpMeRThZWAWoZ1rM2YnrdOjkBWA3fLUZY
+ hash: v1.k794b7964.2108f656960d8d2c354b8e867035968a366c303023268ee449c7bfe8eebf732e.ZYMDTA0KeMO7esogAEzUkGykOtDMrp1lEceUbEA-ZgI
layout-products-and-files--files-dark--light:
- hash: v1.k794b7964.7c627dd6838a9e6e58fff1c7a257c4d50a0df31c219c8793f7dcf6e44ae4c445.3oc-9zZAcjgWBzeunlQf1OSpI4y-uy4B2pEJZoHOXKw
+ hash: v1.k794b7964.1f3cf8d69d93106257f78b13b1b9ee8ba4fa5c75227ef386e8ee8645a02a6b37.bVJe6cA1OnDTAQ7KBFdAGGzNwIYjQJ5z9t0_8RcR52c
layout-products-and-files--files-empty-starred--dark:
- hash: v1.k794b7964.efd0e0fe25c3e37649ef1dde74305439217caeeb39fd9b1b64f2bd6510ebf516.HG4YyJbUfoJrnRyCI1WU5D7rH7zLr3gCgYaW19qlFrQ
+ hash: v1.k794b7964.b173bb648c2698df31c1d7981ad568d3eb3579fa31af0d7870460c2650f82609.G7J6MOsMzfb06GnP-p3MvRFurqDA66DXxKcZstIX7i0
layout-products-and-files--files-empty-starred--light:
- hash: v1.k794b7964.0c2fcb3e46eb77c77dbc2e6805596b5182c4f0812d58b60d4c6b1c9259a0da51.xmoKjlfpT7pbgN2HQr69U3BbqFc1PTAkYO2WS4-YhCE
+ hash: v1.k794b7964.2d2cdb4df591ac8ed3a9f3710cc3d308e220538ffb814d2bc42aed68d5c9d185.fDGkLlXlhYSzcxqttS8qM-8LZRM7d77zVu0-eODBiL8
layout-products-and-files--files-filtered--dark:
- hash: v1.k794b7964.705e361c43de14267ea7adc129fb3b237a3f39360675a3a7bc0d6bc80602a6f6.ztGFQZipMbboK1OqAwreu20rwaMwpX8bV_At3MvcAyI
+ hash: v1.k794b7964.b569dafdb063a1002e9e88a5bdef5e6b3741cf1fb4ec5de3e339a92ac8f8be4e.3Ae1BykRVFxMYDXV_JdDul_Tjkc35U40oPM5xcm1sUc
layout-products-and-files--files-filtered--light:
- hash: v1.k794b7964.5cc878e6caea7c3ff7652bb10b653cd585a16c94fa2cb9e7b5465133158f7f93.faXfD35dqWAl5G30KhgpthUkW5THYdnLczghwKQREOQ
+ hash: v1.k794b7964.37018760b9d9f87c394b082adc837cf5d3e442e68acb6f982b18eec23b02599d.VCrpPImVdZ75KDL4-O0kmHObtLu8KS4JZJO4gMUNeJU
layout-products-and-files--files-long-tree--dark:
- hash: v1.k794b7964.68c77037b76fecb70c4e0759bb2de8cb4a993915c7cb721b54989d9c1b3a6504.OFQnJ_4KFh3-XCHtf-Sj4dywvTJILDR6LGzvOPzEU6Q
+ hash: v1.k794b7964.ff398682f2ad0164bc9f7d69ea1165101184e64f428b1df031397c195f86c217.lc3k6kNIbY6DRQBhg6WGA_7hYPWRRsZVAEIBH7KZ8X4
layout-products-and-files--files-long-tree--light:
- hash: v1.k794b7964.3332a24060b3dd642a74b49f5345b5b111586252b72b76cf1caa0922bdd8893f.uLshwOeGCW5dvNik3kOC3CU95bYDQq8kp77Z8iqkbkc
+ hash: v1.k794b7964.42a3b731968688d8ee987daca76892c4e043ea5b962b7ba7396f153d123b7202.vusrYbA00ZCIHAwTq5j0d_J0xxc1axgpXYcFZKUrLAU
layout-products-and-files--files-narrow--dark:
- hash: v1.k794b7964.ffc50eff0eca155b52cd3b1d42a576b3f9e22a2af3425d5d01652228b100abd7.4Na6yoc5pUGD74fzpqU87rZ0sz7Blyes9TghYtVkvI0
+ hash: v1.k794b7964.1a5b8d77fed8da83b0b6415998d60e3d45f13cf19f5c898ffd939441bcb98d83.bM43sdPyf5qNsVqPTeu4U_5UklnEeuZhBv56em0O8SU
layout-products-and-files--files-narrow--light:
- hash: v1.k794b7964.ef7f8168cf0449bbd21e98bc81b2d1e889f487e5e99755679ddac95566f0106f.JoChv5WvYonJS8WSnsusK_2U89UgksM7uXZNKtP348A
+ hash: v1.k794b7964.cabf9970302f27c4b0524be0e94bfde4c453f773cd7026f8560e293a0f6454d7.s4GlAN9cD_aTvgXWYTbKc1-HvjP9Hni8hCcbMZ64k7k
layout-products-and-files--files-no-results--dark:
- hash: v1.k794b7964.b4d72602e881f72480272c481921678c1e880902e21de13679772d6d0244e496.jogdLW2vwPrU_cOZ9VxA7uGokbami8Ln_oh1xr9D7dE
+ hash: v1.k794b7964.b04c385aca0c1e2c33b6b5e77f81735741b3281faf067a80b15fd3b7278173ea.huzr0sLl5YqIGSw64xx7Inu8_AMxqjrlbCbBCkT0xfM
layout-products-and-files--files-no-results--light:
- hash: v1.k794b7964.aa9bdbe437b64a9a2f9e972805d8f6c868ff59d71734fb7c9da5e7ce9f913356.2tct74BiAidiHFdvI5XYqDw7zbqB1TO-NeYuLiP3wzg
+ hash: v1.k794b7964.069f6069a45c88db5e0be03df85536f0d53c84782384a331b8237b3d33c9303f.rdSK2D91Yfdqlsz3jGB1ADoLEWabmHS-mYvgAmCiFtY
layout-products-and-files--files-only-mine--dark:
- hash: v1.k794b7964.6f66ecbf2e4d03a296b77264464c6afc42380efd85d8a0f5e96d81a2f1c0e5b9.n4uzUmS7TV_OwoG0jA--WLb-QIVEHxBjGgbLrTt2SDA
+ hash: v1.k794b7964.ee56582d1145326ddc4ba713892d72c3801ad9cdc2fded7bc2369053add02647.tffrDBPFLqUf0u5l3u_GKaQHEvQGK9NAk1MaQmc8Yy4
layout-products-and-files--files-only-mine--light:
- hash: v1.k794b7964.caf3aab013a931affa35bcedffbafff73db57ad5beb9db6042de6ebef01344a9.lrkzLXqBp_ghJSlSp_7BEKhuihRktQUpFoN2x0qDMqw
+ hash: v1.k794b7964.019cf3a90b6cecd4ff8a75bf921287819c21db76b59b8dccedb4a751a680ef66.qoHE-A1MIzBx3hh2-a6wY-_nhx2sP0kUi0cKiXsYdw0
layout-products-and-files--files-options--dark:
- hash: v1.k794b7964.dea1fd4c171bdbd5a305aa73fd757789805c4472b735486b6307ba475ab67c0f.0RS1PpOZVK5Jqnx0erZyvx7szzedf0PFh1cscAh6EY0
+ hash: v1.k794b7964.87f6aaed61591ee898a5e47244f7c0a2c7521e406e9866a317b78e536dd7da69.i6OA1tG1rG-k01f83QarFzmiqeq42-04PSHJtmwep2A
layout-products-and-files--files-options--light:
- hash: v1.k794b7964.299295e361b56126353a42316f29bcf333afdfaa11479197396d035a6698020a.kdMAAAlHhrEkfM77NO9LruJv8KZIQs-sma45l1BuRGg
+ hash: v1.k794b7964.dbf44e77b8ada204c95914789a6a45c9256ed5ccc370662bb35e94d452d9e541.yi_i1gjKXfIMU6KvgLE4ALGzJtHOCa4thdUOetVstS4
layout-products-and-files--files-overlay--dark:
- hash: v1.k794b7964.63a5246901fe2a16497896fb29ae026171c4c0f7a6cdc070caa398b1f1ff6b3b.joX3bO3SW9oPjOcoXqlW6KF_jtZdKqJREjlVuosz6mI
+ hash: v1.k794b7964.652730478b9c5a2d9274c981d48ac948771a72f3c6d3eedb0158523324627630.Y9Z6cZFnaW1yW0UxEwAlMrZALgjin2U0j59JBbas_9g
layout-products-and-files--files-overlay--light:
- hash: v1.k794b7964.f1af7b90522cd88e7cde6b11498aa33e267b21540e21d1350dae0c23fcabbceb.E2f5kykcbiqjJ2BUPbpslb7d5gHRZ92r3-OSEaj1Psg
+ hash: v1.k794b7964.9555ef0000fe2a1466a5a6eae7e54f78df892b87a724b7b81a61da03f4584c41.8MXPRtfMxRnW--1YK0811j7Krog4MEgYC0QbAlTPVrM
layout-products-and-files--files-recents-collapsed--dark:
- hash: v1.k794b7964.53f41769c06e3368ca7a1cc8f8bb867ccad4ed0567eb58733ff35d02259341b3.1kwLgAI0t4JT8_shR3PSBudQv3y1lQkuv7O6MtVql-w
+ hash: v1.k794b7964.88d830231b825502324e0006837f640bc98a596219cb1cffeb315c5686a14d8b.qggx86FTUY2ImBzydCjh8DeqtRmRqjXbMwJEqfKyEKk
layout-products-and-files--files-recents-collapsed--light:
- hash: v1.k794b7964.8e072988d6974928d44cbf843aed204430f35932c7126f758c16cd2a4f7d7d85.niG9G3kdIZjQcu5ykNdo5w1tZdHwwAbqJW0JmDEbynQ
+ hash: v1.k794b7964.461cedc42ecac42ba7b5bc9a2c3fcfea7d4d1e9151f08fc68273f992250e0da3.CvSr9Q4TQZXuOsMAwGTa2ZDRjIPc53IL2ERb8D_7biw
layout-products-and-files--files-search--dark:
- hash: v1.k794b7964.02fbea7943a8ddfca67daca29117841c9bf0cbc819116148d62a67e3b6d28372.eop2Mt1sp4RUIBIfoX59Z8E-dK2Uo1vL1zQcOibXObo
+ hash: v1.k794b7964.3be4e389e533b30185c7932e6ef078afb11dc250dd858e56d94878b3ba9891af.k_I31Dc7O-O0ZxREAcQlKMJbd24q7qBsn9jap9WkE98
layout-products-and-files--files-search--light:
- hash: v1.k794b7964.4b13f6492991ade2ffa6e588c43bd82fab1a56bffecca29b0ea2f1c603eea157.jemVJ7AWPr5tI0DIRuLdBFbCr2IRGnxjvqZx06nEjhg
+ hash: v1.k794b7964.e6096eac8e226d90e36e144cd638f7118d55c751fe15d816f7626a8e8427d19a.I9K5ir7sdgq5WpM-1kSnIgR9_7zoftF7kIVkJJ_049g
layout-products-and-files--flag-off--dark:
- hash: v1.k794b7964.cf531ddb8199f7a8e355c7f9911acb313c9b81ff83f93ec40be2017e144fb829.hF_St_5JVlo4JTJyx6Svhk7e1hJGZCz3tVgr7_F58n4
+ hash: v1.k794b7964.e8e26209cb3f0d0341652ceb3faa804a8e297782ef168f564237f99d0e5572f4.ayq8VvLG_E1-ePC1GiNQSw6qCBCQdXyk1u8umelhxLQ
layout-products-and-files--flag-off--light:
- hash: v1.k794b7964.4a65bd65617c4eee060ad7d67154e142bc3fec522809f54d12aee4a3c4c16b67.gFYCyMoYR3xiC-d7nRXDCRhtNo6m3ZPGZVSNUOR_0hI
+ hash: v1.k794b7964.60e7426834b7b67d7bfcc485a21e42a37538810ca0b6f0fb16f93ae7e2e4a742.3AiDJo4nRxAiq1oZdbi3wpjo6IRxWl8-90JvD4_vBQg
layout-products-and-files--flag-off-after-files--dark:
- hash: v1.k794b7964.cf531ddb8199f7a8e355c7f9911acb313c9b81ff83f93ec40be2017e144fb829.HDX-2X99lQbW2KVc8uv_PmjVs3LJ5jP9zerhepGHrxY
+ hash: v1.k794b7964.e8e26209cb3f0d0341652ceb3faa804a8e297782ef168f564237f99d0e5572f4.Fyn_tvZXy5U0XOFi6nuhGGr1sGizcBe6opk6zxQYfiA
layout-products-and-files--flag-off-after-files--light:
- hash: v1.k794b7964.4a65bd65617c4eee060ad7d67154e142bc3fec522809f54d12aee4a3c4c16b67.8YEbxdALGv3Q_I254foLKdc1O2ZI-84lWqKNiPVTW64
+ hash: v1.k794b7964.60e7426834b7b67d7bfcc485a21e42a37538810ca0b6f0fb16f93ae7e2e4a742._gv1O0ZCAHAS_9Jg6ITbCx_4PNduE7wmFmc_3GawvGY
layout-products-and-files--flag-off-collapsed--dark:
hash: v1.k794b7964.d6afb3e4a9cb6549b97b74fae1be4bb9573a02ef08694137012a5af092454acb.o4Wl2vtPBhRZkd38dYWiEoGtlcdBObNzrbkfaN0cyb4
layout-products-and-files--flag-off-collapsed--light:
@@ -3913,29 +3917,33 @@ snapshots:
layout-products-and-files--flag-off-flat-nav--light:
hash: v1.k794b7964.58bd050e6237f472e90016f997b7d6f68f6650ab35545a91cadd7d519fadbdc7.kcMUzUgt6_2NA7vLY9Gt50iZD0MF6Ja5Z2i19ku68Iw
layout-products-and-files--narrow--dark:
- hash: v1.k794b7964.1e1f464a7f37609b34328e4b68afde203584a5e2da3f590c5a005973d33a99e8.RO0Hc2E94XJLn9hsXpw5nyhfBlyyfODwPUQzA79Ybvg
+ hash: v1.k794b7964.557ca58c21232aaed6a6af7318489abdc86bb4f541b2a73adac60bc6a23cf7c0._vv0YKZVSbgPU70DutXpWsKXcniV4iiaeJ7iAJLYxr8
layout-products-and-files--narrow--light:
- hash: v1.k794b7964.5d3008a21fd6365654f5296aa5dfa5528b8a1f93023a2afa22ac5d4d6afd6258.ZalSQyQHMKuVHLeXtjuXqjL53qufQdaPuBpfjkVWs-I
+ hash: v1.k794b7964.59c54bae59ab8f9a76eb61bd57f098b765f37644de51be4832193097d6b30cf3.rISmeh528Hy1yr_f_Iyv50Sfbxlpif3a4GUWdiyzyWw
layout-products-and-files--no-results--dark:
- hash: v1.k794b7964.0a6ea270b763486760d8e3e4ec7629a47dfc0b59acdfa5fa831ca0d3c28c0c1b.Orgb3YwmM5vRXIM8mT0i5BbyH87o3mg0H8T64f1QHug
+ hash: v1.k794b7964.7d26437565c2cc909ce308d195baee69d640ea10a6d5e2caaa7586edb01dea33.pbR09mG5i45jUJ70vG8xFGDcnwpozmWYWdvTMeuwIfY
layout-products-and-files--no-results--light:
- hash: v1.k794b7964.5f5394398ce3a2a11200197edf694377dc088ac85ea328dca236704ed75a7073.Writmm5JD35gbIup0hzZQNsShrnPj-i_4s7CrwuPCQ8
+ hash: v1.k794b7964.88733247e0e4cbbe23105c977831faeab35c5c6983e1e4a9404f5ad8e759717c.wdr_DZZ_TYwXRu4uH9-APjuaICo8gk4kgmRUKtv0ZBc
layout-products-and-files--open-folder--dark:
- hash: v1.k794b7964.9b6e8ef035d40c9e893f56779bc91dfe99aeda823c24a8aa78c94d8e57404920.VGeOkFqEUuEv8N9-l7XGBZYr4CCDL0BRNmGi-4Q0Xok
+ hash: v1.k794b7964.23e0dd9f85e983cebbd8b4d31fdf523626513541f160214d881c6e6aa79a2f45.PK4R4ufwlu5st7-59Cv-T4LtDvloJk23YqNS0XJB9Q4
layout-products-and-files--open-folder--light:
- hash: v1.k794b7964.ad429c8983f97323a93545aac4f67871268c8303e3f5ded54fec1aef86af0ed6.O0zVcmJ45AiHS7AIbB-fJn7RPnOnnGoJ1Va0SONkM0k
+ hash: v1.k794b7964.246baac643fe4a369b82151b6bcab2840a860b93a784d4a350b27be3bc380fff.B2objI5BYOF1Q5SItTOGTwxYczF0rBk4xf69ggaRZII
layout-products-and-files--products--dark:
- hash: v1.k794b7964.c25f948dc4e95e860626786cde681ac0370547866ed5b02f9b9ff553e842232c.3nRRdholmflwLLkq3csYTBe8nAg2sTQhUl-LgQN6O7Q
+ hash: v1.k794b7964.f55ca77f155ea0686bdc1e177b6cd43b81264e2148a081d839ed48e2bdfdbc5c.rqb8phL8JXFmp4lBtx0IW1Ytudt-vajACyHEPXA9GgY
layout-products-and-files--products--light:
- hash: v1.k794b7964.df781bb079abec66950ec648175b80300fe8864762e72c4c686ddf9d8314dadb.FuAEvzZm3xXZnc2lkwOefAulALpMPbjfcDSzcjLd64A
+ hash: v1.k794b7964.ff697df5ca1592e744398c62c48bf66b14f429bbb1d9f13aba9c667f60c02aeb.j5n6Zk9K0HJHV9r0vP_Ir3EDtqSkcC23iA40o3PeVG8
+ layout-products-and-files--products-closed--dark:
+ hash: v1.k794b7964.f806afd3583970e9674d9bb14146006bbba9de0d168572ddc0a4abc346fb05bc.HbU8pmi7fY_EfnyXGDq0tlg30BgxPtF98QxB5khJUms
+ layout-products-and-files--products-closed--light:
+ hash: v1.k794b7964.64c789f31893a74e6581702c6ce9c8835997142c3654f390a4b5b90daf04a908.QTSE3PAPrPk19sw99EHgeqcRbH6MGiO-bMFesK1JKQw
layout-products-and-files--products-overlay--dark:
- hash: v1.k794b7964.3cabf655ebc64546596fec89c19f3425d58c6976c4340135f9d0f01884b715f7.3PNp3gkbgF393sUVZj2f2xlmHS5kx2djLkXJvV1RFFw
+ hash: v1.k794b7964.2d1b925af07398eb45ec80eff80c7d30adf676a31b4de3758a4bc5b2f9adcb30.GCMd3s9vMiuvy4RhxYBYShWdCuWphR2XJUDlvzOsoEg
layout-products-and-files--products-overlay--light:
- hash: v1.k794b7964.cb6960b633c8f7ee0889c60dbbb209d91d282b29747e8807b87d7df048e080e0.HVlFbVoiHMayx6wAx7AeukHwTcJkDZcBL_clGCDWaIk
+ hash: v1.k794b7964.09cf4e3d1603551f0bcb4e34a8b2c8218e9089536bba896bdb5c75608c6b4e68.RW6TYwmJhZjHfXcoqnu1DvEJr52L4eJz-uc_DnJDdLY
layout-products-and-files--search--dark:
- hash: v1.k794b7964.3218230b69a609cc20276f1b55e84bec72bfa4ecc39e96735b1ffb10cfcf1485.iOupQWb6IcutehyIKkxZJr772u-KVdbkjuwaq1qswBk
+ hash: v1.k794b7964.3dfd174f9729cdf5cd39d4acd2be988c2fce03e802f1f4ea1cd0b199219f660f.hUZctYTqUbL3HF38oMxNAPbTLfzMXhRC4hTH6wMhUv4
layout-products-and-files--search--light:
- hash: v1.k794b7964.3c530fc55b7031448f8defc5f75a28d0d50149f9af9bbb9f50ea5c6c75bc7cfe.IpCSE3z2ldgppEtU79bJo1wVrOWWIUAFaJC4zJTM4_I
+ hash: v1.k794b7964.8093bc6d0caedf2a56e01f9b26ed54d6eab9261ba36aa1894352f6364266d48c.ea1x2-DAGwW2Hk3GLzc2lRAP9R9TP3H1wCZJ460h2Qo
layout-products-product-tooltip--dark--dark:
hash: v1.k794b7964.52ba01b050e579d7c600df08497a2dfab2dba9cf670553e032afce3819d6d00d.PNNtTamfHv5qRTsFnRwxhlFEaIteMOgYQgAab2QRRj0
layout-products-product-tooltip--dark--light:
@@ -3953,17 +3961,17 @@ snapshots:
layout-products-product-tooltip--sql--light:
hash: v1.k794b7964.417a2d56a0422336f9efc43030a7cdae3f122cf78e3fbbad82601aef1cf74ad4.JG4EGMsAS7rihSzbd3tcBnku6eJQQ3_kL1V7TKFLgWo
layout-project-tree--all-products--dark:
- hash: v1.k794b7964.c0fda86501fe22fff859476faeb1cb250f5f17c1c25ec2c8244ff4dcca694637.hFfGMF2wyeTnmazQz1e7xRrSRpobY6vOUBJTEkzWRJM
+ hash: v1.k794b7964.aa758ab6ae62493a25d4efa8214c722cc0e3d0a7e038c6e693aa5024f261a501.FOhV1EDvl8vyssQhXAAAoO8Pc1rVyyUZkbe1bsaKFnI
layout-project-tree--all-products--light:
- hash: v1.k794b7964.487bbeb64ff2dfa4b8892fc8d01a660ebf003035174fee40b90e11b077773c31.ygvzFQLErQM00sdHRnfK37zaiZypZ7zlOUe9RCJfJUE
+ hash: v1.k794b7964.ac89a4e667b04d826d0a5ded96090a943befd5af8c448535e57840c080fd5463.0vFzpjK7ySlSk14_22pZnvVi_S4zUJRSXoLTbwv6Lio
layout-project-tree--default--dark:
- hash: v1.k794b7964.f4f9711fbb4dc3ee399130d90800a85f3340ef956400a0d153ed381c2b745993.TTkQwJ8WWysKBJ6Yfigp_NEJr4p_Mc4QoohX0x2vcvU
+ hash: v1.k794b7964.d82a55db4673668477d27b0ce520ef462930fedf17033cef7083460a87649d3b.dCmEwQtiQfK5faRYZh-fUj_FNcXNVvSvxe8uG0vasb0
layout-project-tree--default--light:
- hash: v1.k794b7964.517be8bc4b4c90a8bff1d20d055b38e7b46c2f83a6a4642808a1616a06e5901f.2tXnzUt6RcxltdkCCChCwSW9g1XiOtV9uWPJxAY5ukM
+ hash: v1.k794b7964.59c0d512404b47cb773aedb47fe5e574971ee0af34c16fe52ec76864cda25063.XlLwUxbKH43NgQEYJpeX3r_SI9FqpeaATzjbh2gUoTc
layout-project-tree--narrow-size--dark:
- hash: v1.k794b7964.4984586e16cd8aac358b4514206c944922d8eb00b67c104f98ee385e24e93ed1.DRpmX2SKWmPri2EvJqxmM_hEhNAHrxvPtDCke0RvciM
+ hash: v1.k794b7964.106b9131644135238ef85f042aadee8b9fd1d507b8958fb2907a324c85a25b74.f4xilJOOfSLX2JGlwqDu7umVnRpcHClILRxR_WUiQMQ
layout-project-tree--narrow-size--light:
- hash: v1.k794b7964.904d562e48b5a7d8e39a8eb15cd235edf74c6063c347e6cb94fa5be8472302bd.JIy6vdj3pErw-3k-R0Ug4RrhRvMuN-G8k32Iaqqn9Fg
+ hash: v1.k794b7964.b7ea83ef6bab1ad9a52822aae2eacea1189ef301756cf7798bcd8c910ec9027d.utHYOQM8EcqNb-lSfLiRST8aXSve05jZtoyWKhjPF7o
lemon-ui-code-snippet--compact-with-long-text--dark:
hash: v1.k794b7964.24ef8dbf676262fd459d035788973a4f00794e9f44094a50fa75d3b290e16614.HctoklkKb9cteQHNOAmiWzf2u1pie4IMoEMnn8ih3WE
lemon-ui-code-snippet--compact-with-long-text--light:
@@ -4145,9 +4153,9 @@ snapshots:
lemon-ui-icons3--shelf-other--light:
hash: v1.k794b7964.aa74ffdb695068a942de5b22c9936a4991f16af4382ddaa12e31378b3585b170.u9RiB-521ppS_huOTennJrDeEqFgY9gofGVZjO7vLxA
lemon-ui-icons3--shelf-s--dark:
- hash: v1.k794b7964.25eaaf9a28f31e45942e9e054242e1724d6dc757ea78832ce435e0e6c666d22a.XtB2FyEBqRqQqTOTk1nz_MggTRWnKwNit8AScx2Kg10
+ hash: v1.k794b7964.f5b885205bda49d2d4a7dfb24119400a96fa3f31378e2cb1b2c73d195cb608b9.wHnrHZNvVM_8ARljkq6J3vnm_h8nDYwuGffMbIxYuGU
lemon-ui-icons3--shelf-s--light:
- hash: v1.k794b7964.1d5bcc73ae4ac5d20365176bf2c688249e26ca5be7e0cb663213aa1d968f9684.DeYOLC7IgPaFuulmbprhU64CPMsp9qn0e7MOo7AjB-E
+ hash: v1.k794b7964.7d0545daad48cf7bb7a4246f2a05bd433fdafd5aef3de28f13a69689fc8ebec7.VjUvGtR1SoJ5P-iDtmJByEh4GLU-gf31DAjzlhDTo4Q
lemon-ui-icons3--shelf-t--dark:
hash: v1.k794b7964.5ff1657fdbe447ae9bdfcdd40492d1a9d888cd8100cdd235d06b427f0fdaf089.ti_aYMtJzaNpjmr0bYAdFT7_TQI7f-SnTh31trhz0pQ
lemon-ui-icons3--shelf-t--light:
@@ -8117,13 +8125,13 @@ snapshots:
scenes-app-data-management--ingestion-warnings--light:
hash: v1.k794b7964.3209e00fefa6b56227f01db9fe3f231e0bef672e4fbae05757144510e79094f1.hzeCCQksEIyxI52va51UNvenmIlxwKNAFf21tLkD_MI
scenes-app-data-management--warehouse-properties--dark:
- hash: v1.k794b7964.ee5d8237fc9ebc790c7e71a71e01e1831e8f132caa2363d93ddae59ecfd6eaf8.j44UeGwvBsVjvX8fHyKOsRlpYvR9PRu9gUMayoeysRU
+ hash: v1.k794b7964.0d09039819e38c56daeef4f2fd5a1ced8eb596bb05b00fbddf3421f95d33fa07.pnoh2XgAhUNKx4T9gJraO-Z5qbZBB-Ac2o1ipIh1tiU
scenes-app-data-management--warehouse-properties--light:
- hash: v1.k794b7964.119edaac6990f8debc3d44e00bd2a355642af239e35c11a4d7c6c1d4856c68be.RlUIPKdDbZoCIAxIPtqWcxv6fcd7EfgOQAuiYJRREjI
+ hash: v1.k794b7964.20d09f1974f98ebcb386be115d1738cd9509c2ef84f3f461e3d195435b279132.P-JvAHsJJf0oWqczbejry7qinu6zDt-kqJTqhtSI3MI
scenes-app-data-management--warehouse-properties-groups-tab--dark:
- hash: v1.k794b7964.75e04bee3fdb59a1843eaa5161081a18503dab7819507ea18cdc58c1b6530a30.bp087q5qYwr2GjacmAfRqtEjwnzqO4qbBACRunoW5vM
+ hash: v1.k794b7964.ef810ca4eedb8546538927c129b186293040690bcbeb0a4ed0c14979bf9ac6f2.DHxsdSim-40F2Pu-glrZt97g4oBfwNAF7ce30lz8XRE
scenes-app-data-management--warehouse-properties-groups-tab--light:
- hash: v1.k794b7964.055dad5f89f7a11a6b6d0bb732e7f9420d68508a00745e8de1fcf8b204450779.Ab4pvOaOoH-NBrU1x5hj1DJs--s5NlJM6B3cyqiWbNU
+ hash: v1.k794b7964.54695d8f9121e7b0fa8f05b0d0cb65ff0aa4b93d8d6d782fb41edd56575c2928.An8GBfRYfJwssPf3o-kRfkTTUjIzuFjninB6WN1wVs4
scenes-app-data-management-actions--action--dark:
hash: v1.k794b7964.5a20010c1f9832758f1c32c5e96a26028a7ba0ae9280b45d77909143364dc16a.pqiIS7EdiJq_M1ULx_6ZI2XfRSB_fImz4nooaueuk7U
scenes-app-data-management-actions--action--light:
@@ -8165,33 +8173,33 @@ snapshots:
scenes-app-data-management-definition-view--event-definition-metadata--wide--light:
hash: v1.k794b7964.bbebff9b92fa30583a75b6176cb5a68c42b0507fe804941f64c5e8333a81543a.Mq-LalWKlCD58ctQgsUpHHoyionRzSjgFS4fRSL_D-Y
scenes-app-data-management-event-definitions--default--dark:
- hash: v1.k794b7964.d0440958f26df761c2257d96f14a9dd541bb70baa1aed199ffa5928aeea47cb1.LtJRGPRtS4lvpOZuHtH7vD8fgt_QyRns2zOHK5NqggA
+ hash: v1.k794b7964.fd6a1b547b355c4ddfa3ea42920855cb501417cbfd0000978d6a1f302f733068.CUpF10Sg7nLZVzj4M_DsH0PaA1iqydLFbKSxm-mNJeE
scenes-app-data-management-event-definitions--default--light:
- hash: v1.k794b7964.aedbabfb55c7407c76e5ee4e51f5b547fb89522bee24eec680691155473dfeff.gm4FilNsePXr6qASJXYxop1KWQXkTf2k0lqIoH9nRZE
+ hash: v1.k794b7964.7967b8c148ed75ab6032a33749e7c1adfb08f473413dde886c2ced032c7e4bc7.bolACEsxWTGNA03AkueZObrPsIUQMoCyf1RF3PHlVo8
scenes-app-data-management-event-definitions--filtered-unverified-only--dark:
- hash: v1.k794b7964.2d496db2f6747da454adfc365819e1a405e993fb129afba6ba28b42b9f1bab2b.7h4YYTSKYSWq00nY67GwBQZkxOu2dvWMEKFTfK5Rmmk
+ hash: v1.k794b7964.5e76710734218e334f97b2174cfd5a14ef2ea610321f39fa46a78cdaa5199e08.S4EzMp8ItX6rFffJfbFRPlGRtEZJw_2QXwQzypDHG-Q
scenes-app-data-management-event-definitions--filtered-unverified-only--light:
- hash: v1.k794b7964.ceae87821d34262464f20d817459bb2138f9121241b1e635d9535ff623e1bbaa.e9_xum8Gtl0EImegXmL_5XmwlTzfqlRsQkbgZ_HgmZc
+ hash: v1.k794b7964.70995e107a1995fb8ecce8903791eb3b7cc494d7b594f2d3d7fe1b18ba32310d.v1xZHDQb1Fc6yD6lWYfNLkStI2A_wfpuynjd6BHqTWc
scenes-app-data-management-event-definitions--filtered-verified-only--dark:
- hash: v1.k794b7964.c0e1ca6c30c2f01d0bf24a2003665d1705563b746e77a83d76ba5ba7277506db.0M3XJuReBEJN8G4lxYgeXEvXP2pae2QiYmnflaO_cG0
+ hash: v1.k794b7964.993c734914fd64eaf7fcfdaa566893e5540f2729e29c5e004d10517f6375427a.GyidWMB-a3KjVAHkk1wht6pXqb_kduBrJrVGwtigqNQ
scenes-app-data-management-event-definitions--filtered-verified-only--light:
- hash: v1.k794b7964.3b47ea008d035855293cce22b6949ffbe2a2220ef81ab9be9ccafb19f31f2255.G-mWUtZNTZJ4xlbJDgGyzAWmyVvSCYN7RAG9GpB2ABQ
+ hash: v1.k794b7964.180955669218e75ff5a084dab00fdb9fab77ccb42eb733a411855fd4556b1dea.h2h9juy73JBAenuPFWqXU6wbcPdDl9lVRqmrb8Bzc1I
scenes-app-data-management-property-definitions--default--dark:
- hash: v1.k794b7964.9fbe3c05ac4e92ada46f8827af46cb1eb0adb5c7955711cfec86a64a0aa20691.o_50pNXYTq46HJVDkFUgpvMKiyalTdZT9V9ofWY-GEI
+ hash: v1.k794b7964.8385cb12f59b35d4aa70d30748bdf8bc78fb14558840fc448dbc8a9373ceca7c.rprhfRTwSLBMpyVGLfjkYKJomlDpZk3z_lb85XDpKPU
scenes-app-data-management-property-definitions--default--light:
- hash: v1.k794b7964.46841543f05e4496831a7f1ce13a86a6e8cfaadbda3a2f792032c84635a49414.CxbbG9S8tsQrQiYZ-uOHj30vFeOvd0RuG79t6YmzzI4
+ hash: v1.k794b7964.c1c4fd3061bb1b3747c922a6b3cd270a76eccc0b3535181b6e94eaa244d9dae0.BfW1fCkqxVEUjUe348d4gCqGmiWqoRL8k5ItGi-tfaU
scenes-app-data-management-property-definitions--filtered-unverified-only--dark:
- hash: v1.k794b7964.51936a66fd6e074ac662a1865c926ecaf894f92d1902c2dfb3cc7315d2dd6154.2ZMO44vpVGZFM_p5Dtr2Z99UohbD2c4NcHipzT_In2A
+ hash: v1.k794b7964.16ceaafbf30ab15c7d5e9e183352a14abcc767fa945b2c55d1ee35778769e847.0hNMSVAa0v_Kh3WUFVwm1UeblZt2mErn1Rpdc9klHUM
scenes-app-data-management-property-definitions--filtered-unverified-only--light:
- hash: v1.k794b7964.6615a61dcca94c5fce7af4e79940c83d3f4f252535d00a276bf4628a6e6225ef.3Ar42Ki-aaX7QxBus1wLfiwQnXHakcpL0uackfqn0Bc
+ hash: v1.k794b7964.b79bb2141ab79a9cca19dfe7cddc5115a228ea76584f1cf7c0dbb2f61539f66b.GO5ce4SmZPW00jAzFZjrN7zIZJWViSBY2sGGtvgB4eg
scenes-app-data-management-property-definitions--filtered-verified-only--dark:
- hash: v1.k794b7964.51e4a7b3078ed9ecb4b5ac38112d894316d898d87c11c67dc6b47e3951b38a12.ANqAsszKVOVxNG1f7aDu8I3_Dh60qJEcHU2K1OkDXyc
+ hash: v1.k794b7964.18c162e4585e32f00d106204e0142cad46f6b496a555c3422663ed956c6bdc28.vBf5o-fwMC7w4kNMS4nfrCBKqUc44l-1p2XrsplRMJs
scenes-app-data-management-property-definitions--filtered-verified-only--light:
- hash: v1.k794b7964.dbc06ac0b522a3d049a85dbf996aa5109220acaacf716f0872f4dfde2c84b84d.NdWzd5gfQwPjvPCknDEtkC68ZXZdAMcU9FyuG9OJlPg
+ hash: v1.k794b7964.37dbf9d4e2bede86416ddfd4928ed067e1672cb7cb4d23d2cd305177e4f173ce.kos2KsH61i6WBXdqgY-31D06n91YgzNd-YdHu5i5da0
scenes-app-data-management-revenue-analytics--settings--dark:
- hash: v1.k794b7964.8e56549c56b6281b04b83a55753726c8320c5ab2e5d73dca58c9c46e45209a4a.443I0CJAHGi5X0eu3y8QK1YzyJdrqr0pCLcLC760dRQ
+ hash: v1.k794b7964.5420eb1661aeacdfed131312eb7001f783ff54d6b811e18a687eb287b3fe5336.E8CVBs6OZpwh13wg7zE1U8Pu2U-FJYlhKDmJqQt6AH0
scenes-app-data-management-revenue-analytics--settings--light:
- hash: v1.k794b7964.45f23ee325c4be7fa2ea5ca514ce2361f1b26201f97357adfe363238071c8f90.teEnJRkjqgXgs7eZSCU9fhK_F2cSA2THpH14IVT9N1o
+ hash: v1.k794b7964.6e0f6c0309998d263e314e22d2f80a92c5f228f2ce54877fce6bd1f58811a707.d1zD2bhfSTRYMjIO0kiNlXNJ06813WfQkhVzVVXRhNo
scenes-app-data-management-revenue-analytics-event-configuration-modal--default--dark:
hash: v1.k794b7964.6fa2b66d27a1675f40be299d4063d6530d9b7899854e2a4f90a7ed9261457532.zZxRebzp1LR0fgFq5G61QARku_wdiC8mrBG5BtU4Ilo
scenes-app-data-management-revenue-analytics-event-configuration-modal--default--light:
@@ -8717,7 +8725,7 @@ snapshots:
scenes-app-etl--needs-attention--light:
hash: v1.k794b7964.da980590bc87659d284578dcfe3778f9e9f68bbe218bedaef312f01a8847c625.sHm7R3KRP0yGxleUAjbXsqo6RxUjT5In5Gl9SVUIz_c
scenes-app-events--event-explorer--dark:
- hash: v1.k794b7964.37b0783b0099a978beace09a9e97c9c24b4efd25eab561f7873494c40912f607.lhExCd9bHbFLYiVjEsoqKRUpnpYEv4pf0TAllwFc8jU
+ hash: v1.k794b7964.3bf3b01d0972be5ad8fe4a7408d20b10e2431ea8f28874aa0a63f7623c1af97c.ONFJgVNjjG1f32eqlxRZuleSgdLpLGIcFhHN2S4yvhk
scenes-app-events--event-explorer--light:
hash: v1.k794b7964.12b19a0b4d9792d72a19cc4006fad38d14f173c22c7b529dee3b3158f6199186.bhj09fVfxwO0BXAWVinZUpKaM3CGxF_oFpDfWLJoq4Y
scenes-app-events-mcp-tool-calls--mcp-tool-calls--dark:
@@ -10597,7 +10605,7 @@ snapshots:
scenes-app-notebooks-widget-generation-cost--unavailable--light:
hash: v1.k794b7964.3f0d75a1e968543780ddeb9654999646b3fff702645421f0385ec674825035d1.gcQKz94AOWTJ53QZp5qfNnlRaMkd71BKlGH7ouDdn4c
scenes-app-notebooks-widget-views--action-views--dark:
- hash: v1.k794b7964.9a752af48c274e00d922b4491c01aaef874019b886d91f65e891a8d4ce18361a.a8f4IjMdEHKLV_5jRIII-5EsmnVYuCpmuohpIwZVNZw
+ hash: v1.k794b7964.44eb6be36d944d9b9761e747ec346787afbb8a92173ce313da706f0dd65db890.GCW0j3E3JGsR8LmUH-vmu0sb3PCqZyNS_f06ckn4MEs
scenes-app-notebooks-widget-views--action-views--light:
hash: v1.k794b7964.5eaedc2da89fa2785c527ccee76911ad5f78a1cbf986c47a355ee300cb8cc49c.LwtCxJc2uTX-xwC9Rog-EsXcjXJSh8ulBC53vBrYJQM
scenes-app-notebooks-widget-views--cohort-views--dark:
@@ -10733,17 +10741,17 @@ snapshots:
scenes-app-people-cohorts--cohorts-empty--light:
hash: v1.k794b7964.8eabf59d8c6277d154b3192cc00d3f66e4af8382722dd7e3599972194cef9735.7ajvmO2OIckY7mCNXG_HE0k0N8XpFPwDSTiNYgNajUU
scenes-app-people-cohorts--cohorts-list--dark:
- hash: v1.k794b7964.ba60739cb1a38c0bc4328ce9581ebcd3206a94d4fc25399910115b6a7b34f720.fihj0nFQRie7dWF5Wzp8rz8m0JFBCFa6N6VXaa7zDLQ
+ hash: v1.k794b7964.936898cc6afa38f32af1f5890d6bfefc51e8c4c31b17ee4b6a6b624ac524c4a4.__Bmytob6EpdIYtZmHInJfwar3ilkk0BCra-jx_rygs
scenes-app-people-cohorts--cohorts-list--light:
- hash: v1.k794b7964.1bf47ee3ad41d21ae2a41cdc8c58027779cb67cf72dc21ea40186cde5b2fbe8e.-t4sba4fJW6mLrsTN6fWVPvb8SEwuwbvA01eDMRsmwU
+ hash: v1.k794b7964.580044bdae9a8f99eafc504519dc19dd0de9a95834c90ec08bb312482541f4b4.51IVxAKjvjCfWSxLeGJ5Ha0Cz_hvt-6OpACgpRI2eas
scenes-app-people-cohorts--cohorts-with-data--dark:
- hash: v1.k794b7964.e9b06da7fe302cf5d9f9b89a946bcad3b218de80b09f6d79825dc047e2c47144.XhK5xNwino53Y_bl2MrzUq8l2Z2ecyjSXkuKy4TixjI
+ hash: v1.k794b7964.8c7e6bb57f069365930e59bc23f4f474985fba72965a2529a8c637625efc4586.yglVBzUjUqK3VdkWkxWhca_S0-5C_tpFUkutMyfQni4
scenes-app-people-cohorts--cohorts-with-data--light:
- hash: v1.k794b7964.78ccc4aa71cdfa0f7f6992c2f5db9948739489adb7ab3814f097fa6391f66942.5fFxaSpqMWp0-CEO48c4gR5lrxyMVcy6Cp4rgPi3V3Y
+ hash: v1.k794b7964.14aedf9cca0d93afa26297b9a3f853dce60763e5071accca34f2e967d4d3aebd.vrUhvBcFuVw09RN7l3LaOcotGeOJKiU8IVfP2aQ6e0U
scenes-app-people-cohorts--cohorts-with-realtime-states--dark:
- hash: v1.k794b7964.c56a4538831beba5bc0c17b2b12edd782c1e8c56878cc82c2f8518eeb635ef66.UxXvp9_MzDZ7N4n1kuRO9VoUkm2uJ-QJI_jEAAWVWxA
+ hash: v1.k794b7964.6f79c02ad657ac357802e54bc3e9fcc586928ebac2934c8afbc8dee6af230d91.ob6YNH3a9Vhywam2QyGFiiUxYIvKN306RtIWZ19q5g0
scenes-app-people-cohorts--cohorts-with-realtime-states--light:
- hash: v1.k794b7964.648d83f3b0347ec61c77aae1199aa838b764c7a3ff971d2816d1361ce44fcb11.K1pDUnXN38DpohW1_hz-66qLblcS4ayujL8yaiiZ6bQ
+ hash: v1.k794b7964.ea2969a6cbfc9d3bbc97a06bac416d2978857e017b2c2c2bd6f1aae8bdf52479.8XikN3DfKFXC1jTwh0Gna2kxNZMzulBSX6lHGFm7_vc
scenes-app-people-cohorts-add-person-to-cohort-modal--modal-empty--dark:
hash: v1.k794b7964.4d6a9ffec03501c8b5d18e07127691b585f229dd60847a3cafb1e7c4d470e5f7.u2PV_7TIzIOqQLmFFxHpFecnxYbFLybvgVHz2ij4jCs
scenes-app-people-cohorts-add-person-to-cohort-modal--modal-empty--light:
@@ -10757,9 +10765,9 @@ snapshots:
scenes-app-people-cohorts-add-person-to-cohort-modal--modal-with-all-selected--light:
hash: v1.k794b7964.c8a802919fbe8b57ddd3484e0736960c6e7aef3e5236f3518ad5d78b5de0741f.qL7rlejiasuC6pwlUE5inv_GZ1tjujnDGsZQk48MiHI
scenes-app-people-groups--groups--dark:
- hash: v1.k794b7964.2d4773874a3d8bbc406527b9b5d185df7d9010babc19f5a62bc0fa16675615c4.IuI9xkAW29Da9IY8jlHEqbBNUeXuRchIFeZAF2Rzglo
+ hash: v1.k794b7964.db1f4c1385ff3aefaf16c5eab69d2a66a12ea9711f3bd20ef23c01a52936eb92.FZHAbvEdcTzd1gctVKGEvyb1E518MrffEPH6eDvxPLw
scenes-app-people-groups--groups--light:
- hash: v1.k794b7964.894dcc1b6beb88e930a72308a4d1008244f7305a071d3ab38fc87919ac14dd8c.m0FdetDwDmNWz-hch9f3fOiPFpzYh4Op2P_OaaWz3jk
+ hash: v1.k794b7964.5a7b078dca321f5d32ae901cab22fbbfbcfc29c791ac812bb7188301a357395b.vQ3yFJ944yrQ5HMrLsO3Z3-I84rMYEnqlSAm1Wa9TXI
scenes-app-people-person--person--dark:
hash: v1.k794b7964.3865d15fa873d551018dc5aa0aa1680ff644d11d49fab16a9a579693750b4d52.2fqNPzGAdSqQHpLRJE38ta4HcLkaYU5foxzMMT8oY2I
scenes-app-people-person--person--light:
@@ -10769,13 +10777,13 @@ snapshots:
scenes-app-people-person--person-not-found--light:
hash: v1.k794b7964.a3a657862b2bd2cb2f1e0a795c2089816cd3a3add75d63f3c1d17c3dfaf99e58.7nKFbvFDTWKtPh8oT1khOtMFENiy8AKBKvg2bhR1z8k
scenes-app-people-persons--persons--dark:
- hash: v1.k794b7964.bbcde823907d0a6561afe40e363d67f53cf9fc88a6bc3d7b8e303b78c465f089.CNT0CyRUG-yut-MJbs-By27E6VxqHPp3dsKxT0dQrN4
+ hash: v1.k794b7964.2c905aa61244c609c1b747f82a121c545e946081cfb809db5ac5b12486250e63.WqwxwpH3GidQ4PpI2AeAXTyI56Wy_8RlBEDmck_kIvk
scenes-app-people-persons--persons--light:
- hash: v1.k794b7964.ba8c5f8760919e5bc6a62d587599f9d18b1699177e1a553122ddef7bb1d1ba2f.1mP2Hl4Y9F_TTBdpLx0z2FWvDoEe8ttr3JOSP4XJoMg
+ hash: v1.k794b7964.b3f665720c30061239bdf59bb980b84a201da8683e31e3c379823917ca6bfe04.zE7QM7pXfefoehE1t8toPq-7EAkulxzxXZPrilYWUg4
scenes-app-people-persons--persons-empty--dark:
- hash: v1.k794b7964.eaa71c50ae2ed7a81333458b1174a80885e621c9f293de0367e2a4d65294b398.8uMKPXYZ943_ncEtmg592_sXacuRN3Fux9hJ4G1qcsc
+ hash: v1.k794b7964.0325f005aaf24200f5b6cd2c62e8e0e2b5d356eea9ad3cb238b57b1389af2133.cLCPB7N1nYv4eZvTgbWNGKTbupTdsCv_FJsw1sqngGk
scenes-app-people-persons--persons-empty--light:
- hash: v1.k794b7964.10c9878a4b0790830b0e0074a903686b0576a2fa385833673d7ee4abe113c57d.f7bzPSLBvs3XksPwPMuXolugbN1cNkOf-fxikxTqlGA
+ hash: v1.k794b7964.23a9cf4b473111e552c4b6f87046f4d3a23f2135170891178c726d29d6edd09e.AAFJUlfLAqq5YOnwab8Z7gvdBFWCqwc5KHH8ignT_bo
scenes-app-people-personsearchmatchtags--every-field--dark:
hash: v1.k794b7964.06e920f3a71ee2545cb54428cb780afcff032596a6a547fe0fc25401eb90eeca.w-Tu3nUGALKjrAGCCZEfGfiSfYU_GQ8_QgYASdzxnDM
scenes-app-people-personsearchmatchtags--every-field--light:
@@ -11565,9 +11573,9 @@ snapshots:
scenes-app-settings-user--settings-user-danger-zone--light:
hash: v1.k794b7964.588b1d5390399d7d71e55ed023f0af6576e5b37c8fa491b6d6ccbf123f48732b.M6r-NkphdCHOZ7CToPy_CTgIHFn4L1QP8YO2NLs-DW8
scenes-app-settings-user--settings-user-navigation--dark:
- hash: v1.k794b7964.3ac73e830a096f24184899a1636227c6f6bcb3146fa7e5b65a497407fb9dbcae.VcPuHv4elDb_cblau82cL54m83cghhoSW9aBVha_zz0
+ hash: v1.k794b7964.11aba9d7916374b8dd99656cb775ce5cde26d92e06fd2317d3ec2d48b7880d20.Pp4n4D2ChDbY726Rr2iTX33o-Bk6paxlJeGonZxgYfA
scenes-app-settings-user--settings-user-navigation--light:
- hash: v1.k794b7964.ea356aca4149b794c7a166163a65f6ef0476a56a2d52eadb8e71e39afa9c3971.n2VHKvDJKxaPe7AFE7ysIYfRsXbL3gumJ6T5msdDgGI
+ hash: v1.k794b7964.b3457d6baf1d908da2872a9252dd07b779a933e25e92d7723d9638023de1cc6f.JuvVhKdHTcJvvXyeK4CiNBe9o_Rvm4WQqaX-jg1nY9M
scenes-app-settings-user--settings-user-notifications--dark:
hash: v1.k794b7964.1fc4163c567f18057b929328e07459c13277805442523070136233c17d5e633a.Tbp1Kb6RmIhrzsmp7CWml5LEnFyy9iY9-A-lTK-h76c
scenes-app-settings-user--settings-user-notifications--light:
@@ -11589,37 +11597,37 @@ snapshots:
scenes-app-settings-user--settings-user-reminders-modal--light:
hash: v1.k794b7964.fd4e6cef9717acd549a70ae2618b1327454c06028bab22e3f3f8bdebf37f94a7.Sy_iHcMFIQNixUcgJE0WkbH3pSmIwDeIRZoxT2EfEQU
scenes-app-sidepanels--side-panel-access-control--dark:
- hash: v1.k794b7964.554435d39f0216bb1d1d2bd30bb5349b832871a832d7e751dbe3817cfad7f725.Am91eP-EhuYx4YS1IBHDk1fnSvVGke9GchLJs2t6pQQ
+ hash: v1.k794b7964.cde211ffacaa6094bdd1287c1518b614db47847807f8d0657fd2a17bed79bbc4.ZHgX_KskdNRu66iyKIFsK48AXBW2YgfbWKoR0QgJ_N4
scenes-app-sidepanels--side-panel-access-control--light:
- hash: v1.k794b7964.e15ee80e071cf46b28d85de3ddbfdbc1c0588f78b586a2ed0ea461eefd615e16.ijNN79AnmOz13fDsUU6EqeOmtd18HR94sC5DenIWjb0
+ hash: v1.k794b7964.fa0e2871bf7be5e76d6f57d18343ddf65c900c9b064025275608391e108eddb8.eDvUJ3XRZ063KQLbaqCtIxL-Wzveyp4ObaxsPh4NCds
scenes-app-sidepanels--side-panel-activity--dark:
- hash: v1.k794b7964.8601df6b8277acc98355f64694bb36994a61856c6252e4de1dbc6c5795688009._9S3j24StBD0IhSilcjuE32bGl9vz8aB9mXriBQlP60
+ hash: v1.k794b7964.34660fdd8a13a962c61d1a70c83efeafb5506193fb66e55a52c3adb677c5e023.d_Hyz_dP-vWS1bMc42qUslBiaWAGudKNRXzpChCRtW8
scenes-app-sidepanels--side-panel-activity--light:
- hash: v1.k794b7964.92e0230464c1b65c62f8a84b3ddc02a97f8127281cb7fccc775fbe599d9edfa1.LK30Oro2SxWnQTaosMAkKK7EAbxhuwImwe3Eq2RrWeQ
+ hash: v1.k794b7964.869e366f1f78c48d94168cb630269fc02413f305eb7894bd61cb7a5412bc0948.ar2nQN6oSk4m53MG0vKdRp7SGzmn01XkRTH1Us5YMfo
scenes-app-sidepanels--side-panel-discussion--dark:
- hash: v1.k794b7964.18e2e59471989429439e73b50f456b280c43da680a9b69b70e08b802918d5c84.ZRu_ROC2ZgxukiSpGgpRtDEMfvBYqHIol6VwHYShYqI
+ hash: v1.k794b7964.90946182d4ec0b94ed2799b2405dff37488d81e957c34a33384a22e7087eec68.V3dSVFxA5NJ0aNS-nOry7co07Fh3HZuJOifsPN_BEY4
scenes-app-sidepanels--side-panel-discussion--light:
- hash: v1.k794b7964.0cd923f9987ab8ba2612c750e3d0efdbbbc272c27b836fc8e8bd1fb492287c46.YYhBtcIpD4-480nRFXbCuvRrqyRRFPuawnYnhWkEve0
+ hash: v1.k794b7964.279d8bd07dd78d840b30cbeb300ecc03f713590cb7e2d68199787793ffef3a06.R5mFCFFOczeiclQoj5Mu6OsVaPsYrMWxGK0U7lKyxFM
scenes-app-sidepanels--side-panel-exports--dark:
- hash: v1.k794b7964.debc055e53ce742f96ab914500f1481009ead5f98560f6f236a12742a363d148.I7rOwnzgS8Ni2tz-2zIE08UIB4C9gwDYUW-9gik0wlA
+ hash: v1.k794b7964.db432a065dfb92e75806ab39838832c29baf8db027671d0faf40b45c1a199a07.QZttrpyKA1NaPEgpUGdhm80IYIugbZqNFLYOzVfsWgU
scenes-app-sidepanels--side-panel-exports--light:
- hash: v1.k794b7964.896d02944d015e64436d313c54ec6a3014d22d92dd20dbf4cdf400328af423d8.QSa-7v7WDVJD5ZierDLHfcUIkeCfUqAg8kxOThTpKlM
+ hash: v1.k794b7964.b106fb94042705f812f11b2aee617d530e44db44df215aaca17840f227f70b5b.7gp6R-AR6VKmGQ10YNIonxlTT7_hGB_RXUmkBdufVq0
scenes-app-sidepanels--side-panel-info--dark:
- hash: v1.k794b7964.eded745dc22b062535738c5dce5ba3e32ead3597bc4ca8be6edbfb60627680f9.vmhOijXx4hnqSvuh7aRGW0_OKNUk9-4dFH6Ebs4mRNI
+ hash: v1.k794b7964.23f3871d2a08f3d2c1d86506cad9e5ef5c61fe3cf63d99b54970221ce85b3e92.ooyWeLX1caf_SJbEuVVKGn9SbMh6T5tQIvq4HQpdOn4
scenes-app-sidepanels--side-panel-info--light:
- hash: v1.k794b7964.7d5d05f9443f5809b23bdf08bfe9c3a48c3085826a4323d9aa3d190ee1e49505.90Nt7uDjc5Iw-q2ebtPh4pEycNoBakH9d1iJOn9iE44
+ hash: v1.k794b7964.7c91500a5f41b83e6d2961df7b3ffdfb616589ebf3dd14f6e1f6f5e698e85a20.5gaUtEn8goiAxCqTiokwWeb8vWn1IXdyyoIHIZjhHak
scenes-app-sidepanels--side-panel-max--dark:
hash: v1.k794b7964.cbf1e45594b0429af18929f694e4904f5f6e6fca1848a356893b61d5ae22dc5a.EUIbD43vSPUvPmgEtynAR_hDACf_hJLv9HMTSoKebSw
scenes-app-sidepanels--side-panel-max--light:
hash: v1.k794b7964.1e48025febd9cbba5e857a4ecdebb70fc0e93652e5a6e698064ca8b2e1d2aa8d.5GpMKTkimVPFys0M5f6acdmDFzdyKqiGLF3xfr-Cggk
scenes-app-sidepanels--side-panel-notebooks--dark:
- hash: v1.k794b7964.5b9c7e5a1b63182b6e97e75907a93a77d5715d1d5a41d219647173bafb0b02f6.DsXqKoFnWAkUY8nh_OYO-tfkG47f7BYye3GDd9CI_do
+ hash: v1.k794b7964.4ea696d37f7be13084b4139d534b9cfbaf7e27dd61f30dab8015de5bf52856c7.1KuS7D8YzAezwAiueglPF81eVVMXC-xt2HDRTOJs3uU
scenes-app-sidepanels--side-panel-notebooks--light:
- hash: v1.k794b7964.d055d1408c15215578f8532105532017d3132a8d04378b0d5825c5596cc62124.6GVeasWhjS1PR5TnIcfpz6eSZQGQ5Bek6ncqSbVcyf0
+ hash: v1.k794b7964.5355a2a3964cc605921eb769d2c9a3186d9383cdfe5ca3c537b37960bfa9c4ac.m3jpD9xSdwf0SSASCrM7gkzuX7dNimjENNVDmlOITKw
scenes-app-sidepanels--side-panel-support--dark:
- hash: v1.k794b7964.4bd4546990eb4ddd5acdc57a0dcca304b7ad6b3152437c90837acaa16e997521.MjSmiqQY-9ina_wEpVtcxDqhxDMCHiD9rHCujn546lQ
+ hash: v1.k794b7964.3fa0d2e5ef9c2aa3b41dd0275b379931fb2854a1e4cefcaa57b55df91d6a9247.U7F9bAQaZN9j4T3jqYZJRBXhPIBzjYonrt4srdn3FSI
scenes-app-sidepanels--side-panel-support--light:
- hash: v1.k794b7964.902da65fb18b9fa5f09a95a473857d594cdcc1b544522974bb6868b2c83b0fde.rbYUb-nhiDaXqudDQfw6jukLy070-yG4-6P-evFKXVg
+ hash: v1.k794b7964.ca54fc331e5d1849d60003d05c12e81f19aa2fde8e2697cfde6d9da05b83496d.-z-DswZniDK4BOxO2y1GTBB3VXNoFbzCW1HdGG4J4-s
scenes-app-signals-artefactloglist--check-lifecycle--dark:
hash: v1.k794b7964.15b3a8e1bcf9e0ce0d97471ae090a83dde50c6050508c449985c44e44d664a0c.qI_1YM1_36ezR-Q857TKtk3Aj9CCtgj5AUoDTPcOckE
scenes-app-signals-artefactloglist--check-lifecycle--light:
@@ -11909,9 +11917,9 @@ snapshots:
scenes-app-terminal--docked--light:
hash: v1.k794b7964.e86cd50d24bc426e47c8d761c8fb0cc4b600f935b3182db676035e8bb2fcd037.IIWpw3gniy9IIqdOG29xlKadFO3d-Au8a0eFCseZOOo
scenes-app-terminal--docked-wide--dark:
- hash: v1.k794b7964.75047a67ae24e69ee2ef8a41eb67b9f1b1cd9293c5ff70b7238eabe5535e76dd.N_7wUJVtIECaW3HZwwxe94KugNHUNBc0AMjfqzcaARo
+ hash: v1.k794b7964.6a2c774037d30eb9cdc0558903a75986876585972ad742eebcbc079594cf6f42.0ajtB6htBrUX_Z2DzwELKXHzP01HhhaQo3FqHjHrWzE
scenes-app-terminal--docked-wide--light:
- hash: v1.k794b7964.ffdc4241b6fbd2d39bb2f9177bec86c86ce9ad5acef05c4e42e55ec22ce0c8a2.kp3h7ug9AO9L6mHq9JGusouxM3YSSz99my0teXobOXI
+ hash: v1.k794b7964.c34f484d7442e6ca1973cd9a999d65c40262058a3ae57bd5505ee55b1123a80d.zg4Zx4SAqlir7ZXgBYb0Gizwwyc-waMM2O8v7uYjDx4
scenes-app-terminal--framebuffer--dark:
hash: v1.k794b7964.52141d09fbc4787a3bc750eccbd63b990ea4a4c0b764534626ff23fd4909e33b.rG8e19jjQlcoMWnS29Ty3UNZmH9al2gXoSPgJyki70E
scenes-app-terminal--framebuffer--light:
@@ -12017,17 +12025,17 @@ snapshots:
scenes-app-visual-review-run--tolerate-suggests-quarantine--light:
hash: v1.k794b7964.423d5d2ad0d7ef00ba976f5455835ba0c518c8d7c86a7a2a359c8af4b1eab648.V47tBu61Pg3UnMCcefNn1D4VzvUXv5-qQU8_qkyk3_k
scenes-app-visual-review-run--tracking-only-master-run--dark:
- hash: v1.k794b7964.16fda1278ef2eb5cec07ca3903959e2701d2ff01e37c20a9b4e5cd013a765dd0.TQ9RJbHXN6hccxpL_rOIK0ylVS9s8KVzCjNgCZWqi6w
+ hash: v1.k794b7964.12ad60f78c9ac28eac9811dfe25cef1900c2887af2d940c357cc4c0741be912a.nXTRF_gA3j8NrvRhkrth4eGcISgQgW4LrgOd5-Pl2x8
scenes-app-visual-review-run--tracking-only-master-run--light:
- hash: v1.k794b7964.0b4be0f88182eb58f126babc0e5ac2b7298d059c931fd6783eae41a51d02dd1b.juEjllaWH8Fvc3b0lQlS5q-BPokNkac-bVjJ5QZChIs
+ hash: v1.k794b7964.671a38949e4cde3777432b0348bfc3db9dec13dbf98d8e0a4095a7e9c212d635.gFNG2t8UNO3MXMn7Di9NVVO9Ws_7PvMQEUBB_tTXn_c
scenes-app-web-analytics--web-analytics-dashboard--dark:
- hash: v1.k794b7964.f5d4eaeb2f42c57efd97afcf9dc348dbcefa2c36bad5688f29819353cac123b2.gW-lCFWYrmybLwy9wI9Siw-PdWs1-t4OXPSUEJpp-fM
+ hash: v1.k794b7964.d633e702e43e79c58f10610a823818f7d79717d49a670e6c85c6410d894b7d58.cegK9GTI0OfzEn0BkTrnAKcM5Q6u1KpT53hyljMVPBU
scenes-app-web-analytics--web-analytics-dashboard--light:
- hash: v1.k794b7964.603164be14a9a6d3dc71c94324bb514d725ba78200b931fd4467df981607bfff.CU_Z2epZB6iEEU3SmSTTk7sr-Fk0plMFoAUDBQZEccM
+ hash: v1.k794b7964.3fea77fc4a9a5e675d02ba2626a0f5dab9bcca49888d5eebedf81ecba1c11573.sPsSbpCHVz5-EIg3XhHBDJQZ2vLoUVIA9pZiHmn1CRk
scenes-app-web-analytics--web-analytics-dashboard-loading--dark:
- hash: v1.k794b7964.99c592ebf6459e3bd3181a503ace0baefff13f073dbeb8abdf3239aa35add35f.MQn5H6WaVRxG3d6OpSseGS9dt0lpQbdK2bt1JQKq5Yo
+ hash: v1.k794b7964.7631c17826109d6ea1be6fe1d8ad4b0d3d61c8977cbdf28ffa5602ffc0edaf04.M-zasXuYAmbo-PJzRo2iv6VXeSrsaUW85wwFfU2k0Oo
scenes-app-web-analytics--web-analytics-dashboard-loading--light:
- hash: v1.k794b7964.6258be5657c96ca59930d83fbf5862f493916e1d9f84c5ce21f8bc014f72b807.6ng36a5wZsONFiJPIicn29HBQlzisgbatipqJZVRCa4
+ hash: v1.k794b7964.348c15c7348431008d2a1613528ca4568e43e58789788d04e9791e52e414240e.IqKTupL4PWq-BKsMSvreA_xZOFxYgpUu7NR88XeQYoQ
scenes-app-web-analytics--web-analytics-dashboard-tile-header-v-2-medium--dark:
hash: v1.k794b7964.865308ee7b3cc95ae6a9d3f78ff061e02cf29610e6af98af8d9793fc027f083c.zzjFc2X6UxtQq1vmXHEkobuQiEGSMX5_Q5kpKagU7Zk
scenes-app-web-analytics--web-analytics-dashboard-tile-header-v-2-medium--light:
@@ -12057,29 +12065,29 @@ snapshots:
scenes-app-web-analytics-achievements--weekly-only-arm--light:
hash: v1.k794b7964.eb042d165752cd9ff0145ee3b49f0769671244ca00e931c8ece93ec0d01a9a6f.YlQzVwE6qBKZs4cKyA1-lYowaxlhGEGt_K4jt076OSE
scenes-app-web-analytics-agent-analytics--agent-analytics-issue-detail--dark:
- hash: v1.k794b7964.641a21ae4c3b060e1a70891dd03e75fb0a67d9c116bd0fcd2bbf7e31447e8066.9fSCBjSeXxuRoswrWDXuhYK1mhlvdJ88NFBOeQPLzPg
+ hash: v1.k794b7964.79420572dc365f5b997e30b62aba48e23dd33a6b3102950d659e061f769c7801.PCRVaAefRYQYIpPCcYlnc8b4iKhVaesWiFTyTgPDqBE
scenes-app-web-analytics-agent-analytics--agent-analytics-issue-detail--light:
- hash: v1.k794b7964.47f3bb5cbdd69d4472454b7709a4b92f107450dfb176c57070f75e6e9c728e84.94WrryD_uuk0jYM-lNvHtJ3blcxlE-BDQl9WSHX0x-s
+ hash: v1.k794b7964.9b8f80f0cc651b0ec1f315615b0ef8c5b47dd1556acfa08716a3470f869501bf.1w_blJ6pjkl-oUbmpS8E2iQ4fBmklhpHqFhFxprdv5Q
scenes-app-web-analytics-agent-analytics--agent-analytics-issues--dark:
- hash: v1.k794b7964.2a19dcb6f84883dac595ae13c27e15f6885a73c595228e6963336d3ecc4f8eac.UddBcPwbdvGCMPLedNO9j6ZnCvAjO8L6S5jkOx2fcTY
+ hash: v1.k794b7964.eb13895dffa25476bd1eed70a5877cf94381b969c9eb44bcf67a6f0d44ae1263.ZifLGlpXrtP7DLUwioyoCtGcSohVnCGJJToL9fJhqBE
scenes-app-web-analytics-agent-analytics--agent-analytics-issues--light:
- hash: v1.k794b7964.51ef02ed7687ecec3d63f2d5495fe7036d337a9b6af49d709dfd095323433c25.A5vHp7__0oPGSLr2_0ufRusodXh4xyvPvNZtVfePj4o
+ hash: v1.k794b7964.4acf0572ce57348b47f6f169a085b954df3811ce3858424bfe5642e226f278db.OeEurnXKXiegWypEMMB9Nst8eqkKUGLcPZRa90HEZC0
scenes-app-web-analytics-agent-analytics--agent-analytics-journey-detail--dark:
hash: v1.k794b7964.6d0c2b79d13364268ec02cc7e214cb68a25767c029d95929819ea8cc42f82490.4INEPuqOUr8BNsfG_qhtlxbjngNU3SZwFPJMk7tBt6c
scenes-app-web-analytics-agent-analytics--agent-analytics-journey-detail--light:
hash: v1.k794b7964.ef647b4a0c9ce0912d5b417b28cf1c967ba184d2fba11b42bd4f8478d7d991d1.gtj-LVXfEMIoQM9W215G2_RUW0lVHxPsEv7ipWg6nng
scenes-app-web-analytics-agent-analytics--agent-analytics-journeys--dark:
- hash: v1.k794b7964.1bd5c2411cbba55015177c2606732167f47d40560e85ef1c38b3f49e30a46459.vx77TuPKE2MvkJAWnnoGEqTkdPWfht94Qi68D_t5jIE
+ hash: v1.k794b7964.f7c6f79e3b126e58d43a8d07c5dbcc34e524f1934833eab1783219ae71173b4f.R1HQS845YmTn7zslALTYxMWSubsThe1Pn0zEvEYKCiw
scenes-app-web-analytics-agent-analytics--agent-analytics-journeys--light:
- hash: v1.k794b7964.4dca21ebfe81655a95f7ab29bf6604baa9140e89e9c140c48cfad016ebb1f1ac.FTI7AEWpkl9wJsU1d_kUz3wI7ocJeyhLAVqxy9eKi7I
+ hash: v1.k794b7964.ee64dfcbee5163f2c4c6aa02ee501fc20ed4c201dcfdd7419b5d5dfffc15ba9f.5IPlGMWsg1I5DDxtrRdRdfko5m7RYp5wrqivc6Y8NJ0
scenes-app-web-analytics-agent-analytics--agent-analytics-overview--dark:
- hash: v1.k794b7964.6ebfa6e5d191584115f1a8668708f70695e630f1f15fb27c64f6ec29d4dc9862.cV4g4_gHhfuHVQVI80Jd7N0h5NfAPouOsz52E-Kih14
+ hash: v1.k794b7964.464d662d37cfa021dbc2bc37209582b735a92a9094b5bf1f038152a80665fcf7.f2m2NO1NC8DS4gAFvgDJGTUC_3OuQRcFC0y8U3f9-CI
scenes-app-web-analytics-agent-analytics--agent-analytics-overview--light:
- hash: v1.k794b7964.c87d495f78210eb96c21ce4b6418061d2960800522e03c08fc9148cdfbb0c8c8.FcQtU3zFjqnbx9sHtmVPpfcfTUPYmha8GIlbUvAPnHo
+ hash: v1.k794b7964.d1d65210cb615139ff327577ba0809ff979bb12f62f7647e82e696b1e8c3b905.WTcF8O4Cv1e9Zuj4EtFrWKQTG7vkmyMtIBiSQFkW834
scenes-app-web-analytics-agent-analytics--agent-analytics-readiness--dark:
- hash: v1.k794b7964.438cf5ed07a880154e0571af40db24e36c1f0296a1c8a503591a2b3168e6021e.DrMeDvwWdyAWjMScZREX_q9-zy1JP8G_iCaIp1LA4Iw
+ hash: v1.k794b7964.b16a320bbd3daa2e72183f0c5a0d9d7d338b6aa079ba6317211240ebfa4ef480.mcV4a4NvToiPFGb7X_3V8cbZ2z6k-g9ysYGYrpOc2q8
scenes-app-web-analytics-agent-analytics--agent-analytics-readiness--light:
- hash: v1.k794b7964.38ad5e7ae74d936754a6608439e34daa31ce718232a727ec9ccc9c4ccfeb1653.fFpErM5cGDWKYYJSMQWS4xyj86QJn_-Z8wImPtjQZG4
+ hash: v1.k794b7964.908ec798f1ad3be9a24ab75305c0d9906b2ba7d6dec72f565de48f23f721a61e.3mkria5lKDRRcoJ7qEJLXmQiLsoFCd8ksJWi7I3kB5Q
scenes-app-web-analytics-livemetricscharts--bot-events-per-minute--dark:
hash: v1.k794b7964.933ca8aa37de16e55b07b9be45e8784e14b6a9aa8d7119882340e8858c5f9afd.FWPAiDTJNN-96zh7GPc5h6lH7TSlCDPeLmG0lk3YW1I
scenes-app-web-analytics-livemetricscharts--bot-events-per-minute--light:
@@ -12117,17 +12125,17 @@ snapshots:
scenes-app-web-analytics-pageperformancemetriccard--without-sparkline--light:
hash: v1.k794b7964.e7ebd4a413d617f5c6e38419027f3affa40cd1da68af95d686ccc152860dbb5b.Fq3Sz8vrvMYKZQk1yKdN-t5SvImO0L7rvFjFf0ZyfFc
scenes-app-web-analytics-search-ai--marketing-page-visibility--dark:
- hash: v1.k794b7964.6e567e34e53b86f8a40faf70fda19ed4d6fe312e80fe1bfb13393fb0b7674282.0i9AuFbJaUyJ6givISUFfq-8-C2vt42R_qGBtm15vrA
+ hash: v1.k794b7964.6d33115ef459774bf5f109b755ba773cfda8bf09ea6ac41f9b2339cac2c2ed5c.PqiH4jQsEiQH_w85-TRPo82EP6k368_1fTaFou3jmj0
scenes-app-web-analytics-search-ai--marketing-page-visibility--light:
- hash: v1.k794b7964.c00ab05d9c344c5ad05ba2f164a3d3c751d8d0aae6703064d2c7eff651b2c0d1.Y5c0f7fvs4xXWnhne4D0Z0Ge97q6VeaSgPoOb53h_fU
+ hash: v1.k794b7964.d19622713bb48815acce2bdb61a8afbaac263d82da4089488cf02618992ed7bc.zuoGdz0tQ448fECemrW-CuH0ixoSES1SqXsKmYyb5qc
scenes-app-web-analytics-search-ai--web-analytics-page-performance--dark:
- hash: v1.k794b7964.68dca7f6cb1918fc9d2c5fd7382628ea8b7420354667f7d870c71317285afdba.ATRlxNrQzCTs0o8800vW-QDfwij5sum9pIg331-0jUA
+ hash: v1.k794b7964.61dd68cbd71ed32136c7744edcac87f8d481d61f942695a0beaac397a39ee860.m6CTbnHNOU_9FtzycJqx7D-PjxTN7l_ZnbRh6uJQ-VE
scenes-app-web-analytics-search-ai--web-analytics-page-performance--light:
- hash: v1.k794b7964.5102d8c456b1b54b149d2dc93d65495de58273ff633fb94e20d0ae993693545a.0Zyz6slZi94bN3k8kGQN4fBD9GSXaX7sdAhuW-DE2_U
+ hash: v1.k794b7964.d2ef38611d98a7ec806d879839c53bd7f8ccae8a0aaf35ba6e2018179bd0f5aa.n4vXKUNB4Pd5oRkIs85ZsJpY9hRbpiSyln8vf6z2lr4
scenes-app-web-analytics-search-ai--web-analytics-page-performance-no-ai-traffic--dark:
- hash: v1.k794b7964.5610802f8d3d5be68c322aa3b9e08517be29765c172162e0e23ffece580016e8.GJ6Kyir0y2PzZlhzYBJAjts-d-MgUB8rcWbRw4tngHE
+ hash: v1.k794b7964.0a0eceabe5ed4e327febf6d19e410bf65b945b1aa55fdd057acd2afd73195838.5-00NVrl3g5s8TpwBpJHDPayh5dtMZHs2A1yNpKmUCY
scenes-app-web-analytics-search-ai--web-analytics-page-performance-no-ai-traffic--light:
- hash: v1.k794b7964.2a2f7e3ddb87d638638be1ad9977a3ef41f84d03a0429ce1dd2aab61035a0e4b.8BY7FUKBDiyiQtNnl_fZblkDCz8OSkKgHcDPmNu4jNo
+ hash: v1.k794b7964.8650d3e8e89a0855cea0cbcf0a5f1c01e8fe79d9516bf1301af76658d4b7ce9a.EHuIy7ceogDlT8o8jvTdpAZX0ebR1pBqe-GaXT7brVY
scenes-app-workflows-createaitaskconnectors--no-approved-tools--dark:
hash: v1.k794b7964.21192b03ef6f65ad46bd4fc88738669fc7b2902dcbce0db252a3d2417e10172b.lhKBZM-VPET3_AhQCAUubBUu7qAu8KlducA4WUsWhOM
scenes-app-workflows-createaitaskconnectors--no-approved-tools--light:
diff --git a/frontend/src/layout/panel-layout/ProjectTree/ProjectTree.tsx b/frontend/src/layout/panel-layout/ProjectTree/ProjectTree.tsx
index b5ec7179d23c..925db6970bdb 100644
--- a/frontend/src/layout/panel-layout/ProjectTree/ProjectTree.tsx
+++ b/frontend/src/layout/panel-layout/ProjectTree/ProjectTree.tsx
@@ -14,6 +14,7 @@ import {
} from '@posthog/icons'
import { itemSelectModalLogic } from 'lib/components/FileSystem/ItemSelectModal/itemSelectModalLogic'
+import { ProductTag } from 'lib/components/ProductTag/ProductTag'
import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { dayjs } from 'lib/dayjs'
import { useLocalStorage } from 'lib/hooks/useLocalStorage'
@@ -72,6 +73,8 @@ interface ProjectTreeBaseProps {
* the tree inside a larger surface uses this to report the click in that surface's own terms.
*/
onItemClicked?: (item: TreeDataItem | undefined) => void
+ /** Replaces the tree's own tooltip, so a caller can match the tooltips of the rows around the tree. */
+ renderItemTooltip?: (item: TreeDataItem) => ReactNode | undefined
/** True while this tree's nav panel is active — refocuses search on panel re-activation. */
isActiveInPanel?: boolean
}
@@ -497,6 +500,9 @@ export function ProjectTree(props: ProjectTreeProps): JSX.Element {
)
}}
renderItemTooltip={(item) => {
+ if (props.renderItemTooltip) {
+ return props.renderItemTooltip(item)
+ }
const nameNode: JSX.Element = <span className="font-semibold">{item.displayName}</span>
if (
@@ -516,22 +522,9 @@ export function ProjectTree(props: ProjectTreeProps): JSX.Element {
)}
{sceneConfigurations[key]?.description || item.name}
- {item.tags?.length && (
- <>
- {item.tags?.map((tag) => (
- <LemonTag
- key={tag}
- type={
- tag === 'alpha' ? 'completion' : tag === 'beta' ? 'warning' : 'success'
- }
- size="small"
- className="ml-2 relative top-[-1px]"
- >
- {tag.toUpperCase()}
- </LemonTag>
- ))}
- </>
- )}
+ {item.tags?.map((tag) => (
+ <ProductTag key={tag} tag={tag} className="ml-2 relative top-[-1px]" />
+ ))}
</>
)
}
@@ -540,22 +533,10 @@ export function ProjectTree(props: ProjectTreeProps): JSX.Element {
return (
<>
{nameNode}
- {item.record?.protocol === 'products://' && item.tags?.length && (
- <>
- {item.tags?.map((tag) => (
- <LemonTag
- key={tag}
- type={
- tag === 'alpha' ? 'completion' : tag === 'beta' ? 'warning' : 'success'
- }
- size="small"
- className="ml-2 relative top-[-1px]"
- >
- {tag.toUpperCase()}
- </LemonTag>
- ))}
- </>
- )}
+ {item.record?.protocol === 'products://' &&
+ item.tags?.map((tag) => (
+ <ProductTag key={tag} tag={tag} className="ml-2 relative top-[-1px]" />
+ ))}
</>
)
}
@@ -600,47 +581,38 @@ export function ProjectTree(props: ProjectTreeProps): JSX.Element {
if (item.type === 'empty-folder') {
return item.displayName
}
- const isCustomProduct = root === 'custom-products://'
+ // A shortcut's created_at is when it was starred, not when the item was created.
const isNew =
- !isCustomProduct &&
+ root !== 'custom-products://' &&
+ root !== 'shortcuts://' &&
item.record?.created_at &&
dayjs().diff(dayjs(item.record?.created_at), 'minutes') < 3
return (
- <span className="truncate">
- <span
- className={cn('truncate', {
- 'font-semibold': item.record?.type === 'folder',
- })}
- >
- {item.displayName}{' '}
- {isNew ? (
- <LemonTag type="highlight" size="small" className="ml-1 relative top-[-1px]">
- New
- </LemonTag>
- ) : null}
- </span>
-
- {sortMethod === 'recent' && item.type !== 'loading-indicator' && (
- <span className="text-tertiary text-xxs pt-[3px] ml-1">
- {dayjs(item.record?.created_at).fromNow()}
+ <span className="flex w-full min-w-0 items-center gap-1.5">
+ <span className="flex-1 truncate">
+ <span
+ className={cn('truncate', {
+ 'font-semibold': item.record?.type === 'folder',
+ })}
+ >
+ {item.displayName}{' '}
+ {isNew ? (
+ <LemonTag type="highlight" size="small" className="ml-1 relative top-[-1px]">
+ New
+ </LemonTag>
+ ) : null}
</span>
- )}
- {item.tags?.length && (
- <>
- {item.tags?.map((tag) => (
- <LemonTag
- key={tag}
- type={tag === 'alpha' ? 'completion' : tag === 'beta' ? 'warning' : 'success'}
- size="small"
- className="ml-2 relative top-[-1px]"
- >
- {tag.toUpperCase()}
- </LemonTag>
- ))}
- </>
- )}
+ {sortMethod === 'recent' && item.type !== 'loading-indicator' && (
+ <span className="text-tertiary text-xxs pt-[3px] ml-1">
+ {dayjs(item.record?.created_at).fromNow()}
+ </span>
+ )}
+ </span>
+ {item.tags?.map((tag) => (
+ <ProductTag key={tag} tag={tag} className="mr-0.5" />
+ ))}
</span>
)
}}
diff --git a/frontend/src/layout/panel-layout/ProjectTree/defaultTree.tsx b/frontend/src/layout/panel-layout/ProjectTree/defaultTree.tsx
index d27f5dc0021e..1ab6f43b92d0 100644
--- a/frontend/src/layout/panel-layout/ProjectTree/defaultTree.tsx
+++ b/frontend/src/layout/panel-layout/ProjectTree/defaultTree.tsx
@@ -1,60 +1,84 @@
import React, { CSSProperties } from 'react'
import {
+ IconAIGateway,
IconApp,
IconApps,
+ IconArrowUpRight,
+ IconAsterisk,
IconBook,
+ IconBrackets,
+ IconBrowser,
IconBug,
+ IconCheckbox,
IconCircleDashed,
IconClock,
IconCode,
- IconEndpoints,
- IconEye,
+ IconColumns,
IconDashboard,
IconDatabase,
+ IconDatabaseBolt,
IconDecisionTree,
IconDocument,
IconDownload,
+ IconEndpoints,
IconExternal,
+ IconEye,
IconFeatures,
+ IconFilter,
IconFlask,
IconFolder,
+ IconFolderMove,
IconFolderOpen,
IconGear,
+ IconGraduationCap,
IconGraph,
+ IconHeart,
IconHome,
+ IconImage,
+ IconLightBulb,
IconList,
IconListCheck,
IconListTree,
IconLive,
- IconAIGateway,
IconLlmAnalytics,
IconLlmPromptManagement,
IconMCP,
+ IconMagicWand,
IconMegaphone,
- IconSend,
IconMessage,
+ IconMicrophone,
IconNotebook,
IconNotification,
+ IconPencil,
IconPeople,
+ IconPerson,
IconPieChart,
IconPiggyBank,
IconPlay,
IconPlaylist,
IconPlug,
IconPullRequest,
+ IconPulse,
IconReceipt,
IconRewindPlay,
IconRocket,
IconScatter,
IconSearch,
+ IconSend,
IconServer,
+ IconShuffle,
IconSpotlight,
+ IconStack,
+ IconStar,
IconStethoscope,
IconSupport,
+ IconTableOfContents,
IconToggle,
IconToggleOff,
IconToolbar,
+ IconTrending,
+ IconUpload,
IconUser,
IconWarning,
} from '@posthog/icons'
@@ -67,6 +91,7 @@ import {
IconInsightStickiness,
IconInsightTrends,
IconInsightUserPaths,
+ IconSelfDriving,
IconStamphog,
} from 'lib/lemon-ui/icons'
import { urls } from 'scenes/urls'
@@ -107,6 +132,7 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
},
revenue_analytics_metadata: {
icon: <IconPiggyBank />,
+ iconColor: ['var(--color-product-revenue-analytics-light)', 'var(--color-product-revenue-analytics-dark)'],
},
marketing_settings: {
icon: <IconMegaphone />,
@@ -115,8 +141,13 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
icon: <IconMegaphone />,
iconColor: ['var(--color-product-marketing-analytics-light)', 'var(--color-product-marketing-analytics-dark)'],
},
+ customer_analytics: {
+ icon: <IconHeart />,
+ iconColor: ['var(--color-product-customer-analytics-light)', 'var(--color-product-customer-analytics-dark)'],
+ },
managed_viewsets: {
- icon: <IconDatabase />,
+ icon: <IconColumns />,
+ iconColor: ['var(--color-product-managed-viewsets-light)', 'var(--color-product-managed-viewsets-dark)'],
},
web_analytics: {
icon: <IconPieChart />,
@@ -130,6 +161,10 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
icon: <IconServer />,
iconColor: ['var(--color-product-data-warehouse-light)'],
},
+ data_modeling: {
+ icon: <IconStack />,
+ iconColor: ['var(--color-product-models-light)', 'var(--color-product-models-dark)'],
+ },
error_tracking: {
icon: <IconWarning />,
iconColor: ['var(--color-product-error-tracking-light)', 'var(--color-product-error-tracking-dark)'],
@@ -158,14 +193,15 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
iconColor: ['var(--color-product-product-tours-light)', 'var(--color-product-product-tours-dark)'],
},
user_interview: {
- icon: <IconApp />,
+ icon: <IconMicrophone />,
iconColor: ['var(--color-product-user-interviews-light)', 'var(--color-product-user-interviews-dark)'],
},
home: {
icon: <IconHome />,
},
task: {
- icon: <IconBug />,
+ icon: <IconCheckbox />,
+ iconColor: ['var(--color-product-tasks-light)', 'var(--color-product-tasks-dark)'],
},
logs: {
icon: <IconLive />,
@@ -176,7 +212,7 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
iconColor: ['var(--color-product-tracing-light)', 'var(--color-product-tracing-dark)'],
},
metrics: {
- icon: <IconGraph />,
+ icon: <IconTrending />,
iconColor: ['var(--color-product-metrics-light)', 'var(--color-product-metrics-dark)'],
},
early_access_feature: {
@@ -219,7 +255,7 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
},
broadcasts: {
icon: <IconSend />,
- iconColor: ['var(--color-product-workflows-light)'],
+ iconColor: ['var(--color-product-broadcasts-light)', 'var(--color-product-broadcasts-dark)'],
},
notebook: {
icon: <IconNotebook />,
@@ -227,6 +263,7 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
},
live_debugger: {
icon: <IconBug />,
+ iconColor: ['var(--color-product-live-debugger-light)', 'var(--color-product-live-debugger-dark)'],
},
action: {
icon: <IconPlay />,
@@ -238,22 +275,28 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
icon: <IconNotification />,
},
annotation: {
- icon: <IconNotification />,
+ icon: <IconPencil />,
+ iconColor: ['var(--color-product-annotations-light)', 'var(--color-product-annotations-dark)'],
},
event: {
icon: <IconApps />,
},
event_definition: {
icon: <IconApps />,
+ iconColor: ['var(--color-product-event-definitions-light)', 'var(--color-product-event-definitions-dark)'],
},
property_definition: {
- icon: <IconApps />,
+ icon: <IconAsterisk />,
+ iconColor: [
+ 'var(--color-product-property-definitions-light)',
+ 'var(--color-product-property-definitions-dark)',
+ ],
},
ingestion_warning: {
icon: <IconWarning />,
},
persons: {
- icon: <IconPeople />,
+ icon: <IconPerson />,
},
user: {
icon: <IconUser />,
@@ -315,6 +358,7 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
},
toolbar: {
icon: <IconToolbar />,
+ iconColor: ['var(--color-product-toolbar-light)', 'var(--color-product-toolbar-dark)'],
},
settings: {
icon: <IconGear />,
@@ -323,7 +367,7 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
icon: <IconStethoscope />,
},
inbox: {
- icon: <IconNotification />,
+ icon: <IconSelfDriving />,
},
sdk_health: {
icon: <IconCode />,
@@ -333,38 +377,39 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
},
llm_evaluations: {
icon: <IconListCheck />,
- iconColor: ['var(--color-product-llm-evaluations-light)'],
+ iconColor: ['var(--color-product-llm-evaluations-light)', 'var(--color-product-llm-evaluations-dark)'],
},
llm_tags: {
icon: <IconList />,
- iconColor: ['var(--color-product-llm-analytics-light)'],
+ iconColor: ['var(--color-product-llm-tags-light)', 'var(--color-product-llm-tags-dark)'],
},
llm_datasets: {
icon: <IconDocument />,
- iconColor: ['var(--color-product-llm-datasets-light)'],
+ iconColor: ['var(--color-product-llm-datasets-light)', 'var(--color-product-llm-datasets-dark)'],
},
llm_prompts: {
icon: <IconLlmPromptManagement />,
- iconColor: ['var(--color-product-llm-analytics-light)'],
+ iconColor: ['var(--color-product-llm-prompts-light)', 'var(--color-product-llm-prompts-dark)'],
},
llm_clusters: {
icon: <IconScatter />,
- iconColor: ['var(--color-product-llm-clusters-light)'],
+ iconColor: ['var(--color-product-llm-clusters-light)', 'var(--color-product-llm-clusters-dark)'],
},
llm_playground: {
icon: <IconPlaylist />,
- iconColor: ['var(--color-product-llm-analytics-light)'],
+ iconColor: ['var(--color-product-llm-playground-light)', 'var(--color-product-llm-playground-dark)'],
},
mcp_analytics: {
icon: <IconMCP />,
- iconColor: ['var(--color-product-llm-analytics-light)'],
+ iconColor: ['var(--color-product-mcp-analytics-light)', 'var(--color-product-mcp-analytics-dark)'],
},
visual_review: {
- icon: <IconApp />,
+ icon: <IconImage />,
iconColor: ['var(--color-product-visual-review-light)', 'var(--color-product-visual-review-dark)'],
},
code_review: {
icon: <IconPullRequest />,
+ iconColor: ['var(--color-product-code-review-light)', 'var(--color-product-code-review-dark)'],
},
stamphog: {
icon: <IconStamphog />,
@@ -372,6 +417,84 @@ const iconTypes: Record<FileSystemIconType, { icon: JSX.Element; iconColor?: Fil
exports: {
icon: <IconDownload />,
},
+ pulse: {
+ icon: <IconPulse />,
+ iconColor: ['var(--color-product-activity-light)', 'var(--color-product-activity-dark)'],
+ },
+ skill: {
+ icon: <IconGraduationCap />,
+ iconColor: ['var(--color-product-skills-light)', 'var(--color-product-skills-dark)'],
+ },
+ wizard: {
+ icon: <IconMagicWand />,
+ iconColor: ['var(--color-product-wizard-light)', 'var(--color-product-wizard-dark)'],
+ },
+ data_catalog: {
+ icon: <IconTableOfContents />,
+ iconColor: ['var(--color-product-data-catalog-light)', 'var(--color-product-data-catalog-dark)'],
+ },
+ warehouse_destination: {
+ icon: <IconUpload />,
+ iconColor: [
+ 'var(--color-product-warehouse-destinations-light)',
+ 'var(--color-product-warehouse-destinations-dark)',
+ ],
+ },
+ warehouse_property: {
+ icon: <IconDatabaseBolt />,
+ iconColor: [
+ 'var(--color-product-warehouse-properties-light)',
+ 'var(--color-product-warehouse-properties-dark)',
+ ],
+ },
+ data_source: {
+ icon: <IconDownload />,
+ iconColor: ['var(--color-product-sources-light)', 'var(--color-product-sources-dark)'],
+ },
+ data_destination: {
+ icon: <IconArrowUpRight />,
+ iconColor: ['var(--color-product-destinations-light)', 'var(--color-product-destinations-dark)'],
+ },
+ data_transformation: {
+ icon: <IconShuffle />,
+ iconColor: ['var(--color-product-transformations-light)', 'var(--color-product-transformations-dark)'],
+ },
+ event_filter: {
+ icon: <IconFilter />,
+ iconColor: ['var(--color-product-event-filtering-light)', 'var(--color-product-event-filtering-dark)'],
+ },
+ managed_migration: {
+ icon: <IconFolderMove />,
+ iconColor: ['var(--color-product-managed-migrations-light)', 'var(--color-product-managed-migrations-dark)'],
+ },
+ web_script: {
+ icon: <IconCode />,
+ iconColor: ['var(--color-product-web-scripts-light)', 'var(--color-product-web-scripts-dark)'],
+ },
+ core_event: {
+ icon: <IconStar />,
+ iconColor: ['var(--color-product-core-events-light)', 'var(--color-product-core-events-dark)'],
+ },
+ property_group: {
+ icon: <IconFolder />,
+ iconColor: ['var(--color-product-property-groups-light)', 'var(--color-product-property-groups-dark)'],
+ },
+ mcp_server: {
+ icon: <IconPlug />,
+ iconColor: ['var(--color-product-mcp-servers-light)', 'var(--color-product-mcp-servers-dark)'],
+ },
+ streamlit_app: {
+ icon: <IconBrowser />,
+ iconColor: ['var(--color-product-data-pipeline-light)', 'var(--color-product-data-pipeline-dark)'],
+ },
+ sql_variable: {
+ icon: <IconBrackets />,
+ iconColor: ['var(--color-product-sql-variables-light)', 'var(--color-product-sql-variables-dark)'],
+ },
+ business_knowledge: {
+ icon: <IconLightBulb />,
+ iconColor: ['var(--color-product-business-knowledge-light)', 'var(--color-product-business-knowledge-dark)'],
+ },
}
const getIconColor = (type?: string, colorOverride?: FileSystemIconColor): FileSystemIconColor => {
@@ -483,6 +606,24 @@ export const getDefaultTreeData = (): FileSystemImport[] =>
[...getTreeItemsMetadata()].sort((a, b) => a.path.localeCompare(b.path, undefined, { sensitivity: 'accent' }))
export const getDefaultTreeProducts = (): FileSystemImport[] =>
[...getTreeItemsProducts()].sort((a, b) => a.path.localeCompare(b.path, undefined, { sensitivity: 'accent' }))
+let sidebarProductsByHref: Map<string, FileSystemImport> | undefined
+
+/** The sidebar product an href points to, so a starred link to it shows that product's current name and icon. */
+export function getSidebarProduct(href: string | undefined): FileSystemImport | undefined {
+ if (!href) {
+ return undefined
+ }
+ if (!sidebarProductsByHref) {
+ sidebarProductsByHref = new Map()
+ for (const item of [...getDefaultTreeProducts(), ...getDefaultTreeData()]) {
+ if (item.href && item.iconType && !sidebarProductsByHref.has(item.href)) {
+ sidebarProductsByHref.set(item.href, item)
+ }
+ }
+ }
+ return sidebarProductsByHref.get(href)
+}
+
export const getDefaultTreeGames = (): FileSystemImport[] =>
[...getTreeItemsGames()].sort((a, b) => a.path.localeCompare(b.path, undefined, { sensitivity: 'accent' }))
diff --git a/frontend/src/layout/panel-layout/ProjectTree/projectTreeDataLogic.tsx b/frontend/src/layout/panel-layout/ProjectTree/projectTreeDataLogic.tsx
index e40c0a9efa58..eec3377e6984 100644
--- a/frontend/src/layout/panel-layout/ProjectTree/projectTreeDataLogic.tsx
+++ b/frontend/src/layout/panel-layout/ProjectTree/projectTreeDataLogic.tsx
@@ -16,7 +16,7 @@ import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { getEntryAccessDisabledReason, getProductAccessDisabledReason } from 'lib/utils/accessControlUtils'
import { withTimeout } from 'lib/utils/async'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
-import { getCurrentTeamIdOrNone } from 'lib/utils/getAppContext'
+import { getCurrentTeamIdOrNone, getCurrentUserIdOrNone } from 'lib/utils/getAppContext'
import { removeProjectIdIfPresent } from 'lib/utils/kea-router'
import { capitalizeFirstLetter, humanList, identifierToHuman, pluralize } from 'lib/utils/strings'
import { urls } from 'scenes/urls'
@@ -58,8 +58,6 @@ import type { FeatureFlagsSet } from '../../../lib/logic/featureFlagLogic'
import type { Noun } from '../../../models/groupsModel'
import type { UserProductListItem } from '../../../queries/schema/schema-general'
import type { GroupType, GroupTypeIndex, ProjectTreeRef, UserType } from '../../../types'
-import { panelLayoutLogic } from '../panelLayoutLogic'
-import type { PanelLayoutNavIdentifier } from '../panelLayoutLogic'
import { customProductsLogic } from './customProductsLogic'
const MOVE_ALERT_LIMIT = 50
@@ -71,6 +69,15 @@ const DELETE_ALERT_LIMIT = 0
* Success/Failure reducers).
*/
const SHORTCUTS_LOADER_TIMEOUT_MS = 10000
+// kea-localstorage keys only by logic path, and starred items belong to one user in one project.
+// OAuth mode can load this module before the IDs arrive. Without both IDs, starred items are not persisted,
+// because a shared key would show one account's starred items to the next account on the browser.
+const SHORTCUTS_TEAM_ID = getCurrentTeamIdOrNone()
+const SHORTCUTS_USER_ID = getCurrentUserIdOrNone()
+const SHORTCUTS_PERSIST_OPTIONS =
+ SHORTCUTS_TEAM_ID && SHORTCUTS_USER_ID
+ ? { persist: true, prefix: `${SHORTCUTS_TEAM_ID}__${SHORTCUTS_USER_ID}__` }
+ : { persist: false }
/**
* Upper bound on a single move request. A batch reports only once every one of its moves has settled, so
* without this one stalled request would withhold the toast and the Undo from every item that already
@@ -250,9 +257,6 @@ export interface projectTreeDataLogicActions {
flags: string[]
variants: Record<string, boolean | string>
} // featureFlagLogic
- setActivePanelIdentifier: (identifier: PanelLayoutNavIdentifier) => {
- identifier: PanelLayoutNavIdentifier
- } // panelLayoutLogic
locationChanged: ({
method,
pathname,
@@ -650,14 +654,7 @@ export const projectTreeDataLogic = kea<projectTreeDataLogicType>([
userLogic,
['user'],
],
- actions: [
- panelLayoutLogic,
- ['setActivePanelIdentifier'],
- featureFlagLogic,
- ['setFeatureFlags'],
- router,
- ['locationChanged'],
- ],
+ actions: [featureFlagLogic, ['setFeatureFlags'], router, ['locationChanged']],
})),
actions({
setStarredNavigationRef: (ref: ProjectTreeRef | null, href?: string) => ({ ref, href }),
@@ -1071,15 +1068,7 @@ export const projectTreeDataLogic = kea<projectTreeDataLogicType>([
}
const response = await api.fileSystemShortcuts.create(shortcutItem)
eventUsageLogic.actions.reportNavbarStarredItemAdded(shortcutItem.type ?? 'unknown', shortcutPath)
- lemonToast.success('Added to starred', {
- button: {
- label: 'View',
- dataAttr: 'project-tree-view-shortcuts',
- action: () => {
- actions.setActivePanelIdentifier('Shortcuts')
- },
- },
- })
+ lemonToast.success('Added to starred')
return [...values.shortcutData, response]
},
reorderShortcuts: async ({ orderedIds }) => {
@@ -1280,8 +1269,11 @@ export const projectTreeDataLogic = kea<projectTreeDataLogicType>([
},
},
],
+ // Persisted so the sidebar renders starred items on load instead of popping them in after the fetch.
+ // Another tab can leave the copy stale, and the fetch on mount replaces it.
shortcutData: [
[] as FileSystemEntry[],
+ SHORTCUTS_PERSIST_OPTIONS,
{
deleteTypeAndRef: (state, { type, ref }) => state.filter((s) => s.type !== type || s.ref !== ref),
addLoadedResults: (state, { results }) => {
@@ -1302,6 +1294,7 @@ export const projectTreeDataLogic = kea<projectTreeDataLogicType>([
],
shortcutDataHasLoaded: [
false,
+ SHORTCUTS_PERSIST_OPTIONS,
{
loadShortcutsSuccess: () => true,
loadShortcutsFailure: () => true,
diff --git a/frontend/src/layout/panel-layout/ProjectTree/utils.test.ts b/frontend/src/layout/panel-layout/ProjectTree/utils.test.ts
index 1949b60e9c49..b09b94c2d6e1 100644
--- a/frontend/src/layout/panel-layout/ProjectTree/utils.test.ts
+++ b/frontend/src/layout/panel-layout/ProjectTree/utils.test.ts
@@ -1,4 +1,22 @@
-import { escapePath, joinPath, matchesRefType, reparentPath, splitPath } from './utils'
+import { renderToStaticMarkup } from 'react-dom/server'
+
+import { FileSystemEntry } from '~/queries/schema/schema-general'
+
+import { productsItemName } from '../navbar/tabs/productsCatalog'
+import { getCustomIcon } from './customIconRegistry'
+import { getDefaultTreeData, getDefaultTreeProducts, iconForType } from './defaultTree'
+import {
+ convertFileSystemEntryToTreeDataItem,
+ escapePath,
+ joinPath,
+ matchesRefType,
+ reparentPath,
+ splitPath,
+} from './utils'
+
+const catalogProducts = [...getDefaultTreeProducts(), ...getDefaultTreeData()].filter(
+ (item) => item.href && item.iconType && !getCustomIcon(item.iconType, item.href)
+)
describe('project tree utils', () => {
describe('escapePath', () => {
@@ -81,4 +99,31 @@ describe('project tree utils', () => {
expect(matchesRefType(undefined, 'dashboard')).toBe(false)
})
})
+
+ describe('starred products', () => {
+ it.each(catalogProducts.map((item) => [item.path, item]))(
+ 'renders a starred %s with the name, tags, icon and color it has in the product list',
+ (_path, item) => {
+ // A star saved before a rename or an icon change still carries the older name and type, and no tags.
+ const shortcut = {
+ id: 'star',
+ path: 'Old product name',
+ type: 'folder_open',
+ href: item.href,
+ } as FileSystemEntry
+ const [node] = convertFileSystemEntryToTreeDataItem({
+ imports: [shortcut],
+ folderStates: {},
+ checkedItems: {},
+ root: 'shortcuts://',
+ disableCategories: true,
+ })
+ expect(node.name).toEqual(productsItemName(item))
+ expect(node.tags).toEqual(item.tags)
+ expect(renderToStaticMarkup(node.icon as JSX.Element)).toEqual(
+ renderToStaticMarkup(iconForType(item.iconType, item.iconColor))
+ )
+ }
+ )
+ })
})
diff --git a/frontend/src/layout/panel-layout/ProjectTree/utils.tsx b/frontend/src/layout/panel-layout/ProjectTree/utils.tsx
index 919ab2fd3003..d1b007256975 100644
--- a/frontend/src/layout/panel-layout/ProjectTree/utils.tsx
+++ b/frontend/src/layout/panel-layout/ProjectTree/utils.tsx
@@ -9,17 +9,17 @@ import { FileSystemEntry, FileSystemIconType, FileSystemImport } from '~/queries
import { UserBasicType } from '~/types'
import { getCustomIcon } from './customIconRegistry'
-import { iconForType } from './defaultTree'
+import { ProductIconWrapper, getSidebarProduct, iconForType } from './defaultTree'
import { FolderState } from './types'
// Hardcoded category order - categories not in this list will be sorted alphabetically after these
export const CATEGORY_ORDER = [
'Analytics',
'AI engineering',
- 'Behavior',
+ 'Data',
+ 'Monitoring',
+ 'Product engineering',
'Messaging',
- 'App monitoring',
- 'Features',
'Tools',
'Unreleased',
]
@@ -34,11 +34,10 @@ export function getCategoryOrder(category: string | undefined): number {
// Define the order of categories in the data management panel
export const DATA_MANAGEMENT_PANEL_ORDER: Record<string, number> = {
- Pipeline: 1,
+ CDP: 1,
Schema: 2,
- Tools: 3,
- Metadata: 4,
- Unreleased: 5,
+ Data: 3,
+ Unreleased: 4,
}
export interface ConvertProps {
@@ -128,11 +127,14 @@ export function convertFileSystemEntryToTreeDataItem({
disableCategories = false,
}: ConvertProps): TreeDataItem[] {
function itemToTreeDataItem(item: FileSystemImport | FileSystemEntry): TreeDataItem {
- const pathSplit = splitPath(item.path)
- const lastPart = pathSplit.pop()
+ const sidebarProduct = getSidebarProduct(item.href)
+ // A starred product keeps the name and tags it had when starred, so show the sidebar's current ones instead.
+ const starredProduct = root === 'shortcuts://' && item.type !== 'folder' ? sidebarProduct : undefined
+ const namedItem = starredProduct ?? item
+ const lastPart = splitPath(namedItem.path).pop()
const itemName =
- 'displayLabel' in item && item.displayLabel
- ? item.displayLabel
+ 'displayLabel' in namedItem && namedItem.displayLabel
+ ? namedItem.displayLabel
: unescapePath(
lastPart ? (item.href?.includes('new') ? `New ${lastPart.toLowerCase()}` : lastPart) : 'Unnamed'
)
@@ -140,12 +142,21 @@ export function convertFileSystemEntryToTreeDataItem({
const displayName = <SearchHighlightMultiple string={itemName} substring={searchTerm ?? ''} />
const user: UserBasicType | undefined = item.meta?.created_by ? users?.[item.meta.created_by] : undefined
+ // A link to a sidebar product, such as a starred one, shows that product's icon and color.
+ // Shortcuts store only a type, which can predate the product's current icon.
+ const iconType =
+ sidebarProduct?.iconType ||
+ ('iconType' in item ? item.iconType : undefined) ||
+ (item.type as FileSystemIconType)
+ const iconColor = sidebarProduct?.iconColor ?? ('iconColor' in item ? item.iconColor : undefined)
// Check for custom icon component first (e.g., badges), then fall back to static icon
const CustomIcon = getCustomIcon(item.type, item.href)
const icon = CustomIcon ? (
- <CustomIcon />
+ <ProductIconWrapper type={iconType} colorOverride={iconColor}>
+ <CustomIcon />
+ </ProductIconWrapper>
) : (
- iconForType(('iconType' in item ? item.iconType : undefined) || (item.type as FileSystemIconType))
+ iconForType(iconType, iconColor)
)
const node: TreeDataItem = {
id: nodeId,
@@ -154,7 +165,7 @@ export function convertFileSystemEntryToTreeDataItem({
icon: item._loading ? <Spinner /> : item.shortcut || allShortcuts ? wrapWithShortcutIcon(icon) : icon,
record: { ...item, user },
checked: checkedItems[nodeId],
- tags: item.tags,
+ tags: starredProduct ? starredProduct.tags : item.tags,
visualOrder: item.visualOrder,
}
if (item && disabledReason?.(item)) {
@@ -470,6 +481,20 @@ export function joinPath(path: string[]): string {
return path.map(escapePath).join('/')
}
+// A product shortcut keeps the path it had when starred, so a renamed product only matches it by href.
+export function findProductShortcut(
+ item: Pick<FileSystemImport, 'path' | 'href'>,
+ shortcuts: FileSystemEntry[]
+): FileSystemEntry | undefined {
+ const shortcutPath = joinPath(splitPath(item.path).slice(-1))
+ return shortcuts.find(
+ (entry) =>
+ entry.type !== 'folder' &&
+ !entry.ref &&
+ (entry.path === shortcutPath || (!!item.href && entry.href === item.href))
+ )
+}
+
export function escapePath(path: string): string {
return path.replace(/\\/g, '\\\\').replace(/\//g, '\\/')
}
diff --git a/frontend/src/layout/panel-layout/navbar/NavBar.tsx b/frontend/src/layout/panel-layout/navbar/NavBar.tsx
index d0ed1b8e6a12..a5d63464b21c 100644
--- a/frontend/src/layout/panel-layout/navbar/NavBar.tsx
+++ b/frontend/src/layout/panel-layout/navbar/NavBar.tsx
@@ -101,7 +101,7 @@ export function PanelIndicatorIcon(): JSX.Element | null {
}
const SIMPLE_TAB_CONFIG: { id: NavExperimentTab; label: string; icon: JSX.Element }[] = [
- { id: 'home', label: 'Browse', icon: <IconApps /> },
+ { id: 'home', label: 'Apps', icon: <IconApps /> },
{ id: 'files', label: 'Files', icon: <IconFolderOpen /> },
{ id: 'chat', label: 'Chat', icon: <IconChat /> },
]
@@ -327,7 +327,7 @@ export function NavBar(): JSX.Element {
{...props}
className={cn(
'group gap-1 data-[composite-item-active]:bg-surface-tertiary justify-center',
- isSimpleSidepanelEnabled ? 'flex-auto min-w-0' : 'w-1/2'
+ isSimpleSidepanelEnabled ? 'flex-1 min-w-0' : 'w-1/2'
)}
iconOnly={isSimpleSidepanelEnabled && isLayoutNavCollapsed}
tooltip={isSimpleSidepanelEnabled ? tab.label : undefined}
diff --git a/frontend/src/layout/panel-layout/navbar/NavLink.tsx b/frontend/src/layout/panel-layout/navbar/NavLink.tsx
index 8c8a33a7bb00..55bc026074c7 100644
--- a/frontend/src/layout/panel-layout/navbar/NavLink.tsx
+++ b/frontend/src/layout/panel-layout/navbar/NavLink.tsx
@@ -1,7 +1,6 @@
import { useValues } from 'kea'
-import { LemonTag } from '@posthog/lemon-ui'
-
+import { ProductTag } from 'lib/components/ProductTag/ProductTag'
import { Link } from 'lib/lemon-ui/Link'
import { ButtonGroupPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { cn } from 'lib/utils/css-classes'
@@ -83,15 +82,7 @@ export function NavLink({
{label}
</span>
)}
- {!isCollapsed && tag && (
- <LemonTag
- type={tag === 'alpha' ? 'completion' : tag === 'beta' ? 'warning' : 'success'}
- size="small"
- className="relative top-[-1px]"
- >
- {tag.toUpperCase()}
- </LemonTag>
- )}
+ {!isCollapsed && tag && <ProductTag tag={tag} className="relative top-[-1px]" />}
</Link>
{hasSideActionRight && sideAction}
</ButtonGroupPrimitive>
diff --git a/frontend/src/layout/panel-layout/navbar/ProductsAndFiles.stories.tsx b/frontend/src/layout/panel-layout/navbar/ProductsAndFiles.stories.tsx
index 2ab3f11b10f2..af8e851a7fc0 100644
--- a/frontend/src/layout/panel-layout/navbar/ProductsAndFiles.stories.tsx
+++ b/frontend/src/layout/panel-layout/navbar/ProductsAndFiles.stories.tsx
@@ -51,6 +51,10 @@ const starred: FileSystemEntry[] = [
{ id: 'star-2', path: 'Overview', type: 'dashboard', ref: '1', href: '/dashboard/1' },
{ id: 'star-3', path: 'Product research', type: 'folder', ref: 'Product research' },
{ id: 'star-4', path: 'Ideas', type: 'folder', ref: 'Product research/Ideas' },
+ { id: 'star-5', path: 'Feature flags', type: 'feature_flag', href: '/feature_flags' },
+ // Starred before the rename, so the saved path still holds the old name.
+ { id: 'star-6', path: 'LLM analytics', type: 'llm_analytics', href: '/ai-observability/dashboard' },
+ { id: 'star-7', path: 'AI gateway', type: 'ai_gateway', href: '/ai-gateway' },
]
function SidebarStory({
@@ -60,6 +64,7 @@ function SidebarStory({
overlay = false,
empty = false,
recentsCollapsed = false,
+ allProductsOpen = true,
folderToOpen,
}: {
tab?: NavExperimentTab
@@ -68,12 +73,13 @@ function SidebarStory({
overlay?: boolean
empty?: boolean
recentsCollapsed?: boolean
+ allProductsOpen?: boolean
folderToOpen?: string
}): JSX.Element {
const { setNavExperimentTab, toggleLayoutNavCollapsed, clearActivePanelIdentifier, setNavOverlayOpen } =
useActions(panelLayoutLogic)
const { setRecentsCollapsed } = useActions(navRecentsLogic)
- const { setSearch } = useActions(navProductsTabLogic)
+ const { setSearch, setAllProductsOpen } = useActions(navProductsTabLogic)
const { loadShortcutsSuccess } = useActions(projectTreeDataLogic)
useMountedLogic(navFilesTabLogic)
useOnMountEffect(() => {
@@ -82,6 +88,7 @@ function SidebarStory({
setNavOverlayOpen(overlay)
clearActivePanelIdentifier()
setSearch(search)
+ setAllProductsOpen(allProductsOpen)
if (tab === 'files') {
projectTreeLogic({ key: FILES_TREE_KEY, root: 'project://' }).actions.setSearchTerm(search)
}
@@ -157,12 +164,11 @@ export default meta
type Story = StoryObj<typeof SidebarStory>
export const Products: Story = {}
-export const ConfigureStarred: Story = {
+export const ProductsClosed: Story = { args: { allProductsOpen: false } }
+export const CustomizeSidebar: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement)
- const body = within(canvasElement.ownerDocument.body)
- await userEvent.click(await canvas.findByLabelText('Starred options'))
- await userEvent.click(await body.findByText('Configure starred', { exact: true }))
+ await userEvent.click(await canvas.findByLabelText('Customize sidebar'))
},
}
export const Files: Story = { args: { tab: 'files' } }
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/ConfigureStarredModal.tsx b/frontend/src/layout/panel-layout/navbar/tabs/ConfigureStarredModal.tsx
deleted file mode 100644
index 145a397f0561..000000000000
--- a/frontend/src/layout/panel-layout/navbar/tabs/ConfigureStarredModal.tsx
+++ /dev/null
@@ -1,87 +0,0 @@
-import { useActions, useValues } from 'kea'
-
-import { LemonButton, LemonModal, LemonSwitch, Spinner } from '@posthog/lemon-ui'
-
-import { Link } from 'lib/lemon-ui/Link'
-
-import { iconForType } from '../../ProjectTree/defaultTree'
-import { projectTreeDataLogic } from '../../ProjectTree/projectTreeDataLogic'
-import { sidebarProductMeta } from '../../sidebarProductMeta'
-import { navProductsTabLogic } from './navProductsTabLogic'
-import { productsItemName } from './productsCatalog'
-
-export function ConfigureStarredModal(): JSX.Element {
- const { configureStarredOpen, configurableProducts, starredProductIds } = useValues(navProductsTabLogic)
- const { setConfigureStarredOpen, setProductStarred } = useActions(navProductsTabLogic)
- const { shortcutDataHasLoaded, shortcutDataLoading } = useValues(projectTreeDataLogic)
-
- return (
- <LemonModal
- title="Configure starred"
- description="Choose which products appear in Starred. Changes save automatically."
- isOpen={configureStarredOpen}
- onClose={() => setConfigureStarredOpen(false)}
- width={640}
- footer={
- <div className="flex items-center gap-4 w-full">
- <p className="text-xs text-secondary mb-0 flex-1">
- Tip: Drag starred items in the sidebar to rearrange them.
- </p>
- <LemonButton type="primary" onClick={() => setConfigureStarredOpen(false)}>
- Done
- </LemonButton>
- </div>
- }
- >
- <div className="flex flex-col gap-2 group/colorful-product-icons colorful-product-icons-true">
- {!shortcutDataHasLoaded ? (
- <Spinner />
- ) : (
- configurableProducts.map((item) => {
- const { description, docsHref } = sidebarProductMeta(item)
- const label = productsItemName(item)
- return (
- <LemonSwitch
- key={item.path}
- className="py-2"
- checked={!!starredProductIds[item.path]}
- onChange={(starred) => setProductStarred(item.path, starred)}
- loading={shortcutDataLoading}
- aria-label={label}
- bordered
- fullWidth
- label={
- <span className="flex items-center gap-2">
- <span className="text-lg shrink-0 flex items-center">
- {iconForType(item.iconType, item.iconColor)}
- </span>
- <span className="flex flex-col">
- <span className="flex items-center gap-2">
- {label}
- {docsHref && (
- <Link
- to={docsHref}
- target="_blank"
- className="text-xs font-normal"
- onClick={(event) => event.stopPropagation()}
- >
- Docs
- </Link>
- )}
- </span>
- {description && (
- <span className="text-xs font-normal text-secondary">
- {description}
- </span>
- )}
- </span>
- </span>
- }
- />
- )
- })
- )}
- </div>
- </LemonModal>
- )
-}
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/CustomizeSidebarModal.tsx b/frontend/src/layout/panel-layout/navbar/tabs/CustomizeSidebarModal.tsx
new file mode 100644
index 000000000000..35965c64c7bc
--- /dev/null
+++ b/frontend/src/layout/panel-layout/navbar/tabs/CustomizeSidebarModal.tsx
@@ -0,0 +1,104 @@
+import { useActions, useValues } from 'kea'
+
+import { LemonButton, LemonLabel, LemonModal, LemonSwitch, Spinner } from '@posthog/lemon-ui'
+
+import { Link } from 'lib/lemon-ui/Link'
+
+import { HomepageConfiguration } from '~/layout/scenes/HomepageConfiguration'
+
+import { iconForType } from '../../ProjectTree/defaultTree'
+import { projectTreeDataLogic } from '../../ProjectTree/projectTreeDataLogic'
+import { sidebarProductMeta } from '../../sidebarProductMeta'
+import { navProductsTabLogic } from './navProductsTabLogic'
+import { productsItemName } from './productsCatalog'
+
+export function CustomizeSidebarModal(): JSX.Element {
+ const { customizeSidebarOpen, configurableProducts, starredProductIds } = useValues(navProductsTabLogic)
+ const { setCustomizeSidebarOpen, setProductStarred } = useActions(navProductsTabLogic)
+ const { shortcutDataHasLoaded, shortcutDataLoading } = useValues(projectTreeDataLogic)
+
+ return (
+ <LemonModal
+ title="Customize sidebar"
+ description="Changes save automatically."
+ isOpen={customizeSidebarOpen}
+ onClose={() => setCustomizeSidebarOpen(false)}
+ width={640}
+ footer={
+ <div className="flex items-center gap-4 w-full">
+ <p className="text-xs text-secondary mb-0 flex-1">
+ Tip: Drag starred items in the sidebar to rearrange them.
+ </p>
+ <LemonButton type="primary" onClick={() => setCustomizeSidebarOpen(false)}>
+ Done
+ </LemonButton>
+ </div>
+ }
+ >
+ <div className="flex flex-col gap-6">
+ <section className="flex flex-col gap-2">
+ <div>
+ <LemonLabel>Homepage</LemonLabel>
+ <p className="text-xs text-secondary mb-0">The page that opens when you select Home.</p>
+ </div>
+ <HomepageConfiguration />
+ </section>
+ <section className="flex flex-col gap-2 group/colorful-product-icons colorful-product-icons-true">
+ <div>
+ <LemonLabel>Starred</LemonLabel>
+ <p className="text-xs text-secondary mb-0">
+ Starred products appear below Home in the sidebar.
+ </p>
+ </div>
+ {!shortcutDataHasLoaded ? (
+ <Spinner />
+ ) : (
+ configurableProducts.map((item) => {
+ const { description, docsHref } = sidebarProductMeta(item)
+ const label = productsItemName(item)
+ return (
+ <LemonSwitch
+ key={item.path}
+ className="py-2"
+ checked={!!starredProductIds[item.path]}
+ onChange={(starred) => setProductStarred(item.path, starred)}
+ loading={shortcutDataLoading}
+ aria-label={label}
+ bordered
+ fullWidth
+ label={
+ <span className="flex items-center gap-2">
+ <span className="text-lg shrink-0 flex items-center">
+ {iconForType(item.iconType, item.iconColor)}
+ </span>
+ <span className="flex flex-col">
+ <span className="flex items-center gap-2">
+ {label}
+ {docsHref && (
+ <Link
+ to={docsHref}
+ target="_blank"
+ className="text-xs font-normal"
+ onClick={(event) => event.stopPropagation()}
+ >
+ Docs
+ </Link>
+ )}
+ </span>
+ {description && (
+ <span className="text-xs font-normal text-secondary">
+ {description}
+ </span>
+ )}
+ </span>
+ </span>
+ }
+ />
+ )
+ })
+ )}
+ </section>
+ </div>
+ </LemonModal>
+ )
+}
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavProductRow.test.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavProductRow.test.tsx
index f12c4f9f996e..f0388898f929 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavProductRow.test.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavProductRow.test.tsx
@@ -10,6 +10,7 @@ import { AccessControlLevel, AccessControlResourceType, TeamType } from '~/types
import { panelLayoutLogic } from '../../panelLayoutLogic'
import { projectTreeDataLogic } from '../../ProjectTree/projectTreeDataLogic'
import { NavProductRow } from './NavProductRow'
+import { navProductsTabLogic } from './navProductsTabLogic'
const defaultAccess = Object.fromEntries(
Object.values(AccessControlResourceType).map((type) => [type, AccessControlLevel.Editor])
@@ -63,39 +64,48 @@ describe('NavProductRow', () => {
expect(getByLabelText('Add to starred').getAttribute('aria-disabled')).toBe('true')
})
- it.each([
- ['Feature flags', 'feature_flag', '/feature_flags', false],
- ['Home', 'home', '/', true],
- ])('adds and removes a star for %s through the shortcut API', async (path, type, href, hasMenu) => {
+ it('adds a star and removes it only after confirming', async () => {
+ const [path, type, href] = ['Feature flags', 'feature_flag', '/feature_flags']
const create = jest.fn(() => [201, { id: 'star-test', path, type, href }])
const remove = jest.fn(() => [204])
useMocks({
post: { '/api/environments/:team_id/file_system_shortcut/': create },
delete: { '/api/environments/:team_id/file_system_shortcut/star-test/': remove },
})
- const { getByLabelText, queryByLabelText, findByText } = render(<NavProductRow item={{ path, type, href }} />)
+ const { getByLabelText } = render(<NavProductRow item={{ path, type, href }} />)
await waitFor(() => expect(projectTreeDataLogic.values.shortcutDataLoading).toBe(false))
const initialPath = router.values.location.pathname
- const starButton = async (name: string): Promise<HTMLElement> => {
- if (hasMenu) {
- fireEvent.click(getByLabelText(`Open ${path} menu`))
- expect(await findByText('Configure home')).toBeTruthy()
- return await findByText(name)
- }
- expect(queryByLabelText(`Open ${path} menu`)).toBeNull()
- return getByLabelText(name)
- }
- const add = await starButton('Add to starred')
+ const add = getByLabelText('Add to starred')
fireEvent.click(add)
fireEvent.click(add)
await waitFor(() => expect(projectTreeDataLogic.values.shortcutData).toHaveLength(1))
expect(create).toHaveBeenCalledTimes(1)
- const removeButton = await starButton('Remove from starred')
- fireEvent.click(removeButton)
- fireEvent.click(removeButton)
+ fireEvent.click(getByLabelText('Remove from starred'))
+ const confirm = await waitFor(() => {
+ const button = document.querySelector<HTMLButtonElement>('[data-attr="nav-apps-unstar-confirm"]')
+ expect(button).not.toBeNull()
+ return button!
+ })
+ expect(remove).not.toHaveBeenCalled()
+ fireEvent.click(confirm)
await waitFor(() => expect(projectTreeDataLogic.values.shortcutData).toHaveLength(0))
expect(remove).toHaveBeenCalledTimes(1)
- expect(await starButton('Add to starred')).toBeTruthy()
+ expect(getByLabelText('Add to starred')).toBeTruthy()
expect(router.values.location.pathname).toBe(initialPath)
})
+
+ it('offers customize on the pinned Home row and no star on any pinned row', () => {
+ navProductsTabLogic.mount()
+ const activity = render(
+ <NavProductRow item={{ path: 'Activity', iconType: 'activity', href: '/activity/events' }} pinned />
+ )
+ expect(activity.queryByLabelText('Add to starred')).toBeNull()
+ expect(activity.queryByLabelText('Customize sidebar')).toBeNull()
+ activity.unmount()
+
+ const home = render(<NavProductRow item={{ path: 'Home', iconType: 'home', href: '/' }} pinned />)
+ expect(home.queryByLabelText('Add to starred')).toBeNull()
+ fireEvent.click(home.getByLabelText('Customize sidebar'))
+ expect(navProductsTabLogic.values.customizeSidebarOpen).toBe(true)
+ })
})
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavProductRow.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavProductRow.tsx
index 06a6490868b9..635e19d32696 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavProductRow.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavProductRow.tsx
@@ -1,41 +1,39 @@
import { useActions, useValues } from 'kea'
-import { router } from 'kea-router'
-import { IconChevronDown, IconEllipsis, IconGear, IconPlusSmall, IconStar, IconStarFilled } from '@posthog/icons'
-import { LemonButton, LemonMenu, LemonTag } from '@posthog/lemon-ui'
+import { IconChevronDown, IconGear, IconPlusSmall, IconStar, IconStarFilled } from '@posthog/icons'
+import { LemonButton, LemonDialog, LemonMenu } from '@posthog/lemon-ui'
+import { ProductTag } from 'lib/components/ProductTag/ProductTag'
import { LemonMenuItems } from 'lib/lemon-ui/LemonMenu'
import { Link } from 'lib/lemon-ui/Link'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
import { getProductAccessDisabledReason } from 'lib/utils/accessControlUtils'
+import { cn } from 'lib/utils/css-classes'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
import { removeProjectIdIfPresent } from 'lib/utils/kea-router'
import { urls } from 'scenes/urls'
-import { navigationLogic } from '~/layout/navigation/navigationLogic'
-import { uiCustomizationLogic } from '~/layout/uiCustomizationLogic'
import { FileSystemEntry, FileSystemIconType, FileSystemImport } from '~/queries/schema/schema-general'
import { panelLayoutLogic } from '../../panelLayoutLogic'
import { getCustomIcon } from '../../ProjectTree/customIconRegistry'
import { ProductIconWrapper, iconForType } from '../../ProjectTree/defaultTree'
import { projectTreeDataLogic } from '../../ProjectTree/projectTreeDataLogic'
-import { joinPath, splitPath } from '../../ProjectTree/utils'
+import { findProductShortcut } from '../../ProjectTree/utils'
import { NavProductMenu } from './NavProductMenu'
+import { navProductsTabLogic } from './navProductsTabLogic'
import { NavProductTooltip } from './NavProductTooltip'
import { productsItemName } from './productsCatalog'
-export function NavProductRow({ item }: { item: FileSystemImport }): JSX.Element {
+export function NavProductRow({ item, pinned = false }: { item: FileSystemImport; pinned?: boolean }): JSX.Element {
const { pathname } = useValues(panelLayoutLogic)
const { resetPanelLayout } = useActions(panelLayoutLogic)
const { shortcutData, shortcutDataLoading } = useValues(projectTreeDataLogic)
const { addShortcutItem, deleteShortcut } = useActions(projectTreeDataLogic)
const { reportNavItemClicked } = useActions(eventUsageLogic)
- const { showConfigureHomeModal } = useActions(navigationLogic)
- const { uiCustomizationEnabled } = useValues(uiCustomizationLogic)
+ const { setCustomizeSidebarOpen } = useActions(navProductsTabLogic)
const label = productsItemName(item)
- const shortcutPath = joinPath([splitPath(item.path).pop() ?? 'Unnamed'])
- const shortcut = shortcutData.find((entry) => entry.type !== 'folder' && entry.path === shortcutPath)
+ const shortcut = findProductShortcut(item, shortcutData)
const currentPath = removeProjectIdIfPresent(pathname)
const href = item.href ?? ''
const active =
@@ -47,40 +45,37 @@ export function NavProductRow({ item }: { item: FileSystemImport }): JSX.Element
const CustomIcon = getCustomIcon(item.type, item.href)
const iconType = item.iconType ?? (item.type as FileSystemIconType | undefined)
+ const isHome = item.path === 'Home'
const hasProductMenu = ['Product analytics', 'Dashboards', 'Session replay'].includes(item.path)
+ const hasSideAction = isHome || !pinned
const starAction = {
label: shortcut ? 'Remove from starred' : 'Add to starred',
icon: shortcut ? <IconStarFilled /> : <IconStar />,
'data-attr': 'nav-apps-star',
disabledReason: disabledReason || (shortcutDataLoading ? 'Updating starred items' : undefined),
- onClick: () => (shortcut ? deleteShortcut(shortcut.id) : addShortcutItem(item as FileSystemEntry)),
- }
- const menuItems: LemonMenuItems = [
- ...(hasProductMenu ? [{ label: () => <NavProductMenu product={item.path} /> }] : []),
- ...(item.path === 'Home'
- ? [
- {
- items: [
- {
- label: 'Configure home',
- icon: <IconGear />,
- 'data-attr': 'nav-configure-home',
- onClick: () => {
- if (uiCustomizationEnabled) {
- router.actions.push(urls.settings('user-navigation', 'homepage'))
- } else {
- showConfigureHomeModal()
- }
- },
- },
- ],
- },
- ]
- : []),
- {
- items: [starAction],
+ onClick: () => {
+ if (!shortcut) {
+ addShortcutItem(item as FileSystemEntry)
+ return
+ }
+ LemonDialog.open({
+ title: `Remove ${label} from starred?`,
+ description: 'It will no longer appear in the starred section of the sidebar.',
+ maxWidth: '30rem',
+ primaryButton: {
+ children: 'Remove',
+ status: 'danger',
+ onClick: () => deleteShortcut(shortcut.id),
+ 'data-attr': 'nav-apps-unstar-confirm',
+ },
+ secondaryButton: { children: 'Cancel' },
+ })
},
- ]
+ }
+ const menuItems: LemonMenuItems = [{ label: () => <NavProductMenu product={item.path} /> }, { items: [starAction] }]
+ // Appears at once like a tree row's side action, while keeping LemonButton's press animation.
+ const sideActionClassName =
+ 'absolute right-0 opacity-0 group-hover/product-row:opacity-100 group-has-[:focus-visible]/product-row:opacity-100 [--lemon-button-transition:transform_200ms_ease]'
return (
<div className="group/product-row relative flex items-center gap-px min-w-0">
@@ -92,8 +87,11 @@ export function NavProductRow({ item }: { item: FileSystemImport }): JSX.Element
menuItem: true,
active,
disabled: !!disabledReason,
- className:
- 'flex-1 min-w-0 -outline-offset-2 group-hover/product-row:pr-7 group-focus-within/product-row:pr-7',
+ className: cn(
+ 'flex-1 min-w-0 -outline-offset-2 motion-safe:transition-[padding] duration-50',
+ hasSideAction && 'group-hover/product-row:pr-7 group-has-[:focus-visible]/product-row:pr-7',
+ !pinned && !hasProductMenu && shortcut && 'pr-7'
+ ),
}}
data-attr="nav-apps-item"
onClick={() => {
@@ -111,40 +109,25 @@ export function NavProductRow({ item }: { item: FileSystemImport }): JSX.Element
)}
</span>
<span className="flex-1 truncate">{label}</span>
- {item.tags?.[0] && (
- <LemonTag type={item.tags[0] === 'alpha' ? 'completion' : 'warning'} size="small">
- {item.tags[0]}
- </LemonTag>
- )}
+ {item.tags?.[0] && <ProductTag tag={item.tags[0]} />}
</Link>
</Tooltip>
- {menuItems.length === 1 ? (
+ {isHome ? (
<LemonButton
size="xsmall"
- className="absolute right-0 opacity-0 group-hover/product-row:opacity-100 group-focus-within/product-row:opacity-100"
- icon={starAction.icon}
- tooltip={starAction.label}
- aria-label={starAction.label}
- disabledReason={starAction.disabledReason}
- onClick={starAction.onClick}
- data-attr={starAction['data-attr']}
+ className={sideActionClassName}
+ icon={<IconGear />}
+ tooltip="Customize sidebar"
+ aria-label="Customize sidebar"
+ onClick={() => setCustomizeSidebarOpen(true)}
+ data-attr="nav-customize-sidebar"
/>
- ) : (
+ ) : pinned ? null : hasProductMenu ? (
<LemonMenu placement="right-start" items={menuItems}>
<LemonButton
size="xsmall"
- className="absolute right-0 opacity-0 group-hover/product-row:opacity-100 group-focus-within/product-row:opacity-100"
- icon={
- hasProductMenu ? (
- item.path === 'Product analytics' ? (
- <IconPlusSmall />
- ) : (
- <IconChevronDown />
- )
- ) : (
- <IconEllipsis />
- )
- }
+ className={sideActionClassName}
+ icon={item.path === 'Product analytics' ? <IconPlusSmall /> : <IconChevronDown />}
tooltip={`Open ${label} menu`}
aria-label={`Open ${label} menu`}
disabledReason={disabledReason}
@@ -153,12 +136,21 @@ export function NavProductRow({ item }: { item: FileSystemImport }): JSX.Element
? 'flat-nav-tool-menu-insight'
: item.path === 'Dashboards'
? 'flat-nav-tool-menu-dashboards'
- : item.path === 'Session replay'
- ? 'flat-nav-tool-menu-session-replay'
- : 'nav-apps-menu'
+ : 'flat-nav-tool-menu-session-replay'
}
/>
</LemonMenu>
+ ) : (
+ <LemonButton
+ size="xsmall"
+ className={cn(sideActionClassName, shortcut && 'opacity-100')}
+ icon={starAction.icon}
+ tooltip={starAction.label}
+ aria-label={starAction.label}
+ disabledReason={starAction.disabledReason}
+ onClick={starAction.onClick}
+ data-attr={starAction['data-attr']}
+ />
)}
</div>
)
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavProductTooltip.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavProductTooltip.tsx
index 9d3c198f7497..06656a39d55e 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavProductTooltip.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavProductTooltip.tsx
@@ -3,65 +3,6 @@ import { FileSystemImport } from '~/queries/schema/schema-general'
import { sidebarProductMeta } from '../../sidebarProductMeta'
import { productsItemName } from './productsCatalog'
-const descriptions: Record<string, string> = {
- Home: 'Pick up where you left off with the insights, dashboards, and activity that matter to your project.',
- Activity:
- 'Explore the events people send to your project. Inspect their properties to understand exactly what happened.',
- 'SQL editor':
- 'Ask questions that need more than a chart builder. Query your events and warehouse tables together, then turn the results into a table or visualization.',
- 'Product analytics':
- 'Find out how people discover, use, and return to your product. Explore trends, conversion funnels, retention, and the paths people take.',
- Dashboards:
- 'Bring related insights together in one place. Follow your key metrics over time and share the same view of progress with your team.',
- 'Session replay':
- 'Watch how people actually experience your product. Follow their clicks and navigation to understand the behavior behind a metric or bug report.',
- 'Feature flags':
- 'Choose who sees a feature without another deployment. Roll changes out gradually, target a specific group, or turn a feature off when something goes wrong.',
- Experiments:
- 'Compare product changes with a controlled test. Measure their effect on the metrics you care about before deciding what to ship.',
- 'Web analytics':
- 'Understand who visits your website, where they come from, and which pages lead to conversions. Start with traffic, then explore what drives it.',
- 'Error tracking':
- 'Turn exceptions into issues you can investigate. See who was affected and connect errors with the context you need to find the cause.',
- Surveys:
- 'Ask people about their experience while it is still fresh. Collect feedback in your product and use it to explain what your analytics cannot.',
- Heatmaps:
- 'See where people click and how far they scroll. Spot overlooked calls to action and places where a page loses attention.',
- Notebooks:
- 'Keep an investigation together with notes, insights, and recordings. Give your team the evidence and context behind your conclusions.',
- 'LLM analytics':
- 'Follow your AI application from prompts to responses. Inspect traces, latency, token usage, and cost to understand quality and performance.',
- Persons:
- 'Explore the people behind your events, including their properties and activity. Connect an individual experience with the patterns in your analytics.',
- Cohorts:
- 'Group people by what they do and who they are. Reuse those audiences in analysis, feature targeting, and experiments.',
- 'SQL variables':
- 'Define reusable values for SQL queries so you can change a shared parameter without editing every query.',
- 'Core events':
- 'Choose the events that signal meaningful use of your product. Give your team a shared starting point for understanding customer activity.',
- 'Revenue definitions':
- 'Tell PostHog which events represent revenue and where to find their amounts and currencies. Use consistent revenue measures across your analyses.',
- 'Property groups':
- 'Organize related properties into reusable groups. Make a large tracking schema easier to navigate and understand.',
- 'Event definitions':
- 'Explore the events captured in your project and document what they mean. Help your team choose the right events for an analysis.',
- 'Property definitions':
- 'Explore the properties attached to your events and people. Document their meaning so everyone interprets the same data consistently.',
- 'Managed viewsets':
- 'Set up collections of warehouse views built for a particular kind of analysis. Reuse prepared data models instead of starting each query from scratch.',
- 'Event ingestion warnings':
- 'Find problems encountered while processing your events. Inspect the warnings to identify tracking issues and improve the data you analyze.',
- Annotations:
- 'Add context to changes in your metrics. Mark releases, campaigns, and other milestones so your team can connect a chart with what happened.',
- Sources:
- 'Bring data from your other tools into PostHog. Combine it with product events to answer questions that span your business.',
- Destinations:
- 'Send events from PostHog to the tools that need them. Connect product activity with the rest of your workflows.',
- Transformations:
- 'Reshape incoming events before they reach your analyses. Keep event names and properties consistent across your tracking.',
- Models: 'Turn SQL queries into reusable views and materialized views. Build on shared data models instead of repeating the same preparation in every analysis.',
-}
-
const examples: Record<string, string> = {
Home: 'Return to a dashboard you were investigating yesterday.',
Activity: 'Check which properties arrive with a signup event.',
@@ -124,7 +65,6 @@ const examples: Record<string, string> = {
Destinations: 'Send captured events to another tool your team uses.',
'Event definitions': 'Check what an event means before adding it to an insight.',
'Event ingestion filtering': 'Filter unwanted events before they enter your project.',
- 'Event ingestion warnings': 'Investigate events that were not ingested as expected.',
'Managed migrations': 'Bring historical events into PostHog.',
'Managed viewsets': 'Set up a collection of warehouse views for analysis.',
Models: 'Save a reusable query as a view for other analyses.',
@@ -139,7 +79,7 @@ const examples: Record<string, string> = {
}
export function NavProductTooltip({ item }: { item: FileSystemImport }): JSX.Element {
- const description = descriptions[item.path] ?? sidebarProductMeta(item).description
+ const { description } = sidebarProductMeta(item)
const example = examples[item.path]
const isGroup = item.iconType === 'group' || item.iconType?.startsWith('group_') || item.type?.startsWith('group_')
return (
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavProductsMenu.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavProductsMenu.tsx
deleted file mode 100644
index 42e362a7e17a..000000000000
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavProductsMenu.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-import { useActions } from 'kea'
-
-import { IconEllipsis, IconGear } from '@posthog/icons'
-import { LemonButton, LemonMenu } from '@posthog/lemon-ui'
-
-import { navProductsTabLogic } from './navProductsTabLogic'
-
-export function NavProductsMenu(): JSX.Element {
- const { setConfigureStarredOpen } = useActions(navProductsTabLogic)
-
- return (
- <LemonMenu
- placement="bottom-end"
- items={[
- {
- label: 'Configure starred',
- icon: <IconGear />,
- onClick: () => setConfigureStarredOpen(true),
- },
- ]}
- >
- <LemonButton
- size="xsmall"
- icon={<IconEllipsis />}
- tooltip="Starred options"
- aria-label="Starred options"
- data-attr="nav-apps-starred-options"
- />
- </LemonMenu>
- )
-}
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavRecentItems.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavRecentItems.tsx
new file mode 100644
index 000000000000..94f31d5bc324
--- /dev/null
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavRecentItems.tsx
@@ -0,0 +1,45 @@
+import { useActions, useValues } from 'kea'
+
+import { Spinner } from 'lib/lemon-ui/Spinner/Spinner'
+import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
+
+import { iconForType } from '~/layout/panel-layout/ProjectTree/defaultTree'
+import { splitPath, unescapePath } from '~/layout/panel-layout/ProjectTree/utils'
+import { FileSystemEntry, FileSystemIconType } from '~/queries/schema/schema-general'
+
+import { NavLink } from '../NavLink'
+import { navRecentsLogic } from './navRecentsLogic'
+
+function getItemName(item: FileSystemEntry): string {
+ const lastPart = splitPath(item.path).pop()
+ return unescapePath(lastPart ?? item.path)
+}
+
+export function NavRecentItems(): JSX.Element {
+ const { recentItems, recentItemsLoading } = useValues(navRecentsLogic)
+ const { reportNavItemClicked } = useActions(eventUsageLogic)
+
+ return (
+ <div className="flex flex-col gap-px group/colorful-product-icons colorful-product-icons-true">
+ {recentItemsLoading && recentItems.length === 0 ? (
+ <div className="flex items-center justify-center py-2">
+ <Spinner className="size-4" />
+ </div>
+ ) : recentItems.length === 0 ? (
+ <span className="text-xs text-tertiary px-2 py-1">No recent items</span>
+ ) : (
+ recentItems.map((item) => (
+ <NavLink
+ key={item.id}
+ to={item.href ?? ''}
+ label={getItemName(item)}
+ icon={iconForType(item.type as FileSystemIconType)}
+ isCollapsed={false}
+ data-attr={`nav-recent-item-${item.id}`}
+ onClick={() => reportNavItemClicked('recent', 'recents', item.type)}
+ />
+ ))
+ )}
+ </div>
+ )
+}
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavTabFiles.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavTabFiles.tsx
index 8957e1b1f7c4..ac4ab46121ed 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavTabFiles.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavTabFiles.tsx
@@ -1,4 +1,4 @@
-import { useValues } from 'kea'
+import { useActions, useValues } from 'kea'
import { Spinner } from '@posthog/lemon-ui'
@@ -8,15 +8,18 @@ import { panelLayoutLogic } from '../../panelLayoutLogic'
import { ProjectTree } from '../../ProjectTree/ProjectTree'
import { projectTreeDataLogic } from '../../ProjectTree/projectTreeDataLogic'
import { projectTreeLogic } from '../../ProjectTree/projectTreeLogic'
-import { FlatNavRecents } from './flat-nav/FlatNavRecents'
import { NavFilesMenu } from './NavFilesMenu'
import { FILES_STARRED_TREE_KEY, FILES_TREE_KEY, navFilesTabLogic } from './navFilesTabLogic'
+import { NavRecentItems } from './NavRecentItems'
+import { navRecentsLogic } from './navRecentsLogic'
import { NavTabSection } from './NavTabSection'
export function NavTabFiles(): JSX.Element {
const { navExperimentActiveTab } = useValues(panelLayoutLogic)
const { shortcutDataHasLoaded } = useValues(projectTreeDataLogic)
const { searchTerm, folderRevealCount } = useValues(navFilesTabLogic)
+ const { recentsCollapsed } = useValues(navRecentsLogic)
+ const { setRecentsCollapsed } = useActions(navRecentsLogic)
const { fullFileSystemFiltered: starredFiles } = useValues(
projectTreeLogic({ key: FILES_STARRED_TREE_KEY, root: 'shortcuts://', shortcutScope: 'files' })
)
@@ -62,6 +65,19 @@ export function NavTabFiles(): JSX.Element {
</NavTabSection>
</div>
)}
+ {/* Recents list what you viewed, not what matches the search, so a search hides them. */}
+ {!searchTerm.trim() && (
+ <div className="pb-2">
+ <NavTabSection
+ label="Recents"
+ dataAttr="nav-recents-toggle"
+ open={!recentsCollapsed}
+ onOpenChange={(open) => setRecentsCollapsed(!open)}
+ >
+ <NavRecentItems />
+ </NavTabSection>
+ </div>
+ )}
<NavTabSection
label="Files"
dataAttr="nav-files-project-toggle"
@@ -76,9 +92,6 @@ export function NavTabFiles(): JSX.Element {
/>
</NavTabSection>
</ScrollableShadows>
- <div className="max-h-1/3 overflow-y-auto px-2 border-t">
- <FlatNavRecents />
- </div>
</div>
)
}
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavTabProducts.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavTabProducts.tsx
index 40c4c9993de0..002f409bcf6d 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavTabProducts.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavTabProducts.tsx
@@ -1,81 +1,116 @@
-import { useValues } from 'kea'
-
-import { Spinner } from '@posthog/lemon-ui'
+import { useActions, useValues } from 'kea'
+import { useState } from 'react'
import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { Collapsible } from 'lib/ui/Collapsible/Collapsible'
+import { cn } from 'lib/utils/css-classes'
+import { getSidebarProduct } from '../../ProjectTree/defaultTree'
import { ProjectTree } from '../../ProjectTree/ProjectTree'
import { projectTreeDataLogic } from '../../ProjectTree/projectTreeDataLogic'
import { projectTreeLogic } from '../../ProjectTree/projectTreeLogic'
-import { ConfigureStarredModal } from './ConfigureStarredModal'
+import { CustomizeSidebarModal } from './CustomizeSidebarModal'
import { NavProductRow } from './NavProductRow'
-import { NavProductsMenu } from './NavProductsMenu'
import { PRODUCTS_STARRED_TREE_KEY, navProductsTabLogic } from './navProductsTabLogic'
-import { NavTabSection } from './NavTabSection'
+import { NavProductTooltip } from './NavProductTooltip'
export function NavTabProducts(): JSX.Element {
- const { search, groupedItems } = useValues(navProductsTabLogic)
+ const { pinnedItems, groupedItems, allProductsVisible, allProductsCollapsible } = useValues(navProductsTabLogic)
+ const { setAllProductsOpen } = useActions(navProductsTabLogic)
+ // Fade only on a toggle the user makes, not on the first render after starred items load. A height
+ // slide over the whole product list moves too far to read, so the panel opens in place.
+ const [animatePanel, setAnimatePanel] = useState(false)
const { shortcutDataHasLoaded } = useValues(projectTreeDataLogic)
const { fullFileSystemFiltered: starredProducts } = useValues(
projectTreeLogic({ key: PRODUCTS_STARRED_TREE_KEY, root: 'shortcuts://', shortcutScope: 'products' })
)
+ const showStarred = shortcutDataHasLoaded && starredProducts.length > 0
return (
<div className="flex flex-col h-full min-h-0 group/colorful-product-icons colorful-product-icons-true">
+ {/* Parents own the spacing: this gap separates the sections, and each section's gap separates
+ its title from its rows. Titles and rows carry no vertical padding or margin. */}
<ScrollableShadows
direction="vertical"
className="flex-1 min-h-0"
innerClassName="px-1 pb-2"
+ contentClassName="flex flex-col gap-3"
styledScrollbars
>
- {(!search.trim() || !shortcutDataHasLoaded || starredProducts.length > 0) && (
- <NavTabSection
- label="Starred"
- dataAttr="nav-apps-starred-toggle"
- key={`starred-${!!search.trim()}`}
- actions={<NavProductsMenu />}
- >
- {!shortcutDataHasLoaded ? (
- <Spinner className="m-2" />
- ) : starredProducts.length > 0 ? (
+ {pinnedItems.length > 0 && (
+ <div className="flex flex-col gap-px">
+ {pinnedItems.map((item) => (
+ <NavProductRow key={`${item.path}-${item.href}`} item={item} pinned />
+ ))}
+ </div>
+ )}
+ {showStarred && (
+ <section aria-label="Starred" className="flex flex-col gap-0.5">
+ <h3 className="px-2 mb-0 text-xs leading-4 font-semibold text-tertiary">Starred</h3>
+ {/* The tree insets its rows by 5px and pads itself by 4px vertically. This lines its
+ icons up with the rows above and cancels its own vertical padding. */}
+ <div className="-ml-[5px] -my-1">
<ProjectTree
root="shortcuts://"
shortcutScope="products"
logicKey={PRODUCTS_STARRED_TREE_KEY}
onlyTree
showShortcutHelp={false}
+ renderItemTooltip={(treeItem) => {
+ const product = getSidebarProduct(treeItem.record?.href)
+ return product ? <NavProductTooltip item={product} /> : undefined
+ }}
/>
- ) : (
- <p className="text-xs text-tertiary px-2 py-1 mb-0">Star products to keep them here.</p>
- )}
- </NavTabSection>
+ </div>
+ </section>
)}
- <NavTabSection
- label="Project"
- collapsedLabel="All products"
- dataAttr="nav-apps-project-toggle"
- key={`project-${!!search.trim()}`}
- >
- {groupedItems.map((group) => (
- <section key={group.label} aria-label={group.label}>
- {group.label !== 'Project' && (
- <h3 className="px-2 pt-3 pb-1 mb-0 text-xs font-semibold text-secondary">
- {group.label}
- </h3>
+ {groupedItems.length > 0 ? (
+ <Collapsible
+ open={allProductsVisible}
+ onOpenChange={(open) => {
+ setAnimatePanel(true)
+ setAllProductsOpen(open)
+ }}
+ className="flex flex-col gap-2"
+ >
+ {allProductsCollapsible && (
+ <Collapsible.Trigger
+ className="min-h-6 py-0.5 rounded hover:bg-fill-button-tertiary-hover focus-visible:bg-fill-button-tertiary-hover pr-2"
+ labelClassName="flex-1 text-xs font-semibold text-tertiary normal-case tracking-normal"
+ data-attr="nav-apps-project-toggle"
+ >
+ {allProductsVisible ? 'All products' : 'See all products'}
+ </Collapsible.Trigger>
+ )}
+ <Collapsible.Panel
+ className={cn(
+ 'gap-3 transition-opacity duration-150 ease-out data-[starting-style]:opacity-0 data-[ending-style]:opacity-0',
+ !animatePanel && 'transition-none',
+ 'motion-reduce:transition-none'
)}
- <div className="flex flex-col gap-px">
- {group.items.map((item) => (
- <NavProductRow key={`${item.path}-${item.href}`} item={item} />
- ))}
- </div>
- </section>
- ))}
- {groupedItems.length === 0 && (
- <p className="text-xs text-tertiary px-2 py-2">No products found. Try a different search.</p>
- )}
- </NavTabSection>
+ >
+ {groupedItems.map((group) => (
+ <section key={group.label} aria-label={group.label} className="flex flex-col gap-0.5">
+ <h3 className="px-2 mb-0 text-xs leading-4 font-semibold text-secondary">
+ {group.label}
+ </h3>
+ <div className="flex flex-col gap-px">
+ {group.items.map((item) => (
+ <NavProductRow key={`${item.path}-${item.href}`} item={item} />
+ ))}
+ </div>
+ </section>
+ ))}
+ </Collapsible.Panel>
+ </Collapsible>
+ ) : (
+ pinnedItems.length === 0 &&
+ !showStarred && (
+ <p className="px-2 mb-0 text-xs text-tertiary">No products found. Try a different search.</p>
+ )
+ )}
</ScrollableShadows>
- <ConfigureStarredModal />
+ <CustomizeSidebarModal />
</div>
)
}
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavTabSection.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavTabSection.tsx
index dd0349972a64..7e06013b6c09 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavTabSection.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavTabSection.tsx
@@ -4,18 +4,23 @@ import { Collapsible } from 'lib/ui/Collapsible/Collapsible'
export function NavTabSection({
label,
- collapsedLabel = label,
children,
dataAttr,
actions,
+ open: controlledOpen,
+ onOpenChange,
}: {
label: string
- collapsedLabel?: string
children: ReactNode
dataAttr: string
actions?: ReactNode
+ /** Controls the section from outside, for example to persist its state. It starts open otherwise. */
+ open?: boolean
+ onOpenChange?: (open: boolean) => void
}): JSX.Element {
- const [open, setOpen] = useState(true)
+ const [localOpen, setLocalOpen] = useState(true)
+ const open = controlledOpen ?? localOpen
+ const setOpen = onOpenChange ?? setLocalOpen
return (
<Collapsible open={open} onOpenChange={setOpen} className="border-t first:border-t-0">
@@ -25,7 +30,7 @@ export function NavTabSection({
labelClassName="flex-1 text-xs font-semibold text-secondary normal-case"
data-attr={dataAttr}
>
- <span>{open ? label : collapsedLabel}</span>
+ <span>{label}</span>
</Collapsible.Trigger>
{actions}
</div>
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/flat-nav/FlatNavRecents.tsx b/frontend/src/layout/panel-layout/navbar/tabs/flat-nav/FlatNavRecents.tsx
index 6822bad204de..302de316c7bc 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/flat-nav/FlatNavRecents.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/flat-nav/FlatNavRecents.tsx
@@ -1,75 +1,10 @@
-import { useActions, useValues } from 'kea'
-import { useId } from 'react'
-
-import { IconChevronDown } from '@posthog/icons'
-import { LemonButton } from '@posthog/lemon-ui'
-
-import { useFeatureFlag } from 'lib/hooks/useFeatureFlag'
-import { Spinner } from 'lib/lemon-ui/Spinner/Spinner'
-import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
-
-import { iconForType } from '~/layout/panel-layout/ProjectTree/defaultTree'
-import { splitPath, unescapePath } from '~/layout/panel-layout/ProjectTree/utils'
-import { FileSystemEntry, FileSystemIconType } from '~/queries/schema/schema-general'
-
-import { NavLink } from '../../NavLink'
-import { navRecentsLogic } from '../navRecentsLogic'
+import { NavRecentItems } from '../NavRecentItems'
import { FlatNavSection } from './FlatNavSection'
-function getItemName(item: FileSystemEntry): string {
- const lastPart = splitPath(item.path).pop()
- return unescapePath(lastPart ?? item.path)
-}
-
export function FlatNavRecents(): JSX.Element {
- const { recentItems, recentItemsLoading, recentsCollapsed } = useValues(navRecentsLogic)
- const { setRecentsCollapsed } = useActions(navRecentsLogic)
- const recentItemsId = useId()
- const isSimpleSidepanelEnabled = useFeatureFlag('SIMPLE_SIDEPANEL')
- const { reportNavItemClicked } = useActions(eventUsageLogic)
-
return (
- <FlatNavSection
- label="Recents"
- info="Items you viewed recently, most recent first."
- action={
- isSimpleSidepanelEnabled ? (
- <LemonButton
- size="xsmall"
- icon={<IconChevronDown className={recentsCollapsed ? 'rotate-180' : undefined} />}
- onClick={() => setRecentsCollapsed(!recentsCollapsed)}
- tooltip={recentsCollapsed ? 'Expand recents' : 'Collapse recents'}
- aria-label={recentsCollapsed ? 'Expand recents' : 'Collapse recents'}
- aria-expanded={!recentsCollapsed}
- aria-controls={recentItemsId}
- data-attr="nav-recents-toggle"
- />
- ) : undefined
- }
- >
- <div id={recentItemsId} hidden={isSimpleSidepanelEnabled && recentsCollapsed}>
- <div className="flex flex-col gap-px group/colorful-product-icons colorful-product-icons-true">
- {recentItemsLoading && recentItems.length === 0 ? (
- <div className="flex items-center justify-center py-2">
- <Spinner className="size-4" />
- </div>
- ) : recentItems.length === 0 ? (
- <span className="text-xs text-tertiary px-2 py-1">No recent items</span>
- ) : (
- recentItems.map((item) => (
- <NavLink
- key={item.id}
- to={item.href ?? ''}
- label={getItemName(item)}
- icon={iconForType(item.type as FileSystemIconType)}
- isCollapsed={false}
- data-attr={`nav-recent-item-${item.id}`}
- onClick={() => reportNavItemClicked('recent', 'recents', item.type)}
- />
- ))
- )}
- </div>
- </div>
+ <FlatNavSection label="Recents" info="Items you viewed recently, most recent first.">
+ <NavRecentItems />
</FlatNavSection>
)
}
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/navProductsTabLogic.test.ts b/frontend/src/layout/panel-layout/navbar/tabs/navProductsTabLogic.test.ts
index efe55bae93a2..cbf6049d53a9 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/navProductsTabLogic.test.ts
+++ b/frontend/src/layout/panel-layout/navbar/tabs/navProductsTabLogic.test.ts
@@ -5,10 +5,11 @@ import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { urls } from 'scenes/urls'
import { useMocks } from '~/mocks/jest'
+import { FileSystemEntry } from '~/queries/schema/schema-general'
import { initKeaTests } from '~/test/init'
import { ActivityTab } from '~/types'
-import { getDefaultTreeDataAndPeople, getDefaultTreeProducts } from '../../ProjectTree/defaultTree'
+import { getDefaultTreeData, getDefaultTreeProducts } from '../../ProjectTree/defaultTree'
import { projectTreeDataLogic } from '../../ProjectTree/projectTreeDataLogic'
import { projectTreeLogic } from '../../ProjectTree/projectTreeLogic'
import { PRODUCTS_STARRED_TREE_KEY, navProductsTabLogic } from './navProductsTabLogic'
@@ -22,57 +23,100 @@ describe('navProductsTabLogic', () => {
})
it.each([false, true])('retains every existing product and data destination with flags enabled: %s', (enabled) => {
- const registry = [...getDefaultTreeProducts(), ...getDefaultTreeDataAndPeople()]
+ const registry = [...getDefaultTreeProducts(), ...getDefaultTreeData()]
const flags = Object.fromEntries(registry.flatMap((item) => (item.flag ? [[item.flag, enabled]] : [])))
+ const definitionsTabHrefs = new Set([
+ urls.coreEvents(),
+ urls.propertyDefinitions(),
+ urls.schemaManagement(),
+ urls.revenueSettings(),
+ urls.warehouseProperties(),
+ ])
featureFlagLogic.actions.setFeatureFlags([], flags)
const expected = new Set([
urls.projectRoot(),
urls.activity(ActivityTab.ExploreEvents),
- ...registry.filter((item) => item.href && (!item.flag || enabled)).map((item) => item.href),
- ...projectTreeDataLogic.values.groupItems
- .filter((item) => item.href && (!item.flag || flags[item.flag]))
+ ...registry
+ .filter((item) => item.href && (!item.flag || enabled) && !definitionsTabHrefs.has(item.href))
.map((item) => item.href),
])
- const actual = navProductsTabLogic.values.groupedItems.flatMap((group) => group.items.map((item) => item.href))
+ const actual = [
+ ...navProductsTabLogic.values.pinnedItems,
+ ...navProductsTabLogic.values.groupedItems.flatMap((group) => group.items),
+ ].map((item) => item.href)
expect(new Set(actual)).toEqual(expected)
expect(actual).toHaveLength(expected.size)
})
- it('searches display names and preserves person ordering alongside dynamic groups', async () => {
+ it('searches display names and sorts categories in a fixed order and products alphabetically', async () => {
featureFlagLogic.actions.setFeatureFlags([], { [FEATURE_FLAGS.PRODUCT_AUTONOMY]: true })
- expect(navProductsTabLogic.values.groupedItems[0].items.map(productsItemName)).toEqual([
+ expect(navProductsTabLogic.values.pinnedItems.map(productsItemName)).toEqual([
'Home',
'Self-driving',
- 'Activity',
+ 'Activity and people',
+ ])
+ expect(navProductsTabLogic.values.configurableProducts.map(productsItemName)).not.toContain('Home')
+ const [popular] = navProductsTabLogic.values.groupedItems
+ expect([popular.label, popular.items.map(productsItemName)]).toEqual([
+ 'Popular',
+ [
+ 'Dashboards',
+ 'Product analytics',
+ 'Web analytics',
+ 'AI observability',
+ 'Session replay',
+ 'Replay vision',
+ 'Feature flags',
+ 'Experiments',
+ 'Error tracking',
+ 'Logs',
+ ],
])
await expectLogic(navProductsTabLogic, () =>
navProductsTabLogic.actions.setSearch(' self-driving ')
).toMatchValues({
- groupedItems: [
- {
- label: 'Project',
- items: [expect.objectContaining({ href: urls.inbox(), path: 'Inbox', tags: ['beta'] })],
- },
- ],
+ pinnedItems: [expect.objectContaining({ href: urls.inbox(), path: 'Inbox', tags: ['beta'] })],
+ groupedItems: [],
})
- const groups = groupProducts(
- [
- { path: 'Cohorts', category: 'People', href: '/cohorts', visualOrder: 20 },
- { path: 'Persons', category: 'People', href: '/persons', visualOrder: 10 },
- { path: 'group_0', displayLabel: 'Organizations', category: 'Groups', href: '/groups/0' },
- ],
- ''
- )
- expect(groups.find((group) => group.label === 'People')?.items.map(productsItemName)).toEqual([
- 'Persons',
- 'Cohorts',
+ const items = [
+ { path: 'Links', category: 'Unreleased', href: '/links' },
+ { path: 'Web analytics', category: 'Analytics', href: '/web' },
+ {
+ path: 'LLM analytics',
+ displayLabel: 'AI observability',
+ category: 'AI engineering',
+ href: '/ai',
+ visualOrder: 1,
+ },
+ { path: 'AI gateway', category: 'AI engineering', href: '/ai-gateway' },
+ { path: 'Logs', category: 'Monitoring', href: '/logs' },
+ ]
+ const groups = groupProducts(items, '')
+ expect(groups.map((group) => [group.label, group.items.map(productsItemName)])).toEqual([
+ ['Analytics', ['Web analytics']],
+ ['AI engineering', ['AI gateway', 'AI observability']],
+ ['Monitoring', ['Logs']],
+ ['Unreleased', ['Links']],
])
- expect(
- groupProducts(
- groups.flatMap((group) => group.items),
- 'organizations'
- )[0].items[0].href
- ).toEqual('/groups/0')
+ expect(groupProducts(items, 'observability')[0].items[0].href).toEqual('/ai')
+ })
+
+ it('lets all products close only when something is starred, and keeps it open after the first star', async () => {
+ const starred = [{ id: 'star', path: 'Dashboards', type: 'dashboard', href: '/dashboard' }] as FileSystemEntry[]
+ await expectLogic(projectTreeDataLogic).toFinishAllListeners()
+ navProductsTabLogic.actions.setAllProductsOpen(false)
+ projectTreeDataLogic.actions.loadShortcutsSuccess(starred)
+ expect(navProductsTabLogic.values).toMatchObject({ allProductsCollapsible: true, allProductsVisible: false })
+
+ navProductsTabLogic.actions.setSearch('logs')
+ expect(navProductsTabLogic.values.allProductsVisible).toBe(true)
+ navProductsTabLogic.actions.setSearch('')
+
+ projectTreeDataLogic.actions.loadShortcutsSuccess([])
+ expect(navProductsTabLogic.values).toMatchObject({ allProductsCollapsible: false, allProductsVisible: true })
+
+ projectTreeDataLogic.actions.loadShortcutsSuccess(starred)
+ expect(navProductsTabLogic.values).toMatchObject({ allProductsCollapsible: true, allProductsVisible: true })
})
it('filters starred products with the product search', async () => {
@@ -99,11 +143,12 @@ describe('navProductsTabLogic', () => {
const existing = [
{ id: 'folder', path: 'Feature flags', type: 'folder', ref: 'Feature flags' },
{ id: 'file', path: 'Feature flags', type: 'insight', ref: 'insight-1', href: '/insights/insight-1' },
- { id: 'analytics', path: 'Product analytics', type: 'product_analytics', href: '/insights' },
+ { id: 'analytics', path: 'Insights', type: 'product_analytics', href: '/insights' },
]
projectTreeDataLogic.actions.loadShortcutsSuccess(existing)
navProductsTabLogic.actions.setSearch('no matches')
expect(navProductsTabLogic.values.starredProductIds['Feature flags']).toBeUndefined()
+ expect(navProductsTabLogic.values.starredProductIds['Product analytics']).toBe('analytics')
await expectLogic(navProductsTabLogic, () => {
navProductsTabLogic.actions.setProductStarred('Feature flags', true)
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/navProductsTabLogic.ts b/frontend/src/layout/panel-layout/navbar/tabs/navProductsTabLogic.ts
index da8805bb45c9..ace825eadfe9 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/navProductsTabLogic.ts
+++ b/frontend/src/layout/panel-layout/navbar/tabs/navProductsTabLogic.ts
@@ -2,30 +2,49 @@ import { MakeLogicType, actions, connect, kea, listeners, path, reducers, select
import { FeatureFlagsSet, featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { getProductAccessDisabledReason } from 'lib/utils/accessControlUtils'
+import { inStorybook, inStorybookTestRunner } from 'lib/utils/dom'
+import { DEFINITIONS_TABS } from 'scenes/data-management/definitionsSceneTabsLogic'
import { urls } from 'scenes/urls'
import { FileSystemEntry, FileSystemImport } from '~/queries/schema/schema-general'
import { ActivityTab } from '~/types'
-import { getDefaultTreeDataAndPeople, getDefaultTreeProducts } from '../../ProjectTree/defaultTree'
+import { getDefaultTreeData, getDefaultTreeProducts } from '../../ProjectTree/defaultTree'
import { projectTreeDataLogic } from '../../ProjectTree/projectTreeDataLogic'
import { projectTreeLogic } from '../../ProjectTree/projectTreeLogic'
-import { joinPath, splitPath } from '../../ProjectTree/utils'
-import { ProductsItemGroup, groupProducts, productsItemName } from './productsCatalog'
+import { findProductShortcut } from '../../ProjectTree/utils'
+import {
+ POPULAR_CATEGORY,
+ POPULAR_PRODUCT_PATHS,
+ ProductsItemGroup,
+ groupProducts,
+ productMatchesSearch,
+ productsItemName,
+} from './productsCatalog'
// projectTreeLogic persists state under its logic key, so renaming this value resets it.
export const PRODUCTS_STARRED_TREE_KEY = 'navbar-apps-starred'
+// These pages are tabs of Event definitions, so the sidebar lists only that entry for them.
+const DEFINITIONS_TAB_HREFS = new Set(DEFINITIONS_TABS.filter((tab) => tab.key !== 'events').map((tab) => tab.url))
+
+// Items in this category sit above Starred and All products, so they are never starred or grouped.
+const PINNED_CATEGORY = 'Project'
+
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface navProductsTabLogicValues {
featureFlags: FeatureFlagsSet // featureFlagLogic
- groupItems: FileSystemImport[] // projectTreeDataLogic
shortcutData: FileSystemEntry[] // projectTreeDataLogic
+ shortcutDataHasLoaded: boolean // projectTreeDataLogic
shortcutDataLoading: boolean // projectTreeDataLogic
allItems: FileSystemImport[]
+ allProductsCollapsible: boolean
+ allProductsOpen: boolean
+ allProductsVisible: boolean
configurableProducts: FileSystemImport[]
- configureStarredOpen: boolean
+ customizeSidebarOpen: boolean
groupedItems: ProductsItemGroup[]
+ pinnedItems: FileSystemImport[]
search: string
starredProductIds: Record<string, string>
}
@@ -38,7 +57,43 @@ export interface navProductsTabLogicActions {
deleteShortcut: (id: string) => {
id: string
} // projectTreeDataLogic
- setConfigureStarredOpen: (open: boolean) => {
+ deleteShortcutSuccess: (
+ shortcutData: FileSystemEntry[],
+ payload?:
+ | {
+ id: string
+ }
+ | undefined
+ ) => {
+ payload?: {
+ id: string
+ }
+ shortcutData: FileSystemEntry[]
+ } // projectTreeDataLogic
+ loadShortcutsFailure: (
+ error: string,
+ errorObject?: any
+ ) => {
+ error: string
+ errorObject?: any
+ } // projectTreeDataLogic
+ loadShortcutsSuccess: (
+ shortcutData: FileSystemEntry[],
+ payload?:
+ | {
+ value: true
+ }
+ | undefined
+ ) => {
+ payload?: {
+ value: true
+ }
+ shortcutData: FileSystemEntry[]
+ } // projectTreeDataLogic
+ setAllProductsOpen: (open: boolean) => {
+ open: boolean
+ }
+ setCustomizeSidebarOpen: (open: boolean) => {
open: boolean
}
setProductStarred: (
@@ -56,10 +111,18 @@ export interface navProductsTabLogicActions {
// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface navProductsTabLogicMeta {
__keaTypeGenInternalSelectorTypes: {
- allItems: (featureFlags: FeatureFlagsSet, groupItems: FileSystemImport[]) => FileSystemImport[]
+ allItems: (featureFlags: FeatureFlagsSet) => FileSystemImport[]
+ pinnedItems: (allItems: FileSystemImport[], search: string) => FileSystemImport[]
groupedItems: (allItems: FileSystemImport[], search: string) => ProductsItemGroup[]
configurableProducts: (allItems: FileSystemImport[]) => FileSystemImport[]
starredProductIds: (allItems: FileSystemImport[], shortcutData: FileSystemEntry[]) => Record<string, string>
+ allProductsCollapsible: (shortcutDataHasLoaded: boolean, starredProductIds: Record<string, string>) => boolean
+ allProductsVisible: (
+ allProductsOpen: boolean,
+ allProductsCollapsible: boolean,
+ search: string,
+ shortcutDataHasLoaded: boolean
+ ) => boolean
}
}
@@ -77,29 +140,53 @@ export const navProductsTabLogic = kea<navProductsTabLogicType>([
featureFlagLogic,
['featureFlags'],
projectTreeDataLogic,
- ['groupItems', 'shortcutData', 'shortcutDataLoading'],
+ ['shortcutData', 'shortcutDataHasLoaded', 'shortcutDataLoading'],
+ ],
+ actions: [
+ projectTreeDataLogic,
+ [
+ 'addShortcutItem',
+ 'deleteShortcut',
+ 'deleteShortcutSuccess',
+ 'loadShortcutsFailure',
+ 'loadShortcutsSuccess',
+ ],
],
- actions: [projectTreeDataLogic, ['addShortcutItem', 'deleteShortcut']],
logic: [projectTreeLogic({ key: PRODUCTS_STARRED_TREE_KEY, root: 'shortcuts://', shortcutScope: 'products' })],
})),
actions({
setSearch: (search: string) => ({ search }),
- setConfigureStarredOpen: (open: boolean) => ({ open }),
+ setCustomizeSidebarOpen: (open: boolean) => ({ open }),
+ setAllProductsOpen: (open: boolean) => ({ open }),
setProductStarred: (productPath: string, starred: boolean) => ({ productPath, starred }),
}),
reducers({
search: ['', { setSearch: (_, { search }) => search }],
- configureStarredOpen: [false, { setConfigureStarredOpen: (_, { open }) => open }],
+ customizeSidebarOpen: [false, { setCustomizeSidebarOpen: (_, { open }) => open }],
+ // pinned: persisted under this logic's path, so renaming the reducer resets everyone's choice.
+ // Storybook starts open so visual snapshots cover the full list.
+ allProductsOpen: [
+ inStorybook() || inStorybookTestRunner(),
+ { persist: true },
+ { setAllProductsOpen: (_, { open }) => open },
+ ],
}),
selectors({
allItems: [
- (s) => [s.featureFlags, s.groupItems],
- (featureFlags: FeatureFlagsSet, groupItems: FileSystemImport[]): FileSystemImport[] => {
+ (s) => [s.featureFlags],
+ (featureFlags: FeatureFlagsSet): FileSystemImport[] => {
const items: FileSystemImport[] = [
- { path: 'Home', category: 'Project', iconType: 'home', href: urls.projectRoot(), visualOrder: 0 },
+ {
+ path: 'Home',
+ category: PINNED_CATEGORY,
+ iconType: 'home',
+ href: urls.projectRoot(),
+ visualOrder: 0,
+ },
{
path: 'Activity',
- category: 'Project',
+ displayLabel: 'Activity and people',
+ category: PINNED_CATEGORY,
iconType: 'activity',
href: urls.activity(ActivityTab.ExploreEvents),
visualOrder: 2,
@@ -110,35 +197,52 @@ export const navProductsTabLogic = kea<navProductsTabLogicType>([
? {
...item,
displayLabel: 'Self-driving',
- category: 'Project',
+ category: PINNED_CATEGORY,
visualOrder: 1,
tags: ['beta'],
}
: item
),
- ...getDefaultTreeDataAndPeople(),
- ...groupItems,
+ // Persons, cohorts and groups are tabs of the Activity and people scene, so they are not listed here.
+ ...getDefaultTreeData(),
]
const destinations = new Map<string, FileSystemImport>()
for (const item of items) {
- if (!item.href || (item.flag && !featureFlags[item.flag as keyof FeatureFlagsSet])) {
+ if (
+ !item.href ||
+ DEFINITIONS_TAB_HREFS.has(item.href) ||
+ (item.flag && !featureFlags[item.flag as keyof FeatureFlagsSet])
+ ) {
continue
}
const existing = destinations.get(item.href)
destinations.set(item.href, existing ? { ...item, ...existing } : item)
}
- return [...destinations.values()]
+ return [...destinations.values()].map((item) =>
+ POPULAR_PRODUCT_PATHS.includes(item.path) ? { ...item, category: POPULAR_CATEGORY } : item
+ )
},
],
+ pinnedItems: [
+ (s) => [s.allItems, s.search],
+ (items: FileSystemImport[], search: string): FileSystemImport[] =>
+ items
+ .filter((item) => item.category === PINNED_CATEGORY && productMatchesSearch(item, search))
+ .sort((a, b) => (a.visualOrder ?? Infinity) - (b.visualOrder ?? Infinity)),
+ ],
groupedItems: [
(s) => [s.allItems, s.search],
- (items: FileSystemImport[], search: string): ProductsItemGroup[] => groupProducts(items, search),
+ (items: FileSystemImport[], search: string): ProductsItemGroup[] =>
+ groupProducts(
+ items.filter((item) => item.category !== PINNED_CATEGORY),
+ search
+ ),
],
configurableProducts: [
(s) => [s.allItems],
(items: FileSystemImport[]): FileSystemImport[] =>
items
- .filter((item) => !getProductAccessDisabledReason(item))
+ .filter((item) => item.category !== PINNED_CATEGORY && !getProductAccessDisabledReason(item))
.sort((a, b) => productsItemName(a).localeCompare(productsItemName(b))),
],
starredProductIds: [
@@ -146,10 +250,7 @@ export const navProductsTabLogic = kea<navProductsTabLogicType>([
(items: FileSystemImport[], shortcuts: FileSystemEntry[]): Record<string, string> => {
const ids: Record<string, string> = {}
for (const item of items) {
- const shortcutPath = joinPath(splitPath(item.path).slice(-1))
- const shortcut = shortcuts.find(
- (entry) => entry.type !== 'folder' && !entry.ref && entry.path === shortcutPath
- )
+ const shortcut = findProductShortcut(item, shortcuts)
if (shortcut) {
ids[item.path] = shortcut.id
}
@@ -157,29 +258,56 @@ export const navProductsTabLogic = kea<navProductsTabLogicType>([
return ids
},
],
+ // Only a sidebar with starred products has something to show above the list, so only then can it close.
+ allProductsCollapsible: [
+ (s) => [s.shortcutDataHasLoaded, s.starredProductIds],
+ (shortcutDataHasLoaded: boolean, starredProductIds: Record<string, string>): boolean =>
+ shortcutDataHasLoaded && Object.keys(starredProductIds).length > 0,
+ ],
+ // A search always shows its matches, even when the list is closed.
+ allProductsVisible: [
+ (s) => [s.allProductsOpen, s.allProductsCollapsible, s.search, s.shortcutDataHasLoaded],
+ (
+ allProductsOpen: boolean,
+ allProductsCollapsible: boolean,
+ search: string,
+ shortcutDataHasLoaded: boolean
+ ): boolean => allProductsOpen || !!search.trim() || (shortcutDataHasLoaded && !allProductsCollapsible),
+ ],
}),
- listeners(({ actions, values }) => ({
- setProductStarred: ({ productPath, starred }) => {
- if (values.shortcutDataLoading) {
- return
- }
- const item = values.configurableProducts.find((product) => product.path === productPath)
- if (!item) {
- return
- }
- const shortcutId = values.starredProductIds[productPath]
- if (starred && !shortcutId) {
- actions.addShortcutItem(item as FileSystemEntry)
- } else if (!starred && shortcutId) {
- actions.deleteShortcut(shortcutId)
+ listeners(({ actions, values }) => {
+ // A sidebar shown open because nothing was starred stays open after the first star.
+ const keepAllProductsOpenWithoutStars = (): void => {
+ if (values.shortcutDataHasLoaded && !values.allProductsCollapsible && !values.allProductsOpen) {
+ actions.setAllProductsOpen(true)
}
- },
- setSearch: ({ search }) => {
- projectTreeLogic({
- key: PRODUCTS_STARRED_TREE_KEY,
- root: 'shortcuts://',
- shortcutScope: 'products',
- }).actions.setSearchTerm(search)
- },
- })),
+ }
+ return {
+ loadShortcutsSuccess: keepAllProductsOpenWithoutStars,
+ loadShortcutsFailure: keepAllProductsOpenWithoutStars,
+ deleteShortcutSuccess: keepAllProductsOpenWithoutStars,
+ setProductStarred: ({ productPath, starred }) => {
+ if (values.shortcutDataLoading) {
+ return
+ }
+ const item = values.configurableProducts.find((product) => product.path === productPath)
+ if (!item) {
+ return
+ }
+ const shortcutId = values.starredProductIds[productPath]
+ if (starred && !shortcutId) {
+ actions.addShortcutItem(item as FileSystemEntry)
+ } else if (!starred && shortcutId) {
+ actions.deleteShortcut(shortcutId)
+ }
+ },
+ setSearch: ({ search }) => {
+ projectTreeLogic({
+ key: PRODUCTS_STARRED_TREE_KEY,
+ root: 'shortcuts://',
+ shortcutScope: 'products',
+ }).actions.setSearchTerm(search)
+ },
+ }
+ }),
])
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/navRecentsLogic.ts b/frontend/src/layout/panel-layout/navbar/tabs/navRecentsLogic.ts
index 48829c25a3a6..f339a8a653c2 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/navRecentsLogic.ts
+++ b/frontend/src/layout/panel-layout/navbar/tabs/navRecentsLogic.ts
@@ -43,7 +43,7 @@ export const navRecentsLogic = kea<navRecentsLogicType>([
})),
actions({ setRecentsCollapsed: (collapsed: boolean) => ({ collapsed }) }),
reducers({
- recentsCollapsed: [false, { persist: true }, { setRecentsCollapsed: (_, { collapsed }) => collapsed }],
+ recentsCollapsed: [true, { persist: true }, { setRecentsCollapsed: (_, { collapsed }) => collapsed }],
}),
selectors({
recentItems: [
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/productsCatalog.ts b/frontend/src/layout/panel-layout/navbar/tabs/productsCatalog.ts
index 4bb0f5faddba..f69d5299ca32 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/productsCatalog.ts
+++ b/frontend/src/layout/panel-layout/navbar/tabs/productsCatalog.ts
@@ -1,6 +1,6 @@
-import { FileSystemImport } from '~/queries/schema/schema-general'
+import { FileSystemImport, ProductItemCategory } from '~/queries/schema/schema-general'
-import { CATEGORY_ORDER, DATA_MANAGEMENT_PANEL_ORDER, splitPath, unescapePath } from '../../ProjectTree/utils'
+import { splitPath, unescapePath } from '../../ProjectTree/utils'
export interface ProductsItemGroup {
label: string
@@ -11,21 +11,56 @@ export function productsItemName(item: FileSystemImport): string {
return item.displayLabel || unescapePath(splitPath(item.path).pop() ?? item.path)
}
-const categoryOrder = [
- 'Project',
- ...new Set([
- ...CATEGORY_ORDER,
- ...Object.entries(DATA_MANAGEMENT_PANEL_ORDER)
- .sort(([, a], [, b]) => a - b)
- .map(([category]) => category),
- ]),
+export function productMatchesSearch(item: FileSystemImport, search: string): boolean {
+ const query = search.trim().toLowerCase()
+ return !query || `${productsItemName(item)} ${item.path}`.toLowerCase().includes(query)
+}
+
+const compareNames = (a: string, b: string): number => a.localeCompare(b, undefined, { sensitivity: 'accent' })
+
+// A sidebar-only category: these products keep their real category everywhere else.
+export const POPULAR_CATEGORY = 'Popular'
+
+// Matched by path, not label: 'LLM analytics' is the path of the entry shown as "AI observability".
+export const POPULAR_PRODUCT_PATHS = [
+ 'Dashboards',
+ 'Product analytics',
+ 'Web analytics',
+ 'LLM analytics',
+ 'Session replay',
+ 'Replay vision',
+ 'Feature flags',
+ 'Experiments',
+ 'Error tracking',
+ 'Logs',
+]
+
+const CATEGORY_ORDER: string[] = [
+ POPULAR_CATEGORY,
+ ProductItemCategory.ANALYTICS,
+ ProductItemCategory.AI_ENGINEERING,
+ ProductItemCategory.DATA,
+ ProductItemCategory.MONITORING,
+ ProductItemCategory.PRODUCT_ENGINEERING,
+ ProductItemCategory.MESSAGING,
+ ProductItemCategory.CDP,
+ ProductItemCategory.SCHEMA,
+ ProductItemCategory.TOOLS,
+ ProductItemCategory.UNRELEASED,
]
+// Unreleased holds flag-gated previews, so a category missing from the list still sorts above it.
+const categoryRank = (category: string): number => {
+ const index = CATEGORY_ORDER.indexOf(category)
+ return index === -1 ? CATEGORY_ORDER.length - 1.5 : index
+}
+
+const compareCategories = (a: string, b: string): number => categoryRank(a) - categoryRank(b) || compareNames(a, b)
+
export function groupProducts(items: FileSystemImport[], search: string): ProductsItemGroup[] {
- const query = search.trim().toLowerCase()
const groups = new Map<string, FileSystemImport[]>()
for (const item of items) {
- if (query && !`${productsItemName(item)} ${item.path}`.toLowerCase().includes(query)) {
+ if (!productMatchesSearch(item, search)) {
continue
}
const category = item.category || 'Other'
@@ -33,18 +68,14 @@ export function groupProducts(items: FileSystemImport[], search: string): Produc
group.push(item)
groups.set(category, group)
}
- const orderOf = (category: string): number => {
- const index = categoryOrder.indexOf(category)
- return index === -1 ? categoryOrder.length : index
- }
return [...groups.entries()]
- .sort(([a], [b]) => orderOf(a) - orderOf(b) || a.localeCompare(b))
+ .sort(([a], [b]) => compareCategories(a, b))
.map(([label, entries]) => ({
label,
- items: entries.sort(
- (a, b) =>
- (a.visualOrder ?? Infinity) - (b.visualOrder ?? Infinity) ||
- productsItemName(a).localeCompare(productsItemName(b), undefined, { sensitivity: 'accent' })
+ items: entries.sort((a, b) =>
+ label === POPULAR_CATEGORY
+ ? POPULAR_PRODUCT_PATHS.indexOf(a.path) - POPULAR_PRODUCT_PATHS.indexOf(b.path)
+ : compareNames(productsItemName(a), productsItemName(b))
),
}))
}
diff --git a/frontend/src/layout/panel-layout/sidebarProductMeta.ts b/frontend/src/layout/panel-layout/sidebarProductMeta.ts
index 7b8bbcbb39e8..0f3a31d07bf4 100644
--- a/frontend/src/layout/panel-layout/sidebarProductMeta.ts
+++ b/frontend/src/layout/panel-layout/sidebarProductMeta.ts
@@ -48,8 +48,6 @@ const descriptions: Record<string, string> = {
'Explore the properties attached to your events and people. Document their meaning so everyone interprets the same data consistently.',
'Managed viewsets':
'Set up collections of warehouse views built for a particular kind of analysis. Reuse prepared data models instead of starting each query from scratch.',
- 'Event ingestion warnings':
- 'Find problems encountered while processing your events. Inspect the warnings to identify tracking issues and improve the data you analyze.',
Annotations:
'Add context to changes in your metrics. Mark releases, campaigns, and other milestones so your team can connect a chart with what happened.',
ETL: 'Watch the data moving into PostHog and out to your own warehouses. See what is running, what is stale, and what has stopped.',
diff --git a/frontend/src/lib/components/ProductTag/ProductTag.tsx b/frontend/src/lib/components/ProductTag/ProductTag.tsx
new file mode 100644
index 000000000000..202270c314a6
--- /dev/null
+++ b/frontend/src/lib/components/ProductTag/ProductTag.tsx
@@ -0,0 +1,14 @@
+import { LemonTag } from 'lib/lemon-ui/LemonTag'
+
+/** The release stage label a sidebar product carries, such as alpha or beta. */
+export function ProductTag({ tag, className }: { tag: string; className?: string }): JSX.Element {
+ return (
+ <LemonTag
+ type={tag === 'alpha' ? 'completion' : tag === 'beta' ? 'warning' : 'success'}
+ size="small"
+ className={className}
+ >
+ {tag}
+ </LemonTag>
+ )
+}
diff --git a/frontend/src/lib/components/Search/Search.stories.tsx b/frontend/src/lib/components/Search/Search.stories.tsx
index 5df9a66b7ae3..ef137d9a4a8c 100644
--- a/frontend/src/lib/components/Search/Search.stories.tsx
+++ b/frontend/src/lib/components/Search/Search.stories.tsx
@@ -214,6 +214,33 @@ export const Default: Story = {
},
}
+export const NoRecents: Story = {
+ render: () => {
+ useStorybookMocks({
+ get: {
+ '/api/environments/:team_id/file_system/': () => [200, EMPTY_PAGINATED_RESPONSE],
+ '/api/environments/:team_id/search/': () => [200, { results: [], counts: {} }],
+ ...SHARED_MOCKS,
+ },
+ })
+
+ return (
+ <SearchContainer>
+ <Search.Root logicKey="storybook-no-recents" isActive showAskAiLink={false}>
+ <Search.Input autoFocus />
+ <Search.Status />
+ <Search.Separator />
+ <Search.Results />
+ <Search.Footer />
+ </Search.Root>
+ </SearchContainer>
+ )
+ },
+ parameters: {
+ docs: { description: { story: 'A user with no recent items sees products without an empty Recents group.' } },
+ },
+}
+
export const ProductRecentsAndStarred: Story = {
render: () => {
useStorybookMocks({
diff --git a/frontend/src/lib/components/Search/Search.tsx b/frontend/src/lib/components/Search/Search.tsx
index db88e7a88741..5a31a2bd35c1 100644
--- a/frontend/src/lib/components/Search/Search.tsx
+++ b/frontend/src/lib/components/Search/Search.tsx
@@ -16,9 +16,10 @@ import {
} from 'react'
import { IconDay, IconNight, IconSearch, IconSparkles, IconX } from '@posthog/icons'
-import { LemonTag, Link, Spinner } from '@posthog/lemon-ui'
+import { Link, Spinner } from '@posthog/lemon-ui'
import { KeyboardShortcut } from 'lib/components/KeyboardShortcut/KeyboardShortcut'
+import { ProductTag } from 'lib/components/ProductTag/ProductTag'
import { filterSearchItems } from 'lib/components/Search/utils'
import { useFeatureFlag } from 'lib/hooks/useFeatureFlag'
import { TreeDataItem } from 'lib/lemon-ui/LemonTree/LemonTree'
@@ -573,14 +574,13 @@ function SearchRoot({
const isLoading = loadingByCategory.get(category) ?? false
// When searching: hide empty groups (unless still loading)
- // When not searching: always show recents/tools (with skeleton if loading); starred only when items or loading
+ // When not searching: always show tools; recents and starred only when they have items or are loading
// "ai" and "create" are only shown when searching
const shouldShow = hasSearchValue
? items.length > 0 || isLoading
: (category === 'suggested' && items.length > 0) ||
- category === 'recents' ||
category === 'tools' ||
- (category === 'starred' && (items.length > 0 || isLoading))
+ ((category === 'recents' || category === 'starred') && (items.length > 0 || isLoading))
if (shouldShow) {
groups.push({ category, items, isLoading })
@@ -813,16 +813,17 @@ function SearchStatus(): JSX.Element {
}
if (filteredItems.length > 0) {
if (!searchValue.trim()) {
- return 'Recents and products'
+ return null
}
return `${filteredItems.length} result${filteredItems.length === 1 ? '' : 's'}`
}
return 'Type to search...'
}, [isSearching, searchValue, filteredItems.length])
+ // The live region stays mounted so screen readers announce the first search status.
return (
- <Autocomplete.Status className="px-3 pb-2 text-xs text-muted flex items-center">
- <span>{statusMessage}</span>
+ <Autocomplete.Status className="px-3 pb-2 text-xs text-muted flex items-center empty:p-0">
+ {statusMessage && <span>{statusMessage}</span>}
</Autocomplete.Status>
)
}
@@ -992,20 +993,11 @@ function SearchResults({
</span>
)}
{item.tags?.map((tag) => (
- <LemonTag
+ <ProductTag
key={tag}
- type={
- tag === 'alpha'
- ? 'completion'
- : tag === 'beta'
- ? 'warning'
- : 'success'
- }
- size="small"
+ tag={tag}
className="shrink-0"
- >
- {tag.toUpperCase()}
- </LemonTag>
+ />
))}
{item.lastViewedAt && (
<span className="ml-auto text-xs text-tertiary whitespace-nowrap shrink-0 mt-[2px]">
diff --git a/frontend/src/lib/components/Search/searchLogic.tsx b/frontend/src/lib/components/Search/searchLogic.tsx
index 3ca3ae1ce304..4c26d5a45676 100644
--- a/frontend/src/lib/components/Search/searchLogic.tsx
+++ b/frontend/src/lib/components/Search/searchLogic.tsx
@@ -986,7 +986,7 @@ export const searchLogic = kea<searchLogicType>([
})
const categorySearchKeywords: Record<string, string[]> = {
- Pipeline: ['data pipelines', 'data pipeline'],
+ CDP: ['data pipelines', 'data pipeline', 'pipeline'],
}
// Synonyms people search for that don't appear in the item name.
diff --git a/frontend/src/lib/lemon-ui/icons/icons.tsx b/frontend/src/lib/lemon-ui/icons/icons.tsx
index 49fa3b83b9ec..9b4d96367412 100644
--- a/frontend/src/lib/lemon-ui/icons/icons.tsx
+++ b/frontend/src/lib/lemon-ui/icons/icons.tsx
@@ -640,6 +640,26 @@ export function Icon123(props: LemonIconProps): JSX.Element {
)
}
+/** A navigation arrow under an arc, for the self-driving product. Sized like the @posthog/icons glyphs. */
+export function IconSelfDriving(props: LemonIconProps): JSX.Element {
+ return (
+ <LemonIconBase width="100%" height={undefined} {...props}>
+ <path
+ d="M3.31 15.16A9.25 9.25 0 1 1 20.69 15.16"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ strokeLinecap="round"
+ />
+ <path
+ d="M12 8.25 17 20.5 12 17.75 7 20.5Z"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ strokeLinejoin="round"
+ />
+ </LemonIconBase>
+ )
+}
+
/** Material Design Groups icon. */
export function IconCohort(props: LemonIconProps): JSX.Element {
return (
diff --git a/frontend/src/products.json b/frontend/src/products.json
index 8b21116e2e64..b5ebbbeafc77 100644
--- a/frontend/src/products.json
+++ b/frontend/src/products.json
@@ -58,29 +58,29 @@
},
{
"path": "Business knowledge",
- "category": "AI engineering",
- "iconType": "conversations",
+ "category": "Data",
+ "iconType": "business_knowledge",
"type": null,
"intents": ["conversations"]
},
{
"path": "Web scripts",
"category": "Tools",
- "iconType": "data_pipeline",
+ "iconType": "web_script",
"type": "hog_function",
"intents": ["site_apps"]
},
{
"path": "Support",
- "category": "Behavior",
+ "category": "Monitoring",
"iconType": "conversations",
"type": "conversations",
"intents": ["conversations"]
},
{
"path": "Customer analytics",
- "category": "Analytics",
- "iconType": "cohort",
+ "category": "Data",
+ "iconType": "customer_analytics",
"type": null,
"intents": ["customer_analytics"]
},
@@ -93,14 +93,14 @@
},
{
"path": "Data catalog",
- "category": "Analytics",
- "iconType": "data_warehouse",
+ "category": "Data",
+ "iconType": "data_catalog",
"type": null,
"intents": ["data_catalog"]
},
{
"path": "SQL editor",
- "category": "Analytics",
+ "category": "Data",
"iconType": "sql_editor",
"type": "sql",
"intents": ["data_warehouse_saved_queries", "data_warehouse"]
@@ -114,14 +114,14 @@
},
{
"path": "Early access features",
- "category": "Features",
+ "category": "Product engineering",
"iconType": null,
"type": "early_access_feature",
"intents": ["early_access_features"]
},
{
"path": "Endpoints",
- "category": "Tools",
+ "category": "Data",
"iconType": "endpoints",
"type": "endpoints",
"intents": ["endpoints"]
@@ -135,21 +135,21 @@
},
{
"path": "Error tracking",
- "category": "App monitoring",
+ "category": "Monitoring",
"iconType": null,
"type": "error_tracking",
"intents": ["error_tracking"]
},
{
"path": "Experiments",
- "category": "Features",
+ "category": "Product engineering",
"iconType": "experiment",
"type": "experiment",
"intents": ["experiments"]
},
{
"path": "Feature flags",
- "category": "Features",
+ "category": "Product engineering",
"iconType": null,
"type": "feature_flag",
"intents": ["feature_flags", "experiments", "early_access_features"]
@@ -170,10 +170,10 @@
"type": "live_debugger",
"intents": ["live_debugger"]
},
- { "path": "Logs", "category": "App monitoring", "iconType": null, "type": null, "intents": ["logs"] },
+ { "path": "Logs", "category": "Monitoring", "iconType": null, "type": null, "intents": ["logs"] },
{
"path": "Marketing analytics",
- "category": "Analytics",
+ "category": "Data",
"iconType": null,
"type": null,
"intents": ["marketing_analytics"]
@@ -185,14 +185,8 @@
"type": "mcp_analytics",
"intents": ["mcp_analytics"]
},
- { "path": "MCP servers", "category": "AI engineering", "iconType": "tools", "type": null, "intents": [] },
- {
- "path": "Metrics",
- "category": "App monitoring",
- "iconType": "metrics",
- "type": null,
- "intents": ["metrics"]
- },
+ { "path": "MCP servers", "category": "Schema", "iconType": "mcp_server", "type": null, "intents": [] },
+ { "path": "Metrics", "category": "Monitoring", "iconType": "metrics", "type": null, "intents": ["metrics"] },
{ "path": "Tasks", "category": "Tools", "iconType": "task", "type": "task", "intents": ["tasks"] },
{
"path": "Product analytics",
@@ -210,45 +204,51 @@
},
{
"path": "Product tours",
- "category": "Behavior",
+ "category": "Product engineering",
"iconType": "product_tour",
"type": "product_tour",
"intents": ["product_tours"]
},
- { "path": "Pulse", "category": "Unreleased", "iconType": "activity", "type": null, "intents": ["pulse"] },
+ { "path": "Pulse", "category": "Unreleased", "iconType": "pulse", "type": null, "intents": ["pulse"] },
{
"path": "Session replay",
- "category": "Behavior",
+ "category": "Product engineering",
"iconType": "session_replay",
"type": "session_recording_playlist",
"intents": ["session_replay", "mobile_replay"]
},
- { "path": "Heatmaps", "category": "Behavior", "iconType": "heatmap", "type": null, "intents": ["heatmaps"] },
+ {
+ "path": "Heatmaps",
+ "category": "Product engineering",
+ "iconType": "heatmap",
+ "type": null,
+ "intents": ["heatmaps"]
+ },
{
"path": "Replay vision",
- "category": "Behavior",
+ "category": "Product engineering",
"iconType": null,
"type": "replay_vision",
"intents": ["replay_vision"]
},
{ "path": "Code review", "category": "Unreleased", "iconType": null, "type": null, "intents": ["review_hog"] },
- { "path": "Skills", "category": "Tools", "iconType": null, "type": "llm_skills", "intents": ["skills"] },
+ { "path": "Skills", "category": "Tools", "iconType": "skill", "type": "llm_skills", "intents": ["skills"] },
{
"path": "Apps",
"category": "Unreleased",
- "iconType": "tools",
+ "iconType": "streamlit_app",
"type": "streamlit_app",
"intents": ["streamlit_apps"]
},
- { "path": "Surveys", "category": "Behavior", "iconType": "survey", "type": "survey", "intents": ["surveys"] },
- { "path": "Toolbar", "category": "Tools", "iconType": "toolbar", "type": "toolbar", "intents": ["toolbar"] },
{
- "path": "Tracing",
- "category": "App monitoring",
- "iconType": "tracing",
- "type": null,
- "intents": ["tracing"]
+ "path": "Surveys",
+ "category": "Product engineering",
+ "iconType": "survey",
+ "type": "survey",
+ "intents": ["surveys"]
},
+ { "path": "Toolbar", "category": "Tools", "iconType": "toolbar", "type": "toolbar", "intents": ["toolbar"] },
+ { "path": "Tracing", "category": "Monitoring", "iconType": "tracing", "type": null, "intents": ["tracing"] },
{
"path": "User research",
"category": "Unreleased",
@@ -277,7 +277,7 @@
"type": null,
"intents": ["web_analytics"]
},
- { "path": "Wizard", "category": "Tools", "iconType": null, "type": "wizard", "intents": [] },
+ { "path": "Wizard", "category": "Tools", "iconType": "wizard", "type": "wizard", "intents": [] },
{
"path": "Workflows",
"category": "Messaging",
@@ -302,52 +302,45 @@
{ "path": "Actions", "category": "Schema", "iconType": null, "type": null, "intents": [] },
{
"path": "Transformations",
- "category": "Pipeline",
- "iconType": "data_pipeline_metadata",
+ "category": "CDP",
+ "iconType": "data_transformation",
"type": "hog_function/transformation",
"intents": []
},
{
"path": "Event ingestion filtering",
- "category": "Pipeline",
- "iconType": "data_pipeline_metadata",
+ "category": "CDP",
+ "iconType": "event_filter",
"type": "event_filter",
"intents": []
},
{
"path": "Destinations",
- "category": "Pipeline",
- "iconType": "data_pipeline_metadata",
+ "category": "CDP",
+ "iconType": "data_destination",
"type": "hog_function/destination",
"intents": []
},
- {
- "path": "Event ingestion warnings",
- "category": "Pipeline",
- "iconType": "ingestion_warning",
- "type": null,
- "intents": []
- },
- { "path": "Core events", "category": "Schema", "iconType": null, "type": null, "intents": [] },
+ { "path": "Core events", "category": "Schema", "iconType": "core_event", "type": null, "intents": [] },
{
"path": "Warehouse properties",
"category": "Schema",
- "iconType": "data_warehouse",
+ "iconType": "warehouse_property",
"type": null,
"intents": []
},
- { "path": "Models", "category": "Tools", "iconType": "sql_editor", "type": "sql", "intents": [] },
+ { "path": "Models", "category": "Data", "iconType": "data_modeling", "type": "sql", "intents": [] },
{
"path": "Sources",
- "category": "Pipeline",
- "iconType": "data_pipeline_metadata",
+ "category": "CDP",
+ "iconType": "data_source",
"type": "hog_function/source",
"intents": []
},
{
"path": "Warehouse destinations",
- "category": "Pipeline",
- "iconType": "data_warehouse",
+ "category": "CDP",
+ "iconType": "warehouse_destination",
"type": null,
"intents": []
},
@@ -358,11 +351,11 @@
"type": null,
"intents": []
},
- { "path": "Endpoints", "category": "Tools", "iconType": null, "type": null, "intents": [] },
+ { "path": "Endpoints", "category": "Data", "iconType": null, "type": null, "intents": [] },
{
"path": "Managed migrations",
- "category": "Pipeline",
- "iconType": "data_pipeline_metadata",
+ "category": "CDP",
+ "iconType": "managed_migration",
"type": null,
"intents": []
},
@@ -380,15 +373,9 @@
"type": null,
"intents": []
},
- {
- "path": "Property groups",
- "category": "Schema",
- "iconType": "event_definition",
- "type": null,
- "intents": []
- },
- { "path": "SQL variables", "category": "Schema", "iconType": null, "type": null, "intents": [] },
- { "path": "Annotations", "category": "Metadata", "iconType": "annotation", "type": null, "intents": [] },
+ { "path": "Property groups", "category": "Schema", "iconType": "property_group", "type": null, "intents": [] },
+ { "path": "SQL variables", "category": "Schema", "iconType": "sql_variable", "type": null, "intents": [] },
+ { "path": "Annotations", "category": "Schema", "iconType": "annotation", "type": null, "intents": [] },
{ "path": "Revenue definitions", "category": "Schema", "iconType": null, "type": null, "intents": [] }
]
}
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index 641b28334698..8c5b35195baf 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -685,7 +685,7 @@ export const productConfiguration: Record<string, any> = {
name: 'Models',
projectBased: true,
description: 'Create and manage views and materialized views for transforming and organizing your data.',
- iconType: 'sql_editor',
+ iconType: 'data_modeling',
},
NodeDetail: { name: 'Model detail', projectBased: true },
DataOps: {
@@ -1823,7 +1823,7 @@ export const fileSystemTypes = {
name: 'Task',
iconType: 'task',
href: () => urls.taskTracker(),
- iconColor: ['var(--product-tasks-light)', 'var(--product-tasks-dark)'],
+ iconColor: ['var(--color-product-tasks-light)', 'var(--color-product-tasks-dark)'],
filterKey: 'task',
flag: FEATURE_FLAGS.TASKS,
},
@@ -2093,10 +2093,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.AI_ENGINEERING,
type: 'ai_gateway',
iconType: 'ai_gateway' as FileSystemIconType,
- iconColor: [
- 'var(--color-product-ai-gateway-light)',
- 'var(--color-product-ai-gateway-dark)',
- ] as FileSystemIconColor,
+ iconColor: ['var(--color-product-ai-gateway-light)', 'var(--color-product-ai-gateway-dark)'],
href: urls.aiGateway(),
flag: FEATURE_FLAGS.AI_GATEWAY,
tags: ['alpha'],
@@ -2110,8 +2107,8 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
type: 'streamlit_app',
category: ProductItemCategory.UNRELEASED,
flag: FEATURE_FLAGS.STREAMLIT_APPS,
- iconType: 'tools',
- iconColor: ['var(--color-product-data-pipeline-light)'] as FileSystemIconColor,
+ iconType: 'streamlit_app',
+ iconColor: ['var(--color-product-data-pipeline-light)', 'var(--color-product-data-pipeline-dark)'],
sceneKey: 'StreamlitApps',
sceneKeys: ['StreamlitApps', 'StreamlitApp', 'StreamlitAppEdit'],
},
@@ -2122,18 +2119,18 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
type: 'broadcasts',
category: ProductItemCategory.MESSAGING,
iconType: 'broadcasts',
- iconColor: ['var(--color-product-workflows-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-broadcasts-light)', 'var(--color-product-broadcasts-dark)'],
sceneKey: 'Broadcasts',
sceneKeys: ['Workflows', 'Workflow', 'WorkflowsLibraryTemplate', 'Broadcasts', 'Broadcast'],
},
{
path: 'Business knowledge',
intents: [ProductKey.CONVERSATIONS],
- category: ProductItemCategory.AI_ENGINEERING,
+ category: ProductItemCategory.DATA,
href: urls.businessKnowledge(),
tags: ['alpha'],
- iconType: 'conversations',
- iconColor: ['var(--color-product-support-light)'] as FileSystemIconColor,
+ iconType: 'business_knowledge',
+ iconColor: ['var(--color-product-business-knowledge-light)', 'var(--color-product-business-knowledge-dark)'],
flag: FEATURE_FLAGS.PRODUCT_BUSINESS_KNOWLEDGE,
sceneKey: 'BusinessKnowledge',
sceneKeys: ['BusinessKnowledge', 'BusinessKnowledgeSettings', 'BusinessKnowledgeSource'],
@@ -2144,7 +2141,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_clusters',
iconType: 'llm_clusters' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-clusters-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-clusters-light)', 'var(--color-product-llm-clusters-dark)'],
href: urls.aiObservabilityClusters(),
sceneKey: 'AIObservabilityClusters',
sceneKeys: [
@@ -2171,6 +2168,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
intents: [ProductKey.REVIEW_HOG],
category: ProductItemCategory.UNRELEASED,
iconType: 'code_review' as FileSystemIconType,
+ iconColor: ['var(--color-product-code-review-light)', 'var(--color-product-code-review-dark)'],
href: urls.codeReview(),
flag: FEATURE_FLAGS.REVIEW_HOG,
tags: ['alpha'],
@@ -2180,8 +2178,8 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Customer analytics',
intents: [ProductKey.CUSTOMER_ANALYTICS],
- category: ProductItemCategory.ANALYTICS,
- iconType: 'cohort',
+ category: ProductItemCategory.DATA,
+ iconType: 'customer_analytics',
iconColor: [
'var(--color-product-customer-analytics-light)',
'var(--color-product-customer-analytics-dark)',
@@ -2211,8 +2209,9 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Data catalog',
intents: [ProductKey.DATA_CATALOG],
- category: ProductItemCategory.ANALYTICS,
- iconType: 'data_warehouse',
+ category: ProductItemCategory.DATA,
+ iconType: 'data_catalog',
+ iconColor: ['var(--color-product-data-catalog-light)', 'var(--color-product-data-catalog-dark)'],
href: urls.dataCatalog(),
tags: ['beta'],
sceneKey: 'DataCatalog',
@@ -2247,7 +2246,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_datasets',
iconType: 'llm_datasets' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-datasets-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-datasets-light)', 'var(--color-product-llm-datasets-dark)'],
href: urls.aiObservabilityDatasets(),
flag: FEATURE_FLAGS.LLM_ANALYTICS_DATASETS,
tags: ['beta'],
@@ -2285,7 +2284,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Early access features',
intents: [ProductKey.EARLY_ACCESS_FEATURES],
- category: ProductItemCategory.FEATURES,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'early_access_feature',
href: urls.earlyAccessFeatures(),
iconType: 'early_access_feature' as FileSystemIconType,
@@ -2299,7 +2298,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Endpoints',
intents: [ProductKey.ENDPOINTS],
- category: ProductItemCategory.TOOLS,
+ category: ProductItemCategory.DATA,
href: urls.endpoints(),
type: 'endpoints',
iconType: 'endpoints',
@@ -2316,7 +2315,10 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.UNRELEASED,
type: 'engineering_analytics',
iconType: 'health' as FileSystemIconType,
- iconColor: ['var(--color-product-data-warehouse-light)'] as FileSystemIconColor,
+ iconColor: [
+ 'var(--color-product-engineering-analytics-light)',
+ 'var(--color-product-engineering-analytics-dark)',
+ ],
href: urls.engineeringAnalytics(),
flag: FEATURE_FLAGS.ENGINEERING_ANALYTICS,
tags: ['alpha'],
@@ -2333,7 +2335,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Error tracking',
intents: [ProductKey.ERROR_TRACKING],
- category: ProductItemCategory.APP_MONITORING,
+ category: ProductItemCategory.MONITORING,
type: 'error_tracking',
iconType: 'error_tracking' as FileSystemIconType,
iconColor: [
@@ -2350,7 +2352,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_evaluations',
iconType: 'llm_evaluations' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-evaluations-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-evaluations-light)', 'var(--color-product-llm-evaluations-dark)'],
href: urls.aiObservabilityEvaluations(),
sceneKey: 'AIObservabilityEvaluations',
sceneKeys: [
@@ -2375,7 +2377,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: `Experiments`,
intents: [ProductKey.EXPERIMENTS],
- category: ProductItemCategory.FEATURES,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'experiment',
href: urls.experiments(),
iconType: 'experiment',
@@ -2386,7 +2388,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: `Feature flags`,
intents: [ProductKey.FEATURE_FLAGS, ProductKey.EXPERIMENTS, ProductKey.EARLY_ACCESS_FEATURES],
- category: ProductItemCategory.FEATURES,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'feature_flag',
href: urls.featureFlags(),
sceneKey: 'FeatureFlags',
@@ -2395,7 +2397,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Heatmaps',
intents: [ProductKey.HEATMAPS],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
iconType: 'heatmap',
iconColor: ['var(--color-product-heatmaps-light)', 'var(--color-product-heatmaps-dark)'],
href: urls.heatmaps(),
@@ -2411,6 +2413,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
flag: FEATURE_FLAGS.IDENTITY_MATCHING,
tags: ['alpha'],
iconType: 'persons',
+ iconColor: ['var(--color-product-identity-matching-light)', 'var(--color-product-identity-matching-dark)'],
sceneKey: 'IdentityMatching',
sceneKeys: ['IdentityMatching', 'AIEnrichment'],
},
@@ -2483,13 +2486,13 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
flag: FEATURE_FLAGS.LIVE_DEBUGGER,
iconType: 'live_debugger',
tags: ['alpha'],
- iconColor: ['var(--color-product-live-debugger-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-live-debugger-light)', 'var(--color-product-live-debugger-dark)'],
sceneKeys: ['LiveDebugger'],
},
{
path: 'Logs',
intents: [ProductKey.LOGS],
- category: ProductItemCategory.APP_MONITORING,
+ category: ProductItemCategory.MONITORING,
iconType: 'logs' as FileSystemIconType,
iconColor: ['var(--color-product-logs-light)', 'var(--color-product-logs-dark)'] as FileSystemIconColor,
href: urls.logs(),
@@ -2511,10 +2514,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
visualOrder: 2,
type: 'mcp_analytics',
iconType: 'mcp_analytics' as FileSystemIconType,
- iconColor: [
- 'var(--color-product-mcp-analytics-light)',
- 'var(--color-product-mcp-analytics-dark)',
- ] as FileSystemIconColor,
+ iconColor: ['var(--color-product-mcp-analytics-light)', 'var(--color-product-mcp-analytics-dark)'],
href: urls.mcpAnalytics(),
tags: ['beta'],
sceneKey: 'MCPAnalytics',
@@ -2523,9 +2523,10 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'MCP servers',
intents: [],
- category: ProductItemCategory.AI_ENGINEERING,
+ category: ProductItemCategory.SCHEMA,
href: urls.mcpGateway(),
- iconType: 'tools',
+ iconType: 'mcp_server',
+ iconColor: ['var(--color-product-mcp-servers-light)', 'var(--color-product-mcp-servers-dark)'],
flag: FEATURE_FLAGS.MCP_GATEWAY,
tags: ['alpha'],
sceneKey: 'McpGateway',
@@ -2534,7 +2535,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Marketing analytics',
intents: [ProductKey.MARKETING_ANALYTICS],
- category: ProductItemCategory.ANALYTICS,
+ category: ProductItemCategory.DATA,
href: urls.marketingAnalyticsApp(),
iconType: 'marketing_analytics' as FileSystemIconType,
iconColor: ['var(--color-product-marketing-analytics-light)'] as FileSystemIconColor,
@@ -2546,7 +2547,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Metrics',
intents: [ProductKey.METRICS],
- category: ProductItemCategory.APP_MONITORING,
+ category: ProductItemCategory.MONITORING,
iconType: 'metrics',
iconColor: ['var(--color-product-metrics-light)', 'var(--color-product-metrics-dark)'] as FileSystemIconColor,
href: urls.metrics(),
@@ -2570,7 +2571,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_playground',
iconType: 'llm_playground' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-playground-light)', 'var(--color-product-llm-playground-dark)'],
href: urls.aiObservabilityPlayground(),
sceneKey: 'AIObservabilityPlayground',
sceneKeys: [
@@ -2606,7 +2607,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Product tours',
intents: [ProductKey.PRODUCT_TOURS],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'product_tour',
href: urls.productTours(),
iconType: 'product_tour',
@@ -2624,7 +2625,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_prompts',
iconType: 'llm_prompts' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-prompts-light)', 'var(--color-product-llm-prompts-dark)'],
href: urls.aiObservabilityPrompts(),
sceneKey: 'AIObservabilityPrompts',
sceneKeys: [
@@ -2650,8 +2651,8 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
path: 'Pulse',
intents: [ProductKey.PULSE],
category: ProductItemCategory.UNRELEASED,
- iconType: 'activity',
- iconColor: ['var(--color-product-activity-light)', 'var(--color-product-activity-dark)'] as FileSystemIconColor,
+ iconType: 'pulse',
+ iconColor: ['var(--color-product-activity-light)', 'var(--color-product-activity-dark)'],
href: urls.pulse(),
flag: FEATURE_FLAGS.PULSE,
tags: ['alpha'],
@@ -2660,7 +2661,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
},
{
path: 'Replay vision',
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
intents: [ProductKey.REPLAY_VISION],
type: 'replay_vision',
iconType: 'replay_vision' as FileSystemIconType,
@@ -2675,7 +2676,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'SQL editor',
intents: [ProductKey.DATA_WAREHOUSE_SAVED_QUERY, ProductKey.DATA_WAREHOUSE],
- category: ProductItemCategory.ANALYTICS,
+ category: ProductItemCategory.DATA,
type: 'sql',
iconType: 'sql_editor',
iconColor: ['var(--color-product-data-warehouse-light)'],
@@ -2686,7 +2687,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Session replay',
intents: [ProductKey.SESSION_REPLAY, ProductKey.MOBILE_REPLAY],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
href: urls.replay(ReplayTabs.Home),
type: 'session_recording_playlist',
iconType: 'session_replay',
@@ -2699,8 +2700,8 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
intents: [ProductKey.SKILLS],
category: ProductItemCategory.TOOLS,
type: 'llm_skills',
- iconType: 'llm_prompts' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
+ iconType: 'skill',
+ iconColor: ['var(--color-product-skills-light)', 'var(--color-product-skills-dark)'],
href: urls.skills(),
sceneKey: 'Skills',
sceneKeys: ['Skills', 'Skill', 'CommunitySkills'],
@@ -2708,7 +2709,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Support',
intents: [ProductKey.CONVERSATIONS],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.MONITORING,
href: urls.supportTickets(),
type: 'conversations',
iconType: 'conversations',
@@ -2719,7 +2720,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
{
path: 'Surveys',
intents: [ProductKey.SURVEYS],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'survey',
href: urls.surveys(),
iconType: 'survey',
@@ -2733,7 +2734,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_tags',
iconType: 'llm_tags' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-tags-light)', 'var(--color-product-llm-tags-dark)'],
href: urls.aiObservabilityTags(),
flag: FEATURE_FLAGS.LLM_ANALYTICS_TAGS,
tags: ['alpha'],
@@ -2763,7 +2764,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
category: ProductItemCategory.TOOLS,
type: 'task',
iconType: 'task',
- iconColor: ['var(--product-tasks-light)', 'var(--product-tasks-dark)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-tasks-light)', 'var(--color-product-tasks-dark)'],
href: urls.taskTracker(),
sceneKey: 'TaskTracker',
flag: FEATURE_FLAGS.TASKS,
@@ -2776,13 +2777,14 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
type: 'toolbar',
category: ProductItemCategory.TOOLS,
iconType: 'toolbar',
+ iconColor: ['var(--color-product-toolbar-light)', 'var(--color-product-toolbar-dark)'],
sceneKey: 'Toolbar',
sceneKeys: ['Toolbar'],
},
{
path: 'Tracing',
intents: [ProductKey.TRACING],
- category: ProductItemCategory.APP_MONITORING,
+ category: ProductItemCategory.MONITORING,
iconType: 'tracing',
iconColor: ['var(--color-product-tracing-light)', 'var(--color-product-tracing-dark)'] as FileSystemIconColor,
href: urls.tracing(),
@@ -2844,8 +2846,8 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
intents: [ProductKey.SITE_APPS],
category: ProductItemCategory.TOOLS,
type: 'hog_function',
- iconType: 'data_pipeline',
- iconColor: ['var(--color-product-data-pipeline-light)', 'var(--color-product-data-pipeline-dark)'],
+ iconType: 'web_script',
+ iconColor: ['var(--color-product-web-scripts-light)', 'var(--color-product-web-scripts-dark)'],
href: urls.webScripts(),
sceneKey: 'WebScripts',
sceneKeys: ['WebScripts'],
@@ -2855,7 +2857,8 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
intents: [],
category: ProductItemCategory.TOOLS,
type: 'wizard',
- iconType: 'llm_prompts' as FileSystemIconType,
+ iconType: 'wizard',
+ iconColor: ['var(--color-product-wizard-light)', 'var(--color-product-wizard-dark)'],
href: '/wizard/runs',
flag: FEATURE_FLAGS.WIZARD_UI_ENABLED,
sceneKey: 'WizardRuns',
@@ -2893,8 +2896,9 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
},
{
path: 'Annotations',
- category: 'Metadata',
+ category: 'Schema',
iconType: 'annotation',
+ iconColor: ['var(--color-product-annotations-light)', 'var(--color-product-annotations-dark)'],
href: urls.annotations(),
sceneKey: 'Annotations',
sceneKeys: ['Annotations'],
@@ -2902,23 +2906,25 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
{
path: 'Core events',
category: 'Schema',
- iconType: 'event_definition' as FileSystemIconType,
+ iconType: 'core_event',
+ iconColor: ['var(--color-product-core-events-light)', 'var(--color-product-core-events-dark)'],
href: urls.coreEvents(),
flag: FEATURE_FLAGS.NEW_TEAM_CORE_EVENTS,
sceneKeys: [],
},
{
path: `Destinations`,
- category: 'Pipeline',
+ category: 'CDP',
type: 'hog_function/destination',
- iconType: 'data_pipeline_metadata',
+ iconType: 'data_destination',
+ iconColor: ['var(--color-product-destinations-light)', 'var(--color-product-destinations-dark)'],
href: urls.destinations(),
sceneKey: 'Destinations',
sceneKeys: ['Destinations'],
},
{
path: 'Endpoints',
- category: 'Tools',
+ category: 'Data',
iconType: 'endpoints' as FileSystemIconType,
iconColor: [
'var(--color-product-endpoints-light)',
@@ -2932,31 +2938,26 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
path: 'Event definitions',
category: 'Schema',
iconType: 'event_definition',
+ iconColor: ['var(--color-product-event-definitions-light)', 'var(--color-product-event-definitions-dark)'],
href: urls.eventDefinitions(),
sceneKey: 'EventDefinitions',
sceneKeys: ['EventDefinition', 'EventDefinitions'],
},
{
path: 'Event ingestion filtering',
- category: 'Pipeline',
+ category: 'CDP',
type: 'event_filter',
- iconType: 'data_pipeline_metadata',
+ iconType: 'event_filter',
+ iconColor: ['var(--color-product-event-filtering-light)', 'var(--color-product-event-filtering-dark)'],
href: urls.eventFiltering(),
sceneKey: 'EventFiltering',
sceneKeys: ['EventFiltering'],
},
- {
- path: 'Event ingestion warnings',
- category: 'Pipeline',
- iconType: 'ingestion_warning',
- href: urls.ingestionWarnings(),
- sceneKey: 'IngestionWarnings',
- sceneKeys: ['IngestionWarnings'],
- },
{
path: 'Managed migrations',
- category: 'Pipeline',
- iconType: 'data_pipeline_metadata',
+ category: 'CDP',
+ iconType: 'managed_migration',
+ iconColor: ['var(--color-product-managed-migrations-light)', 'var(--color-product-managed-migrations-dark)'],
href: urls.managedMigration(),
sceneKey: 'ManagedMigration',
sceneKeys: ['ManagedMigration', 'ManagedMigrationNew'],
@@ -2965,6 +2966,7 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
path: 'Managed viewsets',
category: 'Unreleased',
iconType: 'managed_viewsets',
+ iconColor: ['var(--color-product-managed-viewsets-light)', 'var(--color-product-managed-viewsets-dark)'],
href: urls.dataWarehouseManagedViewsets(),
flag: FEATURE_FLAGS.MANAGED_VIEWSETS,
sceneKeys: [
@@ -2982,10 +2984,10 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
},
{
path: 'Models',
- category: 'Tools',
+ category: 'Data',
type: 'sql',
- iconType: 'sql_editor',
- iconColor: ['var(--color-product-data-warehouse-light)'],
+ iconType: 'data_modeling',
+ iconColor: ['var(--color-product-models-light)', 'var(--color-product-models-dark)'],
href: urls.models(),
sceneKey: 'Models',
sceneKeys: ['Models'],
@@ -2994,6 +2996,10 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
path: 'Property definitions',
category: 'Schema',
iconType: 'property_definition',
+ iconColor: [
+ 'var(--color-product-property-definitions-light)',
+ 'var(--color-product-property-definitions-dark)',
+ ],
href: urls.propertyDefinitions(),
sceneKey: 'PropertyDefinitions',
sceneKeys: ['PropertyDefinition', 'PropertyDefinitions'],
@@ -3001,7 +3007,8 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
{
path: 'Property groups',
category: 'Schema',
- iconType: 'event_definition',
+ iconType: 'property_group',
+ iconColor: ['var(--color-product-property-groups-light)', 'var(--color-product-property-groups-dark)'],
href: urls.schemaManagement(),
flag: FEATURE_FLAGS.SCHEMA_MANAGEMENT,
sceneKeys: [],
@@ -3010,33 +3017,47 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
path: 'Revenue definitions',
category: 'Schema',
iconType: 'revenue_analytics_metadata' as FileSystemIconType,
+ iconColor: ['var(--color-product-revenue-analytics-light)', 'var(--color-product-revenue-analytics-dark)'],
href: urls.revenueSettings(),
sceneKey: 'DataManagement',
sceneKeys: [],
},
- { path: 'SQL variables', category: 'Schema', href: urls.variables(), sceneKeys: ['SqlVariableEdit'] },
+ {
+ path: 'SQL variables',
+ category: 'Schema',
+ iconType: 'sql_variable',
+ iconColor: ['var(--color-product-sql-variables-light)', 'var(--color-product-sql-variables-dark)'],
+ href: urls.variables(),
+ sceneKeys: ['SqlVariableEdit'],
+ },
{
path: `Sources`,
- category: 'Pipeline',
+ category: 'CDP',
type: 'hog_function/source',
- iconType: 'data_pipeline_metadata',
+ iconType: 'data_source',
+ iconColor: ['var(--color-product-sources-light)', 'var(--color-product-sources-dark)'],
href: urls.sources(),
sceneKey: 'Sources',
sceneKeys: ['Sources'],
},
{
path: `Transformations`,
- category: 'Pipeline',
+ category: 'CDP',
type: 'hog_function/transformation',
- iconType: 'data_pipeline_metadata',
+ iconType: 'data_transformation',
+ iconColor: ['var(--color-product-transformations-light)', 'var(--color-product-transformations-dark)'],
href: urls.transformations(),
sceneKey: 'Transformations',
sceneKeys: ['Transformations'],
},
{
path: 'Warehouse destinations',
- category: 'Pipeline',
- iconType: 'data_warehouse',
+ category: 'CDP',
+ iconType: 'warehouse_destination',
+ iconColor: [
+ 'var(--color-product-warehouse-destinations-light)',
+ 'var(--color-product-warehouse-destinations-dark)',
+ ],
href: urls.warehouseDestinations(),
flag: FEATURE_FLAGS.WAREHOUSE_MULTI_DESTINATION,
sceneKey: 'WarehouseDestinations',
@@ -3045,7 +3066,11 @@ export const getTreeItemsMetadata = (): FileSystemImport[] => [
{
path: 'Warehouse properties',
category: 'Schema',
- iconType: 'data_warehouse',
+ iconType: 'warehouse_property',
+ iconColor: [
+ 'var(--color-product-warehouse-properties-light)',
+ 'var(--color-product-warehouse-properties-dark)',
+ ],
href: urls.warehouseProperties(),
flag: FEATURE_FLAGS.WAREHOUSE_PERSON_PROPERTIES,
sceneKey: 'WarehouseProperties',
diff --git a/frontend/src/queries/schema.json b/frontend/src/queries/schema.json
index cdb4c1ec04bf..5555f3f95326 100644
--- a/frontend/src/queries/schema.json
+++ b/frontend/src/queries/schema.json
@@ -26930,6 +26930,7 @@
"revenue_analytics_metadata",
"marketing_settings",
"marketing_analytics",
+ "customer_analytics",
"managed_viewsets",
"endpoints",
"sql_editor",
@@ -26946,6 +26947,7 @@
"experiment",
"feature_flag",
"feature_flag_off",
+ "data_modeling",
"data_pipeline",
"data_pipeline_metadata",
"data_warehouse",
@@ -27002,7 +27004,25 @@
"llm_prompts",
"llm_clusters",
"mcp_analytics",
- "exports"
+ "exports",
+ "pulse",
+ "skill",
+ "wizard",
+ "data_catalog",
+ "warehouse_destination",
+ "warehouse_property",
+ "data_source",
+ "data_destination",
+ "data_transformation",
+ "event_filter",
+ "managed_migration",
+ "web_script",
+ "core_event",
+ "property_group",
+ "mcp_server",
+ "streamlit_app",
+ "sql_variable",
+ "business_knowledge"
],
"type": "string"
},
@@ -40169,15 +40189,14 @@
"ProductItemCategory": {
"enum": [
"Analytics",
+ "Data",
"AI engineering",
- "Behavior",
+ "Product engineering",
"Messaging",
- "App monitoring",
- "Features",
+ "Monitoring",
"Tools",
"Schema",
- "Pipeline",
- "Metadata",
+ "CDP",
"Unreleased"
],
"type": "string"
diff --git a/frontend/src/queries/schema/schema-general.ts b/frontend/src/queries/schema/schema-general.ts
index 17fcf7cb8d17..0f7a089c9dc5 100644
--- a/frontend/src/queries/schema/schema-general.ts
+++ b/frontend/src/queries/schema/schema-general.ts
@@ -5359,6 +5359,7 @@ export type FileSystemIconType =
| 'revenue_analytics_metadata'
| 'marketing_settings'
| 'marketing_analytics'
+ | 'customer_analytics'
| 'managed_viewsets'
| 'endpoints'
| 'sql_editor'
@@ -5375,6 +5376,7 @@ export type FileSystemIconType =
| 'experiment'
| 'feature_flag'
| 'feature_flag_off'
+ | 'data_modeling'
| 'data_pipeline'
| 'data_pipeline_metadata'
| 'data_warehouse'
@@ -5432,6 +5434,24 @@ export type FileSystemIconType =
| 'llm_clusters'
| 'mcp_analytics'
| 'exports'
+ | 'pulse'
+ | 'skill'
+ | 'wizard'
+ | 'data_catalog'
+ | 'warehouse_destination'
+ | 'warehouse_property'
+ | 'data_source'
+ | 'data_destination'
+ | 'data_transformation'
+ | 'event_filter'
+ | 'managed_migration'
+ | 'web_script'
+ | 'core_event'
+ | 'property_group'
+ | 'mcp_server'
+ | 'streamlit_app'
+ | 'sql_variable'
+ | 'business_knowledge'
export interface FileSystemImport extends Omit<FileSystemEntry, 'id'> {
id?: string
@@ -8855,15 +8875,14 @@ export interface ProductItem {
export enum ProductItemCategory {
ANALYTICS = 'Analytics',
+ DATA = 'Data',
AI_ENGINEERING = 'AI engineering',
- BEHAVIOR = 'Behavior',
+ PRODUCT_ENGINEERING = 'Product engineering',
MESSAGING = 'Messaging',
- APP_MONITORING = 'App monitoring',
- FEATURES = 'Features',
+ MONITORING = 'Monitoring',
TOOLS = 'Tools',
SCHEMA = 'Schema',
- PIPELINE = 'Pipeline',
- METADATA = 'Metadata',
+ CDP = 'CDP',
UNRELEASED = 'Unreleased',
}
diff --git a/frontend/src/scenes/activity/ActivitySceneTabs.tsx b/frontend/src/scenes/activity/ActivitySceneTabs.tsx
index 20e2baef3264..b34af47e7601 100644
--- a/frontend/src/scenes/activity/ActivitySceneTabs.tsx
+++ b/frontend/src/scenes/activity/ActivitySceneTabs.tsx
@@ -1,44 +1,11 @@
+import { useValues } from 'kea'
+
import { LemonTabs } from 'lib/lemon-ui/LemonTabs'
-import { sceneConfigurations } from 'scenes/scenes'
-import { Scene } from 'scenes/sceneTypes'
-import { urls } from 'scenes/urls'
-import { iconForType } from '~/layout/panel-layout/ProjectTree/defaultTree'
-import { ActivityTab } from '~/types'
+import { ActivitySceneTabKey, activitySceneTabsLogic } from './activitySceneTabsLogic'
-export const activityTabs = [
- {
- key: ActivityTab.ExploreEvents,
- label: (
- <span className="flex items-center gap-1">
- {iconForType(sceneConfigurations[Scene.ExploreEvents].iconType)}
- Events
- </span>
- ),
- link: urls.activity(ActivityTab.ExploreEvents),
- },
- {
- key: ActivityTab.ExploreSessions,
- label: (
- <span className="flex items-center gap-1">
- {iconForType(sceneConfigurations[Scene.ExploreSessions].iconType)}
- Sessions
- </span>
- ),
- link: urls.activity(ActivityTab.ExploreSessions),
- },
- {
- key: ActivityTab.LiveEvents,
- label: (
- <span className="flex items-center gap-1">
- {iconForType(sceneConfigurations[Scene.LiveEvents].iconType)}
- Live
- </span>
- ),
- link: urls.activity(ActivityTab.LiveEvents),
- },
-]
+export const ActivitySceneTabs = ({ activeKey }: { activeKey: ActivitySceneTabKey }): JSX.Element => {
+ const { tabs } = useValues(activitySceneTabsLogic)
-export const ActivitySceneTabs = ({ activeKey }: { activeKey: ActivityTab }): JSX.Element => {
- return <LemonTabs activeKey={activeKey} tabs={activityTabs} sceneInset className="mb-3" />
+ return <LemonTabs activeKey={activeKey} tabs={tabs} sceneInset className="mb-3" />
}
diff --git a/frontend/src/scenes/activity/activitySceneTabsLogic.tsx b/frontend/src/scenes/activity/activitySceneTabsLogic.tsx
new file mode 100644
index 000000000000..ea6a91ece4fd
--- /dev/null
+++ b/frontend/src/scenes/activity/activitySceneTabsLogic.tsx
@@ -0,0 +1,153 @@
+import { MakeLogicType, connect, kea, path, selectors } from 'kea'
+
+import { GroupsAccessStatus } from 'lib/introductions/groupsAccessLogic'
+import { LemonTab } from 'lib/lemon-ui/LemonTabs'
+import { capitalizeFirstLetter } from 'lib/utils/strings'
+import { sceneConfigurations } from 'scenes/scenes'
+import { Scene } from 'scenes/sceneTypes'
+import { urls } from 'scenes/urls'
+
+import { iconForType } from '~/layout/panel-layout/ProjectTree/defaultTree'
+import { groupsModel } from '~/models/groupsModel'
+import { FileSystemIconType } from '~/queries/schema/schema-general'
+import { ActivityTab } from '~/types'
+
+import type { Noun } from '../../models/groupsModel'
+import type { GroupType, GroupTypeIndex } from '../../types'
+
+export type ActivitySceneTabKey = ActivityTab | 'persons' | 'cohorts' | `groups-${number}`
+
+interface ActivitySceneTab {
+ key: ActivitySceneTabKey
+ label: string
+ url: string
+ iconType: FileSystemIconType | undefined
+ tooltipDocLink?: string
+ // pinned: autocapture dashboards and Playwright select these tabs by data-attr
+ dataAttr?: string
+}
+
+// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
+export interface activitySceneTabsLogicValues {
+ aggregationLabel: (groupTypeIndex: number | null | undefined, deferToUserWording?: boolean) => Noun // groupsModel
+ groupTypes: Map<GroupTypeIndex, GroupType> // groupsModel
+ groupsAccessStatus: GroupsAccessStatus // groupsModel
+ groupTabs: ActivitySceneTab[]
+ tabs: LemonTab<ActivitySceneTabKey>[]
+}
+
+// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
+export interface activitySceneTabsLogicMeta {
+ __keaTypeGenInternalSelectorTypes: {
+ groupTabs: (
+ groupTypes: Map<GroupTypeIndex, GroupType>,
+ groupsAccessStatus: GroupsAccessStatus,
+ aggregationLabel: (groupTypeIndex: number | null | undefined, deferToUserWording?: boolean) => Noun
+ ) => ActivitySceneTab[]
+ tabs: (groupTabs: ActivitySceneTab[]) => LemonTab<ActivitySceneTabKey>[]
+ }
+}
+
+export type activitySceneTabsLogicType = MakeLogicType<
+ activitySceneTabsLogicValues,
+ {},
+ Record<string, any>,
+ activitySceneTabsLogicMeta
+>
+
+export const activitySceneTabsLogic = kea<activitySceneTabsLogicType>([
+ path(['scenes', 'activity', 'activitySceneTabsLogic']),
+ connect(() => ({
+ values: [groupsModel, ['aggregationLabel', 'groupTypes', 'groupsAccessStatus']],
+ })),
+ selectors({
+ groupTabs: [
+ (s) => [s.groupTypes, s.groupsAccessStatus, s.aggregationLabel],
+ (
+ groupTypes: Map<GroupTypeIndex, GroupType>,
+ groupsAccessStatus: GroupsAccessStatus,
+ aggregationLabel: (groupTypeIndex: number | null | undefined, deferToUserWording?: boolean) => Noun
+ ): ActivitySceneTab[] => {
+ const showGroupsIntroductionPage = [
+ GroupsAccessStatus.HasAccess,
+ GroupsAccessStatus.HasGroupTypes,
+ GroupsAccessStatus.NoAccess,
+ ].includes(groupsAccessStatus)
+
+ if (showGroupsIntroductionPage) {
+ return [
+ {
+ key: 'groups-0',
+ label: 'Groups',
+ url: urls.groups(0),
+ iconType: 'group',
+ dataAttr: 'persons-management-groups-0-tab',
+ },
+ ]
+ }
+
+ return Array.from(groupTypes.values()).map(({ group_type_index }) => ({
+ key: `groups-${group_type_index}`,
+ label: capitalizeFirstLetter(aggregationLabel(group_type_index).plural),
+ url: urls.groups(group_type_index),
+ iconType: `group_${group_type_index}` as FileSystemIconType,
+ dataAttr: `persons-management-groups-${group_type_index}-tab`,
+ }))
+ },
+ ],
+ tabs: [
+ (s) => [s.groupTabs],
+ (groupTabs: ActivitySceneTab[]): LemonTab<ActivitySceneTabKey>[] => {
+ const tabs: ActivitySceneTab[] = [
+ {
+ key: ActivityTab.ExploreEvents,
+ label: 'Events',
+ url: urls.activity(ActivityTab.ExploreEvents),
+ iconType: sceneConfigurations[Scene.ExploreEvents].iconType,
+ },
+ {
+ key: ActivityTab.LiveEvents,
+ label: 'Live',
+ url: urls.activity(ActivityTab.LiveEvents),
+ iconType: sceneConfigurations[Scene.LiveEvents].iconType,
+ },
+ {
+ key: ActivityTab.ExploreSessions,
+ label: 'Sessions',
+ url: urls.activity(ActivityTab.ExploreSessions),
+ iconType: sceneConfigurations[Scene.ExploreSessions].iconType,
+ },
+ {
+ key: 'persons',
+ label: 'Persons',
+ url: urls.persons(),
+ iconType: sceneConfigurations[Scene.Persons].iconType,
+ tooltipDocLink: 'https://posthog.com/docs/data/persons',
+ dataAttr: 'persons-management-persons-tab',
+ },
+ {
+ key: 'cohorts',
+ label: 'Cohorts',
+ url: urls.cohorts(),
+ iconType: sceneConfigurations[Scene.Cohorts].iconType,
+ tooltipDocLink: 'https://posthog.com/docs/data/cohorts',
+ dataAttr: 'persons-management-cohorts-tab',
+ },
+ ...groupTabs,
+ ]
+
+ return tabs.map((tab) => ({
+ key: tab.key,
+ label: (
+ <span className="flex items-center gap-1" data-attr={tab.dataAttr}>
+ {tab.iconType && iconForType(tab.iconType)}
+ {tab.label}
+ </span>
+ ),
+ tooltipDocLink: tab.tooltipDocLink,
+ link: tab.url,
+ }))
+ },
+ ],
+ }),
+])
diff --git a/frontend/src/scenes/cohorts/Cohorts.tsx b/frontend/src/scenes/cohorts/Cohorts.tsx
index 9c63eba6d4a3..4e400728bfe7 100644
--- a/frontend/src/scenes/cohorts/Cohorts.tsx
+++ b/frontend/src/scenes/cohorts/Cohorts.tsx
@@ -19,8 +19,8 @@ import { createdAtColumn, createdByColumn } from 'lib/lemon-ui/LemonTable/column
import { LemonTableLink } from 'lib/lemon-ui/LemonTable/LemonTableLink'
import { Spinner } from 'lib/lemon-ui/Spinner/Spinner'
import { getAccessControlDisabledReason } from 'lib/utils/accessControlUtils'
+import { ActivitySceneTabs } from 'scenes/activity/ActivitySceneTabs'
import { cohortsSceneLogic } from 'scenes/cohorts/cohortsSceneLogic'
-import { PersonsManagementSceneTabs } from 'scenes/persons-management/PersonsManagementSceneTabs'
import { sceneConfigurations } from 'scenes/scenes'
import { Scene, SceneExport } from 'scenes/sceneTypes'
import { urls } from 'scenes/urls'
@@ -274,7 +274,7 @@ export function Cohorts(): JSX.Element {
return (
<SceneContent>
- <PersonsManagementSceneTabs tabKey="cohorts" />
+ <ActivitySceneTabs activeKey="cohorts" />
<SceneTitleSection
name={sceneConfigurations[Scene.Cohorts].name}
diff --git a/frontend/src/scenes/data-management/DataManagementScene.tsx b/frontend/src/scenes/data-management/DataManagementScene.tsx
index bdf4dc7db6f2..48e926260d69 100644
--- a/frontend/src/scenes/data-management/DataManagementScene.tsx
+++ b/frontend/src/scenes/data-management/DataManagementScene.tsx
@@ -18,6 +18,7 @@ import { CoreEventsSettings } from 'scenes/settings/environment/CoreEventsSettin
import { urls } from 'scenes/urls'
import { SIDE_PANEL_CONTEXT_KEY, SidePanelSceneContext } from '~/layout/navigation-3000/sidepanel/types'
+import { SceneContent } from '~/layout/scenes/components/SceneContent'
import { ActivityScope, Breadcrumb } from '~/types'
import { ActionsTable } from 'products/actions/frontend/components/ActionsTable'
@@ -25,6 +26,7 @@ import { NewActionButton } from 'products/actions/frontend/components/NewActionB
import { RevenueAnalyticsSettings } from 'products/revenue_analytics/frontend/settings/RevenueAnalyticsSettings'
import type { FeatureFlagsSet } from '../../lib/logic/featureFlagLogic'
+import { DefinitionsSceneTabs } from './DefinitionsSceneTabs'
import { EventDefinitionsTable } from './events/EventDefinitionsTable'
import { IngestionWarningsV2View } from './ingestion-warnings-v2/IngestionWarningsV2View'
import { IngestionWarningsView } from './ingestion-warnings/IngestionWarningsView'
@@ -143,7 +145,12 @@ const tabs: Record<DataManagementTab, TabConfig> = {
Core events
</TitleWithIcon>
),
- content: <CoreEventsSettings />,
+ content: (
+ <SceneContent>
+ <DefinitionsSceneTabs activeKey="core-events" />
+ <CoreEventsSettings />
+ </SceneContent>
+ ),
flag: FEATURE_FLAGS.NEW_TEAM_CORE_EVENTS,
},
[DataManagementTab.IngestionWarnings]: {
diff --git a/frontend/src/scenes/data-management/DefinitionsSceneTabs.tsx b/frontend/src/scenes/data-management/DefinitionsSceneTabs.tsx
new file mode 100644
index 000000000000..7b1a456fcca0
--- /dev/null
+++ b/frontend/src/scenes/data-management/DefinitionsSceneTabs.tsx
@@ -0,0 +1,11 @@
+import { useValues } from 'kea'
+
+import { LemonTabs } from 'lib/lemon-ui/LemonTabs'
+
+import { DefinitionsSceneTabKey, definitionsSceneTabsLogic } from './definitionsSceneTabsLogic'
+
+export function DefinitionsSceneTabs({ activeKey }: { activeKey: DefinitionsSceneTabKey }): JSX.Element {
+ const { tabs } = useValues(definitionsSceneTabsLogic)
+
+ return <LemonTabs activeKey={activeKey} tabs={tabs} sceneInset className="mb-3" />
+}
diff --git a/frontend/src/scenes/data-management/definitionsSceneTabsLogic.tsx b/frontend/src/scenes/data-management/definitionsSceneTabsLogic.tsx
new file mode 100644
index 000000000000..d172233baf78
--- /dev/null
+++ b/frontend/src/scenes/data-management/definitionsSceneTabsLogic.tsx
@@ -0,0 +1,114 @@
+import { MakeLogicType, connect, kea, path, selectors } from 'kea'
+
+import { FEATURE_FLAGS, FeatureFlagKey } from 'lib/constants'
+import { LemonTab } from 'lib/lemon-ui/LemonTabs'
+import { FeatureFlagsSet, featureFlagLogic } from 'lib/logic/featureFlagLogic'
+import { urls } from 'scenes/urls'
+
+import { iconForType } from '~/layout/panel-layout/ProjectTree/defaultTree'
+import { FileSystemIconType } from '~/queries/schema/schema-general'
+
+export type DefinitionsSceneTabKey =
+ | 'core-events'
+ | 'events'
+ | 'properties'
+ | 'schema'
+ | 'revenue'
+ | 'warehouse-properties'
+
+interface DefinitionsSceneTab {
+ key: DefinitionsSceneTabKey
+ label: string
+ url: string
+ iconType: FileSystemIconType
+ flag?: FeatureFlagKey
+ tooltipDocLink?: string
+}
+
+export const DEFINITIONS_TABS: DefinitionsSceneTab[] = [
+ {
+ key: 'core-events',
+ label: 'Core events',
+ url: urls.coreEvents(),
+ iconType: 'core_event',
+ flag: FEATURE_FLAGS.NEW_TEAM_CORE_EVENTS,
+ },
+ {
+ key: 'events',
+ label: 'Event definitions',
+ url: urls.eventDefinitions(),
+ iconType: 'event_definition',
+ tooltipDocLink: 'https://posthog.com/docs/data/events',
+ },
+ {
+ key: 'properties',
+ label: 'Property definitions',
+ url: urls.propertyDefinitions(),
+ iconType: 'property_definition',
+ tooltipDocLink: 'https://posthog.com/docs/new-to-posthog/understand-posthog#properties',
+ },
+ {
+ key: 'schema',
+ label: 'Property groups',
+ url: urls.schemaManagement(),
+ iconType: 'property_group',
+ flag: FEATURE_FLAGS.SCHEMA_MANAGEMENT,
+ },
+ {
+ key: 'revenue',
+ label: 'Revenue definitions',
+ url: urls.revenueSettings(),
+ iconType: 'revenue_analytics_metadata',
+ },
+ {
+ key: 'warehouse-properties',
+ label: 'Warehouse properties',
+ url: urls.warehouseProperties(),
+ iconType: 'warehouse_property',
+ flag: FEATURE_FLAGS.WAREHOUSE_PERSON_PROPERTIES,
+ },
+]
+
+// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
+export interface definitionsSceneTabsLogicValues {
+ featureFlags: FeatureFlagsSet // featureFlagLogic
+ tabs: LemonTab<DefinitionsSceneTabKey>[]
+}
+
+// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
+export interface definitionsSceneTabsLogicMeta {
+ __keaTypeGenInternalSelectorTypes: {
+ tabs: (featureFlags: FeatureFlagsSet) => LemonTab<DefinitionsSceneTabKey>[]
+ }
+}
+
+export type definitionsSceneTabsLogicType = MakeLogicType<
+ definitionsSceneTabsLogicValues,
+ {},
+ Record<string, any>,
+ definitionsSceneTabsLogicMeta
+>
+
+export const definitionsSceneTabsLogic = kea<definitionsSceneTabsLogicType>([
+ path(['scenes', 'data-management', 'definitionsSceneTabsLogic']),
+ connect(() => ({
+ values: [featureFlagLogic, ['featureFlags']],
+ })),
+ selectors({
+ tabs: [
+ (s) => [s.featureFlags],
+ (featureFlags: FeatureFlagsSet): LemonTab<DefinitionsSceneTabKey>[] =>
+ DEFINITIONS_TABS.filter((tab) => !tab.flag || !!featureFlags[tab.flag]).map((tab) => ({
+ key: tab.key,
+ label: (
+ <span className="flex items-center gap-1">
+ {iconForType(tab.iconType)}
+ {tab.label}
+ </span>
+ ),
+ tooltipDocLink: tab.tooltipDocLink,
+ link: tab.url,
+ })),
+ ],
+ }),
+])
diff --git a/frontend/src/scenes/data-management/events/EventDefinitionsTable.tsx b/frontend/src/scenes/data-management/events/EventDefinitionsTable.tsx
index 8cccda33ebe2..d7927144dd8f 100644
--- a/frontend/src/scenes/data-management/events/EventDefinitionsTable.tsx
+++ b/frontend/src/scenes/data-management/events/EventDefinitionsTable.tsx
@@ -15,6 +15,7 @@ import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { LemonMenu } from 'lib/lemon-ui/LemonMenu'
import { LemonTable, LemonTableColumn, LemonTableColumns } from 'lib/lemon-ui/LemonTable'
import { cn } from 'lib/utils/css-classes'
+import { DefinitionsSceneTabs } from 'scenes/data-management/DefinitionsSceneTabs'
import { DefinitionHeader, getEventDefinitionIcon } from 'scenes/data-management/events/DefinitionHeader'
import { EventDefinitionModal } from 'scenes/data-management/events/EventDefinitionModal'
import { EventDefinitionProperties } from 'scenes/data-management/events/EventDefinitionProperties'
@@ -123,6 +124,7 @@ export function EventDefinitionsTable(): JSX.Element {
return (
<SceneContent data-attr="manage-events-table">
+ <DefinitionsSceneTabs activeKey="events" />
<SceneTitleSection
name={sceneConfigurations[Scene.EventDefinition].name}
description={sceneConfigurations[Scene.EventDefinition].description}
diff --git a/frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.tsx b/frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.tsx
index f1de63d3f31e..ad0b1b7c84da 100644
--- a/frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.tsx
+++ b/frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.tsx
@@ -10,6 +10,7 @@ import { EVENT_PROPERTY_DEFINITIONS_PER_PAGE } from 'lib/constants'
import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { LemonTable, LemonTableColumn, LemonTableColumns } from 'lib/lemon-ui/LemonTable'
import { cn } from 'lib/utils/css-classes'
+import { DefinitionsSceneTabs } from 'scenes/data-management/DefinitionsSceneTabs'
import { DefinitionHeader, getPropertyDefinitionIcon } from 'scenes/data-management/events/DefinitionHeader'
import { propertyDefinitionsTableLogic } from 'scenes/data-management/properties/propertyDefinitionsTableLogic'
import { verifiedFilterFromOption, verifiedFilterValue, verifiedOptions } from 'scenes/data-management/utils'
@@ -89,6 +90,7 @@ export function PropertyDefinitionsTable(): JSX.Element {
return (
<SceneContent data-attr="manage-events-table">
+ <DefinitionsSceneTabs activeKey="properties" />
<SceneTitleSection
name={sceneConfigurations[Scene.PropertyDefinition].name}
description={sceneConfigurations[Scene.PropertyDefinition].description}
diff --git a/frontend/src/scenes/data-management/schema/SchemaManagement.tsx b/frontend/src/scenes/data-management/schema/SchemaManagement.tsx
index d2f2e2bcde53..aa64ef25c990 100644
--- a/frontend/src/scenes/data-management/schema/SchemaManagement.tsx
+++ b/frontend/src/scenes/data-management/schema/SchemaManagement.tsx
@@ -7,6 +7,7 @@ import { NotFound } from 'lib/components/NotFound'
import { FEATURE_FLAGS } from 'lib/constants'
import { LemonTable, LemonTableColumns } from 'lib/lemon-ui/LemonTable'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
+import { DefinitionsSceneTabs } from 'scenes/data-management/DefinitionsSceneTabs'
import { SceneContent } from '~/layout/scenes/components/SceneContent'
import { SceneTitleSection } from '~/layout/scenes/components/SceneTitleSection'
@@ -134,6 +135,7 @@ export function SchemaManagement(): JSX.Element {
return (
<SceneContent>
+ <DefinitionsSceneTabs activeKey="schema" />
<SceneTitleSection
name="Property Groups"
description="Define reusable property groups to establish schemas for your events."
diff --git a/frontend/src/scenes/persons-management/PersonsManagementSceneTabs.tsx b/frontend/src/scenes/persons-management/PersonsManagementSceneTabs.tsx
deleted file mode 100644
index 071c47a83df0..000000000000
--- a/frontend/src/scenes/persons-management/PersonsManagementSceneTabs.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import { useValues } from 'kea'
-
-import { LemonTabs } from 'lib/lemon-ui/LemonTabs'
-
-import { personsManagementSceneLogic } from './personsManagementSceneLogic'
-
-export interface PersonsManagementSceneTabsProps {
- tabKey: string
-}
-
-export function PersonsManagementSceneTabs({ tabKey }: PersonsManagementSceneTabsProps): JSX.Element {
- const { lemonTabs } = useValues(personsManagementSceneLogic)
-
- return <LemonTabs activeKey={tabKey} tabs={lemonTabs} sceneInset className="[&>ul]:mb-2" />
-}
diff --git a/frontend/src/scenes/persons-management/personsManagementSceneLogic.tsx b/frontend/src/scenes/persons-management/personsManagementSceneLogic.tsx
deleted file mode 100644
index e0bdcc704660..000000000000
--- a/frontend/src/scenes/persons-management/personsManagementSceneLogic.tsx
+++ /dev/null
@@ -1,139 +0,0 @@
-import { MakeLogicType, connect, kea, path, selectors } from 'kea'
-
-import { FEATURE_FLAGS } from 'lib/constants'
-import { GroupsAccessStatus } from 'lib/introductions/groupsAccessLogic'
-import { LemonTab } from 'lib/lemon-ui/LemonTabs'
-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
-import { capitalizeFirstLetter } from 'lib/utils/strings'
-import { urls } from 'scenes/urls'
-
-import { groupsModel } from '~/models/groupsModel'
-
-import type { FeatureFlagsSet } from '../../lib/logic/featureFlagLogic'
-import type { Noun } from '../../models/groupsModel'
-import type { GroupType, GroupTypeIndex } from '../../types'
-
-export type PersonsManagementTab = {
- key: string
- url: string
- label: string | JSX.Element
- buttons?: any
- tooltipDocLink?: string
-}
-
-// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
-export interface personsManagementSceneLogicValues {
- featureFlags: FeatureFlagsSet // featureFlagLogic
- aggregationLabel: (groupTypeIndex: number | null | undefined, deferToUserWording?: boolean) => Noun // groupsModel
- groupTypes: Map<GroupTypeIndex, GroupType> // groupsModel
- groupTypesLoading: boolean // groupsModel
- groupsAccessStatus: GroupsAccessStatus // groupsModel
- crmFeatureFlag: boolean | string | undefined
- groupTabs: PersonsManagementTab[]
- lemonTabs: LemonTab<string>[]
- tabs: PersonsManagementTab[]
-}
-
-// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
-export interface personsManagementSceneLogicMeta {
- __keaTypeGenInternalSelectorTypes: {
- tabs: (groupTabs: PersonsManagementTab[]) => PersonsManagementTab[]
- crmFeatureFlag: (featureFlags: FeatureFlagsSet) => boolean | string | undefined
- groupTabs: (
- groupTypes: Map<GroupTypeIndex, GroupType>,
- groupsAccessStatus: GroupsAccessStatus,
- aggregationLabel: (groupTypeIndex: number | null | undefined, deferToUserWording?: boolean) => Noun
- ) => PersonsManagementTab[]
- lemonTabs: (tabs: PersonsManagementTab[]) => LemonTab<string>[]
- }
-}
-
-export type personsManagementSceneLogicType = MakeLogicType<
- personsManagementSceneLogicValues,
- {},
- Record<string, any>,
- personsManagementSceneLogicMeta
->
-
-export const personsManagementSceneLogic = kea<personsManagementSceneLogicType>([
- path(['scenes', 'persons-management', 'personsManagementSceneLogic']),
- connect(() => ({
- values: [
- groupsModel,
- ['aggregationLabel', 'groupTypes', 'groupTypesLoading', 'groupsAccessStatus'],
- featureFlagLogic,
- ['featureFlags'],
- ],
- })),
- selectors({
- tabs: [
- (s) => [s.groupTabs],
- (groupTabs: PersonsManagementTab[]): PersonsManagementTab[] => {
- return [
- {
- key: 'persons',
- url: urls.persons(),
- label: 'Persons',
- tooltipDocLink: 'https://posthog.com/docs/data/persons',
- },
- {
- key: 'cohorts',
- url: urls.cohorts(),
- label: 'Cohorts',
- tooltipDocLink: 'https://posthog.com/docs/data/cohorts',
- },
- ...groupTabs,
- ]
- },
- ],
- crmFeatureFlag: [
- (s) => [s.featureFlags],
- (featureFlags: import('lib/logic/featureFlagLogic').FeatureFlagsSet) =>
- featureFlags[FEATURE_FLAGS.CRM_ITERATION_ONE],
- ],
- groupTabs: [
- (s) => [s.groupTypes, s.groupsAccessStatus, s.aggregationLabel],
- (
- groupTypes: Map<import('../../types').GroupTypeIndex, import('../../types').GroupType>,
- groupsAccessStatus: GroupsAccessStatus,
- aggregationLabel: (
- groupTypeIndex: number | null | undefined,
- deferToUserWording?: boolean
- ) => import('~/models/groupsModel').Noun
- ): PersonsManagementTab[] => {
- const showGroupsIntroductionPage = [
- GroupsAccessStatus.HasAccess,
- GroupsAccessStatus.HasGroupTypes,
- GroupsAccessStatus.NoAccess,
- ].includes(groupsAccessStatus)
-
- const groupTabs: PersonsManagementTab[] = showGroupsIntroductionPage
- ? [
- {
- key: 'groups-0',
- label: 'Groups',
- url: urls.groups(0),
- },
- ]
- : Array.from(groupTypes.values()).map(({ group_type_index }) => ({
- key: `groups-${group_type_index}`,
- label: capitalizeFirstLetter(aggregationLabel(group_type_index).plural),
- url: urls.groups(group_type_index),
- }))
-
- return groupTabs
- },
- ],
-
- lemonTabs: [
- (s) => [s.tabs],
- (tabs: PersonsManagementTab[]): LemonTab<string>[] =>
- tabs.map((tab) => ({
- key: tab.key,
- label: <span data-attr={`persons-management-${tab.key}-tab`}>{tab.label}</span>,
- tooltipDocLink: tab.tooltipDocLink,
- link: tab.url,
- })),
- ],
- }),
-])
diff --git a/frontend/src/scenes/sceneLogic.test.tsx b/frontend/src/scenes/sceneLogic.test.tsx
index ecf3e8199ea5..266391c247e0 100644
--- a/frontend/src/scenes/sceneLogic.test.tsx
+++ b/frontend/src/scenes/sceneLogic.test.tsx
@@ -16,7 +16,7 @@ import { urls } from 'scenes/urls'
import * as exporterViewLogic from '~/exporter/exporterViewLogic'
import { useMocks } from '~/mocks/jest'
import { initKeaTests } from '~/test/init'
-import { AccessControlLevel, AccessControlResourceType, type AppContext } from '~/types'
+import { AccessControlLevel, AccessControlResourceType, ActivityTab, type AppContext } from '~/types'
import { sceneLogic } from './sceneLogic'
import type { testLogicType } from './sceneLogic.testType'
@@ -184,15 +184,18 @@ describe('sceneLogic', () => {
expect(removeProjectIdIfPresent(router.values.location.pathname)).toEqual(urls.replayVision())
})
- it('redirects the old /code_review path to /code-review, preserving the ?review= deep link and hash', async () => {
- router.actions.push('/code_review', { review: 'r-9' }, { panel: 'max:inspect' })
+ // ?review=<report id> is a permanent public contract baked into GitHub PR comments, and saved
+ // dashboard tiles and digest emails link to /activity/explore#q=<query>. The redirect must carry
+ // both across. The hash also carries global side-panel state, so it has to survive too.
+ it.each([
+ ['/code_review', () => urls.codeReview(), { review: 'r-9' }, { panel: 'max:inspect' }],
+ ['/activity/explore', () => urls.activity(ActivityTab.ExploreEvents), {}, { q: '{"kind":"DataTableNode"}' }],
+ ])('redirects the old %s path, preserving search and hash params', async (from, to, search, hash) => {
+ router.actions.push(from, search, hash)
await expectLogic(logic).delay(1)
- expect(removeProjectIdIfPresent(router.values.location.pathname)).toEqual(urls.codeReview())
- // ?review=<report id> is a permanent public contract baked into GitHub PR comments — the
- // redirect must carry it across so those links keep opening the right report. The hash
- // carries global side-panel state, so it has to survive the redirect too.
- expect(router.values.searchParams.review).toEqual('r-9')
- expect(router.values.hashParams.panel).toEqual('max:inspect')
+ expect(removeProjectIdIfPresent(router.values.location.pathname)).toEqual(to())
+ expect(router.values.searchParams).toEqual(search)
+ expect(router.values.hashParams).toEqual(hash)
})
it.each([
diff --git a/frontend/src/scenes/sceneSmoke.test.tsx b/frontend/src/scenes/sceneSmoke.test.tsx
index 3d1df93b0bf3..92bf44d951c1 100644
--- a/frontend/src/scenes/sceneSmoke.test.tsx
+++ b/frontend/src/scenes/sceneSmoke.test.tsx
@@ -58,7 +58,7 @@ const HIGH_TRAFFIC_SCENES: [name: string, path: string][] = [
['feature flags', '/feature_flags'],
['experiments', '/experiments'],
['surveys', '/surveys'],
- ['activity explore', '/activity/explore'],
+ ['activity events', '/activity/events'],
['error tracking', '/error_tracking'],
['sql editor', '/sql'],
['engineering analytics', '/engineering-analytics'],
diff --git a/frontend/src/scenes/scenes.ts b/frontend/src/scenes/scenes.ts
index 9bbc0306b7cc..7ae29af06401 100644
--- a/frontend/src/scenes/scenes.ts
+++ b/frontend/src/scenes/scenes.ts
@@ -611,6 +611,8 @@ export const redirects: Record<
'/action/:id': ({ id }) => urls.action(id),
'/actions': urls.actions(),
'/activity': urls.activity(),
+ '/activity/explore': (_params, searchParams, hashParams) =>
+ combineUrl(urls.activity(ActivityTab.ExploreEvents), searchParams, hashParams).url,
'/annotations': () => urls.annotations(),
'/annotations/:id': ({ id }) => urls.annotation(id),
'/batch_exports/:id': ({ id }) => urls.batchExport(id),
diff --git a/frontend/src/styles/base.scss b/frontend/src/styles/base.scss
index 99809f5b3f9b..2ba5a6817f82 100644
--- a/frontend/src/styles/base.scss
+++ b/frontend/src/styles/base.scss
@@ -337,8 +337,8 @@
--color-product-alerts-dark: rgb(255 168 28);
--color-product-surveys-light: rgb(243 84 84);
--color-product-surveys-dark: rgb(248 121 121);
- --color-product-product-tours-light: rgb(243 84 84);
- --color-product-product-tours-dark: rgb(248 121 121);
+ --color-product-product-tours-light: rgb(236 72 153);
+ --color-product-product-tours-dark: rgb(244 114 182);
--color-product-customer-analytics-light: rgb(23 158 172);
--color-product-customer-analytics-dark: rgb(85 199 211);
--color-product-data-warehouse-light: rgb(133 103 255);
@@ -347,17 +347,17 @@
--color-product-data-catalog-dark: rgb(139 118 232);
--color-product-llm-analytics-light: rgb(182 42 217);
--color-product-llm-analytics-dark: rgb(212 106 240);
- --color-product-llm-clusters-light: rgb(147 51 234);
- --color-product-llm-datasets-light: rgb(124 58 237);
- --color-product-llm-evaluations-light: rgb(167 139 250);
+ --color-product-llm-clusters-light: rgb(108 93 238);
+ --color-product-llm-datasets-light: rgb(121 87 235);
+ --color-product-llm-evaluations-light: rgb(135 81 232);
--color-product-ai-gateway-light: rgb(99 102 241);
--color-product-ai-gateway-dark: rgb(129 140 248);
- --color-product-mcp-analytics-light: rgb(205 48 180);
- --color-product-mcp-analytics-dark: rgb(229 105 205);
+ --color-product-mcp-analytics-light: rgb(150 76 229);
+ --color-product-mcp-analytics-dark: rgb(181 124 249);
--color-product-links-light: rgb(143 7 255);
--color-product-links-dark: rgb(178 92 255);
- --color-product-notebooks-light: rgb(26 137 173);
- --color-product-notebooks-dark: rgb(43 179 223);
+ --color-product-notebooks-light: rgb(239 68 68);
+ --color-product-notebooks-dark: rgb(252 165 165);
--color-product-tracing-light: rgb(6 182 212);
--color-product-tracing-dark: rgb(34 211 238);
--color-product-metrics-light: rgb(234 88 12);
@@ -376,14 +376,74 @@
--color-product-subscriptions-dark: rgb(93 187 250);
--color-product-visual-review-light: rgb(101 163 13);
--color-product-visual-review-dark: rgb(163 230 53);
- --color-product-actions-light: rgb(47 128 250);
- --color-product-actions-dark: rgb(96 165 250);
+ --color-product-actions-light: rgb(20 184 166);
+ --color-product-actions-dark: rgb(94 234 212);
--color-product-cohorts-light: rgb(13 148 136);
--color-product-cohorts-dark: rgb(45 212 191);
--color-product-activity-light: rgb(225 29 72);
--color-product-activity-dark: rgb(251 113 133);
- --color-product-annotations-light: rgb(124 92 252);
- --color-product-annotations-dark: rgb(167 139 250);
+ --color-product-annotations-light: rgb(22 175 192);
+ --color-product-annotations-dark: rgb(94 235 238);
+ --color-product-warehouse-destinations-dark: rgb(249 115 22);
+ --color-product-warehouse-destinations-light: rgb(194 65 12);
+ --color-product-llm-clusters-dark: rgb(133 128 248);
+ --color-product-llm-datasets-dark: rgb(149 127 248);
+ --color-product-llm-evaluations-dark: rgb(165 126 248);
+ --color-product-llm-playground-light: rgb(165 70 226);
+ --color-product-llm-playground-dark: rgb(198 123 249);
+ --color-product-llm-prompts-light: rgb(180 65 222);
+ --color-product-llm-prompts-dark: rgb(215 122 249);
+ --color-product-llm-tags-light: rgb(196 60 218);
+ --color-product-llm-tags-dark: rgb(232 121 249);
+ --color-product-event-definitions-light: rgb(24 145 200);
+ --color-product-event-definitions-dark: rgb(95 213 242);
+ --color-product-core-events-light: rgb(202 138 4);
+ --color-product-core-events-dark: rgb(250 204 21);
+ --color-product-property-definitions-light: rgb(8 145 178);
+ --color-product-property-definitions-dark: rgb(34 211 238);
+ --color-product-property-groups-light: rgb(101 163 13);
+ --color-product-property-groups-dark: rgb(163 230 53);
+ --color-product-sql-variables-light: rgb(29 78 216);
+ --color-product-sql-variables-dark: rgb(96 165 250);
+ --color-product-mcp-servers-light: rgb(27 113 208);
+ --color-product-mcp-servers-dark: rgb(95 190 246);
+ --color-product-warehouse-properties-light: rgb(79 70 229);
+ --color-product-warehouse-properties-dark: rgb(129 140 248);
+ --color-product-sources-light: rgb(210 106 11);
+ --color-product-sources-dark: rgb(251 163 41);
+ --color-product-destinations-light: rgb(234 179 8);
+ --color-product-destinations-dark: rgb(253 224 71);
+ --color-product-transformations-light: rgb(202 85 11);
+ --color-product-transformations-dark: rgb(250 140 32);
+ --color-product-event-filtering-light: rgb(226 153 9);
+ --color-product-event-filtering-dark: rgb(252 205 61);
+ --color-product-managed-migrations-light: rgb(218 128 10);
+ --color-product-managed-migrations-dark: rgb(252 185 51);
+ --color-product-skills-light: rgb(235 62 85);
+ --color-product-skills-dark: rgb(251 154 168);
+ --color-product-tasks-light: rgb(231 56 103);
+ --color-product-tasks-dark: rgb(249 144 174);
+ --color-product-toolbar-light: rgb(227 50 122);
+ --color-product-toolbar-dark: rgb(248 134 183);
+ --color-product-web-scripts-light: rgb(222 45 141);
+ --color-product-web-scripts-dark: rgb(246 124 194);
+ --color-product-wizard-light: rgb(217 40 160);
+ --color-product-wizard-dark: rgb(244 114 208);
+ --color-product-business-knowledge-light: rgb(202 138 4);
+ --color-product-business-knowledge-dark: rgb(250 204 21);
+ --color-product-models-light: rgb(79 70 229);
+ --color-product-models-dark: rgb(129 140 248);
+ --color-product-broadcasts-light: rgb(14 165 233);
+ --color-product-broadcasts-dark: rgb(56 189 248);
+ --color-product-code-review-light: rgb(22 163 74);
+ --color-product-code-review-dark: rgb(74 222 128);
+ --color-product-engineering-analytics-light: rgb(234 88 12);
+ --color-product-engineering-analytics-dark: rgb(251 146 60);
+ --color-product-identity-matching-light: rgb(13 148 136);
+ --color-product-identity-matching-dark: rgb(45 212 191);
+ --color-product-managed-viewsets-light: rgb(202 138 4);
+ --color-product-managed-viewsets-dark: rgb(250 204 21);
+ --color-product-live-debugger-dark: rgb(139 92 246);
// Generic brand color assignments
// Change these to change the brand colors
diff --git a/frontend/src/types.ts b/frontend/src/types.ts
index e57012a690ef..8a6fdb8d36d7 100644
--- a/frontend/src/types.ts
+++ b/frontend/src/types.ts
@@ -1146,10 +1146,11 @@ export enum ExperimentsTabs {
Settings = 'settings',
}
+// Values are URL path segments under /activity; `redirects` in scenes.ts keeps old ones working.
export enum ActivityTab {
- ExploreEvents = 'explore',
- ExploreSessions = 'sessions',
+ ExploreEvents = 'events',
LiveEvents = 'live',
+ ExploreSessions = 'sessions',
}
export enum ProgressStatus {
diff --git a/playwright/e2e/auth.spec.ts b/playwright/e2e/auth.spec.ts
index aac5d3d819ff..220523c59a30 100644
--- a/playwright/e2e/auth.spec.ts
+++ b/playwright/e2e/auth.spec.ts
@@ -104,7 +104,7 @@ test.describe('Auth', () => {
test('Redirect to appropriate place after login', async ({ page, context }) => {
await context.clearCookies()
- await page.goto('/activity/explore', { waitUntil: 'commit' })
+ await page.goto('/activity/events', { waitUntil: 'commit' })
await expect(page).toHaveURL(/\/login/)
await loginPage.enterUsername(LOGIN_USERNAME)
@@ -114,7 +114,7 @@ test.describe('Auth', () => {
await loginPage.enterPassword(LOGIN_PASSWORD)
await loginPage.clickLogin()
- await expect(page).toHaveURL(/\/activity\/explore/)
+ await expect(page).toHaveURL(/\/activity\/events/)
})
test('Redirect to appropriate place after login with complex URL', async ({ page, context }) => {
diff --git a/playwright/e2e/product-analytics/insights/persons-modal.spec.ts b/playwright/e2e/product-analytics/insights/persons-modal.spec.ts
index 555f53db080c..9ad6df0d36ed 100644
--- a/playwright/e2e/product-analytics/insights/persons-modal.spec.ts
+++ b/playwright/e2e/product-analytics/insights/persons-modal.spec.ts
@@ -39,7 +39,7 @@ test.describe('Persons modal', () => {
const popupPromise = page.context().waitForEvent('page')
await insight.personsModalViewEventsButton.click()
const eventsTab = await popupPromise
- await expect(eventsTab).toHaveURL(/\/activity\/explore/)
+ await expect(eventsTab).toHaveURL(/\/activity\/events/)
})
})
})
diff --git a/posthog/schema_enums.py b/posthog/schema_enums.py
index a980c5ca99ff..1cea527ec696 100644
--- a/posthog/schema_enums.py
+++ b/posthog/schema_enums.py
@@ -1369,6 +1369,7 @@ class FileSystemIconType(StrEnum):
REVENUE_ANALYTICS_METADATA = "revenue_analytics_metadata"
MARKETING_SETTINGS = "marketing_settings"
MARKETING_ANALYTICS = "marketing_analytics"
+ CUSTOMER_ANALYTICS = "customer_analytics"
MANAGED_VIEWSETS = "managed_viewsets"
ENDPOINTS = "endpoints"
SQL_EDITOR = "sql_editor"
@@ -1385,6 +1386,7 @@ class FileSystemIconType(StrEnum):
EXPERIMENT = "experiment"
FEATURE_FLAG = "feature_flag"
FEATURE_FLAG_OFF = "feature_flag_off"
+ DATA_MODELING = "data_modeling"
DATA_PIPELINE = "data_pipeline"
DATA_PIPELINE_METADATA = "data_pipeline_metadata"
DATA_WAREHOUSE = "data_warehouse"
@@ -1442,6 +1444,24 @@ class FileSystemIconType(StrEnum):
LLM_CLUSTERS = "llm_clusters"
MCP_ANALYTICS = "mcp_analytics"
EXPORTS = "exports"
+ PULSE = "pulse"
+ SKILL = "skill"
+ WIZARD = "wizard"
+ DATA_CATALOG = "data_catalog"
+ WAREHOUSE_DESTINATION = "warehouse_destination"
+ WAREHOUSE_PROPERTY = "warehouse_property"
+ DATA_SOURCE = "data_source"
+ DATA_DESTINATION = "data_destination"
+ DATA_TRANSFORMATION = "data_transformation"
+ EVENT_FILTER = "event_filter"
+ MANAGED_MIGRATION = "managed_migration"
+ WEB_SCRIPT = "web_script"
+ CORE_EVENT = "core_event"
+ PROPERTY_GROUP = "property_group"
+ MCP_SERVER = "mcp_server"
+ STREAMLIT_APP = "streamlit_app"
+ SQL_VARIABLE = "sql_variable"
+ BUSINESS_KNOWLEDGE = "business_knowledge"
class FilterLogicalOperator(StrEnum):
@@ -2397,15 +2417,14 @@ class ProductIntentContext(StrEnum):
class ProductItemCategory(StrEnum):
ANALYTICS = "Analytics"
+ DATA = "Data"
AI_ENGINEERING = "AI engineering"
- BEHAVIOR = "Behavior"
+ PRODUCT_ENGINEERING = "Product engineering"
MESSAGING = "Messaging"
- APP_MONITORING = "App monitoring"
- FEATURES = "Features"
+ MONITORING = "Monitoring"
TOOLS = "Tools"
SCHEMA = "Schema"
- PIPELINE = "Pipeline"
- METADATA = "Metadata"
+ CDP = "CDP"
UNRELEASED = "Unreleased"
diff --git a/posthog/test/test_products.py b/posthog/test/test_products.py
index 39bc836e2a7f..b0fe54358b70 100644
--- a/posthog/test/test_products.py
+++ b/posthog/test/test_products.py
@@ -37,11 +37,12 @@ class TestProducts(BaseTest):
expected_categories = {
"Analytics",
+ "Data",
"AI engineering",
- "Behavior",
+ "Product engineering",
"Messaging",
- "App monitoring",
- "Features",
+ "Monitoring",
+ "Schema",
"Tools",
"Unreleased",
}
diff --git a/posthog/test/test_team.py b/posthog/test/test_team.py
index ee5a1365439e..9cacec1a065c 100644
--- a/posthog/test/test_team.py
+++ b/posthog/test/test_team.py
@@ -348,4 +348,4 @@ class TestTeam(BaseTest):
).select_related("button_tile")
assert button_tiles.count() == 3
urls = {tile.button_tile.url for tile in button_tiles if tile.button_tile is not None}
- assert urls == {"/replay/home", "/web", "/activity/explore"}
+ assert urls == {"/replay/home", "/web", "/activity/events"}
diff --git a/products/ai_gateway/manifest.tsx b/products/ai_gateway/manifest.tsx
index 16cadbc477db..3205afd8506f 100644
--- a/products/ai_gateway/manifest.tsx
+++ b/products/ai_gateway/manifest.tsx
@@ -2,7 +2,7 @@ import { FEATURE_FLAGS } from 'lib/constants'
import { urls } from 'scenes/urls'
import { FileSystemIconType, ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
-import { FileSystemIconColor, ProductManifest } from '~/types'
+import { ProductManifest } from '~/types'
export const manifest: ProductManifest = {
name: 'AI gateway',
@@ -32,10 +32,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.AI_ENGINEERING,
type: 'ai_gateway',
iconType: 'ai_gateway' as FileSystemIconType,
- iconColor: [
- 'var(--color-product-ai-gateway-light)',
- 'var(--color-product-ai-gateway-dark)',
- ] as FileSystemIconColor,
+ iconColor: ['var(--color-product-ai-gateway-light)', 'var(--color-product-ai-gateway-dark)'],
href: urls.aiGateway(),
flag: FEATURE_FLAGS.AI_GATEWAY,
tags: ['alpha'],
diff --git a/products/ai_observability/manifest.tsx b/products/ai_observability/manifest.tsx
index db21b284c8a5..e5ad26eb9091 100644
--- a/products/ai_observability/manifest.tsx
+++ b/products/ai_observability/manifest.tsx
@@ -404,7 +404,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_playground',
iconType: 'llm_playground' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-playground-light)', 'var(--color-product-llm-playground-dark)'],
href: urls.aiObservabilityPlayground(),
sceneKey: 'AIObservabilityPlayground',
},
@@ -414,7 +414,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_clusters',
iconType: 'llm_clusters' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-clusters-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-clusters-light)', 'var(--color-product-llm-clusters-dark)'],
href: urls.aiObservabilityClusters(),
sceneKey: 'AIObservabilityClusters',
},
@@ -424,7 +424,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_datasets',
iconType: 'llm_datasets' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-datasets-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-datasets-light)', 'var(--color-product-llm-datasets-dark)'],
href: urls.aiObservabilityDatasets(),
flag: FEATURE_FLAGS.LLM_ANALYTICS_DATASETS,
tags: ['beta'],
@@ -436,7 +436,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_evaluations',
iconType: 'llm_evaluations' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-evaluations-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-evaluations-light)', 'var(--color-product-llm-evaluations-dark)'],
href: urls.aiObservabilityEvaluations(),
sceneKey: 'AIObservabilityEvaluations',
},
@@ -446,7 +446,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_tags',
iconType: 'llm_tags' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-tags-light)', 'var(--color-product-llm-tags-dark)'],
href: urls.aiObservabilityTags(),
flag: FEATURE_FLAGS.LLM_ANALYTICS_TAGS,
tags: ['alpha'],
@@ -458,7 +458,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.AI_ENGINEERING,
type: 'llm_prompts',
iconType: 'llm_prompts' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-llm-prompts-light)', 'var(--color-product-llm-prompts-dark)'],
href: urls.aiObservabilityPrompts(),
sceneKey: 'AIObservabilityPrompts',
},
diff --git a/products/business_knowledge/manifest.tsx b/products/business_knowledge/manifest.tsx
index eeda35be1f1a..53687feda872 100644
--- a/products/business_knowledge/manifest.tsx
+++ b/products/business_knowledge/manifest.tsx
@@ -8,7 +8,7 @@ import { urls } from 'scenes/urls'
import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
-import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'
+import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'BusinessKnowledge',
@@ -54,11 +54,14 @@ export const manifest: ProductManifest = {
{
path: 'Business knowledge',
intents: [ProductKey.CONVERSATIONS],
- category: ProductItemCategory.AI_ENGINEERING,
+ category: ProductItemCategory.DATA,
href: urls.businessKnowledge(),
tags: ['alpha'],
- iconType: 'conversations',
- iconColor: ['var(--color-product-support-light)'] as FileSystemIconColor,
+ iconType: 'business_knowledge',
+ iconColor: [
+ 'var(--color-product-business-knowledge-light)',
+ 'var(--color-product-business-knowledge-dark)',
+ ],
flag: FEATURE_FLAGS.PRODUCT_BUSINESS_KNOWLEDGE,
sceneKey: 'BusinessKnowledge',
},
diff --git a/products/cdp/manifest.tsx b/products/cdp/manifest.tsx
index 30b84915e2d8..dbff53688530 100644
--- a/products/cdp/manifest.tsx
+++ b/products/cdp/manifest.tsx
@@ -67,8 +67,8 @@ export const manifest: ProductManifest = {
intents: [ProductKey.SITE_APPS],
category: ProductItemCategory.TOOLS,
type: 'hog_function',
- iconType: 'data_pipeline',
- iconColor: ['var(--color-product-data-pipeline-light)', 'var(--color-product-data-pipeline-dark)'],
+ iconType: 'web_script',
+ iconColor: ['var(--color-product-web-scripts-light)', 'var(--color-product-web-scripts-dark)'],
href: urls.webScripts(),
sceneKey: 'WebScripts',
sceneKeys: ['WebScripts'],
@@ -77,38 +77,33 @@ export const manifest: ProductManifest = {
treeItemsMetadata: [
{
path: `Transformations`,
- category: 'Pipeline',
+ category: 'CDP',
type: 'hog_function/transformation',
- iconType: 'data_pipeline_metadata',
+ iconType: 'data_transformation',
+ iconColor: ['var(--color-product-transformations-light)', 'var(--color-product-transformations-dark)'],
href: urls.transformations(),
sceneKey: 'Transformations',
sceneKeys: ['Transformations'],
},
{
path: 'Event ingestion filtering',
- category: 'Pipeline',
+ category: 'CDP',
type: 'event_filter',
- iconType: 'data_pipeline_metadata',
+ iconType: 'event_filter',
+ iconColor: ['var(--color-product-event-filtering-light)', 'var(--color-product-event-filtering-dark)'],
href: urls.eventFiltering(),
sceneKey: 'EventFiltering',
sceneKeys: ['EventFiltering'],
},
{
path: `Destinations`,
- category: 'Pipeline',
+ category: 'CDP',
type: 'hog_function/destination',
- iconType: 'data_pipeline_metadata',
+ iconType: 'data_destination',
+ iconColor: ['var(--color-product-destinations-light)', 'var(--color-product-destinations-dark)'],
href: urls.destinations(),
sceneKey: 'Destinations',
sceneKeys: ['Destinations'],
},
- {
- path: 'Event ingestion warnings',
- category: 'Pipeline',
- iconType: 'ingestion_warning',
- href: urls.ingestionWarnings(),
- sceneKey: 'IngestionWarnings',
- sceneKeys: ['IngestionWarnings'],
- },
],
}
diff --git a/products/conversations/manifest.tsx b/products/conversations/manifest.tsx
index ff0eda3558f6..a043fc15c4c7 100644
--- a/products/conversations/manifest.tsx
+++ b/products/conversations/manifest.tsx
@@ -61,7 +61,7 @@ export const manifest: ProductManifest = {
{
path: 'Support',
intents: [ProductKey.CONVERSATIONS],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.MONITORING,
href: urls.supportTickets(),
type: 'conversations',
iconType: 'conversations',
diff --git a/products/core_events/manifest.tsx b/products/core_events/manifest.tsx
index 6e3b4ca13e84..62982711032c 100644
--- a/products/core_events/manifest.tsx
+++ b/products/core_events/manifest.tsx
@@ -1,7 +1,6 @@
import { FEATURE_FLAGS } from 'lib/constants'
import { urls } from 'scenes/urls'
-import { FileSystemIconType } from '~/queries/schema/schema-general'
import { ProductManifest } from '~/types'
export const manifest: ProductManifest = {
@@ -10,7 +9,8 @@ export const manifest: ProductManifest = {
{
path: 'Core events',
category: 'Schema',
- iconType: 'event_definition' as FileSystemIconType,
+ iconType: 'core_event',
+ iconColor: ['var(--color-product-core-events-light)', 'var(--color-product-core-events-dark)'],
href: urls.coreEvents(),
flag: FEATURE_FLAGS.NEW_TEAM_CORE_EVENTS,
},
diff --git a/products/customer_analytics/frontend/scenes/WarehousePropertiesScene/WarehousePropertiesScene.tsx b/products/customer_analytics/frontend/scenes/WarehousePropertiesScene/WarehousePropertiesScene.tsx
index 3eb2b70cdacd..dc27431a69c0 100644
--- a/products/customer_analytics/frontend/scenes/WarehousePropertiesScene/WarehousePropertiesScene.tsx
+++ b/products/customer_analytics/frontend/scenes/WarehousePropertiesScene/WarehousePropertiesScene.tsx
@@ -5,6 +5,7 @@ import { FEATURE_FLAGS } from 'lib/constants'
import { groupsAccessLogic } from 'lib/introductions/groupsAccessLogic'
import { LemonTab, LemonTabs } from 'lib/lemon-ui/LemonTabs'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
+import { DefinitionsSceneTabs } from 'scenes/data-management/DefinitionsSceneTabs'
import { SceneExport } from 'scenes/sceneTypes'
import { SceneContent } from '~/layout/scenes/components/SceneContent'
@@ -51,6 +52,7 @@ export function WarehousePropertiesScene(): JSX.Element {
return (
<SceneContent>
+ <DefinitionsSceneTabs activeKey="warehouse-properties" />
<SceneTitleSection
name="Warehouse properties"
description="Add properties to your people and groups from a data warehouse table. Each row is matched by a key column, then the mapped columns stay up to date on every sync."
diff --git a/products/customer_analytics/manifest.tsx b/products/customer_analytics/manifest.tsx
index 2861be8e95d2..e6bcafad22b3 100644
--- a/products/customer_analytics/manifest.tsx
+++ b/products/customer_analytics/manifest.tsx
@@ -125,8 +125,8 @@ export const manifest: ProductManifest = {
{
path: 'Customer analytics',
intents: [ProductKey.CUSTOMER_ANALYTICS],
- category: ProductItemCategory.ANALYTICS,
- iconType: 'cohort',
+ category: ProductItemCategory.DATA,
+ iconType: 'customer_analytics',
iconColor: [
'var(--color-product-customer-analytics-light)',
'var(--color-product-customer-analytics-dark)',
@@ -149,7 +149,11 @@ export const manifest: ProductManifest = {
{
path: 'Warehouse properties',
category: 'Schema',
- iconType: 'data_warehouse',
+ iconType: 'warehouse_property',
+ iconColor: [
+ 'var(--color-product-warehouse-properties-light)',
+ 'var(--color-product-warehouse-properties-dark)',
+ ],
href: urls.warehouseProperties(),
flag: FEATURE_FLAGS.WAREHOUSE_PERSON_PROPERTIES,
sceneKey: 'WarehouseProperties',
diff --git a/products/dashboards/backend/models/dashboard_templates.py b/products/dashboards/backend/models/dashboard_templates.py
index 2b8feffa87ae..81f10d22b058 100644
--- a/products/dashboards/backend/models/dashboard_templates.py
+++ b/products/dashboards/backend/models/dashboard_templates.py
@@ -491,7 +491,7 @@ class DashboardTemplate(UUIDTModel, RootTeamMixin):
"type": "BUTTON",
"color": None,
"transparent_background": True,
- "url": "/activity/explore",
+ "url": "/activity/events",
"text": "Browse activity",
"placement": "left",
"style": "secondary",
diff --git a/products/dashboards/backend/widgets/activity_events_list.py b/products/dashboards/backend/widgets/activity_events_list.py
index d4d2305dad5e..8aba0714cb70 100644
--- a/products/dashboards/backend/widgets/activity_events_list.py
+++ b/products/dashboards/backend/widgets/activity_events_list.py
@@ -24,7 +24,7 @@ ValidatedActivityEventsListWidgetConfig = dict[str, Any]
DEFAULT_ACTIVITY_EVENTS_DATE_FROM = "-24h"
-# Mirrors the /activity/explore DataTable's key columns; `person_display_name` keeps the
+# Mirrors the /activity/events DataTable's key columns; `person_display_name` keeps the
# query on ClickHouse (no per-row person lookup in Postgres, unlike the `person` column).
ACTIVITY_EVENTS_WIDGET_SELECT = [
"uuid",
diff --git a/products/data_catalog/manifest.tsx b/products/data_catalog/manifest.tsx
index 290428ad28f5..58ebd9bd0162 100644
--- a/products/data_catalog/manifest.tsx
+++ b/products/data_catalog/manifest.tsx
@@ -37,8 +37,9 @@ export const manifest: ProductManifest = {
{
path: 'Data catalog',
intents: [ProductKey.DATA_CATALOG],
- category: ProductItemCategory.ANALYTICS,
- iconType: 'data_warehouse',
+ category: ProductItemCategory.DATA,
+ iconType: 'data_catalog',
+ iconColor: ['var(--color-product-data-catalog-light)', 'var(--color-product-data-catalog-dark)'],
href: urls.dataCatalog(),
tags: ['beta'],
sceneKey: 'DataCatalog',
diff --git a/products/data_modeling/manifest.tsx b/products/data_modeling/manifest.tsx
index 00b1092177e0..82a9ae70bc55 100644
--- a/products/data_modeling/manifest.tsx
+++ b/products/data_modeling/manifest.tsx
@@ -13,7 +13,7 @@ export const manifest: ProductManifest = {
import: () => import('./frontend/ModelsScene'),
projectBased: true,
description: 'Create and manage views and materialized views for transforming and organizing your data.',
- iconType: 'sql_editor',
+ iconType: 'data_modeling',
},
NodeDetail: {
name: 'Model detail',
@@ -33,10 +33,10 @@ export const manifest: ProductManifest = {
treeItemsMetadata: [
{
path: 'Models',
- category: 'Tools',
+ category: 'Data',
type: 'sql',
- iconType: 'sql_editor',
- iconColor: ['var(--color-product-data-warehouse-light)'],
+ iconType: 'data_modeling',
+ iconColor: ['var(--color-product-models-light)', 'var(--color-product-models-dark)'],
href: urls.models(),
sceneKey: 'Models',
sceneKeys: ['Models'],
diff --git a/products/data_warehouse/manifest.tsx b/products/data_warehouse/manifest.tsx
index 9b73bd479a29..4afd8623fb48 100644
--- a/products/data_warehouse/manifest.tsx
+++ b/products/data_warehouse/manifest.tsx
@@ -149,7 +149,7 @@ export const manifest: ProductManifest = {
{
path: 'SQL editor',
intents: [ProductKey.DATA_WAREHOUSE_SAVED_QUERY, ProductKey.DATA_WAREHOUSE],
- category: ProductItemCategory.ANALYTICS,
+ category: ProductItemCategory.DATA,
type: 'sql',
iconType: 'sql_editor',
iconColor: ['var(--color-product-data-warehouse-light)'],
@@ -186,17 +186,22 @@ export const manifest: ProductManifest = {
treeItemsMetadata: [
{
path: `Sources`,
- category: 'Pipeline',
+ category: 'CDP',
type: 'hog_function/source',
- iconType: 'data_pipeline_metadata',
+ iconType: 'data_source',
+ iconColor: ['var(--color-product-sources-light)', 'var(--color-product-sources-dark)'],
href: urls.sources(),
sceneKey: 'Sources',
sceneKeys: ['Sources'],
},
{
path: 'Warehouse destinations',
- category: 'Pipeline',
- iconType: 'data_warehouse',
+ category: 'CDP',
+ iconType: 'warehouse_destination',
+ iconColor: [
+ 'var(--color-product-warehouse-destinations-light)',
+ 'var(--color-product-warehouse-destinations-dark)',
+ ],
href: urls.warehouseDestinations(),
flag: FEATURE_FLAGS.WAREHOUSE_MULTI_DESTINATION,
sceneKey: 'WarehouseDestinations',
@@ -206,6 +211,7 @@ export const manifest: ProductManifest = {
path: 'Managed viewsets',
category: 'Unreleased',
iconType: 'managed_viewsets',
+ iconColor: ['var(--color-product-managed-viewsets-light)', 'var(--color-product-managed-viewsets-dark)'],
href: urls.dataWarehouseManagedViewsets(),
flag: FEATURE_FLAGS.MANAGED_VIEWSETS,
// Covers the data modeling scene keys too, so these rows stay highlighted on /models.
diff --git a/products/early_access_features/manifest.tsx b/products/early_access_features/manifest.tsx
index 9f43c3d0e07c..c45b4d35ec16 100644
--- a/products/early_access_features/manifest.tsx
+++ b/products/early_access_features/manifest.tsx
@@ -62,7 +62,7 @@ export const manifest: ProductManifest = {
{
path: 'Early access features',
intents: [ProductKey.EARLY_ACCESS_FEATURES],
- category: ProductItemCategory.FEATURES,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'early_access_feature',
href: urls.earlyAccessFeatures(),
iconType: 'early_access_feature' as FileSystemIconType,
diff --git a/products/endpoints/manifest.tsx b/products/endpoints/manifest.tsx
index 72f61a8b1d1a..de1cab237ad2 100644
--- a/products/endpoints/manifest.tsx
+++ b/products/endpoints/manifest.tsx
@@ -85,7 +85,7 @@ export const manifest: ProductManifest = {
{
path: 'Endpoints',
intents: [ProductKey.ENDPOINTS],
- category: ProductItemCategory.TOOLS,
+ category: ProductItemCategory.DATA,
href: urls.endpoints(),
type: 'endpoints',
iconType: 'endpoints',
@@ -99,7 +99,7 @@ export const manifest: ProductManifest = {
treeItemsMetadata: [
{
path: 'Endpoints',
- category: 'Tools',
+ category: 'Data',
iconType: 'endpoints' as FileSystemIconType,
iconColor: [
'var(--color-product-endpoints-light)',
diff --git a/products/engineering_analytics/manifest.tsx b/products/engineering_analytics/manifest.tsx
index d1c2fe9eb2cd..9a92827914b6 100644
--- a/products/engineering_analytics/manifest.tsx
+++ b/products/engineering_analytics/manifest.tsx
@@ -6,7 +6,7 @@ import { urls } from 'scenes/urls'
import { FileSystemIconType, ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
-import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'
+import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'EngineeringAnalytics',
@@ -124,7 +124,10 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.UNRELEASED,
type: 'engineering_analytics',
iconType: 'health' as FileSystemIconType,
- iconColor: ['var(--color-product-data-warehouse-light)'] as FileSystemIconColor,
+ iconColor: [
+ 'var(--color-product-engineering-analytics-light)',
+ 'var(--color-product-engineering-analytics-dark)',
+ ],
href: urls.engineeringAnalytics(),
flag: FEATURE_FLAGS.ENGINEERING_ANALYTICS,
tags: ['alpha'],
diff --git a/products/error_tracking/backend/weekly_digest.py b/products/error_tracking/backend/weekly_digest.py
index 63b332f9775b..d747421dd06d 100644
--- a/products/error_tracking/backend/weekly_digest.py
+++ b/products/error_tracking/backend/weekly_digest.py
@@ -479,7 +479,7 @@ def build_team_digest_data(
def build_ingestion_failures_url(team_id: int) -> str:
return (
- f"{settings.SITE_URL}/project/{team_id}/activity/explore#q="
+ f"{settings.SITE_URL}/project/{team_id}/activity/events#q="
"%7B%22kind%22%3A%22DataTableNode%22%2C%22full%22%3Atrue%2C%22source%22%3A%7B%22kind%22%3A%22EventsQuery%22%2C"
"%22select%22%3A%5B%22*%22%2C%22event%22%2C%22person_display_name%20--%20Person%22%2C"
"%22coalesce(properties.%24current_url%2C%20properties.%24screen_name)%20--%20Url%20%2F%20Screen%22%2C"
diff --git a/products/error_tracking/manifest.tsx b/products/error_tracking/manifest.tsx
index 6e77db8ffef2..f350e5e1af80 100644
--- a/products/error_tracking/manifest.tsx
+++ b/products/error_tracking/manifest.tsx
@@ -98,7 +98,7 @@ export const manifest: ProductManifest = {
{
path: 'Error tracking',
intents: [ProductKey.ERROR_TRACKING],
- category: ProductItemCategory.APP_MONITORING,
+ category: ProductItemCategory.MONITORING,
type: 'error_tracking',
iconType: 'error_tracking' as FileSystemIconType,
iconColor: [
diff --git a/products/experiments/manifest.tsx b/products/experiments/manifest.tsx
index c433040a0fce..c0b5c345ed9a 100644
--- a/products/experiments/manifest.tsx
+++ b/products/experiments/manifest.tsx
@@ -61,7 +61,7 @@ export const manifest: ProductManifest = {
{
path: `Experiments`,
intents: [ProductKey.EXPERIMENTS],
- category: ProductItemCategory.FEATURES,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'experiment',
href: urls.experiments(),
iconType: 'experiment',
diff --git a/products/feature_flags/manifest.tsx b/products/feature_flags/manifest.tsx
index c82dfe0c439a..a500e1312da0 100644
--- a/products/feature_flags/manifest.tsx
+++ b/products/feature_flags/manifest.tsx
@@ -79,7 +79,7 @@ export const manifest: ProductManifest = {
{
path: `Feature flags`,
intents: [ProductKey.FEATURE_FLAGS, ProductKey.EXPERIMENTS, ProductKey.EARLY_ACCESS_FEATURES],
- category: ProductItemCategory.FEATURES,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'feature_flag',
href: urls.featureFlags(),
sceneKey: 'FeatureFlags',
diff --git a/products/groups/frontend/pages/Groups.tsx b/products/groups/frontend/pages/Groups.tsx
index d1c3806a0819..4f79fe5fc110 100644
--- a/products/groups/frontend/pages/Groups.tsx
+++ b/products/groups/frontend/pages/Groups.tsx
@@ -8,7 +8,7 @@ import { groupsAccessLogic } from 'lib/introductions/groupsAccessLogic'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { Link } from 'lib/lemon-ui/Link'
import { capitalizeFirstLetter } from 'lib/utils/strings'
-import { PersonsManagementSceneTabs } from 'scenes/persons-management/PersonsManagementSceneTabs'
+import { ActivitySceneTabs } from 'scenes/activity/ActivitySceneTabs'
import { SceneExport } from 'scenes/sceneTypes'
import { teamLogic } from 'scenes/teamLogic'
import { urls } from 'scenes/urls'
@@ -51,7 +51,7 @@ export function GroupsScene(): JSX.Element {
if (shouldShowGroupsIntroduction) {
return (
<SceneContent>
- <PersonsManagementSceneTabs tabKey={`groups-${groupTypeIndex}`} />
+ <ActivitySceneTabs activeKey={`groups-${groupTypeIndex}`} />
<SceneTitleSection
name="Groups"
description="Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more."
@@ -73,7 +73,7 @@ export function GroupsScene(): JSX.Element {
return (
<SceneContent>
- <PersonsManagementSceneTabs tabKey={`groups-${groupTypeIndex}`} />
+ <ActivitySceneTabs activeKey={`groups-${groupTypeIndex}`} />
<SceneTitleSection
name={capitalizeFirstLetter(groupTypeNamePlural)}
diff --git a/products/growth/backend/sdk_health.py b/products/growth/backend/sdk_health.py
index 40437ab4a845..5508a4af19ef 100644
--- a/products/growth/backend/sdk_health.py
+++ b/products/growth/backend/sdk_health.py
@@ -492,7 +492,7 @@ def _build_activity_page_url(project_id: Optional[int], sdk_type: str, version:
# these four characters but DOES encode everything else (including space, `/`, `?`, `#`).
encoded_q = quote(json_dumps(query, separators=(",", ":")), safe="!*'()")
prefix = f"/project/{project_id}" if project_id is not None else ""
- return f"{prefix}/activity/explore#q={encoded_q}"
+ return f"{prefix}/activity/events#q={encoded_q}"
def _build_banner(sdk_type: str, alert: OutdatedTrafficAlert) -> str:
diff --git a/products/growth/backend/tests/test_sdk_health.py b/products/growth/backend/tests/test_sdk_health.py
index 52bb9632c312..deeb659a995c 100644
--- a/products/growth/backend/tests/test_sdk_health.py
+++ b/products/growth/backend/tests/test_sdk_health.py
@@ -537,7 +537,7 @@ class TestComputeSdkHealth(SimpleTestCase):
assert release.is_outdated is True
assert "properties.$lib = 'posthog-java'" in release.sql_query
assert "$lib_version" not in release.sql_query
- assert release.activity_page_url.startswith("/project/7/activity/explore#q=")
+ assert release.activity_page_url.startswith("/project/7/activity/events#q=")
def test_danger_when_half_or_more_outdated(self):
# 2 of 3 outdated — triggers danger
@@ -641,7 +641,7 @@ class TestUiParityStrings(SimpleTestCase):
def test_activity_page_url_contains_project_prefix_and_version(self):
url = _build_activity_page_url(2, "web", "1.298.0")
# kea-router reads DataTableNode state from the hash, not the query string
- assert url.startswith("/project/2/activity/explore#q=")
+ assert url.startswith("/project/2/activity/events#q=")
# URL-encoded JSON payload should contain our lib/version filters
assert "%22web%22" in url # "web" encoded
assert "1.298.0" in url
@@ -654,7 +654,7 @@ class TestUiParityStrings(SimpleTestCase):
def test_activity_page_url_without_project(self):
url = _build_activity_page_url(None, "web", "1.0.0")
- assert url.startswith("/activity/explore#q=")
+ assert url.startswith("/activity/events#q=")
def test_banner_matches_ui_copy(self):
banner = _build_banner("posthog-python", OutdatedTrafficAlert(version="7.0.0", threshold_percent=10.0))
@@ -830,7 +830,7 @@ class TestAssessReleasePopulatesUiFields(SimpleTestCase):
assert result.released_ago is not None
assert "Upgrade recommended" in result.status_reason
assert "posthog-node" in result.sql_query
- assert result.activity_page_url.startswith("/project/7/activity/explore#q=")
+ assert result.activity_page_url.startswith("/project/7/activity/events#q=")
def test_current_release_has_you_have_latest_tooltip(self):
entry = _entry("1.5.0", 100, days_ago=5, is_latest=True)
diff --git a/products/growth/manifest.tsx b/products/growth/manifest.tsx
index b148db747b14..97786db93d21 100644
--- a/products/growth/manifest.tsx
+++ b/products/growth/manifest.tsx
@@ -41,6 +41,7 @@ export const manifest: ProductManifest = {
flag: FEATURE_FLAGS.IDENTITY_MATCHING,
tags: ['alpha'],
iconType: 'persons',
+ iconColor: ['var(--color-product-identity-matching-light)', 'var(--color-product-identity-matching-dark)'],
sceneKey: 'IdentityMatching',
},
],
diff --git a/products/live_debugger/manifest.tsx b/products/live_debugger/manifest.tsx
index 8a48be87aa45..03491d1f46d3 100644
--- a/products/live_debugger/manifest.tsx
+++ b/products/live_debugger/manifest.tsx
@@ -3,7 +3,7 @@ import { urls } from 'scenes/urls'
import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
-import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'
+import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'Live Debugger',
@@ -45,7 +45,7 @@ export const manifest: ProductManifest = {
flag: FEATURE_FLAGS.LIVE_DEBUGGER,
iconType: 'live_debugger',
tags: ['alpha'],
- iconColor: ['var(--color-product-live-debugger-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-live-debugger-light)', 'var(--color-product-live-debugger-dark)'],
},
],
}
diff --git a/products/logs/manifest.tsx b/products/logs/manifest.tsx
index 9aced20244a7..714498e889cd 100644
--- a/products/logs/manifest.tsx
+++ b/products/logs/manifest.tsx
@@ -94,7 +94,7 @@ export const manifest: ProductManifest = {
{
path: 'Logs',
intents: [ProductKey.LOGS],
- category: ProductItemCategory.APP_MONITORING,
+ category: ProductItemCategory.MONITORING,
iconType: 'logs' as FileSystemIconType,
iconColor: ['var(--color-product-logs-light)', 'var(--color-product-logs-dark)'] as FileSystemIconColor,
href: urls.logs(),
diff --git a/products/managed_migrations/manifest.tsx b/products/managed_migrations/manifest.tsx
index 9246242a9d58..2d982e079e7e 100644
--- a/products/managed_migrations/manifest.tsx
+++ b/products/managed_migrations/manifest.tsx
@@ -30,8 +30,12 @@ export const manifest: ProductManifest = {
treeItemsMetadata: [
{
path: 'Managed migrations',
- category: 'Pipeline',
- iconType: 'data_pipeline_metadata',
+ category: 'CDP',
+ iconType: 'managed_migration',
+ iconColor: [
+ 'var(--color-product-managed-migrations-light)',
+ 'var(--color-product-managed-migrations-dark)',
+ ],
href: urls.managedMigration(),
sceneKey: 'ManagedMigration',
sceneKeys: ['ManagedMigration', 'ManagedMigrationNew'],
diff --git a/products/marketing_analytics/manifest.tsx b/products/marketing_analytics/manifest.tsx
index 48d11945de96..333ff9afbe2d 100644
--- a/products/marketing_analytics/manifest.tsx
+++ b/products/marketing_analytics/manifest.tsx
@@ -14,7 +14,7 @@ export const manifest: ProductManifest = {
{
path: 'Marketing analytics',
intents: [ProductKey.MARKETING_ANALYTICS],
- category: ProductItemCategory.ANALYTICS,
+ category: ProductItemCategory.DATA,
href: urls.marketingAnalyticsApp(),
iconType: 'marketing_analytics' as FileSystemIconType,
iconColor: ['var(--color-product-marketing-analytics-light)'] as FileSystemIconColor,
diff --git a/products/mcp_analytics/manifest.tsx b/products/mcp_analytics/manifest.tsx
index e5271d04e7ee..620126aee7be 100644
--- a/products/mcp_analytics/manifest.tsx
+++ b/products/mcp_analytics/manifest.tsx
@@ -9,7 +9,6 @@ import { urls } from 'scenes/urls'
import { FileSystemIconType, ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
-import { FileSystemIconColor } from '../../frontend/src/types'
import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
@@ -77,10 +76,7 @@ export const manifest: ProductManifest = {
visualOrder: 2,
type: 'mcp_analytics',
iconType: 'mcp_analytics' as FileSystemIconType,
- iconColor: [
- 'var(--color-product-mcp-analytics-light)',
- 'var(--color-product-mcp-analytics-dark)',
- ] as FileSystemIconColor,
+ iconColor: ['var(--color-product-mcp-analytics-light)', 'var(--color-product-mcp-analytics-dark)'],
href: urls.mcpAnalytics(),
tags: ['beta'],
sceneKey: 'MCPAnalytics',
diff --git a/products/mcp_store/manifest.tsx b/products/mcp_store/manifest.tsx
index 69b08d47f64a..bd5cd55f6f04 100644
--- a/products/mcp_store/manifest.tsx
+++ b/products/mcp_store/manifest.tsx
@@ -56,9 +56,10 @@ export const manifest: ProductManifest = {
{
path: 'MCP servers',
intents: [],
- category: ProductItemCategory.AI_ENGINEERING,
+ category: ProductItemCategory.SCHEMA,
href: urls.mcpGateway(),
- iconType: 'tools',
+ iconType: 'mcp_server',
+ iconColor: ['var(--color-product-mcp-servers-light)', 'var(--color-product-mcp-servers-dark)'],
flag: FEATURE_FLAGS.MCP_GATEWAY,
tags: ['alpha'],
sceneKey: 'McpGateway',
diff --git a/products/metrics/manifest.tsx b/products/metrics/manifest.tsx
index 05d785bf95a6..61f57ed41a87 100644
--- a/products/metrics/manifest.tsx
+++ b/products/metrics/manifest.tsx
@@ -30,7 +30,7 @@ export const manifest: ProductManifest = {
{
path: 'Metrics',
intents: [ProductKey.METRICS],
- category: ProductItemCategory.APP_MONITORING,
+ category: ProductItemCategory.MONITORING,
iconType: 'metrics',
iconColor: [
'var(--color-product-metrics-light)',
diff --git a/products/persons/frontend/pages/PersonsScene.tsx b/products/persons/frontend/pages/PersonsScene.tsx
index a7ae9aa555d4..3a42761439de 100644
--- a/products/persons/frontend/pages/PersonsScene.tsx
+++ b/products/persons/frontend/pages/PersonsScene.tsx
@@ -10,7 +10,7 @@ import { LemonField } from 'lib/lemon-ui/LemonField'
import { Link } from 'lib/lemon-ui/Link'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { isUUIDLike } from 'lib/utils/guards'
-import { PersonsManagementSceneTabs } from 'scenes/persons-management/PersonsManagementSceneTabs'
+import { ActivitySceneTabs } from 'scenes/activity/ActivitySceneTabs'
import { sceneConfigurations } from 'scenes/scenes'
import { Scene, SceneExport } from 'scenes/sceneTypes'
import { teamLogic } from 'scenes/teamLogic'
@@ -76,7 +76,7 @@ export function PersonsScene(): JSX.Element {
return (
<SceneContent>
- <PersonsManagementSceneTabs tabKey="persons" />
+ <ActivitySceneTabs activeKey="persons" />
{sceneMenuBarEnabled && (
<SceneMenuBar>
diff --git a/products/posthog_ai/frontend/scenes/TaskTracker/taskTrackerSceneLogic.test.ts b/products/posthog_ai/frontend/scenes/TaskTracker/taskTrackerSceneLogic.test.ts
index e7e0ec3d7ca3..9cac08213cb1 100644
--- a/products/posthog_ai/frontend/scenes/TaskTracker/taskTrackerSceneLogic.test.ts
+++ b/products/posthog_ai/frontend/scenes/TaskTracker/taskTrackerSceneLogic.test.ts
@@ -236,7 +236,7 @@ describe('taskTrackerSceneLogic', () => {
[null, ''],
['/tasks/another-task', ''],
['/tasks/another-task', 'A different task'],
- ['/activity/explore', ''],
+ ['/activity/events', ''],
] as const)(
'handles a startup stop and draft when navigating to %s with a new draft=%s',
async (destination, newDraft) => {
@@ -754,7 +754,7 @@ describe('taskTrackerSceneLogic', () => {
// host to `/tasks/:id`, and must never have its `activeCreation` cleared by unrelated main-app
// navigation. Guards against either guard (`props.panelId` in `submitNewTask` / `urlToAction`) being
// dropped, which would yank the host to the tasks scene or silently drop the panel's in-flight run.
- it.each(['/tasks/some-other-task', '/activity/explore'])(
+ it.each(['/tasks/some-other-task', '/activity/events'])(
'keeps an embedded creation in place after navigation to %s',
async (destination) => {
const panelLogic = taskTrackerSceneLogic({ panelId: 'test-panel' })
@@ -826,7 +826,7 @@ describe('taskTrackerSceneLogic', () => {
expect(router.values.location.pathname).toContain(expectedPath ?? initialPath)
})
- it.each([null, '/activity/explore'])('keeps a URL prompt attached until navigation to %s', async (destination) => {
+ it.each([null, '/activity/events'])('keeps a URL prompt attached until navigation to %s', async (destination) => {
let finishCreation!: (response: [number, Record<string, unknown>]) => void
const creation = new Promise<[number, Record<string, unknown>]>((resolve) => {
finishCreation = resolve
diff --git a/products/posthog_ai/manifest.tsx b/products/posthog_ai/manifest.tsx
index 87a344a50887..7317288f6261 100644
--- a/products/posthog_ai/manifest.tsx
+++ b/products/posthog_ai/manifest.tsx
@@ -3,7 +3,7 @@ import { urls } from 'scenes/urls'
import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
-import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'
+import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'PostHog AI',
@@ -37,7 +37,7 @@ export const manifest: ProductManifest = {
name: 'Task',
iconType: 'task',
href: () => urls.taskTracker(),
- iconColor: ['var(--product-tasks-light)', 'var(--product-tasks-dark)'],
+ iconColor: ['var(--color-product-tasks-light)', 'var(--color-product-tasks-dark)'],
filterKey: 'task',
flag: FEATURE_FLAGS.TASKS,
},
@@ -50,7 +50,7 @@ export const manifest: ProductManifest = {
category: ProductItemCategory.TOOLS,
type: 'task',
iconType: 'task',
- iconColor: ['var(--product-tasks-light)', 'var(--product-tasks-dark)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-tasks-light)', 'var(--color-product-tasks-dark)'],
href: urls.taskTracker(),
sceneKey: 'TaskTracker',
flag: FEATURE_FLAGS.TASKS,
diff --git a/products/product_analytics/manifest.tsx b/products/product_analytics/manifest.tsx
index 93bab5193b12..f142e981bee8 100644
--- a/products/product_analytics/manifest.tsx
+++ b/products/product_analytics/manifest.tsx
@@ -203,6 +203,7 @@ export const manifest: ProductManifest = {
path: 'Event definitions',
category: 'Schema',
iconType: 'event_definition',
+ iconColor: ['var(--color-product-event-definitions-light)', 'var(--color-product-event-definitions-dark)'],
href: urls.eventDefinitions(),
sceneKey: 'EventDefinitions',
sceneKeys: ['EventDefinition', 'EventDefinitions'],
@@ -211,6 +212,10 @@ export const manifest: ProductManifest = {
path: 'Property definitions',
category: 'Schema',
iconType: 'property_definition',
+ iconColor: [
+ 'var(--color-product-property-definitions-light)',
+ 'var(--color-product-property-definitions-dark)',
+ ],
href: urls.propertyDefinitions(),
sceneKey: 'PropertyDefinitions',
sceneKeys: ['PropertyDefinition', 'PropertyDefinitions'],
@@ -218,20 +223,24 @@ export const manifest: ProductManifest = {
{
path: 'Property groups',
category: 'Schema',
- iconType: 'event_definition',
+ iconType: 'property_group',
+ iconColor: ['var(--color-product-property-groups-light)', 'var(--color-product-property-groups-dark)'],
href: urls.schemaManagement(),
flag: FEATURE_FLAGS.SCHEMA_MANAGEMENT,
},
{
path: 'SQL variables',
category: 'Schema',
+ iconType: 'sql_variable',
+ iconColor: ['var(--color-product-sql-variables-light)', 'var(--color-product-sql-variables-dark)'],
href: urls.variables(),
sceneKeys: ['SqlVariableEdit'],
},
{
path: 'Annotations',
- category: 'Metadata',
+ category: 'Schema',
iconType: 'annotation',
+ iconColor: ['var(--color-product-annotations-light)', 'var(--color-product-annotations-dark)'],
href: urls.annotations(),
sceneKey: 'Annotations',
sceneKeys: ['Annotations'],
diff --git a/products/product_tours/manifest.tsx b/products/product_tours/manifest.tsx
index 2c0eb93e32ec..90be3d33849b 100644
--- a/products/product_tours/manifest.tsx
+++ b/products/product_tours/manifest.tsx
@@ -36,7 +36,7 @@ export const manifest: ProductManifest = {
{
path: 'Product tours',
intents: [ProductKey.PRODUCT_TOURS],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'product_tour',
href: urls.productTours(),
iconType: 'product_tour',
diff --git a/products/pulse/manifest.tsx b/products/pulse/manifest.tsx
index 21edd820393c..845ec91cb28a 100644
--- a/products/pulse/manifest.tsx
+++ b/products/pulse/manifest.tsx
@@ -2,7 +2,7 @@ import { FEATURE_FLAGS } from 'lib/constants'
import { urls } from 'scenes/urls'
import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
-import { FileSystemIconColor, ProductManifest } from '~/types'
+import { ProductManifest } from '~/types'
export const manifest: ProductManifest = {
name: 'Pulse',
@@ -30,11 +30,8 @@ export const manifest: ProductManifest = {
path: 'Pulse',
intents: [ProductKey.PULSE],
category: ProductItemCategory.UNRELEASED,
- iconType: 'activity',
- iconColor: [
- 'var(--color-product-activity-light)',
- 'var(--color-product-activity-dark)',
- ] as FileSystemIconColor,
+ iconType: 'pulse',
+ iconColor: ['var(--color-product-activity-light)', 'var(--color-product-activity-dark)'],
href: urls.pulse(),
flag: FEATURE_FLAGS.PULSE,
tags: ['alpha'],
diff --git a/products/replay/manifest.tsx b/products/replay/manifest.tsx
index 7a36453de06d..fe0cdc23aad9 100644
--- a/products/replay/manifest.tsx
+++ b/products/replay/manifest.tsx
@@ -50,7 +50,7 @@ export const manifest: ProductManifest = {
{
path: 'Session replay',
intents: [ProductKey.SESSION_REPLAY, ProductKey.MOBILE_REPLAY],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
href: urls.replay(ReplayTabs.Home),
type: 'session_recording_playlist',
iconType: 'session_replay',
@@ -69,7 +69,7 @@ export const manifest: ProductManifest = {
{
path: 'Heatmaps',
intents: [ProductKey.HEATMAPS],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
iconType: 'heatmap',
iconColor: ['var(--color-product-heatmaps-light)', 'var(--color-product-heatmaps-dark)'],
href: urls.heatmaps(),
diff --git a/products/replay_vision/manifest.tsx b/products/replay_vision/manifest.tsx
index 2ce90dd981a7..49eec50cf23e 100644
--- a/products/replay_vision/manifest.tsx
+++ b/products/replay_vision/manifest.tsx
@@ -76,7 +76,7 @@ export const manifest: ProductManifest = {
treeItemsProducts: [
{
path: 'Replay vision',
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
intents: [ProductKey.REPLAY_VISION],
type: 'replay_vision',
iconType: 'replay_vision' as FileSystemIconType,
diff --git a/products/revenue_analytics/frontend/settings/RevenueAnalyticsSettings.tsx b/products/revenue_analytics/frontend/settings/RevenueAnalyticsSettings.tsx
index d0df93249bc7..a8a096e7f09e 100644
--- a/products/revenue_analytics/frontend/settings/RevenueAnalyticsSettings.tsx
+++ b/products/revenue_analytics/frontend/settings/RevenueAnalyticsSettings.tsx
@@ -13,6 +13,7 @@ import { useOnMountEffect } from 'lib/hooks/useOnMountEffect'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
+import { DefinitionsSceneTabs } from 'scenes/data-management/DefinitionsSceneTabs'
import { teamLogic } from 'scenes/teamLogic'
import { urls } from 'scenes/urls'
@@ -64,6 +65,7 @@ export function RevenueAnalyticsSettings(): JSX.Element {
return (
<SceneContent>
+ <DefinitionsSceneTabs activeKey="revenue" />
<SceneTitleSection
name="Revenue analytics"
resourceType={{
diff --git a/products/revenue_analytics/manifest.tsx b/products/revenue_analytics/manifest.tsx
index 77f6db38d9e1..a1bdb28dd76c 100644
--- a/products/revenue_analytics/manifest.tsx
+++ b/products/revenue_analytics/manifest.tsx
@@ -10,6 +10,7 @@ export const manifest: ProductManifest = {
path: 'Revenue definitions',
category: 'Schema',
iconType: 'revenue_analytics_metadata' as FileSystemIconType,
+ iconColor: ['var(--color-product-revenue-analytics-light)', 'var(--color-product-revenue-analytics-dark)'],
href: urls.revenueSettings(),
sceneKey: 'DataManagement',
},
diff --git a/products/review_hog/manifest.tsx b/products/review_hog/manifest.tsx
index 9882cad84b5d..9ea60163ef96 100644
--- a/products/review_hog/manifest.tsx
+++ b/products/review_hog/manifest.tsx
@@ -28,6 +28,7 @@ export const manifest: ProductManifest = {
intents: [ProductKey.REVIEW_HOG],
category: ProductItemCategory.UNRELEASED,
iconType: 'code_review' as FileSystemIconType,
+ iconColor: ['var(--color-product-code-review-light)', 'var(--color-product-code-review-dark)'],
href: urls.codeReview(),
flag: FEATURE_FLAGS.REVIEW_HOG,
tags: ['alpha'],
diff --git a/products/skills/manifest.tsx b/products/skills/manifest.tsx
index 6a48361bd100..519ec98157ee 100644
--- a/products/skills/manifest.tsx
+++ b/products/skills/manifest.tsx
@@ -2,9 +2,9 @@ import { combineUrl } from 'kea-router'
import { urls } from 'scenes/urls'
-import { FileSystemIconType, ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
+import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
-import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'
+import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'Skills',
@@ -72,8 +72,8 @@ export const manifest: ProductManifest = {
intents: [ProductKey.SKILLS],
category: ProductItemCategory.TOOLS,
type: 'llm_skills',
- iconType: 'llm_prompts' as FileSystemIconType,
- iconColor: ['var(--color-product-llm-analytics-light)'] as FileSystemIconColor,
+ iconType: 'skill',
+ iconColor: ['var(--color-product-skills-light)', 'var(--color-product-skills-dark)'],
href: urls.skills(),
sceneKey: 'Skills',
},
diff --git a/products/streamlit_apps/manifest.tsx b/products/streamlit_apps/manifest.tsx
index 86d5a3fbe1c6..6dbfd55ba0f3 100644
--- a/products/streamlit_apps/manifest.tsx
+++ b/products/streamlit_apps/manifest.tsx
@@ -3,7 +3,7 @@ import { urls } from 'scenes/urls'
import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
import { FEATURE_FLAGS } from '../../frontend/src/lib/constants'
-import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'
+import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'Streamlit apps',
@@ -45,8 +45,8 @@ export const manifest: ProductManifest = {
type: 'streamlit_app',
category: ProductItemCategory.UNRELEASED,
flag: FEATURE_FLAGS.STREAMLIT_APPS,
- iconType: 'tools',
- iconColor: ['var(--color-product-data-pipeline-light)'] as FileSystemIconColor,
+ iconType: 'streamlit_app',
+ iconColor: ['var(--color-product-data-pipeline-light)', 'var(--color-product-data-pipeline-dark)'],
sceneKey: 'StreamlitApps',
sceneKeys: ['StreamlitApps', 'StreamlitApp', 'StreamlitAppEdit'],
},
diff --git a/products/surveys/manifest.tsx b/products/surveys/manifest.tsx
index e6161a848436..175bdd55ce74 100644
--- a/products/surveys/manifest.tsx
+++ b/products/surveys/manifest.tsx
@@ -37,7 +37,7 @@ export const manifest: ProductManifest = {
{
path: 'Surveys',
intents: [ProductKey.SURVEYS],
- category: ProductItemCategory.BEHAVIOR,
+ category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'survey',
href: urls.surveys(),
iconType: 'survey',
diff --git a/products/tasks/backend/prompts.py b/products/tasks/backend/prompts.py
index a73d61e1ac5e..900d894b19ac 100644
--- a/products/tasks/backend/prompts.py
+++ b/products/tasks/backend/prompts.py
@@ -171,7 +171,7 @@ This PR adds PostHog analytics to the app using the `posthog-js` SDK (installed
1. Deploy this branch (or run it locally after setting the env vars from the section below).
2. Open the app and click around.
-3. In PostHog, open [Activity](https://app.posthog.com/activity/explore) - you should see
+3. In PostHog, open [Activity](https://app.posthog.com/activity/events) - you should see
`$pageview` events arriving within a minute.
## Environment variables
diff --git a/products/toolbar/manifest.tsx b/products/toolbar/manifest.tsx
index 64b7f895dc0c..639a468f82f3 100644
--- a/products/toolbar/manifest.tsx
+++ b/products/toolbar/manifest.tsx
@@ -26,6 +26,7 @@ export const manifest: ProductManifest = {
type: 'toolbar',
category: ProductItemCategory.TOOLS,
iconType: 'toolbar',
+ iconColor: ['var(--color-product-toolbar-light)', 'var(--color-product-toolbar-dark)'],
sceneKey: 'Toolbar',
},
],
diff --git a/products/tracing/manifest.tsx b/products/tracing/manifest.tsx
index 16247fae6d72..39f53ca59547 100644
--- a/products/tracing/manifest.tsx
+++ b/products/tracing/manifest.tsx
@@ -75,7 +75,7 @@ export const manifest: ProductManifest = {
{
path: 'Tracing',
intents: [ProductKey.TRACING],
- category: ProductItemCategory.APP_MONITORING,
+ category: ProductItemCategory.MONITORING,
iconType: 'tracing',
iconColor: [
'var(--color-product-tracing-light)',
diff --git a/products/wizard/manifest.tsx b/products/wizard/manifest.tsx
index be286fbe68c8..e30f040bcb2d 100644
--- a/products/wizard/manifest.tsx
+++ b/products/wizard/manifest.tsx
@@ -1,6 +1,6 @@
import { FEATURE_FLAGS } from 'lib/constants'
-import { FileSystemIconType, ProductItemCategory } from '../../frontend/src/queries/schema/schema-general'
+import { ProductItemCategory } from '../../frontend/src/queries/schema/schema-general'
import { ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
@@ -30,7 +30,8 @@ export const manifest: ProductManifest = {
intents: [],
category: ProductItemCategory.TOOLS,
type: 'wizard',
- iconType: 'llm_prompts' as FileSystemIconType,
+ iconType: 'wizard',
+ iconColor: ['var(--color-product-wizard-light)', 'var(--color-product-wizard-dark)'],
href: '/wizard/runs',
flag: FEATURE_FLAGS.WIZARD_UI_ENABLED,
sceneKey: 'WizardRuns',
diff --git a/products/workflows/manifest.tsx b/products/workflows/manifest.tsx
index 07c5a39f80ba..0ad994cf1874 100644
--- a/products/workflows/manifest.tsx
+++ b/products/workflows/manifest.tsx
@@ -106,7 +106,7 @@ export const manifest: ProductManifest = {
type: 'broadcasts',
category: ProductItemCategory.MESSAGING,
iconType: 'broadcasts',
- iconColor: ['var(--color-product-workflows-light)'] as FileSystemIconColor,
+ iconColor: ['var(--color-product-broadcasts-light)', 'var(--color-product-broadcasts-dark)'],
sceneKey: 'Broadcasts',
},
],