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

feat: 온보딩을 구현합니다 #444

Merged
merged 17 commits into from
Oct 8, 2024
Merged

feat: 온보딩을 구현합니다 #444

merged 17 commits into from
Oct 8, 2024

Conversation

wokbjso
Copy link
Member

@wokbjso wokbjso commented Oct 7, 2024

🤔 어떤 문제가 발생했나요?

🎉 어떻게 해결했나요?

  • 온보딩 로직을 구현하였습니다.

📷 이미지 첨부 (Option)

  • 플로우
default.mp4
  • 반응형
default.mp4

⚠️ 유의할 점! (Option)

  • 반응형을 구현하긴 했는데, 저정도면 될지 의문이 들긴하네요..! 피드백 부탁드려요 :)

@king2dwellsang king2dwellsang added feat # Add feature Review Plz🙏 # Review is not yet complete labels Oct 7, 2024
Copy link
Member

@Jungjjeong Jungjjeong left a comment

Choose a reason for hiding this comment

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

👍

}

export function Steps({ current }: StepsProps) {
const highlightText = (text: string, highlightTexts: string[]) => {
Copy link
Member

Choose a reason for hiding this comment

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

함수이므로 getHighlightedText가 더 명시적이지 않을까요?

추가로 정규식 파싱에는 특수문자가 들어갔을 경우 종종 예상치 못한 에러가 발생합니다.
이 함수가 공통 함수로 분리될 가능성이 있으면 props로 받은 문자열에서 특수문자를 모두 치환해주는 작업이 추가로 필요할 것 같아요!
하지만 요 함수는 온보딩에서만 사용하는 함수이니 패스 💯

{
total: '수영 친구를 팔로우하고 응원을 주고받아요',
highlight: ['수영 친구를 팔로우'],
},
Copy link
Member

Choose a reason for hiding this comment

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

introduce와 이미지 데이터를 하나의 배열로 만들어도 될 것 같아요.
각각 따로 상수를 생성하신 이유가 있을까요?

Copy link
Member Author

@wokbjso wokbjso Oct 8, 2024

Choose a reason for hiding this comment

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

음 제가 놓친 부분인거 같아요!!
말씀하신대로 이미지도 같이 관리하는게 유지보수에도 더 좋을 것 같아요 ㅎㅎ

@king2dwellsang king2dwellsang added Approved 🆗 # Review is completed and removed Review Plz🙏 # Review is not yet complete labels Oct 8, 2024
@wokbjso wokbjso merged commit 684f047 into main Oct 8, 2024
1 of 2 checks passed
@wokbjso wokbjso deleted the feat/on-boarding branch October 8, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved 🆗 # Review is completed feat # Add feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants