Skip to content

작성 페이지 이탈 방지 로직 개선 - #991

Merged
JaeIn1 merged 1 commit into
developfrom
990-fix-회고-작성-시-새로고침-탭-닫기-임시저장-로직-추가
Oct 11, 2026

Hidden character warning

The head ref may contain hidden characters: "990-fix-\ud68c\uace0-\uc791\uc131-\uc2dc-\uc0c8\ub85c\uace0\uce68-\ud0ed-\ub2eb\uae30-\uc784\uc2dc\uc800\uc7a5-\ub85c\uc9c1-\ucd94\uac00"
Merged

JaeIn1 merged 1 commit into
developfrom
990-fix-회고-작성-시-새로고침-탭-닫기-임시저장-로직-추가

Conversation

@JaeIn1

@JaeIn1 JaeIn1 commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

🏄🏼‍♂️‍ Summary (요약)

  • 작성 중인 내용이 있을 때만 페이지 이탈 경고가 표시되도록 개선했습니다.
  • 불필요한 경고창 노출을 방지하여 사용자 경험을 향상시켰습니다.

🫨 Describe your Change (변경사항)

  • Beforeunload 컴포넌트를 hasChanges() 조건부로 렌더링하도록 변경했습니다.
  • 데스크톱 회고 작성 다이얼로그(WriteDialog)에 적용했습니다.
  • 일반 작성 페이지(Write)에 적용했습니다.

🧐 Issue number and link (참고)

closes: #990

📚 Reference (참조)

- 데스크탑 WriteDialog에 변경사항이 있을 때만 Beforeunload 적용
- 모바일 Write의 Beforeunload도 변경사항이 있을 때만 동작하도록 수정

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@JaeIn1 JaeIn1 self-assigned this Oct 8, 2026
@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • Not Rabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c32b2f90-d551-4b5d-a44b-b9b8dab1fe20

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@github-actions github-actions Bot changed the title fix: 회고 작성 시 새로고침/탭 닫기 이탈 경고 추가 작성 페이지 이탈 방지 로직 개선 Oct 8, 2026

@klmhyeonwoo klmhyeonwoo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아? 기존에는 작성한 내용이 없어도 이탈 방지 모달이 떴었나요?!

@JaeIn1

JaeIn1 commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator Author

아? 기존에는 작성한 내용이 없어도 이탈 방지 모달이 떴었나요?!

네넵..! 작성한 내용이 없어도 새로고침 시 이탈 방지 모달이 나와서 수정했습니다!

@JaeIn1
JaeIn1 merged commit 6c38210 into develop Oct 11, 2026
4 checks passed
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.

2 participants