wordpress-mobile / wordpress-mobile/WordPress-Android

[Reader IA] Fix showing "0 Blogs" chip until blogs are fetched

Open
#19,891 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Reader
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

We should check with design team, but maybe we could display a progress in the chip while the subscribed blogs are being fetched, and then we hide the progress and show the actual number when we have it.

Actual behavior

We show "0 Blogs" while we're fetching the subscribed blogs, and when we have them we update the chip label with the correct number (e.g. "10 Blogs"). See video.

Steps to reproduce the behavior
  • Perform a fresh install of JP and log in
  • Open reader
  • Select "Subscriptions" menu item: the blogs chip label will be "0 Blogs" at first and then will be replaced with the correct number.
Tested on emulator, Android 13, JPAndroid / WPAndroid 23.7-rc-1

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

Reproduce the issue by performing a fresh JP install, logging in, and opening Reader > Subscriptions on the stated Android version. Confirm the initial chip state and trace where the subscribed-blog count is loaded and rendered. First align the interim display with the design team's decision; done means the chip no longer shows "0 Blogs" while loading and displays the correct count after fetching.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.