wordpress-mobile / wordpress-mobile/WordPress-iOS

When a post has multiple photos, we should not pick the oddly shaped one to feature

Open
#24,497 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Reader
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

https://github.com/user-attachments/assets/d1eb92e5-4b46-4264-a65e-193a26134445

This post has two photos, one portrait, and one signature. We pick the signature to highlight the post despite being very oddly shaped.

This is the post on Web

https://wordpress.com/reader/feeds/93705842/posts/5642121000

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the linked WordPress.com post and reproducing how the two photos are selected for highlighting in the iOS app. Locate the photo-selection entry point and determine how unusually shaped images are ranked; done means the portrait is featured instead of the signature without breaking posts containing other photo sets.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.