Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone / duplicate context action #854

Open
joepio opened this issue Feb 29, 2024 · 0 comments
Open

Clone / duplicate context action #854

joepio opened this issue Feb 29, 2024 · 0 comments
Labels

Comments

@joepio
Copy link
Member

joepio commented Feb 29, 2024

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
@joepio joepio added the browser label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant