atomic-server
atomic-server copied to clipboard
Clone / duplicate context action
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