playcanvas / playcanvas/editor
When creating a new UI element, the layers of the newly created element should be set to match the parent
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 215
- Avg merge
- 1d 29m
- Merged PRs (30d)
- 30
Description
When we create UI elements, we have to change their layers to be the same as the parent, for every element we create. An example is creating a dialog box that lives on a 'UITop' layer - for every element we create in the dialog box, the layer must be manually set to 'UITop'. The editor should automatically do this for us.
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
No file or test is named. Start by tracing where new UI elements are created and how their parent relationship is available; confirm the expected behavior by creating a child under a parent on a custom layer and checking that the child receives the same layer automatically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100