发布

  • [OPIK-4762] [BE] feat: add dashboard type and scope columns (#5569)

    frostbyte_neo 发布于 2026-03-11 10:16:57 +00:00

    • [OPIK-4762] [BE] feat: add dashboard type and scope columns

    Add type (multi-project/experiments) and scope (workspace/insights)
    classification dimensions to dashboards with full filter support.

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • fix(test): set default type/scope in createPartialDashboard builder

    createPartialDashboard() now includes default type (MULTI_PROJECT) and
    scope (WORKSPACE) to match service-applied defaults, fixing assertion
    failures in getExistingDashboardById and other tests that compare
    against API responses.

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • fix(test): parameterize filter and update tests

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • refactor(db): extract reusable AbstractEnumColumnMapper base class

    Replace 4 copy-pasted Dashboard enum JDBI files with a combined
    AbstractArgumentFactory + ColumnMapper base class, following the
    existing AbstractJsonColumnMapper pattern.

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • fix(migration): bump prefix to 000054 to avoid conflict with main

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com


    Co-authored-by: Claude Opus 4.6 noreply@anthropic.com

    下载附件