发布

  • [OPIK-4967] [FE] feat: project-scope v2 evaluation suites pages (#5881)

    frostbyte_neo 发布于 2026-03-27 12:29:19 +00:00

    • [OPIK-4967] [FE] feat: project-scope v2 evaluation suites pages

    Filter evaluation suites by active project, associate new suites with
    the current project on creation, wire the DatasetsPageGuard permission
    check, and fix SDK redirect URLs to use project-scoped routes.

    • fix: address code review — stale closure, null guard, redirect fallback
    • Add activeProjectId to submitHandler deps in AddEditEvaluationSuiteDialog
    • Replace non-null assertion with early return guard in handleRowClick
    • Add fallback error state in RedirectDatasets when no projectId is resolvable
    • Fix prettier formatting
    • feat: add projectId to all v2 dataset filters and autocompletes

    Thread projectId through all v2 components that use datasets as
    filters or autocomplete so they only show the active project's
    evaluation suites instead of all workspace suites.

    Also address PR review comments on RedirectDatasets: fix import
    order and add legacy fallback redirect to home when no projectId
    can be derived.

    • [OPIK-4967] [FE] fix: scope dataset lists by projectId in remaining v2 components

    Pass projectId to useDatasetsList in useGroupedExperimentsList,
    AddToDatasetDialog, and useDatasetVersionSelect so dataset dropdowns
    only show datasets belonging to the active project.

    下载附件