发布

  • [OPIK-3612] [FE] Add clone capability for feedback definitions (#4755)

    frostbyte_neo 发布于 2026-01-15 09:44:35 +00:00

    • [OPIK-3612] [FE] Add clone capability for feedback definitions

    Implemented clone functionality for feedback definitions following the existing dashboard clone pattern.

    Key changes:

    • Added Clone menu item with Copy icon in FeedbackDefinitionsRowActionsCell
    • Extended AddEditFeedbackDefinitionDialog to support 'clone' mode
    • Clone mode appends ' (Copy)' to definition name automatically
    • Enhanced error handling for duplicate names with user-friendly message
    • Added comprehensive unit tests covering all dialog modes (create/edit/clone)

    Users can now duplicate feedback definitions from the actions menu, edit the cloned definition before saving, creating an independent copy.

    Implements OPIK-3612: Add clone capability for feedback definitions

    • Revision 2: Fix prettier formatting issues

    • Revision 2: Address PR review comments

    • Consolidate duplicate AddEditFeedbackDefinitionDialog instances into single modal
      with dynamic mode calculation
    • Inline getDialogTitle helper function for better conciseness

    Co-authored-by: Miguel Garcia miguelg@comet.com

    下载附件