UX: Remove enable_quote_copy site setting (#31191)

This setting was introduced a year ago for
51016e56dd, which was
formerly a design experiment.

In practice on our hosting, noone has ever disabled this
setting, and it's for a useful feature. There is no
point keeping it.


![image](https://github.com/user-attachments/assets/97418e7e-2311-4ba0-bf18-41f3f55ab001)
This commit is contained in:
Martin Brennan
2025-02-06 10:31:10 +10:00
committed by GitHub
parent b9d4c57f07
commit 1ab5bc2bad
4 changed files with 3 additions and 11 deletions

View File

@@ -25,8 +25,8 @@ describe "Post selection | Copy quote", type: :system do
QUOTE
end
it "does not show the copy quote button if it has been disabled" do
SiteSetting.enable_quote_copy = false
it "does not show the copy quote button if quoting has been disabled by the user" do
current_user.user_option.update!(enable_quoting: false)
topic_page.visit_topic(topic)
select_text_range("#{topic_page.post_by_number_selector(1)} .cooked p", 0, 10)