[Report & Block] Render authorized host profile detail
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 40/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- dart, supabase
- Área
- authorization, mobile
Línea de trabajo
Start with the schema in supabase/schemas/dogpack/tables/profiles.sql to see which columns are readable, then read the session code from #108 and the snapshot mapping from #26, since this issue depends on both. Create lib/screens/member_profile_screen.dart, query userId, displayName, classYear and major with the signed-in student's client using maybeSingle, and show an 'Profile unavailable' message when the result is null. Done when test/screens/member_profile_screen_dp_r04_test.dart passes for the authorized and unavailable cases and flutter analyze is clean.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What to build
Show a host’s profile only when the current student is allowed to read it. An unavailable profile should show a neutral message instead of private fields or an invented name.
Files
lib/screens/member_profile_screen.dart(new file)- Starting example: supabase/schemas/dogpack/tables/profiles.sql
Steps
- Select userId,displayName,classYear,major from profiles for target user with client using the signed-in student’s account/maybeSingle.
- Render visible plain snapshot, reporting/block callbacks with the target UUID; null produces Profile unavailable.
- Do not fetch via service key or show an invented host name.
Example
Authorized host Ada renders; hidden profile shows unavailable and no leaked fields.
Check it works
In test/screens/member_profile_screen_dp_r04_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/member_profile_screen_dp_r04_test.dart and flutter analyze.
Before starting
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
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Webhook subscription ping disables TLS certificate verification and leaks a debug console.logAbiertobackend bug difficulty: medium priority: high security
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
trustflow-protocol/trustflow-backend#728 ·
Los mantenedores suelen responder en 1 día
-
🐛 Bug Report: Console `/join` shows an endless spinner for invited users who are not signed inAbiertoproduct / auth product / console product / databases product / messaging product / self-hosted product / sites product / storage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
good first issue Hacktoberfest
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Adnan9-63/life-tracker#41 ·
Los mantenedores suelen responder en 2 días
-
area:providers needs-repro P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Raaif-Yousuf/Wingman#799 ·
Los mantenedores suelen responder en 1 día