Skip to content

Conversation

@SeonJeongk
Copy link
Contributor

@SeonJeongk SeonJeongk commented Apr 3, 2025

📝 작업 내용

  1. 식단 기록 상세 모듈을 분리했습니다
    • trainee:mealdetail 모듈을 새로 생성하고, 식단 기록 상세 관련 코드를 해당 모듈로 이동했습니다.

    • 기존 trainee:mealrecord 모듈에 포함되어 있던 식단 기록 상세 관련 코드는 제거했습니다.


  1. 트레이니 메인 화면의 네비게이션 구조를 개선했습니다 78d4454
    • TraineeMainRouteTraineeMainScreen에서 navigateToMealRecord, navigateToMealDetail 파라미터를 제거했습니다.
      👉 식단 관련 네비게이션은 NavController의 확장 함수로 직접 처리하도록 수정했습니다.

    • MealRecord, MealDetail 화면을 traineeHomeNavGraph 내부 중첩 그래프로 이동했습니다.

    • TnTNavHost에서 traineeMealRecordScreen를 제거했습니다.

📸 실행 화면

  • UI 변경사항 없습니다!
default.mp4

🙆🏻 리뷰 요청 사항

👀 레퍼런스

@SeonJeongk SeonJeongk added ♻️ Refactor 코드 리팩토링 🌻 선정 김씨 집안 막내 김선정 labels Apr 3, 2025
@SeonJeongk SeonJeongk requested a review from hoyahozz April 3, 2025 05:46
@SeonJeongk SeonJeongk self-assigned this Apr 3, 2025
Toast.makeText(context, effect.message, Toast.LENGTH_SHORT).show()
}

TraineeMealDetailSideEffect.NavigateToHome -> TODO()
Copy link
Member

Choose a reason for hiding this comment

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

질문) 요거는 왜 TODO() 가 되었나용? ㅎㅎ

Copy link
Contributor Author

Choose a reason for hiding this comment

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

마이 미스테이크.. 수정했습니다! 80d06f8

@SeonJeongk SeonJeongk requested a review from hoyahozz May 6, 2025 05:11
@hoyahozz
Copy link
Member

hoyahozz commented May 6, 2025

👍👍👍👍👍👍👍👍👍👍👍👍

@SeonJeongk SeonJeongk merged commit 61857a2 into develop May 6, 2025
7 checks passed
@SeonJeongk SeonJeongk deleted the refactor/TNT-269 branch May 6, 2025 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ Refactor 코드 리팩토링 🌻 선정 김씨 집안 막내 김선정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TNT-269] 식단 기록 조회 모듈 분리

3 participants