-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Task] 둘러보기 페이지 추가 #200
[Task] 둘러보기 페이지 추가 #200
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<section className={buttonContainerCss}> | ||
{step === 'ready' && ( | ||
<Button variant="cta" size="large" type="button" onClick={onStart}> | ||
시작 | ||
</Button> | ||
)} | ||
{step === 'progress' && ( | ||
<> | ||
<Button size="medium" variant="secondary" type="button" onClick={onStop}> | ||
일시 정지 | ||
</Button> | ||
<Button size="medium" variant="primary" type="button" onClick={onFinishButtonClick}> | ||
끝내기 | ||
</Button> | ||
</> | ||
)} | ||
{step === 'stop' && ( | ||
<> | ||
<Button size="medium" variant="secondary" type="button" onClick={() => onNextStep('progress')}> | ||
다시 시작 | ||
</Button> | ||
<Button size="medium" variant="primary" type="button" onClick={onFinishButtonClick}> | ||
끝내기 | ||
</Button> | ||
</> | ||
)} | ||
</section> |
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.
stopwatch view 로직을 아예 따로 분리하고, 같이 사용해도 될 것 같은데 어떻게 생각하시나요?
단점 : 대신 props가 많아질 수 있음
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.
- view로직 분리후에 같이 사용하는 것 괜찮은것 같아요
- 디자인 시스템의 컴포넌트로 stopwatch가 있는 걸로 알고 있는데 그 친구 고도화가 완료되면 사용하면 어떨까용? (사용중 이탈까지 고려되려면 stopwatch쪽 로직이 변경되지 않을까 예상했었어요)
- 다른쪽 (로그인 후 진입 페이지) 고도화 되면 후속으로 같이 부셔버리죠
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.
- view로직 분리후에 같이 사용하는 것 괜찮은것 같아요
- 디자인 시스템의 컴포넌트로 stopwatch가 있는 걸로 알고 있는데 그 친구 고도화가 완료되면 사용하면 어떨까용? (사용중 이탈까지 고려되려면 stopwatch쪽 로직이 변경되지 않을까 예상했었어요)
- 다른쪽 (로그인 후 진입 페이지) 고도화 되면 후속으로 같이 부셔버리죠
디자인시스템의 stopwatch의 경우 view만 담당하기 때문에 완성되어있는 상태입니다!
조금 리팩토링 하면 좋을 것 같아요. 그때 같이 정리하면 좋을 것 같네요.
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.
충돌나는 부분 한번 확인해주시고 merge 부탁드려요~
🤔 해결하려는 문제가 무엇인가요?
closed #146
🎉 변경 사항
🙏 여기는 꼭 봐주세요!
사용 방법
🌄 스크린샷
📚 참고