How are Targets ordered?

Based on this documentation, I can see that context can be used to control whether or not a Target is visible, but it’s not clear what controls the order of Targets. Is it based on the order in which they are in the targets.js file?

2 Likes

The order they show in the app is determined by their order in the app_settings.json file. Since targets.js is compiled into the app_settings file, that means the order of the targets in targets.js determines the order the app.

That seems like a good thing to clarify in the documentation — please feel free to edit the doc and create a PR!

1 Like

I’ve edited and submitted the PR, thanks!

1 Like

Nice work!

PR is approved and ready to merge.