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

[Feature] 분실물 기능 #524

Merged
merged 132 commits into from
Jan 21, 2025
Merged

[Feature] 분실물 기능 #524

merged 132 commits into from
Jan 21, 2025

Conversation

kongwoojin
Copy link
Collaborator

@kongwoojin kongwoojin commented Jan 13, 2025

요약

개발 내용

  • 기존 공지사항 부분을 수정했습니다 (기존의 공지사항 게시판과 분실물 게시판의 구조가 달라 분리 필요)
  • 분실물 게시판은 Compose로 구현했습니다 (ComposeView 사용)
  • lost_and_found 딥링크를 추가했습니다
  • Orbit-MVI를 이용하여 MVI 패턴으로 구현했습니다.
  • 구현되어 있는 design system을 사용하긴 했지만, 실제 디자인과 상이한 부분이 존재하여 일부는 다시 구현했습니다.
  • 로깅 상수 관련해서 object로 분리해봤습니다!

사진

게시글 리스트 게시글 게시글 작성 date picker
Screenshot_20250117-181425_코인D Screenshot_20250117-181431_코인D Screenshot_20250117-181436_코인D Screenshot_20250117-181440_코인D

추가적인 내용

  • 모듈명을 lostandfound로 지어놨는데, API에서 lost-item으로 지었더라고요. 모듈명을 바꾸는게 나을까요?

kongwoojin and others added 30 commits January 10, 2025 01:54
We can't access ArticleBoardType from lostandfound module, So copy it for now
Copy link
Contributor

@yunjaena yunjaena left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 :) 마지막 커멘트만 확인해주세요!

val viewModelStoreOwner = requireNotNull(
LocalViewModelStoreOwner.current as? HasDefaultViewModelProviderFactory
)
val viewModel: LostAndFoundDetailViewModel = viewModel(
Copy link
Contributor

Choose a reason for hiding this comment

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

savedStateHandle을 통해서 초기값 처리는 힘들까요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

수정했습니다!

Copy link
Contributor

@yunjaena yunjaena left a comment

Choose a reason for hiding this comment

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

WindowInsets에 대해서 한번 공부해보시면 좋을것 같습니다.

modifier = Modifier.fillMaxSize(),
containerColor = KoinTheme.colors.neutral0,
bottomBar = {
WriteArticleDoneButton {
Copy link
Contributor

Choose a reason for hiding this comment

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

@kongwoojin bottomBar에 WriteArticleDoneButton 이 세팅되어있는데 해당 컴포넌트 파라미터에 windowInset 대응이 안되어있다는걸 말씀드린겁니다.

}
},
// Fix wrong top padding value
contentWindowInsets = WindowInsets(0, 0, 0, 0)
Copy link
Contributor

@yunjaena yunjaena Jan 18, 2025

Choose a reason for hiding this comment

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

windowInsetPadding에 대해서 알아보시면 좋을것 같습니다.

@kongwoojin bottomBar에 WriteArticleDoneButton 이 세팅되어있는데 해당 컴포넌트 파라미터에 windowInset 대응이 안되어있다는걸 말씀드린겁니다.

해당 부분 알아보시면 contentWindowInsets 에 대해서 이해 되실것 같습니다.

Copy link
Contributor

@yunjaena yunjaena 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
Collaborator

@Jokwanhee Jokwanhee 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

@hsgo2430 hsgo2430 left a comment

Choose a reason for hiding this comment

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

수고하셨어요!

@kongwoojin kongwoojin merged commit 0bc2edf into develop Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants