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/#5] : 그룹 상세 페이지 구현 #7

Merged
merged 11 commits into from
Jan 2, 2025

Conversation

gaeulzzang
Copy link
Contributor

✅ 𝗖𝗵𝗲𝗰𝗸-𝗟𝗶𝘀𝘁

  • merge할 브랜치의 위치를 확인해 주세요.(main❌/develop⭕)
  • 리뷰가 필요한 경우 리뷰어를 지정해 주세요.
  • 리뷰는 PR이 올라오면 최대한 빠르게 진행합니다.
  • P1 단계의 리뷰는 빠르게 확인 후 반영합니다.
  • Approve된 PR은 assigner가 머지하고, 수정 요청이 온 경우 수정 후 다시 push를 합니다.

📌 𝗜𝘀𝘀𝘂𝗲𝘀

📎 𝗪𝗼𝗿𝗸 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻

  • 그룹 상세 진행 중 뷰 구현
  • 그룹 상세 확정 뷰 구현
  • 그룹 멤버 뷰 구현
  • 공유 기능 구현

📷 𝗦𝗰𝗿𝗲𝗲𝗻𝘀𝗵𝗼𝘁

Screen_recording_20241231_015346.mp4

💬 𝗧𝗼 𝗥𝗲𝘃𝗶𝗲𝘄𝗲𝗿𝘀

대충 큰 틀만 구현했습니다..!!

@gaeulzzang gaeulzzang added ⭐ [FEAT] 새로운 기능 구현 💟 [UI] UI 작업 🍂 가을 가응가 labels Dec 30, 2024
@gaeulzzang gaeulzzang self-assigned this Dec 30, 2024
@gaeulzzang gaeulzzang requested a review from a team as a code owner December 30, 2024 16:54
Copy link

@twogarlic twogarlic left a comment

Choose a reason for hiding this comment

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

수고하셧슴니동

}
}

val tabs = immutableListOf("진행중", "완료")

Choose a reason for hiding this comment

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

P3 : 확정으로 바꿔야될것같아용

Copy link
Contributor Author

Choose a reason for hiding this comment

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

아이쿠 내 정신머리... 😭

onBackButtonClick = {}
)
}
}

Choose a reason for hiding this comment

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

P3 : NoostakTheme.typography이랑 NoostakTheme.color를 미리 빼놓고 사용하는게 더 보기 좋을것같아용

Copy link
Contributor Author

Choose a reason for hiding this comment

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

하....요놈 때문에 손목이 아파여...

Copy link
Member

@Eonji-sw Eonji-sw 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
Member

Choose a reason for hiding this comment

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

P3 : 저랑 겹치는 컴포넌트가 꽤 있네요... 다른 담당에서도 그렇고...... ㅎr

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ㅎr..... 겹치는 컴포넌트 맡은 사람들끼리 얘기해봐야할듯 합니둥...

fun NoostakChipPreview() {
NoostakAndroidTheme {
NoostakChip(
text = "나",
Copy link
Member

Choose a reason for hiding this comment

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

P2 : string 파일에 test string 하나 만들어서 재사용하면 좋을듯

.border(
width = 1.dp,
color = borderColor,
shape = RoundedCornerShape(16.dp)
Copy link
Member

Choose a reason for hiding this comment

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

P2 : 이런.. 자주 사용하는 dp 값은 빼서 재사용해야 하는데 골치가 아프군요 일단 제 뷰에서는 16만 있는 것 같긴 한데

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dimens.xml에 해당 dp 추가띠예우예

Copy link
Member

Choose a reason for hiding this comment

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

P3 : 저도 만들었는데 크흡흡 겹치는게 넘 많아요... 한명이 맡아서 재사용 되는 컴포넌트들 생성했어야 했는데.. 엄청 비효율적인 작업을 할 것만 같은 느낌

Copy link
Contributor Author

Choose a reason for hiding this comment

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

해결해됴 엄마 응애 👶

availableMembersCount = 5,
availableMembers = listOf(
"나", "선우정아", "대한민국만세", "최영희", "정영수",
"이가을", "김언지", "박유진", "임하늘", "변우석", "김혜윤", "카리나", "닝닝",
Copy link
Member

Choose a reason for hiding this comment

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

P3 : 정말 암거나 넣으셨네요 정해인도 넣어주세요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

floatingActionButton = {
NoostakFloatingActionButton(
title = stringResource(R.string.fab_group_detail),
modifier = Modifier.offset(x = 0.dp, y = (-74).dp)
Copy link
Member

Choose a reason for hiding this comment

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

P3 : 이 방식밖에 없나용? 없다면 값 빼면 좋을 것 같네요 저도 fab 똑같이 사용하는 부분 있어서.. 아니면 컴포넌트 코드에 고정으로 박아도 ㄱㅊ할듯

Copy link
Contributor

@youjin09222 youjin09222 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 18 to 25
private val _sideEffects: MutableSharedFlow<GroupDetailSideEffect> = MutableSharedFlow()
val sideEffects: SharedFlow<GroupDetailSideEffect> get() = _sideEffects.asSharedFlow()

fun navigateUp() {
viewModelScope.launch {
_sideEffects.emit(GroupDetailSideEffect.NavigateUp)
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

P3: ViewModel에서 중복되는 부분은 이런식으로 BaseViewModel로 만들어서 사용해도 좋을 것 같네요!

abstract class BaseViewModel<T> : ViewModel() {
    private val _sideEffects = MutableSharedFlow<T>()
    val sideEffects: SharedFlow<T> get() = _sideEffects.asSharedFlow()

    protected fun emitSideEffect(sideEffect: T) {
        viewModelScope.launch {
            _sideEffects.emit(sideEffect)
        }
    }
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

세상에 마상에 너무 좋은 아이디어에욤 🫶

@gaeulzzang gaeulzzang merged commit bda413d into develop Jan 2, 2025
1 check passed
@Eonji-sw Eonji-sw deleted the feature/#5-group-detail-ui branch January 7, 2025 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍂 가을 가응가 ⭐ [FEAT] 새로운 기능 구현 💟 [UI] UI 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI] : 그룹 상세 페이지 구현
4 participants