[Discover + Join/Leave] Map enrollment/host/onboarding join errors
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start in lib/sessions/join_errors.dart, which #106 must create or extend first, and look at joinErrorMessage and the new recoveryFor(String reason); the enrollment reference is supabase/schemas/dogpack/tables/session_members.sql. Add the JoinRecovery enum and the not_enrolled, host_cannot_join and onboarding_required mappings with their messages, then have the consumer recheck the account only for onboarding. Done when flutter test test/sessions/join_errors_dp_d04_3_test.dart and flutter analyze pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What to build
Explain the remaining join refusals and offer the correct next action. A missing course, a host trying to join their own meeting and incomplete setup need different recovery behavior.
Files
lib/sessions/join_errors.dart(extend the prerequisite’s file)- Starting example: supabase/schemas/dogpack/tables/session_members.sql
Code to add or extend:JoinRecovery recoveryFor(String reason).
Steps
- Declare enum recovery none/profile/manage/onboarding/refresh. Map not_enrolled→profile,host_cannot_join→manage,onboarding_required→onboarding, the earlier full/closed/unavailable→refresh.
- In
joinErrorMessage, use “Add this course to your profile before joining.” fornot_enrolled, “You host this session; use Manage instead.” forhost_cannot_join, and “Finish setup before joining.” foronboarding_required. - Consumer calls account recheck only for onboarding, rather than any PT403.
Example
not_enrolled offers profile; host_cannot_join offers Manage; onboarding_required re-enters account check.
Check it works
In test/sessions/join_errors_dp_d04_3_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/sessions/join_errors_dp_d04_3_test.dart and flutter analyze.
Before starting
- #106 — Map session full/closed/unavailable join errors
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- Lenguaje dominante
- PLpgSQL
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DevDogsUGA/DogPack
-
polish
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DevDogsUGA/DogPack#131 ·
-
polish
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
DevDogsUGA/DogPack#113 ·
-
discover
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
DevDogsUGA/DogPack#106 ·
Todos los issues de DevDogsUGA/DogPack
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
callstackincubator/simlock#639 ·
Los mantenedores suelen responder en 1 día
-
FeedbackComposerViewModel injects the full UserRepository for getUserModel onlyPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertojules
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
open-learning-exchange/myplanet#18193 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
enhancement triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
fluttercommunity/plus_plugins#4004 ·
Los mantenedores suelen responder en 1 día
-
getCredentials fails on an unrecognized fingerprint while the biometric prompt is still openAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
auth0/Auth0.Android#1095 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Nullable GIF input causes NullPointerException in GifStreamObject.loadPosiblemente ocupada @blihio la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
pedroSG94/RootEncoder#2216 ·
Los mantenedores suelen responder en 3 días