-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feat: 친구 목록 및 블랙리스트 UI 작성 #63
Conversation
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.
엄청 빠른 작업 속도...👍🏻 수고하셨습니당!
(member) => member.id !== blackMember.id, | ||
); | ||
setBlackList(updatedList); | ||
openToast('블랙리스트에서 삭제되었어요'); |
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.
이건 회의때 디자이너 분과 얘기해봐도 좋을 것 같은데
openToast(`${blackMember.nickName}님이 블랙리스트에서 삭제되었습니다.`);
이런식으로 이름을 명확하게 해줘도 좋을 것 같아요
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.
요것도 좋은 것 같아요!! 내일 회의떄 함 말해보시져 👍
|
||
return ( | ||
<div className="bg-toastColor rounded-box p-vertical flex items-center justify-between h-[101px]"> | ||
<div className="flex-1 flex items-center gap-[16px]"> |
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.
제가 알기론 테일윈드에서 16px과 4가 같은데 px 사용보단 테일윈드 자체 css를 쓰는게 좋다고 들어서 gap-[16px]
이라면 gap-4
로 변경해줘도 좋을 것 같아요!
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.
수정하겠습니다!!
</Button> | ||
</div> | ||
|
||
{renderConditionalComponents()} |
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.
이렇게 따로 컴포넌트로 빼놓으니까 가독성이 훨씬 좋아보이네요! 👍🏻
|
||
export interface Friend { | ||
id: number; | ||
profileImage: string; |
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.
여기서 profileImage
를 선택적으로 처리하면 디폴트 이미지 처리를 할 수 있으니까
profileImage?: string;
이런식ㅇ으로 해도 좋을 것 같아요!
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.
좋습니다!! 반영해놓을게요 😁
1. 무슨 이유로 코드를 변경했나요?
2. 어떤 위험이나 장애를 발견했나요?
3. 관련 스크린샷을 첨부해주세요.
4. 완료 사항
친구 목록 및 블랙리스트 UI와 친구 삭제 모달, 토스트 부분 UI 작성했습니다!
그리고
RouteSetting
컴포넌트가 모바일뷰에서 볼 경우에 깨져보였는데 따로 이슈 파는건 애매할 것 같아서 일단 이번 이슈에서 수정해보려고 합니다!!5. 추가 사항