发布

  • [OPIK-5027] [FE] fix: TraceLogsSidebar UX feedback iteration (#5989)

    frostbyte_neo 发布于 2026-03-31 10:06:07 +00:00

    Address UX feedback from Jolanta on the TraceLogsSidebar:

    • Full-screen modal with no shadow (avoid piling up modals)
    • Rename all button text to "Go to logs"
    • Title uses Title/XXSmall (comet-title-xxs)
    • Header: "Back to..." button (left) + X close button (right, ghost icon)
    • Playground: Reset and Logs as outline icon buttons with tooltips + divider
    • Remove unused "button" variant from TraceLogsSidebarButton
    • Reset trace details (tls_trace, tls_span) on sidebar close
    • Refactor: title/backLabel moved from SOURCE_LABELS map to call-site props
    • Show "Go to logs" button on compare page (pre-filtered to baseline experiment)
    • Trial page: back label says "Back to trial" (not "Back to optimization")
    • Compare page: back label says "Back to compare"

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

    下载附件