Reviews: add "Most helpful" sort with helpful votes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- database, full-stack
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 6
- 平均マージ
- 22時間 9分
- マージ済み PR(30日)
- 42
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Your-Voldemort/StudentStack のほかの issue
-
/submit, /my-list, and /onboarding return 500 when Supabase isn't configured対応中かも @Aryan-Techie が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Your-Voldemort/StudentStack#127 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Your-Voldemort/StudentStack#126 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Your-Voldemort/StudentStack#120 ·
メンテナーはふだん 1 日以内に返信
-
Past deadlines labelled "today"; search placeholder ignores eligibility filter対応中かも @Aryan-Techie が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Your-Voldemort/StudentStack#118 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Dialogs render with the light theme on dark pages対応中かも @Aryan-Techie が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
Your-Voldemort/StudentStack#117 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Your-Voldemort/StudentStack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
logto-io/logto#9837 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
lingdojo/kana-dojo#32964 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
Documentation status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mastra-ai/mastra#28194 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority-low refactor-3
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 3 日以内に返信