playcanvas / playcanvas/editor
Script Loading Order is not user friendly for large number of scripts
Nobody has claimed this yet.
- 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
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 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