-
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
Refact/231207 new question focus #225
Refact/231207 new question focus #225
Conversation
- 기존: 5가지 색으로 인덱스에 따라 색 지정 - 개선: 리스트에 생성되는 메모지의 색을 노란색으로 고정해 화이트보드에 생성되는 메모지의 색과 일치시켰습니다.
✅ Deploy Preview for boarlog ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
코드 잘 봤습니다!! method 분리까지 너무 깔끔해요!! 👍👍👍👍👍
}, []); | ||
if (type === "prompt") { | ||
useEffect(() => { | ||
console.log("p"); |
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.
특별한 의미가 있는 console.log가 아니라면 지워주셔도 좋을 것 같습니다!
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.
앗 바로 고치겠습니다.
if (type === "prompt") { | ||
useEffect(() => { | ||
console.log("p"); | ||
axios("./reviewLecture.json") |
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.
미리 mock 데이터로 API 요청 대신하신 점 너무 좋습니다.
const MS_OF_SECOND = 1000; | ||
const SECOND_OF_HOUR = 3600; | ||
const MINUTE_OF_HOUR = 60; | ||
|
||
const convertMsToTimeString = (ms: string) => { | ||
let msNumber = parseInt(ms); | ||
let seconds = Math.floor(msNumber / MS_OF_SECOND); | ||
let hours = Math.floor(seconds / SECOND_OF_HOUR); | ||
seconds = seconds % 3600; | ||
|
||
let minutes = Math.floor(seconds / MINUTE_OF_HOUR); | ||
seconds = seconds % 60; | ||
|
||
return `${hours.toString().padStart(2, "0")}:${minutes.toString().padStart(2, "0")}:${seconds | ||
.toString() | ||
.padStart(2, "0")}`; | ||
}; | ||
export default convertMsToTimeString; |
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.
고생하셨습니다!! 작은 디테일까지 항상 꼼꼼히 살펴보시는 진상님 보면서 많이 배웁니다. 👍👍
|
||
return COLOR_SET[randomIndex].background + " " + COLOR_SET[randomIndex].border; | ||
}; | ||
const MEMO_COLOR = "bg-memo-yellow border-memo-border-yellow"; |
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.
반영해주셔셔 감사합니다!
const MS_OF_SECOND = 1000; | ||
const SECOND_OF_HOUR = 3600; | ||
const MINUTE_OF_HOUR = 60; | ||
|
||
const convertMsToTimeString = (ms: string) => { | ||
let msNumber = parseInt(ms); | ||
let seconds = Math.floor(msNumber / MS_OF_SECOND); | ||
let hours = Math.floor(seconds / SECOND_OF_HOUR); | ||
seconds = seconds % 3600; | ||
|
||
let minutes = Math.floor(seconds / MINUTE_OF_HOUR); | ||
seconds = seconds % 60; | ||
|
||
return `${hours.toString().padStart(2, "0")}:${minutes.toString().padStart(2, "0")}:${seconds | ||
.toString() | ||
.padStart(2, "0")}`; | ||
}; | ||
export default convertMsToTimeString; |
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.
util 폴더 분리 너무 좋네요! 저도 잘 사용하겠습니다 :)
작업 개요
질문리스트, 질문 채팅 관련 사용성 개선
작업 사항
발표자-질문리스트 새로운 질문 상단에 생성 Refactor: 참여자, 발표자 최신 질문에 대한 사용성 개선 #216
발표자-버블의 알림 애니메이션이 헤더 밑으로 깔리는 문제 해결
참여자-질문 채팅 새로운 질문으로 스크롤 이동 Refactor: 참여자, 발표자 최신 질문에 대한 사용성 개선 #216
고민한 점들(필수 X)
스크린샷(필수 X)
2023-12-07.4.34.15.mov
2023-12-07.4.48.40.mov
2023-12-07.4.35.34.mov
2023-12-07.4.49.25.mov
2023-12-07.4.36.43.mov
2023-12-07.4.37.41.mov