DEV: Drop experimental_topics_filter site setting take 2 (#30142)

This is a follow-up to e6fdfcdcd2 which
did not remove the site setting from `config/site_settings.yml` and drop
the site setting value from the database.
This commit is contained in:
Alan Guo Xiang Tan 2024-12-06 21:10:38 +08:00 committed by GitHub
parent eaa45ae4d0
commit 58556ed434
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 4 deletions

View File

@ -2729,7 +2729,6 @@ en:
default_navigation_menu_categories: "Selected categories will be displayed under Navigation Menu's Categories section by default."
default_navigation_menu_tags: "Selected tags will be displayed under Navigation Menu's Tags section by default."
experimental_new_new_view_groups: 'Enable a new topics list that combines unread and new topics and make the "Everything" link in the sidebar link to it.'
experimental_topics_filter: "Enables the experimental topics filter route at /filter"
enable_experimental_lightbox: "Replace the default image lightbox with the revamped design."
experimental_glimmer_topic_list_groups: "Enable the new 'glimmer' topic list implementation. This implementation is under active development, and is not intended for production use. Do not develop themes/plugins against it until the implementation is finalized and announced."
glimmer_post_menu_mode: "Control whether the new 'glimmer' post menu implementation is used. 'auto' will enable automatically once all your themes and plugins are ready. This implementation is under active development, and is not intended for production use. Do not develop themes/plugins against it until the implementation is finalized and announced."

View File

@ -3362,9 +3362,6 @@ experimental:
default: false
client: true
hidden: true
experimental_topics_filter:
client: true
default: true
enable_rich_text_paste:
client: true
default: true

View File

@ -0,0 +1,14 @@
# frozen_string_literal: true
class DropExperimentalTopicsFilterSiteSetting < ActiveRecord::Migration[7.2]
def up
execute <<~SQL
DELETE FROM site_settings
WHERE name = 'experimental_topics_filter'
SQL
end
def down
raise ActiveRecord::IrreversibleMigration
end
end