Skip to content

feat(article): 导出/抓取失败明细支持展开查看#171

Open
addtion99 wants to merge 3 commits into
wechat-article:masterfrom
addtion99:article-export-download-detail-modal
Open

feat(article): 导出/抓取失败明细支持展开查看#171
addtion99 wants to merge 3 commits into
wechat-article:masterfrom
addtion99:article-export-download-detail-modal

Conversation

@addtion99
Copy link
Copy Markdown

背景

http://localhost:3000/dashboard/article 文章下载页面:

  1. 导出时如果存在未抓取内容的文章,原有提示只显示数量,不显示具体是哪篇文章
  2. 抓取任务有失败时,原有反馈只显示失败数量,不显示具体失败文章。

这会导致用户需要回到表格手动排查,效率较低。

改动概览

1) 导出阻断提示增强(未抓取内容)

  • 保留原有“有 N 篇文章尚未抓取内容”的提示。
  • 新增明细弹窗:展示 标题 + 发布时间
  • 默认只展示前 10 条,支持“展开全部 / 收起”。

2) 抓取失败提示增强

  • 在抓取任务结束后,如存在失败项,弹出失败明细弹窗。
  • 明细同样展示 标题 + 发布时间
  • 支持默认折叠 + 展开全部。

前后对比

场景 A:导出前存在未抓取内容

Before

  • 仅提示:有 N 篇文章尚未抓取内容,请先抓取内容后再导出
  • 无法直接看到具体文章
image

After

  • 仍提示数量
  • 额外弹出明细弹窗(标题 + 发布时间)
  • 默认前 10 条,可展开全部
image

场景 B:抓取任务存在失败项

Before

  • 抓取完成提示中只有失败数量
  • 无具体失败文章清单
image

After

  • 抓取完成后自动弹出失败明细(标题 + 发布时间)
  • 默认前 10 条,可展开全部
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant