Skip to content

Conversation

@strfunctionk
Copy link
Contributor

#️⃣ Related Issues

연관된 모든 Issue를 작성해주세요.

🧑‍💻 작업 내용

어떤 작업을 진행했는지 자세하게 작성해주세요.

  • 모달 fallback route를 workspace main으로 변경

💾 작업 결과 (선택)

사진, 영상 등을 첨부해주세요.

💬 리뷰 시 요청사항 (선택)

Reviewer는 코드 리뷰의 코멘트에 코멘트를 강조하고 싶은 정도를 Pn 규칙
맞춰서 표기해 주세요.

📝 Checklist

  • Reviewer를 추가했나요?
  • Convention을 준수했나요?

@strfunctionk strfunctionk self-assigned this Aug 22, 2025
@strfunctionk strfunctionk added the 🔧 Fix 기능 수정사용자가 동작했을 때 잘못된 동작을 정상 동작으로 변경 예: 버튼이 동작하지 않던 문제 해결 label Aug 22, 2025
Copilot AI review requested due to automatic review settings August 22, 2025 02:24
@strfunctionk strfunctionk linked an issue Aug 22, 2025 that may be closed by this pull request
@strfunctionk strfunctionk requested a review from a team as a code owner August 22, 2025 02:24
@strfunctionk strfunctionk requested review from S-Gihun, duwlsssss and kyeoungwoon and removed request for a team August 22, 2025 02:24
@vercel
Copy link

vercel bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
haru-web Ready Ready Preview Comment Aug 22, 2025 2:24am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

인스타그램 연동 후 발생하는 404 페이지 오류를 해결하기 위해 모달 fallback 라우트를 워크스페이스 메인 페이지로 변경합니다.

  • 인스타그램 콜백에서 설정 모달 대신 워크스페이스 메인으로 리다이렉트 변경
  • 설정 관련 standalone 페이지들을 useStandaloneModalRedirect 훅을 사용하도록 리팩토링
  • 모달 fallback 로직을 일관되게 워크스페이스 메인으로 통일

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
InstagramCallBackClient.client.tsx 인스타그램 연동 완료 후 리다이렉트 경로를 설정 모달에서 워크스페이스 메인으로 변경
settings/page.tsx 설정 standalone 페이지를 useStandaloneModalRedirect 훅을 사용하도록 리팩토링
settings/change-password/page.tsx 비밀번호 변경 standalone 페이지를 useStandaloneModalRedirect 훅을 사용하도록 리팩토링

});
// 3. 온보딩 페이지로 복귀
router.push(ROUTES.MODAL.SETTING.WORKSPACE_SETTING(workspaceId));
// 3. 워크스페이스 페이지로 복귀
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

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

[nitpick] [P5] 주석이 '워크스페이스 페이지로 복귀'로 되어 있는데, 정확히는 '워크스페이스 메인 페이지로 복귀'로 수정하면 더 명확할 것 같습니다.

Suggested change
// 3. 워크스페이스 페이지로 복귀
// 3. 워크스페이스 메인 페이지로 복귀

Copilot uses AI. Check for mistakes.
@strfunctionk strfunctionk merged commit 9edcec4 into develop Aug 22, 2025
3 checks passed
@strfunctionk strfunctionk deleted the fix/#399-profile-redirect-404 branch August 22, 2025 02:25
@github-actions
Copy link

✨ Vercel Preview Deployed

📦 PR #401 by @strfunctionk
🌿 [fix/#399-profile-redirect-404] → [develop]
📅 KST 2025-08-22 11:24:17

🔗 Links

✨ Preview 사이트 보러가기

💡 변경사항을 실제 환경에서 확인해보세요!


Powered by Vercel

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

Labels

🔧 Fix 기능 수정사용자가 동작했을 때 잘못된 동작을 정상 동작으로 변경 예: 버튼이 동작하지 않던 문제 해결

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix] 프로필 리다이렉션 시 404 해결

4 participants