feat: improve pchome growth UX workbench
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s

This commit is contained in:
OoO
2026-06-16 12:03:29 +08:00
parent 3c0e558fbe
commit 08532b2987
6 changed files with 621 additions and 4 deletions

View File

@@ -296,3 +296,10 @@
- `sync_legacy_momo_reference_offers()``sync_targeted_momo_candidates_to_external_offers()` 只要成功寫入 `external_offers`,就呼叫 `mark_pchome_growth_cache_stale()`
- `/api/ai/pchome-growth/opportunities` 的 in-memory cache 會記住建立時的 epoch讀快取前若發現共享 epoch 較新,會直接重建,不再讓使用者看到 120 秒舊清單。
- 這讓「自動找 MOMO 候選 → 同步外部價格參考 → AI 情報頁作戰清單」變成同一條即時資料流,減少使用者手動重新整理或等待快取過期。
## 26. 2026-06-16 V10.623 比價與作戰頁工作台化
- 使用者指出前端仍像文字堆疊無法快速知道怎麼操作V10.623 將 `/price_comparison` 第一屏改為主 KPI、目前卡點、四步流程與下一步 CTA。
- `/price_comparison` 的結果區新增決策摘要,先顯示「需檢查售價或活動 / 可主推曝光 / 觀察賣點」三類數字與建議,再往下看明細表。
- `/ai_intelligence` 第一屏新增今日任務摘要,直接顯示今日任務、可立即處理、待補比價與最新業績日;資料來自現有 PChome growth API stats。
- 測試守門新增 `priceDecisionGrid``price-workflow-strip``price-result-summary-grid``growth-executive-strip``renderGrowthExecutiveSummary`,避免頁面退回只有文字說明的狀態。