[Report & Block] Bind unblock action in profile
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 with the blocked-user list in lib/screens/profile_screen.dart and the blocks table in supabase/schemas/dogpack/tables/blocks.sql, but first check whether prerequisite #119 (the block list rendering) is merged. Add an Unblock button per own block that awaits unblockUser, then reloads the block list and visible feed, and keeps the row if the request fails. Done when test/screens/profile_screen_dp_r06_2_test.dart passes with flutter test and flutter analyze is clean.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What to build
Add Unblock actions to the profile’s blocked-user list. After success, refresh the list and visible meetings; on failure, keep the entry available to retry.
Files
lib/screens/profile_screen.dart(extend the prerequisite’s file)- Starting example: supabase/schemas/dogpack/tables/blocks.sql
Steps
- Render own block IDs with label andUnblock button.
- Await unblockUser, then reload block list/visible feed; keep row on failure.
- Reuse existing profile navigation and scroll layout; do not remove incoming blocks.
Example
Successful unblock removes own row and refreshes feed;failed request leaves button/row.
Check it works
In test/screens/profile_screen_dp_r06_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/profile_screen_dp_r06_2_test.dart and flutter analyze.
Before starting
- #119 — Render own block list with safe identity fallback
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
-
Improve Sort Pop-Up list...Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bisq-network/bisq-mobile#1948 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
streetcomplete/StreetComplete#7286 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug-pending-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
NativeScript/NativeScript#11525 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
callstack/agent-device#3627 ·
Los mantenedores suelen responder en 1 día