发布

  • [OPIK-6195] Permissions P3 fixes (#6475)

    frostbyte_neo 发布于 2026-04-27 10:45:41 +00:00

    • [OPIK-6195]: handle annotations

    • [OPIK-6195]: handle alerts

    • [OPIK-6195]: handle annotation queues

    • [OPIK-6195]: Fix resizable panel rendering

    • [OPIK-6195]: merge annotate & write comments permissions

    • [OPIK-6195]: gate annotate "a" hotkey by permission

    The annotation side panel rendering was already gated by
    canAnnotateTraceSpanThread, but the "a" hotkey was registered
    unconditionally — for non-annotators it still called preventDefault and
    flipped activeSection (which is persisted), contradicting the PR intent
    that the panel cannot be opened via the hotkey path.

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

    • [OPIK-6195]: pass undefined instead of empty primaryActionLabel

    When the user lacks permission, NoDataPage should receive undefined for
    primaryActionLabel rather than an empty string, matching the prop
    contract and preventing a label-less button from rendering.

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


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

    下载附件