[Discover + Join/Leave] Query upcoming sessions for enrolled courses
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
調査の方向性
Start with the new lib/sessions/session_repository.dart and the example supabase/schemas/private/functions/session_visible.sql, which shows how session visibility is already expressed. Implement discoverSessions(client, term, courses, now) to return an empty list for no courses, otherwise filter by term, course, scheduled status and future start time, ordered soonest first, then map rows with SessionRecord.fromRow. Done when flutter test test/sessions/session_repository_dp_d02_test.dart and flutter analyze pass. Issues #30 and #100 should be resolved first.
索引モデルが issue の本文から書いたものです。
説明
What to build
Find upcoming study meetings for the student’s saved courses and selected semester. Return them soonest first, excluding cancelled meetings and courses the student has not saved.
Files
lib/sessions/session_repository.dart(new file)- Starting example: supabase/schemas/private/functions/session_visible.sql
Code to add or extend:Future<List<SessionRecord>> discoverSessions(client,term,courses,now).
Steps
- Return [] immediately for empty enrolled courses.
- Query sessions with term equality, course inFilter, status scheduled, startsAt>
now.toUtcISO, ascending startsAt. - Map rows using
SessionRecord.fromRow; rely on member RLS, not administrator credentials.
Example
Course CSCI 1301+term 202702 yields only upcoming scheduled enrolled sessions in soonest order.
Check it works
In test/sessions/session_repository_dp_d02_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/sessions/session_repository_dp_d02_test.dart and flutter analyze.
Before starting
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- 主要言語
- PLpgSQL
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DevDogsUGA/DogPack のほかの issue
-
polish
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DevDogsUGA/DogPack#131 ·
-
polish
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
DevDogsUGA/DogPack#113 ·
-
discover
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
DevDogsUGA/DogPack#106 ·
DevDogsUGA/DogPack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elie222/inbox-zero#4160 ·
メンテナーはふだん 1 日以内に返信
-
ai_p1 comp-message-queues
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ClickHouse/ClickHouse#125890 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug performance scalability
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Davidjustice28/basildb#35 ·