Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Declining a study invite calls a route that doesn't exist

Aperta
#972 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, frontend

Direzione di ricerca

Start at application/user-client/src/components/StudyInvites.tsx:46 and trace the /invites/{id}/decline request through apiClient and the invite controllers. Check how invite statuses are handled; the issue offers either a matching decline handler and status or removing the button. Done means the UI no longer reports a decline when the invite remains open.

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

Descrizione

backend bug user-client

The Decline button on a participant's study invites (application/user-client/src/components/StudyInvites.tsx:46) posts to /invites/{id}/decline, which no controller defines, so the request gets a 404. The UI shows "Declined" anyway, because apiClient's error interceptor resolves failed requests instead of rejecting them, so the invite stays open while the participant thinks they've declined it.

I'd either add a decline handler with a matching invite status, or remove the button until there is one.

Lingua principale
TypeScript
Stelle
4
Fork
0
Merge medio
14h 50m
PR unite (30g)
5

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 Garvan-Data-Science-Platform/ctrl

Tutte le issue di Garvan-Data-Science-Platform/ctrl

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.