Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Report & Block] Bind report form submission outcomes

Abierto
#114 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
50/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
dart, flutter
Área
mobile

Línea de trabajo

Start in lib/widgets/report_form.dart, which the prerequisite issue #113 must have built first, and add a waiting flag around the awaited send call that disables the submit control. Use the reportErrorMessage wording referenced in supabase/functions/_shared/moderation/messages.ts for the error path, keeping the selected reason and description intact. Done when test/widgets/report_form_dp_r02_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

moderation

What to build

Connect the report form to sending, waiting and result messages. Prevent repeated submissions while waiting and keep the selected reason and explanation after a failure.

Files

Steps

  1. Set a waiting flag before awaiting send callback and disable repeat submit.
  2. Fulfilled receipt shows Report received. and closes/allows closing; error uses reportErrorMessage and preserves reason/description.
  3. Clear pending only when the screen is still open; do not optimistically claim moderation success.

Example

One pending tap → one call;502retains text;201acknowledges receipt.

Check it works

In test/widgets/report_form_dp_r02_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/widgets/report_form_dp_r02_2_test.dart and flutter analyze.

Before starting

  • #113 — Render report reason and description fields

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DevDogsUGA/DogPack

Todos los issues de DevDogsUGA/DogPack

Issues similares

Más issues de Mobile Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.