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() {
|
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() {
|
get badgeText() {
|
||||||
|
|
|
@ -42,6 +42,7 @@ export default {
|
||||||
"search",
|
"search",
|
||||||
"bookmarks",
|
"bookmarks",
|
||||||
"hot",
|
"hot",
|
||||||
|
"unseen"
|
||||||
],
|
],
|
||||||
periods: ["all", "yearly", "quarterly", "monthly", "weekly", "daily"],
|
periods: ["all", "yearly", "quarterly", "monthly", "weekly", "daily"],
|
||||||
top_menu_items: [
|
top_menu_items: [
|
||||||
|
@ -54,6 +55,7 @@ export default {
|
||||||
"categories",
|
"categories",
|
||||||
"hot",
|
"hot",
|
||||||
"bookmarks",
|
"bookmarks",
|
||||||
|
"unseen",
|
||||||
],
|
],
|
||||||
anonymous_top_menu_items: ["latest", "hot", "categories"],
|
anonymous_top_menu_items: ["latest", "hot", "categories"],
|
||||||
uncategorized_category_id: 17,
|
uncategorized_category_id: 17,
|
||||||
|
|
|
@ -52,6 +52,7 @@ export default {
|
||||||
"read",
|
"read",
|
||||||
"posted",
|
"posted",
|
||||||
"bookmarks",
|
"bookmarks",
|
||||||
|
"unseen",
|
||||||
],
|
],
|
||||||
list_type: "compact",
|
list_type: "compact",
|
||||||
},
|
},
|
||||||
|
|
|
@ -44,6 +44,7 @@ PreloadStore.store("site", {
|
||||||
"read",
|
"read",
|
||||||
"posted",
|
"posted",
|
||||||
"bookmarks",
|
"bookmarks",
|
||||||
|
"unseen",
|
||||||
],
|
],
|
||||||
periods: ["all", "yearly", "monthly", "weekly", "daily"],
|
periods: ["all", "yearly", "monthly", "weekly", "daily"],
|
||||||
top_menu_items: [
|
top_menu_items: [
|
||||||
|
@ -55,6 +56,7 @@ PreloadStore.store("site", {
|
||||||
"posted",
|
"posted",
|
||||||
"categories",
|
"categories",
|
||||||
"hot",
|
"hot",
|
||||||
|
"unseen",
|
||||||
],
|
],
|
||||||
anonymous_top_menu_items: ["latest", "categories", "hot"],
|
anonymous_top_menu_items: ["latest", "categories", "hot"],
|
||||||
uncategorized_category_id: 17,
|
uncategorized_category_id: 17,
|
||||||
|
|
Loading…
Reference in New Issue