DEV: Setup experimental sidebar skeleton (#16575)

* hidden siteSetting to enable experimental sidebar
* user preference to enable experimental sidebar
* `experimental_sidebar_enabled` attribute for current user
* Empty glimmer component for Sidebar
This commit is contained in:
Alan Guo Xiang Tan
2022-04-28 15:27:06 +08:00
committed by GitHub
parent 9f9131efbe
commit 98c49acad5
14 changed files with 76 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddEnableExperimentalSidebarToUserOptions < ActiveRecord::Migration[6.1]
def change
add_column :user_options, :enable_experimental_sidebar, :boolean, default: false
end
end