Pagination and Total Answer Count Loading Issue on Question Details Page
- Vorherrschende Sprache
- Go
- Sterne
- 15.7k
- Forks
- 1.4k
- Ø Merge
- 3 T. 8 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
**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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne auf der Fragendetailseite und reproduziere das in der Issue beschriebene Verhalten der Antwortliste. Verfolge anschließend, wie die Paginierung und die Gesamtzahl der Antworten geladen werden. Die Aufgabe ist erledigt, wenn die Anzahl alle verfügbaren Antworten widerspiegelt und die Paginierung bei Bedarf die Navigation über mehrere Seiten ermöglicht.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100