Skip to content

Conversation

@derrickkim0109
Copy link
Collaborator

PR 요약

CrewRankingView

📌 변경 사항

✅ PR check list

Linked Issue

close #

Copy link
Member

@annapo99 annapo99 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 +21 to +30
return SharedDesignSystemAsset.Images.crewRankingUpperBody.swiftUIImage

case .lowerBody:
return SharedDesignSystemAsset.Images.crewRankingLowerBody.swiftUIImage

case .lastPlace:
return SharedDesignSystemAsset.Images.crewRankingLastPlace.swiftUIImage

case .workoutCumulativeTime:
return SharedDesignSystemAsset.Images.crewRankingWorkoutCumulativeTime.swiftUIImage
Copy link
Member

Choose a reason for hiding this comment

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

p1;

SharedDesignSystem이라면, PumpingImages 로 접근 가능합니다 !

Comment on lines 14 to +20
public extension Image {
static let avatar = SharedDesignSystemAsset.Images.avatar.swiftUIImage
static let avatarHead = SharedDesignSystemAsset.Images.avatarHead.swiftUIImage
static let arrow = SharedDesignSystemAsset.Images.arrow.swiftUIImage
static let arrowForPercentage = SharedDesignSystemAsset.Images.arrowForPercentage.swiftUIImage
static let boy = SharedDesignSystemAsset.Images.boy.swiftUIImage
static let dropdown = SharedDesignSystemAsset.Images.dropdown.swiftUIImage
Copy link
Member

Choose a reason for hiding this comment

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

p5;

저희 이렇게 말고 PumpingImages로 접근해서 사용하는거 어떨까요 ? cc. @parkhj0423
일일이 추가하는 방식을 피하고 싶습니다 !

Copy link
Member

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 +29
public struct CrewRankingCellView: View {
public let store: StoreOf<CrewRankingCellStore>

public init(store: StoreOf<CrewRankingCellStore>) {
self.store = store
}

public var body: some View {
WithViewStore(self.store, observe: { $0 }) { viewStore in
VStack {
Spacer()

CrewRankingType(rawValue: viewStore.title)?.backgroundImage
.resizable()
.frame(height: 180)
.offset(y: -40)
.overlay(content: {
VStack(alignment: .leading) {
rankingHeaderView(viewStore: viewStore)
Copy link
Member

Choose a reason for hiding this comment

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

p5;

당장 수정사항은 아니지만, cell은 이제 design system이 아니라 feature에 있어야 합니다. 자세한 사항은 #95 에서 확인가능합니다. 천천히 리펙토링 해나가야할 부분이어서 미리 인지하고 있으면 도움 될것같아서 리뷰합니다 !

@annapo99 annapo99 changed the title Feat/#90 profile refactoring UI [Feat/#90] profile refactoring UI Jun 24, 2023
Copy link
Member

Choose a reason for hiding this comment

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

ㅋㅋㅋㅋ 이거 이미지 넣는거 맞을까요 임시로 그린거같은데 ㅋㅋㅋㅋㅋㅋㅋ

@annapo99 annapo99 merged commit 432b62d into develop Jun 24, 2023
@annapo99 annapo99 deleted the feat/#90-profile-refactoring-UI branch June 24, 2023 06:49
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