-
Notifications
You must be signed in to change notification settings - Fork 1
[Refactor/#104] 온보딩 화면 리디자인 적용 #117
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
dc98357
INIT: 수정된 온보딩 화면에 사용되는 이미지 리소스 추가
l5x5l d943aaa
REFACTOR: 온보딩 화면 리디자인 UI 적용
l5x5l 9e75a0b
FIX: 온보딩 선택 항목 요약 화면 세부 UI 수정
l5x5l 1a27496
FEAT: 사용자가 이전에 설정한 온보딩 조회 UI 구현 및 온보딩 조회 API 연결
l5x5l dfc29cf
FIX: 목표 재설정하기 선택시 상단 뒤로가기 버튼이 표시되지 않는 부분 수정
l5x5l 3cb9ea7
CHORE: ktlint 적용
l5x5l 5b71f6f
FIX: 목표 재설정시 추천 루틴을 선택 가능하도록 수정
l5x5l 11ad16a
FIX: 목표 재설정시 온보딩 선택 첫 페이지에서 뒤로 돌아가면 온보딩 소개 페이지가 표시되는 문제 수정
l5x5l File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.4 KB
core/designsystem/src/main/res/drawable-hdpi/img_texture_rectangle_1.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.2 KB
core/designsystem/src/main/res/drawable-hdpi/img_texture_rectangle_2.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.2 KB
core/designsystem/src/main/res/drawable-hdpi/img_texture_rectangle_3.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.3 KB
core/designsystem/src/main/res/drawable-hdpi/img_texture_rectangle_4.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.26 KB
core/designsystem/src/main/res/drawable-mdpi/img_texture_rectangle_1.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.8 KB
core/designsystem/src/main/res/drawable-mdpi/img_texture_rectangle_2.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.22 KB
core/designsystem/src/main/res/drawable-mdpi/img_texture_rectangle_3.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.35 KB
core/designsystem/src/main/res/drawable-mdpi/img_texture_rectangle_4.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.6 KB
core/designsystem/src/main/res/drawable-xhdpi/img_texture_rectangle_1.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.8 KB
core/designsystem/src/main/res/drawable-xhdpi/img_texture_rectangle_2.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.1 KB
core/designsystem/src/main/res/drawable-xhdpi/img_texture_rectangle_3.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.7 KB
core/designsystem/src/main/res/drawable-xhdpi/img_texture_rectangle_4.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+27 KB
core/designsystem/src/main/res/drawable-xxhdpi/img_texture_rectangle_1.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.2 KB
core/designsystem/src/main/res/drawable-xxhdpi/img_texture_rectangle_2.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+26.4 KB
core/designsystem/src/main/res/drawable-xxhdpi/img_texture_rectangle_3.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+74.9 KB
core/designsystem/src/main/res/drawable-xxhdpi/img_texture_rectangle_4.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Binary file added
BIN
+49.2 KB
core/designsystem/src/main/res/drawable-xxxhdpi/img_texture_rectangle_1.9.png
Oops, something went wrong.
Binary file added
BIN
+43.5 KB
core/designsystem/src/main/res/drawable-xxxhdpi/img_texture_rectangle_2.9.png
Oops, something went wrong.
Binary file added
BIN
+47.5 KB
core/designsystem/src/main/res/drawable-xxxhdpi/img_texture_rectangle_3.9.png
Oops, something went wrong.
Binary file added
BIN
+149 KB
core/designsystem/src/main/res/drawable-xxxhdpi/img_texture_rectangle_4.9.png
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...in/java/com/threegap/bitnagil/data/onboarding/model/response/GetUserOnBoardingResponse.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| package com.threegap.bitnagil.data.onboarding.model.response | ||
|
|
||
| import kotlinx.serialization.SerialName | ||
| import kotlinx.serialization.Serializable | ||
|
|
||
| @Serializable | ||
| data class GetUserOnBoardingResponse( | ||
| @SerialName("timeSlot") | ||
| val timeSlot: String, | ||
| @SerialName("emotionTypes") | ||
| val emotionTypes: List<String>, | ||
| @SerialName("targetOutingFrequency") | ||
| val targetOutingFrequency: String, | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...src/main/java/com/threegap/bitnagil/domain/onboarding/usecase/GetUserOnBoardingUseCase.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package com.threegap.bitnagil.domain.onboarding.usecase | ||
|
|
||
| import com.threegap.bitnagil.domain.onboarding.repository.OnBoardingRepository | ||
| import javax.inject.Inject | ||
|
|
||
| class GetUserOnBoardingUseCase @Inject constructor( | ||
| private val onBoardingRepository: OnBoardingRepository, | ||
| ) { | ||
| suspend operator fun invoke(): Result<List<Pair<String, List<String>>>> { | ||
| return onBoardingRepository.getUserOnBoarding() | ||
| } | ||
| } |
30 changes: 30 additions & 0 deletions
30
.../src/main/java/com/threegap/bitnagil/presentation/common/ninepatch/NinePatchBackground.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| package com.threegap.bitnagil.presentation.common.ninepatch | ||
|
|
||
| import android.graphics.drawable.NinePatchDrawable | ||
| import androidx.compose.runtime.Composable | ||
| import androidx.compose.runtime.remember | ||
| import androidx.compose.ui.Modifier | ||
| import androidx.compose.ui.draw.drawBehind | ||
| import androidx.compose.ui.graphics.nativeCanvas | ||
| import androidx.compose.ui.platform.LocalContext | ||
| import androidx.core.content.ContextCompat | ||
| import androidx.core.graphics.drawable.updateBounds | ||
|
|
||
| @Composable | ||
| fun Modifier.ninePatchBackgroundNode(drawableResId: Int): Modifier { | ||
| val context = LocalContext.current | ||
| val ninePatchDrawable = remember(drawableResId) { | ||
| ContextCompat.getDrawable(context, drawableResId) as? NinePatchDrawable | ||
| } | ||
|
|
||
| return if (ninePatchDrawable != null) { | ||
| this.then( | ||
| Modifier.drawBehind { | ||
| ninePatchDrawable.updateBounds(0, 0, size.width.toInt(), size.height.toInt()) | ||
| ninePatchDrawable.draw(drawContext.canvas.nativeCanvas) | ||
| }, | ||
| ) | ||
| } else { | ||
| this | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.