fuggfuggfugg / sketch-dynamic-button-3.5

Up-to-date version of the original Dynamic button for Sketch.app.
MIT License
229 stars 13 forks source link

Sketchpacks app #34

Open mikeprecious opened 7 years ago

mikeprecious commented 7 years ago

Hi there, wondered if you pushed the symbol support version of Dynamic Button to where Sketchpacks app can access it.

fuggfuggfugg commented 7 years ago

@mikeprecious The basic symbol support has been merged in. Nested symbol is still incomplete.

mikeprecious commented 7 years ago

Thanks @fuggfuggfugg ! Used Sketchpacks the other to remove and update the Dynamic Button plugin and the state of the plugin that got installed on update removed the symbol functionality that existed from the prior, manual installation. I've actually had to manually download and install the plugin from the symbol branch state on Github to get the symbol support functionality. Seems like there's something going on with Sketchpacks.

fuggfuggfugg commented 7 years ago

Hmm, That's weird. I'll try this tonight and get back. The symbol branch I thought I had merged it in. I'll try re-installing from Sketchpacks. Thanks for notifying me about the issue.

fuggfuggfugg commented 7 years ago

@mikeprecious I just uninstalled and re-installed from sketchpacks and the basic symbol works.

Can you confirm which branch are you talking about? I merged https://github.com/fuggfuggfugg/sketch-dynamic-button-3.5/tree/sketch-symbols-fuck-yeah

I haven't merged the nested-symbols branch yet.

mikeprecious commented 7 years ago

@fuggfuggfugg apologies for the radio silence.

I cannot recall my steps at the moment. I just updated the plugin via SketchPacks. I still get the legacy behaviour: I try to dynamically resize the symbol Cmd+J and it produces a grey box behind the symbol. If I dive into the symbol contents, everything is set up properly. For example 8:16 defined in the text layer name and the shape layer behind it, "BG".

fuggfuggfugg commented 7 years ago

I'll take a look tonight.

If it's not much trouble, can I request a gif just so I can replicate it exactly?

mikeprecious commented 7 years ago

Wanted to follow-up. Haven't had a chance to create a GIF. Behaviour is exactly as described above. Will try to get a GIF over to you this weekend.

fuggfuggfugg commented 7 years ago

@mikeprecious Sorry for the delay.

The code currently was very messy and getting hard to debug. I had to refactor the code so I could debug it better. I have ported the changes from the other branch.

Issues Fixed:

I haven't updated sketchpacks yet, still trying for nested symbols one more time.

Can you uninstall the installed plugin and manually install this one?
DynamicButton3.5-rewrite.sketchplugin.zip

If something is not working (& was working in earlier version) do let me know. If all is well, I'll proceed to push the changes to sketchpacks by tomorrow.