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

[Sessions: create / edit / cancel] Map mutable session edit fields

Abierto
#92 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, sql
Área
backend

Línea de trabajo

Start with the schema in supabase/schemas/dogpack/tables/sessions.sql to see which columns exist, then create lib/sessions/session_repository.dart with Map<String,dynamic> editSessionMap(SessionDraft draft). The map should contain only title, description, location, startsAt, endsAt and capacity, with timestamps as UTC strings, and must omit hostId, course, term, status and id even when the draft carries them. Done when test/sessions/session_repository_dp_s07_test.dart passes under flutter test and flutter analyze is clean.

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

Descripción

sessions

What to build

Choose the fields a host may change when editing a meeting. Prepare only title, description, location, time and capacity; its owner, course and semester must stay unchanged.

Files

Steps

  1. Return only title,description,location,startsAt,endsAt,capacity from validated draft, timestamps UTC strings.
  2. Do not include id as updated column, hostId,course,term,status or server metadata.
  3. Keep target id/owner conditions as separate query inputs, not request data fields.

Example

Map excludes hostId/course/term even if input carries them.

Check it works

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

Before starting

  • #82 — Validate session time and capacity

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 Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.