I want to create a build status widget that teams can add to any page within their Ember app. The widget would call a shared API to pull back data about the build status of internal applications and present it on the screen.
So it needs to do data retrieval over an API, support long-polls, and contain display logic. What I can’t figure out is how to fully encapsulate this logic into something that the teams can bring in without violating the core opinionated pieces of Ember (models tied to URL’s, etc…)
How do you encapsulate and share a fully coherent set of code like this in Ember (HTMLbars template code, data retrieval code, formatting, action handling, etc…)