wordpress-mobile / wordpress-mobile/WordPress-Android

Pages List: List doesn't consistently load on first try

オープン
#16,653 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

[Pri] Low [Type] Bug Posts + Pages
主要言語
Kotlin
スター
3.2k
フォーク
1.4k
平均マージ
1日 11時間
マージ済み PR(30日)
69

説明

Expected behavior

Whenever I open the Pages List, it will load all my pages.
If the pages are not able to load immediately, I expect to see a "Fetching pages" message.

Actual behavior

Sometimes, no pages are loaded and I see "You haven't published any pages yet" notice. Sometimes, only a few pages are loaded out of many.

Steps to reproduce the behavior
  1. Restart the app
  2. Head into My Site > Home or My Site > Menu select "Pages".
  3. Note whether all your pages are displayed
  4. Try it again

I had no pages, or only a few pages, ~60% of the time, across probably 20 tries in 5 languages. (I noticed this when doing i18n smoke testing)
When a few pages had already loaded, waiting a few seconds generally allowed the rest to appear.
When no pages were loaded, I needed to pull-to-refresh. A few times, this didn't work and I needed to navigate away from and back to the pages list.
Occasionally, all my pages loaded, or I got the "Fetching pages" message as expected when loading.

This is from a site with ~20 published pages:
loadpages

Tested on Samsung Galaxy S21, Android 12, WPAndroid 19.9-rc-4

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、テスト対象の Android 環境で My Site > Home または My Site > Menu > Pages から問題を再現し、次に Pages List の読み込み経路を追跡します。完了条件は、公開済みのすべてのページが一貫して読み込まれること、または読み込みが完了するまで "Fetching pages" メッセージが表示され続け、必要に応じて更新とナビゲーションで復旧できることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, kotlin
領域
mobile-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。