Skip to content

[Fix/#몇이냐] 공연 중복 등록 오류 제거 - #533

Closed
sinji2102 wants to merge 1 commit into
developfrom
fix/register-duplicate
Closed

sinji2102 wants to merge 1 commit into
developfrom
fix/register-duplicate

Conversation

@sinji2102

Copy link
Copy Markdown
Member

📌 관련 이슈번호

  • Closes #

🎟️ PR 유형

어떤 변경 사항이 있나요?

  • 새 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 리팩토링

✅ Key Changes

이번 PR에서 작업한 내용을 간략히 설명해주세요

  1. 작업 내용

📢 To Reviewers

📸 스크린샷

🔗 참고 자료

@github-actions github-actions Bot added 🐛 BUG 버그를 고친 경우 ✨ FEAT 기능 구현 labels Aug 17, 2026
@github-actions

Copy link
Copy Markdown

PR 작성하느라 고생 많았어요!! 라벨 잘 지정되었는지 확인 한 번 해 주기 🫶

@github-actions

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2a7b9bf4-8e9c-4147-b2ca-8f219b3d14f1

📥 Commits

Reviewing files that changed from the base of the PR and between 68ef513 and 215654a.

📒 Files selected for processing (1)
  • src/pages/register/Register.tsx

Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review.


Summary by CodeRabbit

  • 버그 수정

    • 공연 등록 중 제출 버튼을 반복 클릭해도 중복 등록이 발생하지 않도록 개선했습니다.
    • 사전 서명 URL 조회를 포함한 등록 과정에서 오류가 발생할 경우 안정적으로 처리하도록 수정했습니다.
    • 등록 완료 후 제출 상태가 정상적으로 초기화되도록 개선했습니다.
  • 사용성 개선

    • 등록 처리 중 진행 상태가 정확히 표시되어 사용자가 현재 등록 진행 여부를 쉽게 확인할 수 있습니다.

Walkthrough

공연 등록 제출에 로컬 제출 상태와 ref를 추가했습니다. 제출 중복 실행을 차단하고, presigned URL 처리 오류를 제출 흐름에서 처리합니다. 등록 버튼은 로컬 제출 상태를 사용하며, 제출 종료 후 상태를 초기화합니다.

Changes

등록 제출 흐름

Layer / File(s) Summary
제출 상태 및 중복 실행 제어
src/pages/register/Register.tsx
isSubmitting state와 isSubmittingRef로 중복 제출을 차단합니다. presigned URL 조회와 포스터 업로드 정보 검증을 try 흐름에서 처리합니다. finally에서 제출 상태를 초기화합니다. 등록 버튼은 로컬 isSubmitting 상태를 사용합니다.

Estimated code review effort: 3 (Moderate) | ~15–30 minutes

Merge Risk: ⚪ Minimal · up to 21565

This localized registration fix introduces no identified merge-blocking risk and is merge-ready after normal checks and review.

Suggested reviewers: imddoy

Poem

토끼가 버튼을 살짝 눌러
제출 상태를 꼭 지켜요
두 번 실행은 멈춰 세우고
URL 오류도 함께 살펴요
끝나면 상태를 깨끗이
당근처럼 초기화해요 🐇

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning 설명에 필수 정보가 대부분 입력되지 않았고, 이슈 번호와 변경 내용이 실제 값으로 작성되지 않았습니다. 관련 이슈 번호, PR 유형, 실제 변경 내용, 리뷰어 안내, 스크린샷 및 참고 자료를 작성하세요.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed 제목은 공연 중복 등록 오류를 제거하는 주요 변경 사항을 정확하게 설명합니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/register-duplicate

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sinji2102 sinji2102 closed this Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 BUG 버그를 고친 경우 ✨ FEAT 기능 구현

Projects

Status: ✅Todo

Development

Successfully merging this pull request may close these issues.

2 participants