-
[OPIK-6207] [FE] Update optimization runs empty state and page title (#6485)
发布于
2026-04-29 14:14:55 +00:00 - [OPIK-6207] [FE] Update optimization runs empty state and page title
Rename page title from "Optimization Studio" to "Optimization runs".
Replace the generic empty state with a dedicated component featuring
two action cards (optimize prompt / try demo template) and a docs link,
with permission-based fallback to PageEmptyState.-
Revision: Use approved spacing scale for gap values
-
Revision 2: Address review feedback for optimization runs page
- Gate empty state and StudioTemplates on isOptimizationStudioEnabled
feature flag (consistent with V1) - Enable optimization studio toggle by default locally in config.yml
- Create demo dataset as DATASET type with project-scoped naming
e.g. "Demo - Opik Chatbot (project-name)" - Rename "Test suite" label to "Dataset" in new optimization form
- Responsive layout: sidebar stacks below on small screens,
prompt section and model selector shrink instead of overflowing
- Revision 3: Keep optimizationStudioEnabled default to false
Self-hosted environments need Anthropic/OpenAI API keys configured
on the backend for the optimization studio to work. Keep the toggle
off by default to avoid a broken experience.下载附件