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

Update - 'duplicate' functionality #29

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

rvegele
Copy link

@rvegele rvegele commented Feb 16, 2024

A quick way to copy-paste selected elements for those coming from Figma and similar tools where such functionality exists.

I have a feeling that there's more to creating this pull request (adding something to tests?) but in my build it seems to work nicely :)

I've also moved the 'Copied' toast from the copySelected() into copy() as it was also showing up while using cut() - 2 toasts (Copied and Cut). I understand that under the hood it copies selection into the clipboard, but visualising that with a toast event when cutting or duplicating is not necessary, as only the end-result is important for the user.

@rvegele rvegele changed the title Adding 'duplicate' functionality Update - 'duplicate' functionality Feb 16, 2024
Update: nodegrapheditor.ts 'Duplicate' to 'Duplicated' string in duplicate() function
richardosborne14 pushed a commit to The-Low-Code-Foundation/OpenNoodl that referenced this pull request Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants