fix(connections): name Railway's revoke path on the disconnect screen

Aperta Adatta ai principianti
#768 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
86/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
next.js, react, typescript

Direzione di ricerca

Inizia da MANUAL_REVOKE_STEPS e manualRevokeStep in src/lib/connections/revoke.ts, poi individua il test unitario esistente per manualRevokeStep. Aggiungi le istruzioni di revoca specifiche per Railway, aggiorna il testo Disconnect in docs/providers/railway.md ed estendi il test, se esiste. Il lavoro è completato quando la schermata di disconnessione mostra la procedura Railway e la documentazione del provider la descrive.

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

Descrizione

area: connections enhancement impact: low priority: P3 size: XS

Context

Found while working #756. Railway now documents where a user revokes an app: Account Settings, then Apps, select the app, then Revoke Access, which "immediately invalidates all tokens the app holds" (Authorized Apps, checked 2026-12-02). #756 updates docs/providers/railway.md with that path, but the disconnect screen still shows the generic line, because MANUAL_REVOKE_STEPS in src/lib/connections/revoke.ts:28-39 has no railway entry and manualRevokeStep falls back to "Remove StackDash's access in your Railway account settings." (src/lib/connections/revoke.ts:44). Railway has no revocation endpoint (docs/providers/railway.md, Disconnect), so this manual step is the only way a user ends the grant.

Plan

  1. Add a railway entry to MANUAL_REVOKE_STEPS: "In Railway, open Account Settings, then Apps, choose StackDash, and choose Revoke Access."
  2. Update the sentence in docs/providers/railway.md, Disconnect, that says the disconnect screen gives the generic step.
  3. Extend the existing unit test for manualRevokeStep, if one exists, with the Railway case.

Acceptance criteria

  • Disconnecting a Railway connection shows the Railway steps above, not the generic account settings line.
  • docs/providers/railway.md describes what the screen now says.

Files and areas

src/lib/connections/revoke.ts, its test, docs/providers/railway.md.

Model: anthropic/claude-opus-5-5 | Reasoning effort: low

Lingua principale
TypeScript
Stelle
13
Fork
2
Merge medio
5h 20m
PR unite (30g)
287

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 eddiejaoude/StackDash

Tutte le issue di eddiejaoude/StackDash

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.