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

QA 이슈 수정 #3

Merged
merged 15 commits into from
Jul 12, 2024
Merged

QA 이슈 수정 #3

merged 15 commits into from
Jul 12, 2024

Conversation

junghaesung79
Copy link
Contributor

@junghaesung79 junghaesung79 commented Jul 12, 2024

What is this PR? 🔍

Changes 📝

  1. 미운영 필터링
  2. 사파리에서 품절모달 글자 크기
  3. 윈도우 품절 모달 이상
  4. 스와이프 뒤로갈 때 로그인 화면
  5. 품절 모달 백그라운드로 끄기
  6. pdf 제한 <- 잘 되어 있네요. ㅎ; 내가 올렸던게 pdf가 아니었던..
  7. 로그인 유지
  8. 모바일 페이지 스크롤 막기
  9. 삼성브라우저 다크모드
  10. 내정보 삭제
  11. 문의 폼 링크 수정

ScreenShot 📷

Test CheckList ✅

  • test 1
  • test 2
  • test 3

Precaution

✔️ Please check if the PR fulfills these requirements

  • It's submitted to the correct branch, not the develop branch unconditionally?
  • If on a hotfix branch, ensure it targets main?
  • There are no warning message when you run yarn lint

@junghaesung79 junghaesung79 added the ❗QA issue ❗QA 이슈 label Jul 12, 2024
@junghaesung79 junghaesung79 self-assigned this Jul 12, 2024
@github-actions github-actions bot requested review from dooohun and KimKyungYun July 12, 2024 02:43
@D0Dam D0Dam self-requested a review July 12, 2024 02:48
@D0Dam D0Dam self-assigned this Jul 12, 2024
@D0Dam D0Dam linked an issue Jul 12, 2024 that may be closed by this pull request
Copy link
Contributor

@D0Dam D0Dam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다! 수고하셨습니다~!

Copy link
Contributor

@D0Dam D0Dam left a 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">
Copy link
Contributor

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default weight 가 400 아닌가요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

맞아요. 하지만 저는 명시적으로 적는 방법을 고수해요. 피그마에서 서식 복붙함으로써 적용할 수 있다는 편함도 있고 다른 사람이 봤을 때도 명확하게 적혀 있는 게 더 의도를 알기 쉽다고 생각해요. 그리고 혹시 모를 브라우저 기본 스타일이 달랐을 때의 문제도 피할 수 있구요.

Copy link
Contributor

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;
Copy link
Contributor

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

전역 폰트 패밀리 설정이 안되어 있을까요?

Copy link
Contributor Author

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 });
Copy link
Contributor

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tmi : padding-inline 이라는걸로 써도 된다.

Copy link
Contributor Author

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이것도 default flex direction 같군요.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flex 부분도 다른 사람이 읽었을 때 명시되어 있는 게 좋다고 생각하여 적어줍니다.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저와 같은 경우에는 명시를 해주지 않아도 당연히 알고 넘어간다고 생각합니다! box-sizing, position 같은 다른 css 속성 처럼요.

Comment on lines +21 to +22
const [id, setId] = useState<string>('');
const [password, setPassword] = useState<string>('');
Copy link
Contributor

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 과는 차이가 없을까요?

Copy link
Contributor Author

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으로 해도 문제 없다고 생각합니다. 혹시 다른 의견 있으시면 말씀해주세요!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오호 좋은 생각이에요! 저도 이견 없습니다!👍

default:
errorMessage = '로그인을 실패했습니다.';
sendClientError(err);
if (![400, 404, 403, 500].includes(err.status)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 배열을 상수화해서 네이밍으로 의미를 부여해주면 더 좋을 것 같네요!

Copy link
Contributor Author

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로 선언했습니다!

@junghaesung79 junghaesung79 merged commit cd38683 into develop Jul 12, 2024
1 check passed
@github-actions github-actions bot deleted the 2-production-qa-fix branch July 12, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❗QA issue ❗QA 이슈
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[영양사] 프로덕션 QA fix
2 participants