wordpress-mobile / wordpress-mobile/WordPress-iOS

Bug:"My Site" tab doesn't show "no site" state after deleting the site on the web and refreshing "My Site" tab

Open
#18,992 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug My Site
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

Expected behavior

After deleting the site on the web and refreshing "My Site" tab on the app, the app should show "No site" view.

Actual behavior

After deleting the site on the web and refreshing "My Site" tab on the app, the app shows deleted site information.

Steps to reproduce the behavior
  1. In the app log in to account that has a site
  2. Remove a site on the web (not the app)
  3. Return to the app
  4. Pull to refresh the site tab
Workaround:

Click on the site dropdown. Then the view refreshes and "No site" state is shown on "My site" tab

Tested on iPhone 13 mini, iOS 15.4, WPiOS 20.2

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 reproducing the remote site deletion and pull-to-refresh flow on the My Site tab, then trace how that tab refreshes and selects its site state. Done means the app shows the No site view immediately after refresh, without requiring the site dropdown workaround.

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
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.