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

PageClone - Clone Prototyping Links #15

Open
EricKramp opened this issue Mar 10, 2021 · 6 comments
Open

PageClone - Clone Prototyping Links #15

EricKramp opened this issue Mar 10, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@EricKramp
Copy link

Hi, the plugin works great but it would be super helpful to me if it also cloned the prototyping links of all the objects.

I'm using it to create isolated pages that get shared externally with clients, so if they happen to pop in they don't find stuff randomly moving around as I work.

For it to work for me in this context it also needs to clone the prototype links because I only share prototypes with clients.

@EricKramp EricKramp changed the title Clone Prototyping Links PageCone - Clone Prototyping Links Mar 10, 2021
@EricKramp EricKramp changed the title PageCone - Clone Prototyping Links PageClone - Clone Prototyping Links Mar 10, 2021
@stevahnes
Copy link
Owner

stevahnes commented Mar 11, 2021

Hi @EricKramp thanks for using PageClone!

If by prototype link you mean the shareable URL to view, then I think this can't be done. URLs are bound to be unique as they represent which file or frame to route user to. I don't think it's possible to have both the original and the clone to share the same URL.

What I can try to explore is to fetch the URL of the newly created page, and place it in the success message toast. Hopefully you can then copy the URL and update your client as needed.

Let me know if I misunderstood your feature request!

@EricKramp
Copy link
Author

EricKramp commented Mar 12, 2021

Hi @stevahnes, yeah I think I didn't communicate it clearly.

I don't need the share URL to be cloned, just the connections between frames within the page.

I'm fine with creating a new share URL, but it's a pain to go through and rebuild all the prototyping connections.

@stevahnes
Copy link
Owner

Oh that, i see.. I'll look into it to see what's feasible based on the APIs 😊

@EricKramp
Copy link
Author

EricKramp commented Mar 12, 2021 via email

@stevahnes
Copy link
Owner

Hi @EricKramp, spent some time reading the Figma API documentation. It looks like this is doable. I will have to find some time to think how to map the original nodeId to the clone nodeId to ensure the routing is done correctly on the clone. I will try to find time to get it done within the next few weeks. Apologies for the delay as I just switched job and still getting used to the new environment!

@stevahnes stevahnes self-assigned this Mar 19, 2021
@stevahnes stevahnes added the enhancement New feature or request label Mar 19, 2021
@EricKramp
Copy link
Author

EricKramp commented Mar 19, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants