adobe / adobe/spacecat-shared

Centralize the logic that looks at the latest organic traffic data and computes CPC

未关闭
#653 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
JavaScript
星标
5
派生
2
平均合并
19 小时 55 分钟
30 天内合并 PR
33

描述

**Is your feature request related to a problem? Please describe.**
Related to: https://github.com/adobe/spacecat-audit-worker/pull/725

**Describe the solution you'd like**
In the future, we'll have to centralize the logic that looks at the latest organic traffic data and computes CPC, as this is now also in https://github.com/adobe/spacecat-api-service/blob/e0e3d1e2310636055b037d24d8ddc038114e31bb/src/controllers/sites.js#L423-L439 and https://github.com/adobe/spacecat-import-worker/blob/e0ae0953ae33aac5775a7e2a9a5d954553f35a36/src/mapper/latest-metrics.js#L30-L35

贡献指南

打开贡献指南

调研方向

比较 spacecat-api-service/src/controllers/sites.js 中第 423-439 行附近引用的逻辑与 spacecat-import-worker/src/mapper/latest-metrics.js 中第 30-35 行附近的逻辑,以及相关的 spacecat-audit-worker pull request。在定义集中式实现和完整迁移应包含哪些内容之前,确定共享入口点和预期消费者。

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

评估

技术栈
javascript
领域
api, backend, data
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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