Closed SirRawlins closed 6 years ago
The subject line is already available in the JSON package returned from the API request that the plugin makes, so it just needs adding to the DOM template i.e. <strong>{{update.subject}}</strong>
.
https://github.com/sorry-app/status-bar/blob/master/src/javascripts/status-bar.js#L80
Handlebars should then pick this up and render the subject line. It'll also need a little bit of CSS styling, perhaps make the font a little stronger so it stands out.
A customer has mentioned that it'd add some clarity if the plugin displayed the subject line of the notice along with the synopsis content, as without it the message can lack context and be a little confusing.