Pagination and Total Answer Count Loading Issue on Question Details Page
- Dominant language
- Go
- Stars
- 15.7k
- Forks
- 1.4k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 7
Description
**Describe the bug**
There is a pagination issue on the answer list within the question details page. The total count of answers and the pagination list fail to load correctly. The pagination is constantly set to 1, and the total count of answers matches the number on a single page. This bug occurs across all devices and operating systems, and is independent of the browser and its version.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to the question details page.
2. Observe the answer list section.
3. Notice that the pagination is always set to 1, regardless of the number of answers.
4. Observe that the total count of answers is equal to the number of answers on one page, indicating a failure in loading the correct total.
**Expected behavior**
The expected behavior is that the answer list should correctly load with appropriate pagination. The total count of answers should reflect the actual number of answers available, and pagination should adjust accordingly, allowing users to navigate through multiple pages if necessary.
**Screenshots**
Not applicable.
**Platform (please complete the following information):**
- Device: All (e.g. Desktop, Mobile)
- OS: All (e.g. macOS, Windows, iOS, Android)
- Browser: All (e.g. Chrome, Safari, Firefox)
- Version: All_versions
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the question details page and reproduce the answer-list behavior described in the issue, then trace how the pagination and total answer count are loaded. Done means the count reflects all available answers and the pagination allows navigation across multiple pages when needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100