godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.26k stars 101 forks source link

Few elements in @exported Array should have visible name #12613

Closed seppoday closed 1 week ago

seppoday commented 3 weeks ago

Describe the project you are working on

Learning Godot

Describe the problem or limitation you are having in your project

When I add couple of AudioStreams to Arrray there is only note icon and audio wave visible. It's hard to know which audio is which. Name is visible only after hovering over.

Godot:

Image

Describe the feature / enhancement and how it helps to overcome the problem or limitation

We should show file name. For example Unity does this and it is very easy to know which audio files are used here.

Image

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Add names. Maybe there are other similar resources with similar problem in array :)

If this enhancement will not be used often, can it be worked around with a few lines of script?

I think this should not be addon. It is basic functionality.

Is there a reason why this should be core and not an add-on in the asset library?

It is basic UX improvement.

RoyBerardo commented 3 weeks ago

Tested this out... When the array is of type AudioStream, names are displayed correctly. However, when it is a sub-type like in your case (AudioStreamMP3) the names aren't displayed.

seppoday commented 3 weeks ago

Maybe it should be easy fix if half of it is implemented already.

ydeltastar commented 3 weeks ago

This should probably be a bug report instead of a proposal.

seppoday commented 3 weeks ago

BTW. Shouldn't packedscenes also have name. Without a name it looks bad and bad UX especially when scene is not really that readable in minature.

Image