Comments (13)
@sonburn It was 9.0. Just updated and it works perfectly. Thanks a lot and sorry for any confusion. Don't need to mention that your plugin is awesome :).
from symbol-organizer.
@sonburn new version is working good. Thank you for the fast update. if something else comes up I'll let you know. Thanks for an awesome plugin!
from symbol-organizer.
I can confirm that. in sketch 46.1 it removes many symbols that are being used. clearly, the plugin is not working good as it should.
from symbol-organizer.
@marcinukleja, @stdk00, What version of Symbol Organizer do you guys have?
from symbol-organizer.
Glad you like it @marcinukleja! Thank you for your feedback and support.
@stdk00 can you confirm the version of Symbol Organizer you have?
from symbol-organizer.
@sonburn I'm using sketch 46.1 and 46.2, plugin 12.2 and it doesn't work well. I've tried deleting the plugin and reinstalling and still doesn't work. some nested symbols to which I applied an override get deleted if I select "remove unused symbols". the symbols get organized but the plugin deletes A LOT of symbols that are being used and leaves the symbols instance with the red diagonals lines which mean they lost their nested symbol.
from symbol-organizer.
@stdk00 thank you for responding. So the plugin works in general, like organization and other features, it's just the removal piece specifically that is removing too much.
That is odd though... because Symbol Organizer is now using the Sketch native isSafeToDelete method for removing symbols. That means if you went to your Symbol page, selected a symbol to delete, tapped the Delete key and it didn't give you the prompt "Are you sure you want to delete this symbol", then it was safe to delete.
Can you confirm that a symbol my plugin is removing, is indeed giving you the prompt on the Symbols page (meaning it's not safe to delete)?
from symbol-organizer.
@sonburn everything gets well organized. it just the remove unused symbols thats the problem. I've tried manually deleting a symbol and sketch doesn't give me any warning messages although the symbols are in use. that's lame. so it should be a sketch bug that your plugin just follows. :( people should proceed with caution while using this on sketch 46.
from symbol-organizer.
@stdk00 in a way I am happy to know it's not the plugin that's the problem, but I am not happy the bug exists for you (and can be perceived as an issue with the plugin). Remove Unused Symbols is definitely risky, always has been, and I debated even adding it to begin with. A lot of people asked for it though, so that's why it's there. It's also why I force you to manually enable it every time you want to run it.
I am going to go ahead and close this issue for now, and I will monitor the landscape to see if others (or myself) run into the same issue. Thank you for using Symbol Organizer!
from symbol-organizer.
@stdk00 For what it's worth, it seems there is a bug in Sketch's isSafeToDelete, as I just ran into this issue myself. It seems nested symbols with overrides aren't being detected. I will submit a bug to Bohemian Coding, and explore baking some detection for these instances back into the plugin.
from symbol-organizer.
@sonburn thanks for letting me know. I was pretty sure something was wrong. can you please keep me posted if you have any update on this? thank you very much.
from symbol-organizer.
The bug report I submitted, with an example file to reproduce...
Summary:
MSSymbol isSafeToDelete is not detecting symbol overrides within nested nested symbols
Steps to Reproduce:
Create a symbol (like a list item, call it "Symbol B") which contains a nested symbol (like an icon placeholder, call it "Symbol A"). Place Symbol B in a new symbol (like a list item group, call it "Symbol C"). In Symbol C, override a Symbol A instance with another symbol (like an actual icon, call it "Symbol D").
Navigate to Symbols page, select Symbol D (which is only used as an override of a nested nested symbol), and tap Delete.
Expected Results
Sketch prompt indicating symbol is in use, and confirming deletion.
Actual Results:
Symbol is deleted, displaying the red lines in the override indicating the symbol is missing.
Notes:
In this linked example (https://www.dropbox.com/s/6shtevht11f375z/isSafeToDelete%20Bug.sketch?dl=0), navigate to the Symbols page and delete the Icon/Favorite symbol. Note the lack of prompt, and the red lines on the artboard on Page 1.
from symbol-organizer.
In the meantime, I just published an update that added back my symbol override protections. Can you give it a shot and let me know if you have better results?
from symbol-organizer.
Related Issues (20)
- Symbol Organizer does not work HOT 1
- Suffix added to each symbol name after running symbol organizer HOT 2
- Force settings within a file/library
- Numeric sorting seems bugged again. Eg. 0px -> 12px -> 16px -> 4px -> 8px HOT 1
- Remove text style "Group title" HOT 1
- Sorting with Symbols (e.g. • or –) not correct
- Sorting order is wrong
- Subgrouping and sorting
- Doesn't seem to be working in 72 HOT 19
- Sketch 72 vs Symbol organizer HOT 1
- Sketch Version 72 (124316) - Plugin does not do nothing HOT 1
- the plugin moves all my dartboards to symbols
- "Remove unused symbols" doesn't work
- Symbol remover
- "Remove Unused Symbols" functions doesn't work on Macbook M1 HOT 1
- Looks like Ventura kills symbol-organizer. Sketch Version 89 (147688), macOS 13 Beta (22A5286j)
- Where is symbol-organizer-master.zip
- I can't remove unused symbols anymore
- No response to "Remove uunused symbols" in sketch "Symbol Organizer"
- Plugin not working anymore in Sketch 94.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symbol-organizer.