DEV: Add Ember.PromiseProxyMixin to ember modules (PR #9312)

This PR:

  • Adds Ember.PromiseProxyMixin to ember modules. Reason for this is to make components work with async computed props. Good example can be found here.

This could be useful in discourse theme development if you need some user data that is not available at the moment, for example: for some reason you want to decorate poster avatar in topic list if the the poster is a staff member.

GitHub

The title of this pull request changed from “FEATURE: Add Ember.PromiseProxyMixin to ember modules” to "DEV: Add Ember.PromiseProxyMixin to ember modules

Seems good to me, thanks!

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/using-ember-promiseproxymixin-in-discourse-development/147231/1