playcanvas / playcanvas/editor

Script Loading Order is not user friendly for large number of scripts

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

Nobody has claimed this yet.

area: editor interface area: scripts enhancement
Dominant language
TypeScript
Stars
1.3k
Forks
215
Avg merge
1d 29m
Merged PRs (30d)
30

Description

the Settings->Script Loading Order displays list of all user scripts to allow their sorting. This is hard to use if there is 100s of scripts in the project. Perhaps at least a search / filter functionality should be implemented.
Better option would be to only show scripts with modified order. By default only "Default" line would show, representing all scripts, which do not have implicit order specified. You can then Add Script, which adds new line for it. You can move it before or after Default, which means it runs before or after all other scripts. You can add more scripts you care about and order them in relation to Default and also other added scripts.

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

Start at Settings → Script Loading Order and inspect how the current list represents script ordering. Compare the search/filter proposal with the Default-line and Add Script design, then identify the surrounding UI entry points and tests before choosing a scope. Done means large script sets can be ordered without displaying every script and the intended ordering behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, game-dev
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.