DirectedEdges / specs-plugin

33 stars 0 forks source link

Fixing random placement of generated specifications #178

Closed burlachkaa closed 3 weeks ago

burlachkaa commented 1 month ago

Is your feature request related to a problem? Please describe. Unfortunately ES just randomly inserts generated specs without asking me where I'd like it to be inserted. I often work with quite large files, and it's inconvenient to search for the generated specifications in all my layouts. Sometimes, Eight Shapes inserts the specifications directly into my layout, which is especially disappointing (

Describe the solution you'd like Have an option to choose where the Eight shapes will insert the generated specifications. Would be nice to have "Paste here" button or something like that.

Describe alternatives you've considered

Additional context This is the way how Figma allows paste different content. Would be great to have something similar. ![Uploading Screenshot 2024-08-23 at 16.40.56.png…]()

PS. I love your product and appreciate all the functionality you've already done, thank you for that :)

nathanacurtis commented 1 month ago

@burlachkaa That's unexpected, since the plugin should be either...

A) Adding new specs to an already existing specs frame or B) Adding a Specifications frame to the far right of your canvas, as a child of the overall page (not embedded in other frames)

With either A or B, once a specs run is complete, it should zoom to the specifications so you can see them in view.

I'd like to learn more about how it's producing unexpected results and see those (your screenshot didn't complete its upload).

burlachkaa commented 1 month ago

The problem is that sometimes we create specifications for components several times, and there can be several specifications on the one page. And new specifications can be inserted anywhere. Having an option to manage where the Eight shapes will insert the generated specifications would help our team a lot

nathanacurtis commented 1 month ago

@burlachkaa Oh, yes, the plugin won't deduplicate specs that have been already produced. There is a #81 issue that's longstanding that I've been considering working on.

However, new specs aren't inserted anywhere; instead, they are appended to the end (right most) of the set. In cases where you have selected "Spec nested components", they are added in the order they are detected as the plugin crawls the selected items. Can you be more specific about what you mean by "inserted anywhere?"

nathanacurtis commented 3 weeks ago

Closing due to no additional content added to diagnose the issue. If more information is provided, I'd be happy to help troubleshoot.