Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

refactor(web): Create more feature dirs in storybook (#16521)

Ben Bachem0a2c92b8f424
diff --git a/web/.storybook/main.ts b/web/.storybook/main.ts
index 96314a3ff5..eb849ec649 100644
--- a/web/.storybook/main.ts
+++ b/web/.storybook/main.ts
@@ -26,11 +26,21 @@ const DESIGN_COMPONENT_STORIES = [
// Directories that get their own sidebar section instead of the flat
// Playground default. This is not a `stories` entry with a `titlePrefix`
// because story titles are injected into each meta — see StoryTitleGroup.
+// Only stories inside a configured directory can appear under its feature;
+// explicit story titles are rejected by the title plugin.
const STORY_TITLE_GROUPS: StoryTitleGroup[] = [
{
directory: "src/features/evals/v2/components",
titlePrefix: "Features/Evaluations",
},
+ {
+ directory: "src/features/in-app-agent/components",
+ titlePrefix: "Features/In-App Agent",
+ },
+ {
+ directory: "src/features/traces/components",
+ titlePrefix: "Features/Traces",
+ },
];
const DESIGN_REFERENCE_STORIES = [
"ThemeTokens/Color",