wordpress-mobile / wordpress-mobile/WordPress-iOS

Show `check-network` title when switch off network on listView.

Open
#19,344 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

When NoResultsViewController display the empty-result title on the screen, switch the network to disconnect.
The label will change to check-network title.

Actual behavior

When NoResultsViewController display the empty-result title on the screen, switch the network to disconnect.
The label does not change.

Steps to reproduce the behavior
  1. Launch the app.
  2. Log in with an account without any (post/media/pages) content in your site or add a new site for any account.
  3. Navigate the My Site tab.
  4. tap (post/media/pages) on side-menu
  5. turn off network
Device iPhone iPad
Actual Simulator Screen Shot - iPhone 14 - 2022-09-26 at 18 12 54 Simulator Screen Shot - iPad (9th generation) - 2022-09-26 at 18 03 43
Expect Simulator Screen Shot - iPhone 14 - 2022-09-26 at 18 45 03 Simulator Screen Shot - iPad (9th generation) - 2022-09-26 at 18 01 45
Tested on [iPhone14, iPad 9], iOS [16], WPiOS [20.8]

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 locating NoResultsViewController and the list-view empty-result state. Reproduce the steps with the network disabled, then trace why the label does not switch to the check-network title and verify that the title changes for empty post, media, and page lists.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.