Change the format of the summary to be clearer
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3570313. --> Reported by: [andybroomfield](https://www.drupal.org/user/636756) Related to !2 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>At BHCC, we noticed the banner can sometimes read confusing when there are multiple alerts</p> <blockquote><p>Weather affecting bin collections and Parking fine scam</p></blockquote> <blockquote><p>Planning Register and Bin collections</p></blockquote> <p>Both read like these might be one of the same item.</p> <p>When there are more than 2 (with the summary we have) it does become more readable</p> <blockquote><p>Weather affecting bin collections, Parking fine scam and 1 more</p></blockquote> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Add some banners with titles like this and see if they come across as confusing.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Our digital content team suggested using the following:</p> <blockquote><p>2 Alerts: Weather affecting bin collections; Parking fine scam</p></blockquote> <p>Or for more</p> <blockquote><p>3 Alerts: Weather affecting bin collections; Parking fine scam; and 1 more</p></blockquote> <p>(Note the alert count is part of the default template, though BHCC currently overrides this to exclude it).</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ul> <li>Change the summary format to separate by semicolons.</li> <li>Add a hook or event so themes / modules can write there own summary.</li> </ul> <h3 id="summary-ui-changes">User interface changes</h3> <p>The summary in the block will now seperate each alert banner title with a semicolon by default.</p> <h3 id="summary-api-changes">API changes</h3> <p>A new alter hook or event will be available so the summary can be changed.</p>
issue