发布

  • [OPIK-5435] [FE] fix: show trace logs inline on annotation queue page (#6919)

    frostbyte_neo 发布于 2026-05-29 15:46:24 +00:00

    • [OPIK-5435] [FE] fix: show trace logs inline on annotation queue page
    • Replace the broken "Go to traces" header tag with TraceLogsSidebar so
      experiment-source traces are no longer hidden by the Logs source filter
    • Open TraceDetailsPanel / ThreadDetailsPanel inline on queue trace and
      thread tabs (with cross-navigation) instead of opening a new tab
    • Extract useTraceThreadPanelsState hook to share the panel state
      machine across TraceLogsSidebar and the two queue tabs
    • feat(traces): support thread side panel inside TraceLogsSidebar
    • Add container passthrough on ThreadDetailsPanel so it can mount inside
      a Sheet container (mirrors TraceDetailsPanel's existing prop)
    • Wire TraceLogsSidebar to render ThreadDetailsPanel via the hook so
      drilling from a trace's thread_id opens the thread panel inline within
      the sheet instead of doing nothing
    • fix(traces): clear panel query params when TraceLogsSidebar closes

    Addresses PR review: closing the sheet only called the parent onClose, so the
    hook's tls_trace / tls_span / tls_thread query params persisted. Reopening
    the sidebar would restore the previously-open detail panel (e.g. thread panel)
    instead of starting clean.

    Destructure handleClose from useTraceThreadPanelsState and invoke it in
    handleOpenChange before delegating to the parent onClose.

    下载附件