fix: 首页默认排序改为最近活动时间线

reply 按发帖与最后评论的较晚时间混排,零回复新帖不再沉底;默认文案改为「最新」。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-01 21:54:44 +08:00
parent ea9e0058d4
commit dff60dde6a
8 changed files with 12 additions and 18 deletions

View File

@@ -553,7 +553,7 @@ func writeSSRFeed(b *strings.Builder, boot homeBootPayload, meta homeSSRMeta) {
tabs := boot.Limits.FeedSortTabs
if len(tabs) == 0 {
tabs = []service.FeedSortTab{
{ID: service.FeedSortReply, Label: "新评论", Enabled: true},
{ID: service.FeedSortReply, Label: "新", Enabled: true},
{ID: service.FeedSortLatest, Label: "新帖子", Enabled: true},
{ID: service.FeedSortHot, Label: "推荐帖", Enabled: true},
}