A platform for community discussion. Free, open, simple.
DEV: Remove old kanban theme component from popular themes list (#43114)
Martin Brennanddb93afd026d
diff --git a/app/controllers/access_control_lists_controller.rb b/app/controllers/access_control_lists_controller.rbindex 7cd4004d3af..faf9d272fa3 100644--- a/app/controllers/access_control_lists_controller.rb+++ b/app/controllers/access_control_lists_controller.rb@@ -29,7 +29,7 @@ class AccessControlListsController < ApplicationControlleron_failed_contract { |contract| render_json_error(contract.errors.full_messages) }on_model_not_found(:target_type_klass) { raise Discourse::InvalidParameters }on_failed_policy(:user_will_not_lose_permission) do |params:, target_type_klass:|- # NOTE: The target type class (e.g. a Kanban::Board, or Category) will need to define+ # NOTE: The target type class (e.g. a Boards::Board, or Category) will need to define# the translation key here in server.en.ymlsuffix =if params.target_id.present?diff --git a/frontend/discourse/app/lib/popular-themes.js b/frontend/discourse/app/lib/popular-themes.jsindex a17328827e9..3429802d17c 100644--- a/frontend/discourse/app/lib/popular-themes.js+++ b/frontend/discourse/app/lib/popular-themes.js@@ -77,14 +77,6 @@ export const POPULAR_THEMES = [meta_url: "https://meta.discourse.org/t/tag-banners/124240",component: true,},- {- name: "Kanban Board",- value: "https://github.com/discourse/discourse-kanban-theme",- preview: "https://discourse.theme-creator.io/theme/Discourse/kanban-board",- description: "Display and organize topics using a Kanban board interface.",- meta_url: "https://meta.discourse.org/t/kanban-board/118164",- component: true,- },{name: "Sidebar Theme Toggle",value: "https://github.com/discourse/discourse-sidebar-theme-toggle",diff --git a/spec/lib/plugin/metadata_spec.rb b/spec/lib/plugin/metadata_spec.rbindex 6ac5ce9d63c..bbabc005eeb 100644--- a/spec/lib/plugin/metadata_spec.rb+++ b/spec/lib/plugin/metadata_spec.rb@@ -51,7 +51,6 @@ TEXTofficial("discourse-cakeday")official("discourse-data-explorer")official("boards")- unofficial("discourse-kanban")unofficial("babble")enddiff --git a/spec/system/admin_customize_components_config_area_spec.rb b/spec/system/admin_customize_components_config_area_spec.rbindex f8249809501..8547cf8c717 100644--- a/spec/system/admin_customize_components_config_area_spec.rb+++ b/spec/system/admin_customize_components_config_area_spec.rb@@ -58,7 +58,7 @@ describe "Admin Customize Themes Config Area Page" doenabled: false,remote_theme:RemoteTheme.create!(- remote_url: "https://github.com/discourse/discourse-kanban-theme.git",+ remote_url: "https://github.com/discourse/discourse-category-banners.git",commits_behind: 4,),)@@ -137,7 +137,7 @@ describe "Admin Customize Themes Config Area Page" do"Description of my remote component",)expect(config_area.component(remote_component_with_update.id)).to have_description(- "Display and organize topics using a Kanban board interface.",+ "Show banners on category pages using your existing category details.",)expect(config_area.component(remote_component.id)).to be_not_pending_update