[Discover + Join/Leave] Handle onboarding-required discovery access
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- dart, postgresql
- Lĩnh vực
- authentication, mobile
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- PLpgSQL
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DevDogsUGA/DogPack
-
polish
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DevDogsUGA/DogPack#131 ·
-
polish
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
DevDogsUGA/DogPack#113 ·
-
discover
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
DevDogsUGA/DogPack#106 ·
Tất cả issue của DevDogsUGA/DogPack
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
chaitin/agent-compose#770 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Streamed /v1/chat/completions sends unredacted agent error text (keys) in the final chunkCó thể đã có người làm @rodricksz4h5 đã nhận hôm nay. Đang mởarea/streaming comp/gateway P2 type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#138245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
ansible-middleware/amq#283 ·
-
cloudtrail_multi_region_enabled_logging_management_events fails when the advanced event selector has a custom nameCó thể đã có người làm @12YYCCYY16 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
prowler-cloud/prowler#13033 ·
Maintainer thường phản hồi trong vòng 1 ngày