Reviews: add "Most helpful" sort with helpful votes
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- database, full-stack
Línea de trabajo
The issue proposes a review_votes table, a helpful toggle on /r/[slug], and a Most helpful sort. First read PRD §8.11 and issue #107 to understand the existing review sorts; then inspect the review page and its data access paths. The scope is still up for discussion, so confirm the voting rules with the maintainer before implementation; done means students can vote within those rules and reviews sort by vote count, then recency.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
PRD §8.11's UX notes ask for reviews to be sortable by most recent, highest rated, and most helpful. #107 shipped the first two. "Most helpful" needs students to be able to mark reviews as helpful, which doesn't exist yet.
Proposed scope (for discussion before a PR)
- New
review_votestable:review_id(FK toreviews, deleted with the review),user_id,created_at, unique(review_id, user_id), RLS on. One new migration. - A "Helpful (N)" toggle on each review on
/r/[slug], for signed-in students. Students can't vote on their own review; this is checked on the server, and review authors stay anonymous. - Signed-out visitors see the count, and the button prompts them to sign in.
- A third sort link, "Most helpful": helpful count first, then most recent.
Questions for the maintainer
- Is this worth adding now, given how few reviews there are so far?
- Should a student have to have saved the resource (like writing a review does) before they can vote?
- Should votes be "helpful" only, or helpful/not helpful?
Out of scope: moderation or reporting of reviews.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 6
- Merge medio
- 21 h 33 min
- PR fusionados (30 d)
- 48
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Your-Voldemort/StudentStack
-
CI passes NEXT_PUBLIC_SUPABASE_ANON_KEY but the app reads NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY; e2e job installs only ChromiumPosiblemente ocupada @rootsiemen la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Your-Voldemort/StudentStack#126 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Flag curated flagship opportunities whose dates need a refreshPosiblemente ocupada @rootsiemen la tomó hace 1 día. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Your-Voldemort/StudentStack#120 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de Your-Voldemort/StudentStack
Issues similares
-
level/task type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
wazuh/wazuh-dashboard-plugins#9508 ·
Los mantenedores suelen responder en 1 día
-
Testnet EOL page links Zonescan mainnetPosiblemente ocupada @napelvs la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
Los mantenedores suelen responder en 1 día
-
[Docs] docs/architecture.mermaid leaves out 21 of the 51 src/ directoriesPosiblemente ocupada @uyg7x la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
enhancement status:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
dongdongbh/Mindwtr#1438 ·
Los mantenedores suelen responder en 1 día