发布

  • [OPIK-5420] [FE] feat: show skeleton cells for running experiments (#6370)

    frostbyte_neo 发布于 2026-04-20 10:00:14 +00:00

    • [OPIK-5420] [FE] feat: show skeleton cells for running experiments

    Experiment metric cells now render a Skeleton placeholder while the
    experiment's status is RUNNING, matching the logs-page skeleton style.
    Identity and comment columns are left untouched so users can still
    identify and comment on in-progress experiments. No backend change —
    Experiment.status is already exposed on the list endpoint.

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    • feat(experiments): make running skeleton match row height

    Use size-full inside the p-2 cell container so the skeleton fills the
    actual cell like the logs-page skeleton, rather than a fixed 120px cap
    that looked inconsistent at larger row heights.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    • feat(experiments): poll experiments list every 10s

    Drop the refetch interval from 30s to 10s so users land on a RUNNING
    snapshot often enough to see the per-row skeleton cells for shorter
    playground runs. Replace the magic number with an
    EXPERIMENTS_LIST_POLLING_INTERVAL_MS constant so the cadence lives in
    one place.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com


    Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

    下载附件