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

#38 add mate #39

Merged
merged 9 commits into from
Jan 17, 2024
Merged

#38 add mate #39

merged 9 commits into from
Jan 17, 2024

Conversation

rlarlduf20
Copy link
Owner

  • 유저 이름 검색 api 연동(디바운싱 적용)
  • 추가 버튼 클릭 시 server side event 활성화
  • 알림창 UI 생성
  • 추가 버튼 클릭 시 해당 유저에 대한 메시지를 받고 해당 메시지를 렌더링(push 알림창, 일반 알림창)
  • 3초 후 push 알림창 꺼짐
  • 거절 버튼, 클릭 버튼 handler 구현
  • 인터렉션마다 알림의 내용이 변경되야 하기 때문에 기존 server-side fetching에서 client-side fetching으로 변경

새로운 조각보 만들기와 동일하게 parallel routes 생성 후 intercept 하는 방식
modal route 이동에 따른 로고 텍스트 수정
친구 추가 시 닉네임을 입력할 때 잦은 요청 방지를 위한 useDebounce hook 생성
알림창을 한번 더 클릭 혹은 외부 영역 클릭 시 드롭다운 닫힘
server side event를 활용해 받은 메시지 popup에 띄우고 알림창에 추가
인터렉션이 많은 부분이기 때문에 client side fetching으로 변경
@rlarlduf20 rlarlduf20 merged commit cfe5063 into main Jan 17, 2024
@rlarlduf20 rlarlduf20 deleted the #38-addMate branch January 17, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant