playcanvas / playcanvas/editor
Display names for array entries in Inspector for JSON attributes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 215
- Avg merge
- 1d 29m
- Merged PRs (30d)
- 30
Description
When an array is displayed, we see each entry called [0], [1] ...
Perhaps if element contains a string attribute, it could be used to enhance it.
For example a first attribute of type string should be used .. so if we have Name: john
it would show [0]: John
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the Inspector component that renders JSON attributes and the code that labels array entries; verify how array elements and their string attributes are represented. Done means array entries can use an appropriate string attribute, such as Name, instead of only numeric labels, with existing array display behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100