mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 19:43:11 +08:00
![]() Why is this change required? Right now, we're awaiting on the promise returned by `this.pmTopicTrackingState.startTracking()` which blocks the rendering of the template until the promise resolves. However, this blocking of the rendering ends up introducing yet another intermediate loading state in the UI which we find unsightly. Instead of blocking the rendering, we allow the promise to resolve in the background and display the new/unread counts when the promise resolves. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |