FEATURE: "Hot" replacing "Top" as default in the top menu (#28252)

This change only applies to instances that have not modified the
`top_menu` site setting.
This commit is contained in:
Penar Musaraj
2024-08-08 13:57:42 -04:00
committed by GitHub
parent 5b1d9d602f
commit 7c5e3eacda
13 changed files with 88 additions and 34 deletions

View File

@@ -1881,7 +1881,7 @@ en:
max_reply_history: "Maximum number of replies to expand when expanding in-reply-to"
topics_per_period_in_top_summary: "Number of top topics shown in the default top topics summary."
topics_per_period_in_top_page: "Number of top topics shown on the expanded 'Show More' top topics."
redirect_users_to_top_page: "Automatically redirect new and long absent users to the top page."
redirect_users_to_top_page: "Automatically redirect new and long absent users to the top page. Only applies when 'top' is present in the 'top menu' site setting."
top_page_default_timeframe: "Default top page time period for anonymous users (automatically adjusts for logged in users based on their last visit)."
moderators_view_emails: "Allow moderators to view user email addresses."
prioritize_username_in_ux: "Show username first on user page, user card and posts (when disabled name is shown first)"

View File

@@ -190,7 +190,7 @@ basic:
refresh: true
type: list
list_type: simple
default: "latest|new|unread|top|categories"
default: "latest|new|unread|hot|categories"
regex: "latest"
regex_error: "site_settings.errors.must_include_latest"
validator: RegexPresenceValidator