统计增强,新增过期资源数量统计 - #40
Merged
Merged
Conversation
- 首页: 新增"今日失效资源数"(Resource.InvalidatedAt 追踪 + CountInvalidByDate),与今日资源并列 - 仪表盘: 总/同步/失效/访问四指标 + 访问网盘分布 + 获取资源来源分布(扩展 GetSummary,向后兼容) - 搜索统计: 热门关键词(全量) + 近期热搜(近30天) + 搜索来源分布;区块顺序 热门→近期热搜→搜索记录 - 来源归因: SearchStat/ResourceView 加 source(web/wechat),网页与公众号搜索/获取两条路径各带来源,历史回填 web - 数据模型: Resource.InvalidatedAt、SearchStat.Source、ResourceView.Source + source 常量 + 幂等回填迁移 Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…valid Co-Authored-By: Claude <noreply@anthropic.com>
- r/[key].vue 三态: 有效资源 / 失效态 / 真404 - 失效态: 《标题》已失效 + 一键搜索同名 + 标题搜出的6个替代资源 - 后端 GetResourcesByKey(前序 commit) 全组失效返回 failed_resource 供此页消费 - 真404 美化(ghost 图标 + 返回首页) - title 为空用 key 兜底; 搜索失败降级不阻塞 注: pnpm build 的 client/server 阶段通过(类型检查 OK); nitro 阶段因 @vueuse/core@14 与 rollup/@rollup/plugin-commonjs 兼容性失败, 已验证与本改动无关(回退后仍失败)。 Co-Authored-By: Claude <noreply@anthropic.com>
…s helper Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.