AletheiaFact / AletheiaFact/aletheia
Enhancement: support Claim and ClaimReview toggle with filters on repository page
- Lenguaje dominante
- TypeScript
- Estrellas
- 55
- Forks
- 20
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 2
Descripción
### Background Information
Currently, the repository page only lists `Claim` items. This limits visibility of the fact-checking work itself, since the reviews (`ClaimReview`) produced by fact-checkers aren't shown anywhere on the page. Adding `ClaimReview` as a new item type will give more visibility to the checks performed on the platform, not just the claims being tracked.
### Steps to Reproduce
1. Go to the repository page.
2. Note that only `Claim` items are listed.
3. There is no way to view `ClaimReview` items, nor any filters for either list.
### How
- **Backend**: the `ClaimReview` list endpoint already exists. Confirm whether it currently accepts filter params (personality, topic, claim type, date range, review rating) and extend it if any are missing.
- **Frontend**:
- Add a toggle on the repository page to switch between the `Claim` list and the `ClaimReview` list.
- Add filters to the `Claim` list: personality, topic, claim type, date range.
- Add filters to the `ClaimReview` list: personality, topic, claim type, date range, and review rating/classification.
### Expected Behavior
- Users can toggle between viewing `Claim` items and `ClaimReview` items on the repository page.
- Each list has its own set of filters, as described above, and filtering returns accurate results per item type.
- Switching the toggle doesn't break or mix up filter state between the two lists.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.