UX: set "topics" link in sidebar as active for hot, unseen, and my posts filters (#28305)
This commit is contained in:
parent
9d5eb6fed6
commit
c002911bed
|
@ -51,7 +51,7 @@ export default class EverythingSectionLink extends BaseSectionLink {
|
|||
}
|
||||
|
||||
get currentWhen() {
|
||||
return "discovery.latest discovery.new discovery.unread discovery.top";
|
||||
return "discovery.latest discovery.new discovery.unread discovery.top discovery.hot discovery.unseen discovery.posted";
|
||||
}
|
||||
|
||||
get badgeText() {
|
||||
|
|
|
@ -42,6 +42,7 @@ export default {
|
|||
"search",
|
||||
"bookmarks",
|
||||
"hot",
|
||||
"unseen"
|
||||
],
|
||||
periods: ["all", "yearly", "quarterly", "monthly", "weekly", "daily"],
|
||||
top_menu_items: [
|
||||
|
@ -54,6 +55,7 @@ export default {
|
|||
"categories",
|
||||
"hot",
|
||||
"bookmarks",
|
||||
"unseen",
|
||||
],
|
||||
anonymous_top_menu_items: ["latest", "hot", "categories"],
|
||||
uncategorized_category_id: 17,
|
||||
|
|
|
@ -52,6 +52,7 @@ export default {
|
|||
"read",
|
||||
"posted",
|
||||
"bookmarks",
|
||||
"unseen",
|
||||
],
|
||||
list_type: "compact",
|
||||
},
|
||||
|
|
|
@ -44,6 +44,7 @@ PreloadStore.store("site", {
|
|||
"read",
|
||||
"posted",
|
||||
"bookmarks",
|
||||
"unseen",
|
||||
],
|
||||
periods: ["all", "yearly", "monthly", "weekly", "daily"],
|
||||
top_menu_items: [
|
||||
|
@ -55,6 +56,7 @@ PreloadStore.store("site", {
|
|||
"posted",
|
||||
"categories",
|
||||
"hot",
|
||||
"unseen",
|
||||
],
|
||||
anonymous_top_menu_items: ["latest", "categories", "hot"],
|
||||
uncategorized_category_id: 17,
|
||||
|
|
Loading…
Reference in New Issue