发布

  • [OPIK-6732] [FE] feat: remove Restore button from v2 Prompt version UI (#6903)

    frostbyte_neo 发布于 2026-05-28 14:25:15 +00:00

    Environments now cover the "go back to a previous version" workflow,
    so the per-version Restore action and its confirmation dialog are no
    longer needed in the v2 PromptTab. Drops the button, dialog mount,
    related state/handler, the now-unused isLatest gate, and the
    Undo2 icon import. The RestoreVersionDialog.tsx file is removed.
    The v1 PromptPage and the shared useRestorePromptVersionMutation
    hook are left untouched (v1 still uses them).

    Implements OPIK-6732

    下载附件