GodSVG icon indicating copy to clipboard operation
GodSVG copied to clipboard

Rename 'g' to "group" in code and in UI

Open jas31415 opened this issue 10 months ago • 3 comments

As it is now, groups are titled 'g', and in the code underneath it's the same. I want to change all the 'g's to "group"s, so that this is clearer to users and developers too. I'm proposing this because it's something I wanted to start with myself as soon as I get a green light.

jas31415 avatar Feb 23 '25 19:02 jas31415

For developers, I'd prefer that all elements are named the same as they are in the SVG code.

For users, it would be awkward to have just one thing given a different name from what it is in the SVG code. Rather, I've been thinking about a setting that allows you to switch between SVG code names and natural language names. This would address all things that currently directly refer to the code. It would be a pretty tall order for translators (all elements, attributes, and transform types), but that's probably okay.

MewPurPur avatar Feb 23 '25 21:02 MewPurPur

How about adding some basic documentation of the element types in the form of tooltips. For example:

click "add element":, hover over "g", a tooltip is displayed that says something like "A group of elements. Transform and global attributes are applied to children."

Jordyfel avatar May 20 '25 07:05 Jordyfel

Not sure about this, tooltips aren't that expected in popups, so when I get to this I'll first think of alternatives.

MewPurPur avatar May 20 '25 10:05 MewPurPur