wordpress-mobile / wordpress-mobile/WordPress-iOS
Share Extension: Site picker takes too long to load for accounts with many sites
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
We received this feedback about the time it takes for the site picker to load in the share extension (internal ref: p1P4aZ-3N4-p2):
The last thing I noticed is that the mobile app’s fetching of the possible sites to publish to within the share extension flow consistently took 10-15 seconds. It would be awesome to have this cached more aggressively if possible.
I see a similar delay when I share to the app while logged in to my a8c account, and the delay occurs every time I open the share extension (not just the first time). It definitely feels like we need better caching there, especially because this blocks actions in the share extension — the first thing you see after selecting WordPress as the share target is that it's fetching your sites.
I also tested while logged in to an account that only has one site and another account with 18 sites, and it was very fast to load in both cases, so this is likely only a noticeable issue for accounts with many sites.
Tested on iPhone XS, iOS 12.1.4, WPiOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the share extension's site-picker fetch and comparing load times for accounts with many sites. Verify the behavior when reopening the extension, then consider the work complete when repeated openings no longer block for 10–15 seconds for large accounts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100