playcanvas / playcanvas/pcui

Feature request: Being able to re-order elements in an array, similar to the Script sub-components

Open
#116 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
794
Forks
97
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
It is currently not possible to re-order elements of an array.

Describe the solution you'd like
Be able to re-order elements of arrays.

Describe alternatives you've considered
There aren't any :(

Additional context
This functionality seems to be available on the Script component for sub-components in PlayCanvas. It works perfectly there as a drag-and-drop icon. It'd be perfect to use that same functionality.

Contributor guide

No contributing guide indexed for this repository

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

Start by inspecting the existing drag-and-drop reordering behavior for Script sub-components in PlayCanvas, then locate the array-related UI components in pcui. Done means array elements can be reordered through an equivalent drag-and-drop interaction.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.