-
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
QA 이슈 수정 #3
QA 이슈 수정 #3
Conversation
- ISSUE_NUMBER 글자 삭제
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.
소소한 리뷰 남겨 보았습니다!
@@ -9,6 +9,7 @@ | |||
content="backoffice for koin's coop members" | |||
/> | |||
<meta name="google" content="notranslate"> | |||
<meta name="color-scheme" content="light only"> |
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.
👍
font-size: 12px; | ||
font-weight: 400; |
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.
default weight 가 400 아닌가요?
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.
피그마의 서식으로 넣는것이 컨벤션은 아닌 것으로 알고 있어요~! 오히려 불필요하게 default 값을 명시하면 그만큼 line 도 너무 늘어나구요!
그리고 해당 옵션으로 인해 브라우저 기본 스타일이 바뀔 수 있나요..?
font-size: 12px; | ||
font-weight: 400; | ||
line-height: 19.2px; |
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.
픽셀 단위에 대해서 UI/UX 와 이야기를 좀 해보아야 되겠군요..
@@ -1,11 +1,13 @@ | |||
@use "src/assets/styles/mediaQuery" as media; | |||
|
|||
.copyright { | |||
font-family: Pretendard, sans-serif; |
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.
네 Pretendard
폰트는 현재 전역설정이 없습니다.
|
||
const { | ||
isExpanded: isMobileSidebarExpanded, | ||
expandSidebar, | ||
hideSidebar, | ||
} = useMobileSidebar(pathname, isMobile); | ||
|
||
const handleHamburgerClick = () => { | ||
navigate(pathname, { replace: true }); |
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.
👍
margin-top: 16px; | ||
position: relative; | ||
width: inherit; | ||
padding: 0 16px; |
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.
tmi : padding-inline
이라는걸로 써도 된다.
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.
오.. 잊고 있던 키워드 알려주셔서 감사해요!
background-color: #f5f5f5; | ||
display: flex; | ||
align-items: center; | ||
flex-direction: row; |
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.
이것도 default flex direction 같군요.
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.
flex
부분도 다른 사람이 읽었을 때 명시되어 있는 게 좋다고 생각하여 적어줍니다.
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.
저와 같은 경우에는 명시를 해주지 않아도 당연히 알고 넘어간다고 생각합니다! box-sizing, position 같은 다른 css 속성 처럼요.
const [id, setId] = useState<string>(''); | ||
const [password, setPassword] = useState<string>(''); |
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.
초기에 id, password가 string인 것이 맞을까요?
string | null
과는 차이가 없을까요?
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.
html에서 input 값에 아무 값도 설정하지 않으면 그것은 빈 문자열로 된다고 알고 있습니다. input의 type이 text이기도 하구요. 그래서 저는 ''
을 초기 값으로 두고 타입도 string
으로 해도 문제 없다고 생각합니다. 혹시 다른 의견 있으시면 말씀해주세요!
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.
오호 좋은 생각이에요! 저도 이견 없습니다!👍
src/query/auth.ts
Outdated
default: | ||
errorMessage = '로그인을 실패했습니다.'; | ||
sendClientError(err); | ||
if (![400, 404, 403, 500].includes(err.status)) { |
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.
89eaec2
COOP_LOGIN_ERROR_CODES
로 선언했습니다!
What is this PR? 🔍
Changes 📝
ScreenShot 📷
Test CheckList ✅
Precaution
✔️ Please check if the PR fulfills these requirements
develop
branch unconditionally?main
?yarn lint