Skip to content

A platform for community discussion. Free, open, simple.

UX: update admin popular theme list (#23134)

Kris51e369a2c6f6
diff --git a/app/assets/javascripts/discourse-common/addon/lib/popular-themes.js b/app/assets/javascripts/discourse-common/addon/lib/popular-themes.js
index 675106873b5..ac3e0aeda5d 100644
--- a/app/assets/javascripts/discourse-common/addon/lib/popular-themes.js
+++ b/app/assets/javascripts/discourse-common/addon/lib/popular-themes.js
@@ -1,4 +1,11 @@
export const POPULAR_THEMES = [
+ {
+ name: "Air",
+ value: "https://github.com/discourse/discourse-air",
+ preview: "https://discourse.theme-creator.io/theme/awesomerobot/air-theme",
+ description: "A clean and modern theme for Discourse.",
+ meta_url: "https://meta.discourse.org/t/discourse-air-theme/197703",
+ },
{
name: "Graceful",
value: "https://github.com/discourse/graceful",
@@ -12,16 +19,17 @@ export const POPULAR_THEMES = [
value: "https://github.com/discourse/material-design-stock-theme",
preview: "https://discourse.theme-creator.io/theme/tshenry/material-design",
description:
- "Inspired by Material Design, this theme comes with several color palettes (incl. a dark one).",
+ "Inspired by Material Design, this theme comes with several color palettes.",
meta_url: "https://meta.discourse.org/t/material-design-stock-theme/47142",
},
{
- name: "Minima",
- value: "https://github.com/discourse/minima",
- preview: "https://discourse.theme-creator.io/theme/awesomerobot/minima",
- description: "A minimal theme with reduced UI elements and focus on text.",
+ name: "Mint",
+ value: "https://github.com/discourse/discourse-mint-theme",
+ preview: "https://discourse.theme-creator.io/theme/awesomerobot/mint",
+ description:
+ "A minty colored theme with featured homepage categories and a search banner.",
meta_url:
- "https://meta.discourse.org/t/minima-a-minimal-theme-for-discourse/108178",
+ "https://meta.discourse.org/t/mint-a-modern-theme-for-discourse/202822",
},
{
name: "Sam's Simple Theme",
@@ -52,7 +60,7 @@ export const POPULAR_THEMES = [
component: true,
},
{
- name: "Gifs Search",
+ name: "GIFs Search",
value: "https://github.com/discourse/discourse-gifs",
description: "Adds a button to easily search and insert GIFs in posts.",
meta_url: "https://meta.discourse.org/t/discourse-gifs-component/158738",
@@ -68,6 +76,15 @@ export const POPULAR_THEMES = [
meta_url: "https://meta.discourse.org/t/discourse-category-banners/86241",
component: true,
},
+ {
+ name: "Tag Banners",
+ value: "https://github.com/discourse/discourse-tag-banners",
+ preview:
+ "https://discourse.theme-creator.io/theme/awesomerobot/tag-banners",
+ description: "Show banners on tag pages using your existing tag details.",
+ meta_url: "https://meta.discourse.org/t/tag-banners/124240",
+ component: true,
+ },
{
name: "Kanban Board",
value: "https://github.com/discourse/discourse-kanban-theme",
@@ -77,14 +94,6 @@ export const POPULAR_THEMES = [
"https://meta.discourse.org/t/kanban-board-theme-component/118164",
component: true,
},
- {
- name: "Hamburger Theme Selector",
- value: "https://github.com/discourse/discourse-hamburger-theme-selector",
- description:
- "Displays a theme selector in the hamburger menu provided there is more than one user-selectable theme.",
- meta_url: "https://meta.discourse.org/t/hamburger-theme-selector/61210",
- component: true,
- },
{
name: "Sidebar Theme Toggle",
value: "https://github.com/discourse/discourse-sidebar-theme-toggle",
diff --git a/app/assets/javascripts/discourse/tests/acceptance/admin-install-theme-modal-test.js b/app/assets/javascripts/discourse/tests/acceptance/admin-install-theme-modal-test.js
index a3b0ddb9642..2c14f9091c3 100644
--- a/app/assets/javascripts/discourse/tests/acceptance/admin-install-theme-modal-test.js
+++ b/app/assets/javascripts/discourse/tests/acceptance/admin-install-theme-modal-test.js
@@ -111,7 +111,7 @@ acceptance("Admin - Themes - Install modal", function (needs) {
assert.ok(
query(
- '.popular-theme-item[data-name="Minima"] .popular-theme-buttons button'
+ '.popular-theme-item[data-name="Mint"] .popular-theme-buttons button'
),
"install button is shown for not installed themes"
);