mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: show flag description along with additional reason (#31210)
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. <img width="671" alt="Screenshot 2025-02-06 at 9 59 42 am" src="https://github.com/user-attachments/assets/97629059-f346-4696-b720-9a9da3faf8f8" />
This commit is contained in:
committed by
GitHub
parent
f413e1b0de
commit
c5bead4369
@@ -44,6 +44,7 @@ describe "Flagging post", type: :system do
|
||||
topic_page.click_post_action_button(post_to_flag, :flag)
|
||||
flag_modal.choose_type(:illegal)
|
||||
|
||||
expect(flag_modal).to have_css(".illegal .description")
|
||||
expect(flag_modal).to have_css(".flag-confirmation")
|
||||
|
||||
flag_modal.fill_message("This looks totally illegal to me.")
|
||||
|
||||
Reference in New Issue
Block a user