-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Epic#18, Epic#43] 특정 채팅글에 좋아요 가능하다. #40
Comments
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - 채팅이 말풍선 형식으로 로그가 생성된다. - 채팅이 많아질 경우 스크롤바가 생성된다. What - ChatLogs 컴포넌트 스타일 지정 - ChatCard 컴포넌트 생성 및 스타일 지정 - Chat 컴포넌트 스타일 지정 - icon_thumb_gray, icon_thumb_yellow 이미지 추가
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - 채팅 전송 폼에 대한 디자인을 적용해야 한다. What - ChatInput 컴포넌트 스타일 적용
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - 익명의 사용자에 대한 세션도 유지시켜 주고 싶다. (ex. slido) What - Apollo Cache 에 익명 사용자에 대한 정보도 저장 - 채널 입장시 로그인되지 않았다면 익명의 토큰 발급
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - 익명의 사용자에 대한 세션도 유지시켜 주고 싶다. (ex. slido) What - 서버측에서 uuid 로 유니크한 아이디를 생성해서 토큰을 발급한다. - 발급한 토큰을 기존 인증토큰과 다른 형태로 전송한다.
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - useSubscription, useMutation 을 통해 불필요한 렌더링이 지속적으로 발생한다. What - useApolloClient 를 통해 client 에 캐시를 직접 추가/삭제한다.
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - 채팅이 추가될 때 뿐 아니라, 채팅에 좋아요가 되었을때(변경되었을 때) 도 함께 처리하기 위해서 What - chatAdded Subscription -> chatChanged Subscription - Chat 에 likes 스키마 추가
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - 채팅 좋아요도 실시간으로 모두의 화면에 반영되어야한다. What - likeChat mutation 추가 - likeChat mutation 에 대한 resolver 구현
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - 채팅을 좋아요 했을 때, 해당 채널에서 실시간으로 반영되어야한다. What - useLikeChat 추가 - useAddChat 에서 id 값만 받아오도록 설정 - useChatChanged 에서 변경사항이 들어왔을 때 분기 처리
devphilip21
pushed a commit
that referenced
this issue
Nov 26, 2019
Why - 현재 Pub/Sub 구조에서 채팅을 전달받을 때, 내가 좋아요한 채팅인지 아닌지 확인할 방법이 없다. - 클라이언트에서 userId 를 저장하고 있다가, 서버에서 채팅이 넘어오면 내가 좋아요한건지 아닌건지 확인해야한다. What - apollo cache 에 userId 저장 - 채팅을 전달 받을 때 해당 채팅이 내가 좋아요한 채팅인지 확인한다.
Merged
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[Epic#18, Epic#43] 특정 채팅글에 좋아요 가능하다.
완료 조건 ✅
관련 이슈 📎
레퍼런스 📚
The text was updated successfully, but these errors were encountered: