Reader: swipe through every image in a post
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read the related issue #1260 and inspect ReaderDetailCoordinator.findGallery(containing:), ReaderPostParser, and the presentImage flow; the issue says #1260’s gallery fix must ship first because it changes the same tap-matching code. Trace how post images and their links are identified, then compare the resulting viewer sequence with the agreed eligibility and ordering rules. Done means swiping from any eligible image reaches every eligible post image in page order while linked images outside those rules still open their links.
索引モデルが issue の本文から書いたものです。
説明
Split from #1260, which now covers only the gallery bug (linked gallery images open a web view).
In a Reader post, tapping an image outside a gallery opens it on its own in the full-screen viewer (presentImage). You can't swipe to the post's other images. Android lets you swipe through every image in the post. This was the original ask in #1260: "swipe through all the images in the post".
This is new functionality, not a bug, so it has no fix plan yet.
Decisions so far
Agreed in #1260:
-
One swipe sequence for the whole post. Tapping any eligible image opens the viewer with every eligible image in the post, in page order, gallery images included. This matches Android.
-
Images that link to another page stay links. An image joins the viewer only if it has no link, or its link points to:
- the image itself (the same file at any size),
- its full-size file (
data-orig-file), or - its attachment page.
Any other link is followed as it is today.
Spotting an attachment-page link: the markup has no explicit marker. In WordPress.com galleries, the <img> carries data-attachment-id, and the link sits under the post's permalink. In post 12152, for example, it's …/2012/10/04/tiled-image-galleries/2012-09-13-2012-09-13-img_3495/. The other form is ?attachment_id=<id>. So treat a link as an attachment page when the image has data-attachment-id and the link either starts with the post's permalink or contains attachment_id=.
Images to leave out of the sequence: emoji (img.emoji), tracking pixels and other tiny images, avatars, story images (.wp-story-image) and images inside embeds.
Not in scope: swipe-down to dismiss, captions, and laying galleries out natively in the post.
Order
Ship the #1260 gallery fix first. It changes the same tap-matching code (ReaderDetailCoordinator.findGallery(containing:), ReaderPostParser).
- 主要言語
- Swift
- スター
- 3.9k
- フォーク
- 1.2k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 136
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wordpress-mobile/WordPress-iOS のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
wordpress-mobile/WordPress-iOS#26423 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Pri] Low [Status] Ready for Dev [Type] Bug /Me
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
wordpress-mobile/WordPress-iOS#26279 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Pri] Low [Status] Ready for Dev [Type] Bug Share Extension
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
wordpress-mobile/WordPress-iOS#26276 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Pri] Low [Status] Ready for Dev [Type] Bug Blogging Prompts Notifications
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
wordpress-mobile/WordPress-iOS#26256 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Status] Ready for Dev [Type] Bug Reader
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
wordpress-mobile/WordPress-iOS#26254 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
wordpress-mobile/WordPress-iOS の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
🎉 Add RemoteCrabオープン
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
jaywcjlove/awesome-mac#4999 ·
メンテナーはふだん 1 日以内に返信
-
[Type] Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
wordpress-mobile/GutenbergKit#940 ·
メンテナーはふだん 1 日以内に返信
-
pending-maintainer-response pending-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws-amplify/amplify-swift#4423 ·
メンテナーはふだん 2 日以内に返信
-
tests
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
erkamyaman/unslop-anything#80 ·
メンテナーはふだん 1 日以内に返信