Pagination and Total Answer Count Loading Issue on Question Details Page
- Lingua principale
- Go
- Stelle
- 15.7k
- Fork
- 1.4k
- Merge medio
- 3g 8h
- PR unite (30g)
- 7
Descrizione
**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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia dalla pagina dei dettagli della domanda e riproduci il comportamento dell’elenco delle risposte descritto nell’issue, quindi traccia il modo in cui vengono caricati la paginazione e il numero totale di risposte. Il lavoro è completato quando il conteggio riflette tutte le risposte disponibili e la paginazione consente di navigare tra più pagine quando necessario.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100