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

Đang mở Phù hợp với người mới
#768 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
86/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
backend, documentation, testing

Hướng nghiên cứu

Bắt đầu với MANUAL_REVOKE_STEPS và manualRevokeStep trong src/lib/connections/revoke.ts, sau đó tìm bài kiểm thử đơn vị hiện có cho manualRevokeStep. Thêm hướng dẫn thu hồi dành riêng cho Railway, cập nhật văn bản Disconnect trong docs/providers/railway.md và mở rộng bài kiểm thử nếu có. Công việc hoàn tất khi màn hình ngắt kết nối hiển thị quy trình của Railway và tài liệu nhà cung cấp mô tả quy trình đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
13
Fork
2
Merge trung bình
5 giờ 20 phút
Pull request đã merge (30 ngày)
287

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eddiejaoude/StackDash

Tất cả issue của eddiejaoude/StackDash

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.