Add activity deletion functionality

Abierto
#1,102 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@gopikrishna-20 ya está trabajando en esto.

Desde el 3/11/2026.

  • #1194 de @gopikrishna-20 — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
html

Línea de trabajo

The payload names no source files. Start from the hosted activities list, where the View and Manage actions already appear on each card, and add a Delete action beside them. Then trace how an activity's sessions, enrollments and tags are related so deletion can clean them up. Done when a confirmed delete removes the activity and its records, a non-host is refused, and enrolled participants are notified. The notification mechanism is not specified, so confirm it with a maintainer first.

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

Descripción

2026-10 good first issue project: learn
Problem

Currently, hosts can view and manage their hosted activities, but there is no straightforward way to permanently delete an activity from the hosted activities list.

Proposed Solution

Add a Delete button to each hosted activity card so that hosts can permanently remove activities they no longer need.

The functionality should:

  • Display a Delete button alongside the existing View and Manage actions.
  • Ask for confirmation before deleting an activity.
  • Allow only the activity's host to delete it.
  • Remove the activity and its associated data, including sessions, enrollments, tags, and related records.
  • Notify enrolled participants when an activity is deleted.
  • Update the hosted activities list so the deleted activity no longer appears.
Expected Behavior

When a host confirms deletion, the activity should be removed from the database and disappear from the hosted activities list. It should remain deleted after the page is refreshed.

Unauthorized users should not be able to delete activities they do not host.

Acceptance Criteria
  • A Delete button is available for hosted activities.
  • A confirmation dialog appears before deletion.
  • Only the activity's host can delete it.
  • The activity and its associated records are cleaned up appropriately.
  • Appropriate error messages are displayed if deletion fails.
Lenguaje dominante
HTML
Estrellas
66
Forks
181
Merge medio
2 h 21 min
PR fusionados (30 d)
13

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 alphaonelabs/website

Todos los issues de alphaonelabs/website

Issues similares

Más issues de Security

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.