FEATURE: subcategory list style: boxes with featured topics

This commit is contained in:
Neil Lalonde
2017-03-15 17:34:38 -04:00
parent 2c952e1981
commit 22f197c153
10 changed files with 135 additions and 24 deletions

View File

@@ -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

View File

@@ -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,