Reader Saved: an imported page saved by URL doesn't send its title

未关闭 适合新手
#26,423 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
82/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
ios, swift
领域
mobile

调研方向

从 ReaderSavedPostsExporter 开始,跟踪导入的 URL 条目如何发送到服务器。检查 ReaderSavedService.saveUrl(url:pageDetails:) 调用,以及如何获取导入文件的标题;完成标准是 URL 条目发送该标题,使其显示在其他设备上以及重新安装后。issue 没有指定测试,因此查找覆盖导入 URL 条目的 exporter 测试。

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

描述

From Claude: An imported page saved by URL doesn't send its title to the server.

What happens

When Reader Saved imports an export file, a page saved by URL is sent with only {"url": ..., "source": "ios"}. The app keeps the file's title for the row on this device, but the server never gets it.

Who is affected

Anyone who imports an export file with pages saved by URL. On other devices, and after a reinstall, those pages show without the title from the file.

Suggested fix

Send URL entries with ReaderSavedService.saveUrl(url:pageDetails:), passing the file's title, in ReaderSavedPostsExporter.

Related

Found by @crazytonyli while reviewing #26372 (smaller issue 3). Left out of that PR on purpose.

主要语言
Swift
星标
3.9k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
136

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

wordpress-mobile/WordPress-iOS 的其他 Issue

查看 wordpress-mobile/WordPress-iOS 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

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