Centralize the logic that looks at the latest organic traffic data and computes CPC
- 主要言語
- JavaScript
- スター
- 5
- フォーク
- 2
- 平均マージ
- 19時間 55分
- マージ済み PR(30日)
- 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
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100