-
[OPIK-5165] [FE] feat: v2 alerts page — project-scoped API integration (#5913)
发布于
2026-03-27 12:23:11 +00:00 - [OPIK-5165] [FE] feat: v2 alerts page — project-scoped API integration
- Create useProjectAlertsList hook for GET /projects/{projectId}/alerts
- Add project_id to Alert type
- Switch AlertsPage to project-scoped list endpoint
- Pass project_id in alert create/update payload
- Remove ProjectsSelectBox from EventTriggers (project is always active project)
- Remove scope:project trigger config building (BE auto-creates from project_id)
- Remove useProjectsSelectData from AddEditAlertPage
- Scope feedback score names dropdown to alert's project via entityIds
- Add project-alerts cache invalidation to all alert mutation hooks
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix(ExperimentsTab): pass projectId to experiment hooks in PromptPage
Resolve TODOs left from OPIK-4969 — now that OPIK-4968 landed,
pass activeProjectId to useExperimentsFeedbackScores and
useGroupedExperimentsList in the prompt detail ExperimentsTab.Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
下载附件