mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: subcategory list style: boxes with featured topics
This commit is contained in:
@@ -36,4 +36,11 @@ test("Visit Discovery Pages", () => {
|
||||
ok(exists(".topic-list"), "The list of topics was rendered");
|
||||
ok(exists(".category-boxes"), "The list of subcategories were rendered with box style");
|
||||
});
|
||||
|
||||
visit("/c/dev");
|
||||
andThen(() => {
|
||||
ok(exists(".topic-list"), "The list of topics was rendered");
|
||||
ok(exists(".category-boxes-with-topics"), "The list of subcategories were rendered with box-with-featured-topics style");
|
||||
ok(exists(".category-boxes-with-topics .featured-topics"), "The featured topics are there too");
|
||||
});
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -146,8 +146,9 @@ export default {
|
||||
"notification_level":null,
|
||||
"logo_url":null,
|
||||
"background_url":null,
|
||||
"show_subcategory_list":false,
|
||||
"default_view":"latest"
|
||||
"show_subcategory_list":true,
|
||||
"default_view":"latest",
|
||||
"subcategory_list_style":"boxes_with_featured_topics"
|
||||
},
|
||||
{
|
||||
"id":6,
|
||||
|
||||
Reference in New Issue
Block a user