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

Offline banner on the sign-in screen

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

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
84/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
dart, flutter
Área
mobile

Línea de trabajo

Start with lib/screens/sign_in_screen.dart and inspect how the sign-in button and screen state are built; then review pubspec.yaml and the Flutter test setup. Add the monitor in lib/connectivity/connectivity_monitor.dart and cover its injected stream in test/offline_banner_test.dart. Done means offline shows the banner and disables Sign In, online removes both effects, and the Flutter checks pass.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

polish

What to build

When the phone has no network, show a banner at the top of the sign-in screen ("You're offline. Connect to sign in.") and disable the Sign In button; remove both effects when the connection returns. Add connectivity_plus (or the lightest equivalent) behind a small interface so tests can fake it.

Files

Acceptance

  • Banner and disabled button appear within a second of losing the connection and go away when it returns.
  • The monitor is injected, not read from a global, so a test supplies a fake stream.
  • Widget test: offline shows the banner and a disabled button; online hides it.
  • pubspec.lock is committed with the change and CI's flutter job passes.

How to check

flutter test test/offline_banner_test.dart; toggle airplane mode on the emulator and attach a short screen recording.

Before you start

Setup is in first contribution. Run flutter analyze and flutter test before you open the PR; both must pass. Keep the change to the files listed. Comment on this issue to claim it.

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.