Reader: swipe through every image in a post
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 36/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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).
- Lingua principale
- Swift
- Stelle
- 3.9k
- Fork
- 1.2k
- Merge medio
- 1g 23h
- PR unite (30g)
- 136
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wordpress-mobile/WordPress-iOS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
wordpress-mobile/WordPress-iOS#26423 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Pri] Low [Status] Ready for Dev [Type] Bug /Me
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wordpress-mobile/WordPress-iOS#26279 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Pri] Low [Status] Ready for Dev [Type] Bug Share Extension
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
wordpress-mobile/WordPress-iOS#26276 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Pri] Low [Status] Ready for Dev [Type] Bug Blogging Prompts Notifications
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
wordpress-mobile/WordPress-iOS#26256 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Status] Ready for Dev [Type] Bug Reader
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
wordpress-mobile/WordPress-iOS#26254 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di wordpress-mobile/WordPress-iOS
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
🎉 Add RemoteCrabAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
jaywcjlove/awesome-mac#4999 ·
I maintainer di solito rispondono entro 1 giorno
-
[Type] Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
wordpress-mobile/GutenbergKit#940 ·
I maintainer di solito rispondono entro 1 giorno
-
pending-maintainer-response pending-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
aws-amplify/amplify-swift#4423 ·
I maintainer di solito rispondono entro 2 giorni
-
tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
erkamyaman/unslop-anything#80 ·
I maintainer di solito rispondono entro 1 giorno