playcanvas / playcanvas/editor

When creating a new UI element, the layers of the newly created element should be set to match the parent

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ui enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.