cheeaun / cheeaun/phanpy

Phanpy doesn't load all posts by the owner of a thread

Open
#107 2 comments 0 reactions 0 assignees View on GitHub
bug high-complexity need investigation
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

**Describe the bug**

Open the 1st post of a 10-post thread shows only 2 posts and then other people's replies. Happen with both the dev and regular phanpy sites.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://phanpy.social/
3. Search for this post https://journa.host/@timkmak/110186589126000966
4. Open the post and see it displays correctly the full 10 posts before other people's comments.
5. Do either of the following things to see the bug:
a) Refresh the page.
b) Switch to post's instance.

Now you'll only see 2 posts and have to click the 2nd, and then click the 3rd post to show the full thread.

**Expected behavior**
See all 10 posts of a thread when click the 1st post in thread.

**Screenshots**
What I expected:

Bug:

**Desktop (please complete the following information):**
Windows 11, Edge browser, all updated.

**Additional context**

- I don't know if it's a bug from the Mastodon client itself, but if you click https://journa.host/@timkmak/110186589126000966 you'll also see only 2 posts of the thread.
- Elk Zone is able to handle it correctly, as is Phanpy from the search results, but not when refresh the page or switch to post instance.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue at https://phanpy.social/ using the linked post, comparing the initial search result with a refresh and switching to the post's instance. Trace the thread-loading path from the post view and compare it with the search-result behavior. Done means opening the first post consistently shows all 10 posts before other replies.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.