Skip to content

fix(dashboard): distinguish sampled send attempts from confirmed delivery #85

Description

@chuanxu742-glitch

产品问题

Dashboard 的“Agent 与交付”卡把 NotificationLog.status in sent/success/completed 计为“已送达”,并写明“结果是否抵达外部渠道”。但后端将技术提交状态与 ack_status 明确分离:sent + pending 尚未收到业务回执,后续仍可能 ack_status=failed

同时 Dashboard 使用 useNotificationLogs() 的默认第一页(20 条)在前端计数,却没有标注为抽样窗口,数字视觉上像全量指标。

验收标准

  • 不再把 transport accepted 表述为“已送达”。
  • 至少区分技术提交、等待回执、已确认、回执失败、提交失败。
  • 数字来自后端聚合接口,或明确标注为“最近 N 条”,不得把第一页样本伪装成全量。
  • ACK required 与 not_required 分开解释;无需回执不等于已确认抵达。
  • Dashboard 与通知中心复用同一状态词典和指标定义。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions