Skip to content

Conversation

@junjeeong
Copy link
Collaborator

@junjeeong junjeeong commented Apr 23, 2025

Pull requests

✅ 작업한 내용

  • 이슈에 적어둔 것과 동일합니다.

🔢 #150

❗️PR Point

  • isLoggedIn이 true라면 useEffect에서 친구 목록을 불러옵니다.
  • 인증이 필요한 axios 요청의 경우 authInstance를 사용하면 됩니다.
  • 친구 목록에서 대화 시작하기 버튼을 누를 경우 navigate로 chat 페이지로 이동하며 state로 데이터를 전달합니다.

📸 스크린샷

Home.mov

특이사항

  • select-info 에서 virtualFreind 모드로 친구 생성하면 500 error가 납니다!
2025-04-23.5.32.59.mov

@junjeeong junjeeong added the 👩‍💻 Feat 새로운 기능 label Apr 23, 2025
@junjeeong junjeeong requested a review from Soohyuniii April 23, 2025 08:27
@junjeeong junjeeong self-assigned this Apr 23, 2025
@junjeeong junjeeong linked an issue Apr 23, 2025 that may be closed by this pull request
4 tasks
@Soohyuniii
Copy link
Collaborator

api 매핑이 잘못된 것이 아니라, select info화면 맵핑이 잘못된 것 같습니다.
virtual-friend의 경우 이름이 필수이기 때문에 이름 input 쪽에 빨간 별 ui가 띄워지는데, 영상 확인해보면 존재하지 않습니다.

@junjeeong
Copy link
Collaborator Author

api 매핑이 잘못된 것이 아니라, select info화면 맵핑이 잘못된 것 같습니다. virtual-friend의 경우 이름이 필수이기 때문에 이름 input 쪽에 빨간 별 ui가 띄워지는데, 영상 확인해보면 존재하지 않습니다.

특이사항 부분이 다른 내용으로 수정되었습니다!

다시 올린 영상 보시면 이름 쪽에 *표시 들어가 있고

virtual-friend로 api 요청은 잘 가고 있는데 500에러가 뜨는 모습입니다!

@junjeeong
Copy link
Collaborator Author

api 매핑이 잘못된 것이 아니라, select info화면 맵핑이 잘못된 것 같습니다. virtual-friend의 경우 이름이 필수이기 때문에 이름 input 쪽에 빨간 별 ui가 띄워지는데, 영상 확인해보면 존재하지 않습니다.

확인해보니 selec-info에서 post요청 보낼 때 authorization code가 header에 안 실어져 가는 것 같습니다!
authInstance 사용하니까 되네여!

@junjeeong junjeeong merged commit 594bdd0 into dev Apr 24, 2025
1 check passed
@junjeeong junjeeong changed the title Feature/홈페이지 로그인 했을 때의 기능 구현 feat: 홈페이지 로그인 했을 때의 기능 구현 Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👩‍💻 Feat 새로운 기능

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat: 홈페이지 로그인한 경우의 UI 구현

3 participants