-
Notifications
You must be signed in to change notification settings - Fork 2
feat: 게시판 1차 기능구현 #76
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
Conversation
- client.ts의 interceptors.response.use 구문 내에서 api 호출및 데이터 가공을 함수 밖으로 꺼냄
- isClosed 상태를 반대로 받아와서 상태를 잘못 보여주는 문제 해결
- 소숫점 이하 자리로 인해 에러가 날 경우가 있을 것 같아서 . 기준 split 추가
- sharePost 요청 요청자 id 삭제 - 상세 페이지 api 경로 수정 - 우편함 상세체이지 날짜 잘못표기하는 에러 수정
* refactor: 읽지 않은 편지 수 조회 기능 리팩토링 * rename: NewLetterModal 을 UnreadLetterModal로 파일명 및 함수명 변경 * fix: 읽지 않은 편지가 존재할 때 다른 우체통 이미지 보여주도록 수정 * fix: 오고 있는 편지 모달에서 편지 항목 눌렀을 때 보드로 이동하는 에러 해결
* fix: ShowShareAccessModal에서 undefined 배열 map 호출 오류 해결 * fix: 공유 상세 보기 페이지에서 발신자 데이터 바인딩 문제 해결 * fix: 글 작성자 배경색이 적용되지 않는 오류 해결 * design: 공유 상세 보기 페이지 하단 블러 이미지 위치 조정
- client.ts의 interceptors.response.use 구문 내에서 api 호출및 데이터 가공을 함수 밖으로 꺼냄
- isClosed 상태를 반대로 받아와서 상태를 잘못 보여주는 문제 해결
- sharePost 요청 요청자 id 삭제 - 상세 페이지 api 경로 수정 - 우편함 상세체이지 날짜 잘못표기하는 에러 수정
- reissue 401에러 시에 진행 안되는 문제 해결
- retry flag의 위치 변경
- 게시판에 무한 스크롤 반영 - 게시판 데이터 바인딩 - myPage와 게시판 화면 분리 - header에 myPage 링크
wldnjs990
left a comment
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.
고생하셨습니다!!!!👍👍👍👍👍👍👍🥕🥕🥕🥕🥕
| // let failedQueue: FailedRequest[] = []; | ||
|
|
||
| // const processQueue = (error: unknown, token: string | null = null) => { | ||
| // failedQueue.forEach((prom) => { | ||
| // if (error) { | ||
| // prom.reject(error); | ||
| // } else { | ||
| // if (token) { | ||
| // prom.resolve(token); | ||
| // } | ||
| // } | ||
| // }); | ||
|
|
||
| // failedQueue = []; | ||
| // }; |
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.
이 주석들은 임시처리인가요 아니면 삭제될 코드들인가요??
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.
임시 처리입니다! 혹시 요청이 여러번 생기는 경우에 어떻게 될지 몰라서 일단은 이 로직을 참고하려고 놔뒀어요!
| // try { | ||
| // return new Promise((resolve, reject) => { | ||
| // failedQueue.push({ | ||
| // resolve: (token: string) => { | ||
| // originalRequest.headers.Authorization = `Bearer ${token}`; | ||
| // resolve(client(originalRequest)); | ||
| // }, | ||
| // reject: (err: unknown) => reject(err), | ||
| // }); | ||
| // }); | ||
| // } catch (e) { | ||
| // return Promise.reject(e); | ||
| // } |
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.
요것두!
✅ 요약
🪄 변경사항
🖼️ 결과 화면 (선택)
💬 리뷰어에게 전할 말 (선택)