-
[OPIK-5846] [FE] feat: split add-to-dataset action and fix SDK code highlighting (#6303)
发布于
2026-04-16 11:04:58 +00:00 - [OPIK-5846] [FE] feat: split add traces to dataset vs test suite
- Add separate dropdown entries and dialogs filtered by dataset type
- Align copy via entityName; dataset success explainer matches test suite
- Sidebar-style icons: ListChecks + Database
- Update AddToDatasetDialog tests
Made-with: Cursor
- fix(sidebar): add syntax highlighting to SDK code snippets
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
- fix(toolbar): responsive compact mode for dataset items toolbar
When the assistant sidebar compresses the content area, the toolbar
switches to compact icon-only buttons and an expandable search icon.
Search term is preserved when collapsing the search input.Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
- refactor(dropdown): address PR review comments
- Extract duplicated dataset/test-suite dialog and menu item JSX into a
shared DATASET_OPTIONS config array - Fix explainer text to say "Items" instead of "Traces" since the dialog
handles both traces and spans - Fix import ordering in DatasetItemsTab (move lucide-react to externals)
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
- chore(frontend): use Python highlighting for TS SDK snippet; remove lang-javascript
Made-with: Cursor
- fix(frontend): skip datasets list fetch when Add to dataset dialog is closed
Made-with: Cursor
- fix(frontend): address PR review comments for search state and effect deps
Initialize isSearchExpanded from search query param to match ExpandableSearchInput's
mount state. Remove suiteExecutionPolicy from useEffect deps to prevent background
refetches from resetting user edits.Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
Co-authored-by: Claude Opus 4.6 noreply@anthropic.com
下载附件