Reviews: add "Most helpful" sort with helpful votes
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- database, full-stack
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 6
- Merge medio
- 21h 33m
- PR unite (30g)
- 48
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Your-Voldemort/StudentStack
-
CI passes NEXT_PUBLIC_SUPABASE_ANON_KEY but the app reads NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY; e2e job installs only ChromiumForse già presa @rootsiemen l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Your-Voldemort/StudentStack#126 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Flag curated flagship opportunities whose dates need a refreshForse già presa @rootsiemen l’ha presa oggi. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Your-Voldemort/StudentStack#120 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Your-Voldemort/StudentStack
Issue simili
-
createAI: the ai peer range allows ai@6, which the provider cannot work withForse già presa @akhil9tiet l’ha presa oggi. Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
cloudflare/agents#2690 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[fullsend] E2E: theme — global-header ignores app.branding.fullLogo (RHDHBUGS-3670)Forse già presa @fullsend-ai-coder l’ha presa oggi. Apertae2e-failure ready-to-code
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
redhat-developer/rhdh-plugin-export-overlays#4503 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs triage 📥
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
ethereum/ethereum-org-website#19601 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
cloudscape-design/components#5184 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
agilepathway/label-checker#805 ·
I maintainer di solito rispondono entro 1 giorno