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

#29: AuthActivity를 만들어 회원가입을 진행해요 #34

Merged
merged 6 commits into from
Jul 16, 2024

Conversation

flash159483
Copy link
Contributor

1. 📄 관련된 이슈 및 소개

#29

2. 🔥 변경된 점

AuthActivity를 추가하고 로직을 옮겨요
Activity 끼리 움직일 수 있는 Navigator를 추가해요

3. ✅ 필수 체크 사항

  • AuthActivity를 추가
  • SideEffect로 Navigation 처리
  • Activity 이동을 위한 Navigation 모듈 추가

4. 📸 작업물 사진 공유(선택)

5. 💡알게된 혹은 궁금한 사항

@flash159483 flash159483 added 🍩브라우니🍩 24기 정승원 🌟머지 해주세요🌟 코드 리뷰가 완료된 뒤 PR을 올린사람이 Merge를 하면 되는 단계입니다. 🔧리팩터링🔧 리팩터링일까요 리팩토링일까요? labels Jul 15, 2024
@flash159483 flash159483 requested a review from jeongjaino July 15, 2024 12:50
@flash159483 flash159483 self-assigned this Jul 15, 2024
@flash159483 flash159483 linked an issue Jul 15, 2024 that may be closed by this pull request
3 tasks
@flash159483 flash159483 reopened this Jul 15, 2024
Copy link
Member

@jeongjaino jeongjaino left a comment

Choose a reason for hiding this comment

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

승원찡~~ 고생많았어용~ 댓글 확인해줘용~

Comment on lines +11 to +17
@Module
@InstallIn(SingletonComponent::class)
interface NavigationModule {
@Binds
@Singleton
fun provideNavigator(navigator: NavigatorImpl): Navigator
}
Copy link
Member

Choose a reason for hiding this comment

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

오호~ 이거 동작하는거죠 ?

제가 알기로 abstract class만 @BINDS 지원해주는 줄 알았는데, interface도 가능하군요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

binds는 interface 아니면 abstract class에 동작해요

Comment on lines 8 to 12
inline fun <reified T : Activity> Context.buildIntent(
vararg argument: Pair<String, Any?>,
) = Intent(this, T::class.java).apply {
putExtras(bundleOf(*argument))
}
Copy link
Member

Choose a reason for hiding this comment

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

이거 Navigation Module에서만 사용되는거 아닐까요 ??

그렇다면, navigation Module내에서 Extensions으로 사용할 수 있을 것 같아요

Copy link
Member

Choose a reason for hiding this comment

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

common에서는 Extensions가 많이 사용될 수 있어서

extensions 패키지 하나 만들고, 내부에 세부 파일 만들어서 사용하시면 더 좋지 않을까요 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

저는 extensions는 대부분 저 extensions 파일에 넣어서 만약 분리가 필요하면 그때 가서 하면 될듯하네요

Copy link
Member

Choose a reason for hiding this comment

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

이거 Navigation Module에서만 사용되는거 아닐까요 ??

그렇다면, navigation Module내에서 Extensions으로 사용할 수 있을 것 같아요

이 코멘트도 확인부탁해용

Copy link
Contributor Author

Choose a reason for hiding this comment

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

extension을 너무 흩어놓는거 같고 다른 곳에서 쓸수도 있어서 common에 넣어놨어요

@flash159483 flash159483 requested a review from jeongjaino July 16, 2024 13:37
jeongjaino
jeongjaino previously approved these changes Jul 16, 2024
Copy link
Member

@jeongjaino jeongjaino left a comment

Choose a reason for hiding this comment

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

고생했졍 승원띵~~ 나도 조만간 하나 올라갑니당~~

@flash159483 flash159483 merged commit f69763b into develop Jul 16, 2024
4 checks passed
@flash159483 flash159483 deleted the feature/flash159483/#29 branch August 18, 2024 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟머지 해주세요🌟 코드 리뷰가 완료된 뒤 PR을 올린사람이 Merge를 하면 되는 단계입니다. 🍩브라우니🍩 24기 정승원 🔧리팩터링🔧 리팩터링일까요 리팩토링일까요?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WS-290 [REFACTOR]: AuthActivity를 만들어 회원가입을 진행해요
2 participants