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] 사장님 가게 메뉴 등록 및 수정 네비게이션 구현 #397

Merged
merged 5 commits into from
Oct 2, 2024

Conversation

hsgo2430
Copy link
Contributor

@hsgo2430 hsgo2430 commented Oct 1, 2024

개요


  • 사장님 가게 메뉴 등록 및 수정 네비게이션 구현

상세 작업 내용


  • 내 상점 페이지 웹과 UI 동기화
  • 메뉴 수정 방법 웹과 동일한 방법으로 변경
  • 가게 등록 기능을 선택할 수 있는 버튼 추가

작업 결과물

  • UI 동기화
  • 메뉴 등록
  • 메뉴 수정

@hsgo2430 hsgo2430 requested a review from a team as a code owner October 1, 2024 13:44
@hsgo2430 hsgo2430 self-assigned this Oct 1, 2024
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.

수고하셨습니다 :) comment확인해주세요!

Comment on lines 61 to 63
painter = if(item.imageUrls.isNullOrEmpty())painterResource(id = R.drawable.ic_koin_logo)else rememberAsyncImagePainter(
item.imageUrls!![0]
),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
painter = if(item.imageUrls.isNullOrEmpty())painterResource(id = R.drawable.ic_koin_logo)else rememberAsyncImagePainter(
item.imageUrls!![0]
),
painter = rememberAsyncImagePainter(
model = item.imageUrls.firstOrNull() ?: R.drawable.ic_koin_logo
),

Copy link
Contributor Author

Choose a reason for hiding this comment

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

아직 코틀린적 사고가 부족하네요…
감사합니다!

@@ -82,7 +88,12 @@ fun MenuScreen(verticalOffset: Boolean, currentPage: Int, state: MyStoreDetailSt

state.storeMenu?.forEach {
Copy link
Contributor

Choose a reason for hiding this comment

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

menu가 많아지면 LazyColumn으로 구현해주세요.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

한번 해보겠습니다!

…o feature/hsgo/navigation

# Conflicts:
#	business/src/main/java/in/koreatech/business/navigation/BusinessNavHost.kt
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.

LGTM 수고하셨습니다!

Copy link
Member

@skdud0629 skdud0629 left a comment

Choose a reason for hiding this comment

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

수고하셨어요!

@hsgo2430 hsgo2430 merged commit 1c38244 into develop Oct 2, 2024
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.

3 participants