GithubHelp home page GithubHelp logo

Comments (8)

sonburn avatar sonburn commented on May 22, 2024 1

@edwardbiz I feel like that's more possible, or easier, now with the sequential numbering of duplicate names. My perfect solution would be to do a symbol comparison, and to ensure only exact duplicates were being remapped and removed, with 100% accuracy... so this is what I will be striving for. Needless to say, I am still thinking about this one. :)

@illustree I am going to go ahead and close this issue as its been a couple weeks since I implemented your request. As always, thanks for the feedback and for using Symbol Organizer!

from symbol-organizer.

sonburn avatar sonburn commented on May 22, 2024

This is in fact the next logical thing to tackle for this plugin, which I have thought about quite a bit. In the least, I could do option A relatively easily, and it would help when consolidating similarly named symbols into one (making them easier to decipher which is the "master" and which can be deleted after instances have been pointed to the master).

Option B however is a bit more tricky... I would want to verify that the contents of two symbols with the same name are identical. Without this validation, I could see this being inadvertently destructive.

Here are a couple situations that I would need to account for...

  • You inadvertently used the same name for two symbols, but the symbols are in fact very different. Option A would solve this at least.
  • Unbeknownst to you, you have two versions of the same symbol with the same name (typically after a copy/paste), and make a change to one expecting it to be propagated everywhere, not realizing that it hasn't been. Now one is slightly different than the other. Which one is right?

I plan to look for some ability to compare symbols, and if this can be done with confidence, I would implement something like option B, as I think this is the last glaring symbol issue this plugin could tackle.

As always, thanks for your continued use and feedback!

from symbol-organizer.

illustree avatar illustree commented on May 22, 2024

A. would be already much appreciated! it is really often the case that there are e.g. icons with little changes and from the list preview you just can't recognise which is the correct one. I understand “B” could be really tricky ... thanks in advance for what ever you are going for

from symbol-organizer.

sonburn avatar sonburn commented on May 22, 2024

I just committed an update which includes an option to sequentially rename duplicate symbols, as well as improves the appearance of the plugin. Please give it a spin!

from symbol-organizer.

edward-battistini avatar edward-battistini commented on May 22, 2024

@sonburn Maybe you could allow the user to choose which layer should be deleted ? Manually ? So you don't really need to build the logic of comparing the items. You just leave it to the user.
A little bit like duplicated songs in iTunes ? Maybe ?

from symbol-organizer.

ZillieZephyr avatar ZillieZephyr commented on May 22, 2024

So I really wish you had let this stay open, as I think this is still something to consider. Honestly, if someone is using the same name for a symbol, then they aren't using symbols correctly. This was posted a year ago, and it's pretty much exactly what needs to exist.

https://www.designernews.co/stories/70330-new-sketch-symbols-and-version-controlwhats-your-teams-workflow

from symbol-organizer.

sonburn avatar sonburn commented on May 22, 2024

@ZillieZephyr I would love to solve it, but it's a very difficult problem to solve (hence why nobody else has done it, not even Sketch itself)... but it does look like Sketch does have some quality of life Symbol management/duplicate avoidance stuff planned for the future. Until then, I personally will keep being diligent about avoiding duplicate symbols to begin with.

from symbol-organizer.

sonburn avatar sonburn commented on May 22, 2024

@ZillieZephyr Latest version of Sketch supposedly fixes the annoying bug of symbol masters being duplicated when copying/pasting - https://cldup.com/7qydxgljPP.png

from symbol-organizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.