FIX: Update sidebar to be navigation menu (#22101)

Communities can use sidebar or header dropdown, therefore navigation menu is a better name settings in 2 places:

- Old user sidebar preferences;
- Site setting about default tags and categories.
This commit is contained in:
Krzysztof Kotlarek
2023-06-15 09:31:28 +10:00
committed by GitHub
parent be7d82d2b0
commit 2effcaa0f9
41 changed files with 171 additions and 144 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class RenameDefaultSidebarCategoriesSetting < ActiveRecord::Migration[7.0]
def change
execute "UPDATE site_settings SET name = 'default_navigation_menu_categories' WHERE name = 'default_sidebar_categories'"
end
end

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class RenameDefaultSidebarTagsSetting < ActiveRecord::Migration[7.0]
def change
execute "UPDATE site_settings SET name = 'default_navigation_menu_tags' WHERE name = 'default_sidebar_tags'"
end
end