flarum / flarum/issue-archive

[Mobile] Total count of posts does not update when new posts appear

Open
#167 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/bug
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Bug Report

Current Behavior
Total count of posts on top bar does not update when new posts appear. So it actually shows something like "123 of 121 posts". Only on mobile, works as expected on desktop ui.

Steps to Reproduce

  1. Open a discussion on two devices, one of them a mobile, and scroll all way down
  2. Create some posts on the other device
  3. Wait on the mobile until they appear
  4. See error: 123 of 121 posts

Expected Behavior
Current post number should always be less than or equal to the total post count

Screenshots
See below and: https://discuss.flarum.org/d/25769-beta-15-wrong-numbers-of-posts/5
Datei_000

Environment

  • Flarum version: Reproduced on nightly f8edc2d
  • Mobile Safari on iOS 14.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

No source file or test is named. Reproduce the issue on Mobile Safari with two devices, compare the mobile and desktop post-count behavior, and trace where newly appearing posts update the total. Done means the mobile top bar keeps the current post number less than or equal to the total after new posts appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile-dev
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.