Skip to content

[UX] 승인 처리 최대 5분 동기 대기 — 로딩·중복클릭 방지·안내 전무 #32

Description

@dongmin0204

현상

BE 승인 API가 create-pod 동기 호출로 최대 5분 소요됨(admin_be #318, 이미지 pull 포함). src/pages/admin/RequestManagementPage.jsx:97-186, 289-307은 await 동안 스피너·버튼 비활성·안내가 전혀 없음.

  • 관리자 입장에선 화면이 최대 5분 무반응 → 새로고침하거나 승인 재클릭 (재클릭 시 409)
  • fetch에 타임아웃 미설정 — 브라우저 기본 한계(Chrome 약 300초)와 정확히 겹쳐 경계 동작 불안정

수정

  1. 승인 클릭 시 해당 행 로딩 상태 + 승인/거절 버튼 전체 비활성 + "Pod 생성으로 최대 5분 소요됩니다" 안내
  2. (확장) 승인 성공 후 GET /api/admin/pods/{podName}(스펙에 status 있음, 현재 FE 미사용) 폴링으로 "프로비저닝 중 → 실행 중" 진행 표시 가능
  3. prompt() → inline UI 전환은 #16에서 추적 중

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions