Feature request: Being able to re-order elements in an array, similar to the Script sub-components
Nobody has claimed this yet.
- 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
- 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
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