Skip to content

[Feature] Viewer 데모 UI 내 다운로드 및 삭제 기능 추가#175

Open
seonghobae wants to merge 1 commit into
mainfrom
feature/add-delete-and-download-functions-12363579238089988580
Open

[Feature] Viewer 데모 UI 내 다운로드 및 삭제 기능 추가#175
seonghobae wants to merge 1 commit into
mainfrom
feature/add-delete-and-download-functions-12363579238089988580

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator

이 PR은 Clearfolio Viewer 데모 UI에 누락되었던 필수 기능인 '다운로드'와 '삭제' 기능을 구현합니다.

변경 사항

  • 다운로드 기능: 변환이 성공적으로 완료된(SUCCEEDED) 작업에 대해 원본 대신 변환된 PDF를 다운로드할 수 있는 링크를 추가했습니다.
  • 삭제 기능: 사용자가 제출한 작업을 삭제할 수 있는 'Delete' 버튼을 추가하고, 클릭 시 사용자 확인(window.confirm)을 거쳐 DELETE /api/v1/convert/jobs/{jobId} 엔드포인트를 호출하도록 구현했습니다. 성공 시 프론트엔드 상태(작업 이력 및 KPI)를 갱신합니다.
  • 접근성(a11y) 개선: 반복되는 테이블 액션 버튼에 동적으로 생성된 aria-label(예: "Delete board-pack.pdf")을 부여하여 스크린 리더 사용자의 접근성을 향상시켰습니다.
  • 권한 업데이트: 프론트엔드에서 API 삭제 호출이 인가될 수 있도록 DEMO_AUTH_HEADERSjob:delete 권한을 추가했습니다.

테스트 커버리지 100%를 유지하며, Playwright를 통한 프론트엔드 검증을 완료했습니다.


PR created automatically by Jules for task 12363579238089988580 started by @seonghobae

- 데모 Viewer UI (`demo.js`)에 성공한 작업에 대한 'Download' 링크 추가
- 작업 내역에서 'Delete' 버튼 추가 및 삭제 기능 연동 (확인 알림 및 API 호출)
- 링크 및 버튼 생성 유틸리티에 스크린 리더 접근성을 위한 동적 `aria-label` 속성 지원 추가
- 데모 권한 헤더에 `job:delete` 추가하여 삭제 엔드포인트 접근 가능하도록 설정
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant