Skip to content

UI/UX for Feature Cloning #848

@subratsahilgupta

Description

@subratsahilgupta

Expected Behavior

Users should be able to clone features within and across environments through the dashboard UI. The cloning action should:

  • Allow users to duplicate an existing feature within the same environment
  • Allow users to clone a feature to a different environment
  • Preserve feature configuration, pricing rules, and related settings during cloning
  • Show a confirmation dialog or form to customize the cloned feature name/settings if needed

Actual Behavior

Feature cloning is supported in the backend API, but there is no UI component or interface for users to trigger or manage feature cloning operations. Users cannot access this functionality from the dashboard.

Preferred Solution

Implement a simple UI similar to the existing plan duplication feature:

  • Add a "Clone" or "Duplicate" action button/menu item on the feature card or detail view
  • Show a modal/dialog that lets users:
    • Select the target environment (if cloning across environments)
    • Optionally customize the cloned feature name
    • Confirm the cloning action
  • Display success/error feedback after cloning completes

Additional Notes

  • Reference backend implementation: feat/envcloning branch
  • Keep the UI minimal and consistent with existing duplication patterns (e.g., plan duplication)
  • Should work for both within-environment and cross-environment cloning scenarios

Related

Relates to: PLAN DUPLICATE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions