UX: set "topics" link in sidebar as active for hot, unseen, and my posts filters (#28305)

This commit is contained in:
Kris
2024-08-09 16:39:12 -04:00
committed by GitHub
parent 9d5eb6fed6
commit c002911bed
4 changed files with 6 additions and 1 deletions

View File

@@ -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() {

View File

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

View File

@@ -52,6 +52,7 @@ export default {
"read",
"posted",
"bookmarks",
"unseen",
],
list_type: "compact",
},

View File

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