discourse/app
Alan Guo Xiang Tan b4611114f9
DEV: Use concat-class helper when setting class for DButton (#21998)
Why this change?

Currently, we're interpolating within a string to set the class for the
`DButton` component. However, the interpolation and formatting of our
handlebars templates result in unnecessary spaces being added to the
class attribute.

```
<button class="sidebar-section-header sidebar-section-header-collapsable btn-flat

    btn
    no-text
    " aria-controls="sidebar-section-content-categories" aria-expanded="true" title="Toggle section" type="button">
  ...
</button>
```

This makes the HTML elements for buttons hard to read especially when
we're debugging issues in the console. After this change, this is what
we get:

```
<button class="sidebar-section-header sidebar-section-header-collapsable btn-flat btn no-text" aria-controls="sidebar-section-content-categories" aria-expanded="true" title="Toggle section" type="button">
   ...
</button>
```
2023-06-12 08:29:21 +08:00
..
assets DEV: Use concat-class helper when setting class for DButton (#21998) 2023-06-12 08:29:21 +08:00
controllers FEATURE: Add Mailpace webhook (#21981) 2023-06-08 20:06:20 +03:00
helpers UX: Improve login required page (#20847) 2023-03-28 07:09:44 -05:00
jobs FIX: consider users.created_at for inactive cleanup (#21688) 2023-05-23 13:41:23 +05:30
mailers FIX: Likes received count in digest email (#21458) 2023-05-09 19:19:26 +02:00
models FIX: json_schemer no longer allows nil keys (#22015) 2023-06-08 15:12:47 -05:00
serializers FIX: Make serialized watched word regex Javascript compatible (#22010) 2023-06-09 10:22:41 +00:00
services FIX: Create new PM notifications for watching_first_post groups (#21997) 2023-06-08 17:41:44 +00:00
views DEV: add class for static login description section (#22002) 2023-06-08 19:51:41 +05:30