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

[Discover + Join/Leave] Display cancelled and past card states

Abierto
#100 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
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
dart, supabase
Área
frontend, mobile

Línea de trabajo

Start in lib/widgets/session_card.dart, which the issue says to extend after #99 (host-counted seats and full state) is done, and read supabase/schemas/dogpack/tables/sessions.sql for the scheduled/cancelled status values. Add an optional now DateTime that defaults to the current time, and classify cancelled before past or full. Done means cancelled cards show Cancelled with a struck-through title even when past, past cards show Past with Join disabled, and test/widgets/session_card_14_4_test.dart passes under flutter test and flutter analyze.

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

Descripción

discover

What to build

Make cancelled and past meetings visibly different from joinable meetings. Show cancelled meetings as cancelled even when they are also in the past, and disable joining in both cases.

Files

Steps

  1. Add optional DateTime now for tests, default current DateTime in widget; classify cancelled before past/full.
  2. Cancelled shows Cancelled and title crossed out; endsAt<=now shows Past and disables Join.
  3. Keep DB status values scheduled/cancelled rather than inventing stored full/past.

Example

Cancelled test example stays Cancelled even if past; fixed now makes tests deterministic.

Check it works

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

Before starting

  • #99 — Display host-counted seats and full state

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 Web Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.