Hot topics this quarter/month/week/today

It would be great to have a the ability to have a 'Hot topic / Popular topic/ filter on the front page in addition to the existing Top Topics filter.

What
Right now there are only two ways to discover content on a Discourse Forum:

  • Where there has been activity recently
  • Topics created within X timeframe that are popular

we need a 3rd potential way to organize the topic list

  • Topics that were most popular within X timeframe

Why

Top topics is great, but what about topics created over, say a week ago, but are the ‘hottest’ topics of the week? They don’t show up in the top views and since the ‘latest’ view changes 10x a day they don’t get a prominent spot there.

On our site, we have a lot of once-a-week visitors and we would love to have a default view on the homepage on ‘Hot topics this week’ so people can follow where the most activity has been going on this week (views, likes, comments, clicking on links, etc).

Imagine you visit meta.discourse.com on a weekly or bi-weekly basis - the last few weeks, the “Discourse Feature Voting” topic has been one of the most active topics on this forum. However, it will not show up if i click top posts this week. I might even miss it on the"Latest" view if i am lucky and visit on a time when other topics just received comments.

Perhaps, but without regular activity, any site is long term dead anyway. This is something you want to encourage, rather than zombie-raising older topics.

It seems like an awfully subtle distinction on activity time vs. creation time, particularly when the vast majority of topics are active after creation time and then rapidly trail off over time.

And, a much easier fix is to simply broaden the time window.

We want the default landing page sorting criteria to show “popular topics” the past week rather than topics with recent activity. However, a lot of valuable activity is happening in threads that have been created over a week ago, but continue to be highly active. So we want a view that allows us to surface what topics were most popular the past week - and not necessarily created the past week.

As I said, it’s quite unusual to have continually active topics long after the creation date. And the topics that exhibit this tendency may have other characteristics, such as being chat-like or GTKY (getting to know you).

So it’s a big change, first of all, and second, we’d be optimizing for what I consider to be an unusual, corner case that would not help the majority of sites.

Just unlikely to happen in the near term.

Besides, anything active will get bounced to /latest – why don’t you just make that the default if that’s what you want? And that’s why it is the default, in Discourse…

1 个赞

A lot of the topics i see in /top/quarterly on Discourse are still highly active :wink:

The reason for having a /popular view as a default landing page is because we want to serve our new users the best/most popular content first and let the regulars navigate to /latest themselves.

That’s fine, but this hybrid view does not exist, and would be difficult to build. It is not on our roadmap in any form at the moment.

  • the existing default homepage of /latest works for 95% of sites
  • /top is only a click away
  • new and long-absent users are sent to /top by default so they can see the “best” stuff on arrival as a new (never been here before) or long-absent (I haven’t been here in ages) user.

You can set /top to be the homepage. You simply make it the first item in the menu, and there is a defaul top time period setting that you can set to weekly, monthly, quarterly, and it will be reflected on the homepage instead of the default yearly.

Yes, but top has date cutoffs, based on the date of topic creation, and he wants it to be based on date of activity exclusively.

1 个赞

Yeah :slight_smile: we will go for Top for now, just wanted to call it out
Thanks!

1 个赞

说得通,但有一类你很可能在意的网站确实能从中受益:协作类网站。

如果你正在参与共同构建某个事物(软件、组织或运动),那么从最初提出想法到最终完成之间,往往存在巨大的时间跨度。

使用 Discourse 这类平台作为协作工具的部分意义,正在于促进讨论在长时间间隔中的连续性,而不是每次都从头开始重启讨论。

协作作为一个市场领域的好处在于,它天然地与付费客户相关联 :blush:

我不明白你为什么认为这是一个重大变更。看看“热门话题”模型的代码,似乎只需要修改 compute_top_score_for 方法。目前这一行:

if period == :all
   // 获取所有话题,不按 topic.created 进行过滤
.....
// 构建查询
DB.exec(sql, from: start_of(period))

将会变成类似这样:

created_period = SiteSetting.top_topics_created_period
created_period = period if created_period == ''

if created_period == :all
   // 获取所有话题,不按 topic.created 进行过滤
.....
// 构建查询
DB.exec(sql, from: start_of(created_period))

我确信实际改动会比这更多一些,但似乎你认为整个算法计算都需要重新编写。