Add activity deletion functionality

Aperta
#1,102 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@gopikrishna-20 ci sta già lavorando.

Dal 3/11/2026.

  • #1194 di @gopikrishna-20 — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
HTML
Stelle
66
Fork
181
Merge medio
2h 21m
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di alphaonelabs/website

Tutte le issue di alphaonelabs/website

Issue simili

Altre issue su Security

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.