Uninitialized variable named settings

I’m still learning about theme and plugin development, so there’s a lot I’m ignorant about, but I’m wanting to contribute to this theme component if possible. So I’ve been looking at Fix board button categories by nathan-nz · Pull Request #23 · discourse/discourse-kanban-theme · GitHub as one possible starting point. And I have a basic question: in https://github.com/discourse/discourse-kanban-theme/blob/main/javascripts/discourse-kanban/lib/kanban-utilities.js and a few other places there is an uninitialized variable named settings; it must be setup by the tooling somewhere, and I’m curious to learn more about how that works. Is that an Ember feature, or the Discourse theme driver, or something else? Is there more documentation on variables like that somewhere?

1 Like

It’s a Discourse theme thing - you can find more info here:

1 Like