DEV: Remove hashtag autocomplete experimental setting (#23954)

Everything relying on this was removed in
09223e5ae7
This commit is contained in:
Martin Brennan 2023-10-17 15:05:58 +10:00 committed by GitHub
parent 61c87fb59f
commit 3cde7f125d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 5 deletions

View File

@ -2450,7 +2450,6 @@ en:
navigation_menu: "Determine which navigation menu to use. Sidebar and header navigation are customizable by users. Legacy option is available for backward compatibility."
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."
enable_experimental_hashtag_autocomplete: "EXPERIMENTAL: Use the new #hashtag autocompletion system for categories and tags that renders the selected item differently and has improved search"
experimental_new_new_view_groups: 'EXPERIMENTAL: Enable a new topics list that combines unread and new topics and make the "Everything" link in the sidebar link to it.'
enable_custom_sidebar_sections: "EXPERIMENTAL: Enable custom sidebar sections"
experimental_topics_filter: "EXPERIMENTAL: Enables the experimental topics filter route at /filter"

View File

@ -2135,10 +2135,6 @@ developer:
enable_safe_mode:
default: true
client: true
enable_experimental_hashtag_autocomplete:
default: true
client: true
hidden: true
experimental_hashtag_search_result_limit:
default: 20
client: true

View File

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