From c5bead43696e06e99b518a3e19fadfaeb906ae9e Mon Sep 17 00:00:00 2001 From: Krzysztof Kotlarek Date: Thu, 6 Feb 2025 12:47:31 +1100 Subject: [PATCH] FEATURE: show flag description along with additional reason (#31210) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, the description is hidden when an additional reason field appears on the flag modal. It can contain important guidance and therefore should never be hidden. Screenshot 2025-02-06 at 9 59 42 am --- .../javascripts/discourse/app/components/flag-action-type.hbs | 4 +--- .../javascripts/discourse/app/components/flag-action-type.js | 3 +-- spec/system/flagging_post_spec.rb | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/flag-action-type.hbs b/app/assets/javascripts/discourse/app/components/flag-action-type.hbs index 89d7f15914a..2bc094db0e2 100644 --- a/app/assets/javascripts/discourse/app/components/flag-action-type.hbs +++ b/app/assets/javascripts/discourse/app/components/flag-action-type.hbs @@ -48,9 +48,7 @@ />
{{this.formattedName}} - {{#if this.showDescription}} -
{{html-safe this.description}}
- {{/if}} +
{{html-safe this.description}}
{{#if this.showMessageInput}}