-
Notifications
You must be signed in to change notification settings - Fork 0
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: 관리자 - 채팅방 관리 페이지(이전 작업 페이지 수정 사항 포함) #43
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 거절 상태였던 포스트를 다시 승인하는 경우 제목 앞의 '(수정요망)'을 제거하는 로직 추가 - 포스트 상세 조회 페이지에서 글 수정 버튼 삭제 - 승인 및 상태 변경 프로세스 개선으로 사용자 경험 향상
- 관리자 채팅방 관리 페이지 접근을 위한 임시 라우터 경로 추가 - 테스트 및 개발 환경에서 채팅방 관리 기능 검증 지원
- 채팅방 목록과 상태를 관리할 수 있는 관리자 페이지 UI 구현 - 페이지네이션 기능 추가(기존 컴포넌트 활용) - 채팅방 삭제 및 상태 변경 로직 구현
- 채팅방 목록을 조회하는 API 호출 로직 구현 - 채팅방 이름, 상태, 참여자 정보 등 기본 데이터 출력
- 다양한 테스트 시나리오를 위한 채팅방 Mock Data 추가 - 채팅방 이름, 상태, 참여자 정보 등 샘플 데이터 확장 - 개발 및 테스트 환경에서 데이터 활용도 증가
- 관리자 채팅방 관리 페이지에서 열 경우에만 삭제 버튼 표시 - 삭제 버튼 클릭 시 채팅방 삭제 API 호출 로직 구현 - 채팅방 삭제 후 상태 업데이트 처리
- 관리자 채팅방 관리 페이지에서 열리는 경우를 구분하는 필드 추가 - webSocketService 필드 추가로 WebSocket 상태 관리 개선 - 관리자 메시지 전송 기능 구현 - 타임스탬프 미표시 - 입장 메시지 및 그룹 채팅 안내 메시지와 동일한 스타일 적용 - 관리자 메시지 관련 UI 스타일 추가
- 각 페이지에 존재하던 ScrollToTopButton 제거 - 라우터 레벨에서 ScrollToTopButton을 추가하여 공통적으로 작동하도록 구현 - 코드 중복 제거 및 스크롤 동작 일관성 개선
- 백엔드 API 엔드포인트와 프론트엔드 환경 연동 설정
- 실제 백엔드 API 연동을 위해 Mock Data 제거 - 불필요한 데이터 파일과 관련 코드 삭제
- URL 파싱을 통해 채팅방 ID를 추출하는 기능 구현 - 채팅방 삭제 버튼 클릭 시 API 호출로 삭제 처리 - 삭제 완료 후 모달 닫기 및 상태 업데이트 로직 추가
- 가상 계좌 발급 요청을 처리하기 위한 모달 UI 구현
- 사용자가 가상 계좌로 입금할 수 있는 페이지 UI 구현 - 계좌 정보와 입금 안내 메시지 출력 - 입금 상태 확인 및 업데이트 로직 추가
- 변경된 라우터 경로에 맞춰 Link 컴포넌트 경로 수정 - 네비게이션 동작 확인 및 관련 로직 업데이트 - 경로 변경으로 인한 잘못된 링크 참조 오류 방지
- 모집 완료 상태를 제거하고 참여 이후 삭제 상태 추가 - API 호출 로직을 실제 백엔드 API 사용으로 전환 - 데이터 동기화 및 상태 관리 로직 업데이트
cho1ys
approved these changes
Dec 6, 2024
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.
고생 많으셨습니다 !
axiosInstance에서 baseUrl을 .env의 VITE_API_URL 을 참조하게끔 원래의 코드로 바꾸는게 더 좋아보입니다 !
OpenS3same
approved these changes
Dec 6, 2024
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.
고생많으셨습니다! 화이팅입니다 🔥
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🧃 Pull Request
🍉 코멘트
관리자 - 채팅방 관리 페이지
이전 작업 페이지
공통
커뮤니티 공구 모집 및 진행 포스트 목록 조회 페이지
커뮤니티 공구 모집 및 진행 포스트 상세 조회 페이지
커뮤니티 공구 모집 및 진행 포스트 결제 페이지, 결제 완료 페이지
🪿 연관된 이슈
✅ PR 포인트 & 궁금한 점