Skip to content
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

Merged
merged 17 commits into from
Jan 20, 2025

Conversation

WooGi1020
Copy link
Collaborator

1. 무슨 이유로 코드를 변경했나요?


2. 어떤 위험이나 장애를 발견했나요?


3. 관련 스크린샷을 첨부해주세요.


4. 완료 사항

친구 목록 및 블랙리스트 UI와 친구 삭제 모달, 토스트 부분 UI 작성했습니다!
그리고 RouteSetting 컴포넌트가 모바일뷰에서 볼 경우에 깨져보였는데 따로 이슈 파는건 애매할 것 같아서 일단 이번 이슈에서 수정해보려고 합니다!!

5. 추가 사항


@WooGi1020 WooGi1020 added the feat 신규피쳐 label Jan 20, 2025
@WooGi1020 WooGi1020 requested a review from woneeeee January 20, 2025 10:07
@WooGi1020 WooGi1020 self-assigned this Jan 20, 2025
@WooGi1020 WooGi1020 linked an issue Jan 20, 2025 that may be closed by this pull request
Copy link

구현 기능 확인하기: https://gachtaxi-1mv70t3lv-cogis-projects.vercel.app

Copy link

구현 기능 확인하기: https://gachtaxi-kp9ckcv5f-cogis-projects.vercel.app

Copy link

구현 기능 확인하기: https://gachtaxi-2nkridh1q-cogis-projects.vercel.app

Copy link

구현 기능 확인하기: https://gachtaxi-g316i5cgz-cogis-projects.vercel.app

Copy link

구현 기능 확인하기: https://gachtaxi-g633xv726-cogis-projects.vercel.app

Copy link
Collaborator

@woneeeee woneeeee left a 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('블랙리스트에서 삭제되었어요');
Copy link
Collaborator

Choose a reason for hiding this comment

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

이건 회의때 디자이너 분과 얘기해봐도 좋을 것 같은데

openToast(`${blackMember.nickName}님이 블랙리스트에서 삭제되었습니다.`);

이런식으로 이름을 명확하게 해줘도 좋을 것 같아요

Copy link
Collaborator Author

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]">
Copy link
Collaborator

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로 변경해줘도 좋을 것 같아요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

수정하겠습니다!!

</Button>
</div>

{renderConditionalComponents()}
Copy link
Collaborator

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;
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기서 profileImage를 선택적으로 처리하면 디폴트 이미지 처리를 할 수 있으니까

profileImage?: string;

이런식ㅇ으로 해도 좋을 것 같아요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

좋습니다!! 반영해놓을게요 😁

Copy link

구현 기능 확인하기: https://gachtaxi-r3eex0flt-cogis-projects.vercel.app

Copy link

구현 기능 확인하기: https://gachtaxi-fggi3vuk5-cogis-projects.vercel.app

Copy link

구현 기능 확인하기: https://gachtaxi-od25hphks-cogis-projects.vercel.app

Copy link

구현 기능 확인하기: https://gachtaxi-cenht4wm8-cogis-projects.vercel.app

@WooGi1020 WooGi1020 merged commit bd019fa into main Jan 20, 2025
1 check passed
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 및 로직 구현
2 participants