triplex icon indicating copy to clipboard operation
triplex copied to clipboard

Rename a component through the Triplex UI

Open itsdouges opened this issue 2 years ago • 7 comments

Currently you can't rename a component in the UI, so after creating a new one it is stuck as "Untitled". Your only choice is to go into code to rename it.

itsdouges avatar May 31 '23 07:05 itsdouges

This is tricky. @krispya balancing this with everything else where do you see this, must have, nice to have? If you were able to name a component when creating it would that get us far enough?

itsdouges avatar Nov 05 '23 11:11 itsdouges

It's pretty important to managing a scene in the editor to be able to rename, rearrange and group the objects. It's one of the most basic editor functions artists expect in all their software. Naming on creation is better than nothing. What gets tricky about it? Is it a UI problem?

krispya avatar Nov 06 '23 14:11 krispya

I'm weighing things up to work on by priority that's all. It's tricky in two aspects:

  1. renaming a component means the editor needs to reload the freshly renamed component in a way that doesn't look jank
  2. renaming the component needs to load the entire project into tsmorph so it can rename all usages

itsdouges avatar Nov 06 '23 22:11 itsdouges

Oh, I thought renaming would just alter the name property on the object.

krispya avatar Nov 07 '23 00:11 krispya

Oh no the component itself. You can update the name property already through the context panel 😊

itsdouges avatar Nov 07 '23 04:11 itsdouges

Since that's the case is this less of a priority?

itsdouges avatar Nov 07 '23 04:11 itsdouges

De-prioritising this one.

itsdouges avatar Nov 25 '23 08:11 itsdouges