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

[온보딩페이지] Step01 기본적 기능 구현 #62

Merged
merged 7 commits into from
Jan 10, 2024

Conversation

ExceptAnyone
Copy link
Member

이슈 넘버

구현 사항

  • X버튼 아이콘 추가
  • X버튼이 안보이다가 글자를 입력했을 시 보이게 설정
  • x버튼 클릭 시 인풋창 전체 값 삭제

Need Review

  • ~ 부분 이렇게 구현했어요, 피드백 부탁해요!

step01에 기본적인 기능 구현하였습니다
ex) x 아이콘 클릭 시 인풋창 전체 값 삭제, 글자를 입력했을 시에만 보이게 설정 등

📸 스크린샷

Reference

Copy link
Contributor

@hoeun0723 hoeun0723 left a comment

Choose a reason for hiding this comment

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

확인 했습니다 ! mixin 관련 부분만 한번 확인 부탁드려요 !

`;

export const Input = styled.input<{ hasContent?: boolean; maxLengthReached?: boolean }>`
${({ theme }) => theme.mixin.flexBox('flex-center', 'center')};
Copy link
Contributor

Choose a reason for hiding this comment

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

mixin 관련 부분 저번 pr 과 같이 확인을 한번 해보면 좋을 거 같아요 !!
계속 이렇게 쓰이는걸 보면, 잘 적용 되는거 같긴한데, 아마 이렇게 넘겨지는 값들에 key값을 적어주지 않게 되면 순서대로 적용이 될텐데, 추후 확장성을 위한 코드가 되진 않을 거 같다고 판단했어요

추가적으로 flex-center라는 코드를 한번 더 보면, 그냥 center를 의미하려던게 아닌가 생각했습니다 !확인 부탁드려요 !

Copy link
Member Author

Choose a reason for hiding this comment

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

아 이 부분 전에 올린 PR에서 전부 수정 후 푸쉬하였습니다 !!

Copy link
Contributor

@urjimyu urjimyu left a comment

Choose a reason for hiding this comment

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

확인했습니다! 수정하면서 theme 같은 부분도 같이 수정하셨네요 최고👍 호은님 리뷰 부분만 확인해서 반영하고 머지하면 될 것 같아요:) 고생하셨습니다!!

hasContent={text.length > 0}
maxLengthReached={text.length === 10}
/>
<S.Wrapper hasContent={text.length > 0} maxLengthReached={text.length === 10}>
Copy link
Member

Choose a reason for hiding this comment

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

wrapper는 명확하게 무엇을 감싸고 있는지 네이밍 해주면 더 가독성 좋은 코드가 될 것 같아요 이부분은 이제 NameInputWrapper 가 될 수 있을 것 같아요!

Copy link
Member Author

Choose a reason for hiding this comment

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

좀 전 PR에서 리마인드 완전 감사합니다!! 아까 PR에서 컨벤션 맞추는 커밋 진행하였습니다!!

@ExceptAnyone ExceptAnyone merged commit 58cad63 into develop Jan 10, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[온보딩페이지] 리팩토링- STEP01 이름 입력 X아이콘 추가
4 participants