mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 07:03:47 +08:00
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:
parent
eaa45ae4d0
commit
58556ed434
|
@ -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."
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user