-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FE] feat : 회원용 리뷰 그룹 생성 API 연결 및 관련 목서버 셋팅 수정 #1072
Conversation
…ined-review-group-api
…ined-review-group-api
- apis/group.ts -> types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
테스트까지 고치느라 수고 많았어요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
회원, 비회원에 따라 reviewRequestCode를 분리한 것! 좋은 것 같아요!!
🤔 문득 든 생각
저도 리뷰 링크 페이지를 담당하고 있어서 갑자기 든 생각인데요. URLGeneratorForm
에서 지금은 reviewZone
경로에 reveiwRequestCode
만 추가해서 넘겨주고 있는데, 회원인 사용자 입장에서는 reviewZone
이 아니라 reviewList
경로를 넘겨주는 게 맞는거 아닌가? 라는 생각이 드네요. 회원인 사용자의 경우, 리뷰 링크를 생성한 후 오른쪽에 리뷰 링크 아이템을 클릭하면 바로 리뷰 목록으로 이동하는 게 자연스러워서 reviewList
경로로 넘겨주는 것이 더 맞지 않나 싶어요!
export const VALID_REVIEW_REQUEST_CODE = { | ||
nonMember: `ABCD1234`, | ||
member: 'MEMBER1234', | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
구분이 더 잘 되는 것 같아서 좋네요👍
모달에 있는 링크는 리뷰어들에게 공유되는 url이라 |
OMG.... 아... 맞네요....^_^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
회원/비회원 구분만으로도 의미가 있다고 생각합니다. 고생했어요!
🚀 어떤 기능을 구현했나요 ?
isMemeber
를 사용해, 회원여부에 따라 다른 데이터를 사용해 API 요청revieweeId
로 회원이 만든 리뷰 그룹인지 내려주고 있기 때문에, 리뷰 연결 페이지로 연결되는 리뷰 링크는 그대로 유지회원용 리뷰 그룹 생성 시 화면
비회원용 리뷰 그룹 생성 시 화면
회원용/비회원용 reviewRequestCode 분리한 이유
상황 :
분리한 이유 :
기대하는 바 :
추가 내용 :
🔥 어떻게 해결했나요 ?
📝 어떤 부분에 집중해서 리뷰해야 할까요?
📚 참고 자료, 할 말