netbeans-tools icon indicating copy to clipboard operation
netbeans-tools copied to clipboard

Add 150 more SVG icons (April 2025 batch), and new artboard mappings

Open eirikbakke opened this issue 7 months ago • 1 comments

This commit updates the Adobe Illustrator file that holds all of NetBeans' custom-drawn SVG icons, to include ~150 new icons that will be integrated into the main NetBeans repo in this separate PR.

Various new mappings of PNG/GIF file paths to artboard names are also included, and new artboards, with original bitmap icons in a separate layer, were created in the Illustrator file for icons that need to be drawn in the future. New artboards were added in batch using an Illustrator script that was generated by IconTasks.java.

The following page, generated by IconTasks.java, shows all current mappings from old bitmap icons to new SVG icons after this PR: https://people.csail.mit.edu/ebakke/misc/netbeans-icons-250415.html

Contents of the Illustrator file after this PR, in the "New Vector" layer:

image

Contents of the Illustrator file after this PR, in the "Old Bitmaps" layer (these are old PNG or GIF files that have at least been assigned an artboard name):

image

eirikbakke avatar Apr 15 '25 05:04 eirikbakke

I only had a quick look, but looked sane to me. I get a bad vibe when I see HTML/XML created by string concatenation, but this is for self consumption, so IMHO ok. Thanks for the work on the icons, these indeed give NetBeans a fresher look.

matthiasblaesing avatar Apr 26 '25 19:04 matthiasblaesing

@matthiasblaesing Yes, this is much "rougher" code since it's only for use during development. There's still a fair bit of sanity checking done, e.g. to ensure artboard names don't contain special characters that could break things or require escaping.

I'll (squash and) merge this PR now that the companion PR https://github.com/apache/netbeans/pull/8424 is merged and shipped.

eirikbakke avatar May 20 '25 14:05 eirikbakke

Nice work. Thanks!

BradWalker avatar May 20 '25 16:05 BradWalker

Thanks, merged!

eirikbakke avatar May 20 '25 20:05 eirikbakke

Thanks for the work on the icons, these indeed give NetBeans a fresher look.

Yup. I enjoy the new look of NetBeans. Thanks!

JaroslavTulach avatar May 22 '25 09:05 JaroslavTulach

@JaroslavTulach Thanks! The work of the original icon set creator Leos Tronicek lives on in these icons; I just traced them for the most part.

We also switched to a much lighter-weight SVG library in https://github.com/apache/netbeans/pull/7941

eirikbakke avatar May 22 '25 13:05 eirikbakke