-
[OPIK-5220] [FE] Rename Datasets to Evaluation suites, add evaluation criteria to create dialog (#5809)
发布于
2026-03-24 15:32:09 +00:00 - Add spec: evaluation suite copy updates and create dialog enhancements
Covers sidebar/list page rename from "Datasets" to "Evaluation suites",
adding execution policy and assertions UI to the create dialog, and
fixing assertions empty state button placement.- Update spec: all creation flows produce evaluation suites
Explicitly document that every v2 dataset creation flow (list page,
add traces dialog, playground selector) will now default to creating
evaluation suites instead of legacy datasets.- Update spec: add DatasetsPageGuard to eval suites route, scope to v2
- The /evaluation-suites route was missing the DatasetsPageGuard
(permission check), only the legacy /datasets redirect had it - Explicitly scope all changes to v2 only
- Update resourceName in guard to "evaluation suites"
- [OPIK-5220] [FE] Rename Datasets to Evaluation suites, add evaluation criteria to create dialog
- Rename sidebar label, page title, description, and entity names from
"Datasets" to "Evaluation suites" across v2 pages - Add DatasetsPageGuard to evaluation suites route
- Add execution policy (runs per item, pass threshold) and global
assertions UI to the create dialog - Two-step creation: create dataset then apply evaluation criteria via
changes mutation with base_version: null - Default new entity type to EVALUATION_SUITE
- Move assertions empty state add button to new centered line
- Update edit settings dialog placeholder copy
- Remove spec file
-
[OPIK-5220] [FE] fix: prettier formatting for longer strings
-
[OPIK-5220] [FE] fix: await evaluation criteria before navigating after upload
Chain applyEvaluationCriteria after CSV/JSON upload settles so the
dialog stays open until both operations complete. Also make onDone
optional to avoid passing empty callbacks.- [OPIK-5220] [FE] fix: re-fetch dataset in DatasetVersionSelectBox to get latest_version
Move fetchDataset responsibility from the dialog to DatasetVersionSelectBox
where latest_version is actually needed, preventing crash on null dereference.下载附件