Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Popular topics - post date vs last update

未关闭
#36 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
领域
frontend

调研方向

首先定位热门主题 widget 的入口点,以及应用其时长设置的逻辑。将当前按主题创建日期处理的行为与所请求的按近期活动处理的行为进行比较,然后验证活跃的旧主题可以出现在所选时间段内,同时不会破坏现有列表。

由索引模型根据 Issue 内容生成。

描述

I notice the popular topics widget uses the topic creation date rather than the last update time.

In other words, you could have the duration set to "month" and there could be a topic that gets commented on / viewed twice as much as any other thread every single day, but because it was created longer than a month ago, it's not shown in the popular topics list.

This seems wrong to me. If the topic is still very active (i.e. commented on / viewed the most in the last month), it should appear in the list.

I can't really think of a good use case for the way it's currently done but if there is one, maybe this could be added as a toggle option so people can still use the creation date if they want to...

主要语言
Go Template
星标
20
派生
34
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NodeBB/nodebb-widget-essentials 的其他 Issue

查看 NodeBB/nodebb-widget-essentials 的全部 Issue

相似的 Issue

更多 Web Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。