UserFlows icon indicating copy to clipboard operation
UserFlows copied to clipboard

Reset (Remove) all links & Remove link from non-existing layer

Open MayaS opened this issue 8 years ago • 4 comments

  1. It will be useful if there is a command Reset (or Remove) all created links.
  2. If you have a layer then link it to an artboard, then after deleting the layer the link remains, which is OK. But since the layer doesn't exist anymore, there is no way to remove the link coming from it.

MayaS avatar Feb 07 '17 13:02 MayaS

@MayaS :

  1. Removing all links from a Page sounds like a good idea. Will add that in the next update.
  2. Use the Redraw Connections command to clean up any left over link attributes from the page after deleting a layer. It's a good idea to use that command often since it refreshes all UserFlow-related data on the current page.

abynim avatar Feb 08 '17 01:02 abynim

@abynim - the Redraw Connections command does not work for m to remove connections from deleted layers. it keeps redrawing old connections even though the layer is gone. Any workarounds to remove these connections?

idoshavit avatar Feb 11 '17 19:02 idoshavit

@idoshavit Does this happen in all Sketch documents or just one? Is it possible to email the document to me at abynimbalkar at gmail dot com? That will be the fastest way to debug it. Thanks!

abynim avatar Feb 12 '17 08:02 abynim

@abynim I can't send you the document, but i just figured out what happened. When creating the flow i started with a group, not a single layer. At some point i deleted the layers in the group, but not the group itself. The flow was still valid, because the group was still there. however, when looking at the canvas there was nothing to select, so i thought the flow is connecting to nothing. After deleting the empty groups the Redraw worked as expected. I hope my description is clear enough.

idoshavit avatar Feb 12 '17 11:02 idoshavit