Skip to content

Clone / duplicate context action #854

Open
@joepio

Description

@joepio

Being able to quickly make a copy of some resource from the context menu would be really useful.

Ideally, we can optionally set a target (which defaults to the current resource parent).

However, this poses a question: how do we deal with children?

  • Keep track of a Map that maps old subjects to new sones.
  • Keep track of all resources
  • Store the subject to the map together with a newly created subject.
  • Get all the children, iterate over the children, add these to the map. Recursive.
  • Iterate over all the resources, save

Browser or server

  • On the server is faster
  • Requires a new endpoint
  • Server will be signing the commits, not the user

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions