[Discover + Join/Leave] Handle onboarding-required discovery access
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- dart, postgresql
- 領域
- authentication, mobile
調査の方向性
Start with the SQL function in supabase/schemas/private/functions/session_visible.sql to see how onboarding_required is raised, then find AuthController.retry and the account check it runs. The new file lib/screens/discover_screen.dart should map a PostgrestException with onboarding_required to that recheck, while an empty list stays an empty state. Done means test/screens/discover_screen_dp_d02_3_test.dart passes, flutter analyze is clean, and #102 is resolved first.
索引モデルが issue の本文から書いたものです。
説明
What to build
Handle a discovery request that the server refuses because setup is incomplete. Run the existing account check again so the student returns to the correct screen.
Files
lib/screens/discover_screen.dart(new file)- Starting example: supabase/schemas/private/functions/session_visible.sql
Steps
- When loader throws PostgrestException with message onboarding_required/codePT403, call
AuthController.retryand let account check choose the screen. - Other403/empty list stays its existing error/empty distinction; do not treat any empty result as failed onboarding.
- Show generic retry for unavailable network/unknown exceptions.
Example
onboarding_required → account recheck;[] → empty list, not an auth reset.
Check it works
In test/screens/discover_screen_dp_d02_3_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/discover_screen_dp_d02_3_test.dart and flutter analyze.
Before starting
- #102 — Resolve host names and map session cards
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
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jbacalso24/mimry#291 ·
メンテナーはふだん 1 日以内に返信
-
ci-cd from-review-extraction python security severity:suggested
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
LearningCircuit/local-deep-research#7454 ·
メンテナーはふだん 2 日以内に返信
-
Change oauth client name?対応中かも @nealrichardson が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
posit-dev/rsconnect-python#870 ·
メンテナーはふだん 1 日以内に返信
-
feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
useagenthq/useagent#153 ·
メンテナーはふだん 2 日以内に返信
-
enhancement frontend good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anujsharma8d/mockspire#7 · コメント 1 件 ·