Skip to content

Commit 3f807d5

Browse files
authored
Merge pull request #300 from Team-Offroad/feature/298
refactor: 3차 QA 추가 수정사항 반영
2 parents 0b8155c + c874b9c commit 3f807d5

File tree

25 files changed

+126
-92
lines changed

25 files changed

+126
-92
lines changed

README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
# 📗 OFFROAD-Android
2+
23
<img src="https://github.com/user-attachments/assets/3d153cb7-f0e7-410a-baa3-9fb3ca21ae82" width="500">
34

4-
> 오프로드, 일상을 모험하는 온오프라인 연계형 어드벤처 게임
5+
> 오브, 일상을 모험하는 온오프라인 연계형 어드벤처 게임
56
</br>
67
78
## 💻 IDE
9+
810
<div><img src="https://img.shields.io/badge/kotlin-7F52FF?style=for-the-badge&logo=kotlin&logoColor=white"><img src="https://img.shields.io/badge/android-3DDC84?style=for-the-badge&logo=android&logoColor=white"><img src="https://img.shields.io/badge/Android%20Studio-3E81F2.svg?style=for-the-badge&logo=android-studio&logoColor=white"></div>
911
</br>
1012

1113
## 📁 Overview
12-
> 오프로드는 반복되는 일상 속에서 권태를 느끼는 현대인들에게</br>
14+
15+
> 오브는 반복되는 일상 속에서 권태를 느끼는 현대인들에게</br>
1316
> 더욱 즐겁고 설레는 일상을 선물하고자 기획되었습니다.</br>
17+
1418
```
1519
📦com.teamoffroad.offroad
1620
├─📂app
@@ -47,9 +51,11 @@
4751
│ └─📂mypage
4852
└─📂build-logic
4953
```
54+
5055
</br>
5156

5257
## 🏭 Libraries
58+
5359
- Jetpack Compose: UI 개발의 간소화 및 유지보수성 향상
5460
- Retrofit2: API 통합 간소화
5561
- Naver Map: 위치 기반 서비스 추가
@@ -66,13 +72,15 @@
6672
</br>
6773

6874
## 🥕 Extensions
75+
6976
- BaseResponse: 공용되는 네트워크 응답을 사용하기 위해 만들었습니다.
7077
- Retrofit: 공용되는 네트워크 모듈을 사용하기 위해 만들었습니다.
7178
- 디자인 시스템 및 기타 공용 컴포넌트: 디자인의 일관성 유지 및 유지보수성을 위해 만들었습니다.
7279

7380
</br>
7481

7582
## 🏭 Tech Stacks
83+
7684
- Clean Architecture: 의존성 분리 및 유지보수
7785
- Multi Module: 빌드 속도 개선
7886
- MVVM pattern: 비즈니스 로직 분리
@@ -82,22 +90,26 @@
8290
</br>
8391

8492
## 🏷️ Convention
93+
8594
- Adheres to the [OFFROAD-Android-Convention](https://github.com/Team-Offroad/Offroad-Android).
8695

8796
</br>
8897

8998
## ⭐️ Did you find this repository helpful?
99+
90100
- Don't forget give a star.
91101

92102
</br>
93103

94104
## 🍴 Didn't you?
105+
95106
- Then fork this repo, make it better and don't forget give a STAR.
96107

97108
</br>
98109

99110
## 👨‍👩‍👧‍👦 Contributers
100-
|<img src="https://avatars.githubusercontent.com/u/127238018?v=4" width="128" />|<img src="https://avatars.githubusercontent.com/u/81751105?v=4" width="128" />|<img src="https://avatars.githubusercontent.com/u/112953135?v=4" width="128" />|
101-
|:---------:|:---------:|:---------:|
102-
|[👑최준서](https://github.com/junseo511)|[유정현](https://github.com/OliviaYJH)|[이석찬](https://github.com/leeseokchan00)|
103-
|탐험 뷰</br>모듈 분리|홈 뷰</br>디자인 세팅|로그인 뷰</br>온보딩 뷰</br>네비게이션 세팅|
111+
112+
| <img src="https://avatars.githubusercontent.com/u/127238018?v=4" width="128" /> | <img src="https://avatars.githubusercontent.com/u/81751105?v=4" width="128" /> | <img src="https://avatars.githubusercontent.com/u/112953135?v=4" width="128" /> |
113+
|:-------------------------------------------------------------------------------:|:------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------:|
114+
| [👑최준서](https://github.com/junseo511) | [유정현](https://github.com/OliviaYJH) | [이석찬](https://github.com/leeseokchan00) |
115+
| 탐험 뷰</br>모듈 분리 | 홈 뷰</br>디자인 세팅 | 로그인 뷰</br>온보딩 뷰</br>네비게이션 세팅 |

feature/auth/src/main/java/com/teamoffroad/feature/auth/presentation/component/AgreeTermsAndConditionsItem.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fun AgreeTermsAndConditionsItem(
3636
.fillMaxWidth()
3737
.padding(horizontal = 44.dp)
3838
.padding(bottom = 18.dp)
39-
.clickableWithoutRipple { onClick() },
39+
.clickableWithoutRipple { dialogShown() },
4040
verticalAlignment = Alignment.CenterVertically,
4141

4242
) {
@@ -49,7 +49,9 @@ fun AgreeTermsAndConditionsItem(
4949
false -> painterResource(R.drawable.ic_agree_check_empty)
5050
},
5151
contentDescription = "check",
52-
modifier = Modifier.padding(end = 12.dp)
52+
modifier = Modifier
53+
.padding(end = 12.dp)
54+
.clickableWithoutRipple { onClick() }
5355
)
5456
}
5557
Box(
@@ -81,7 +83,6 @@ fun AgreeTermsAndConditionsItem(
8183
Image(
8284
painter = painterResource(R.drawable.ic_agree_click_next),
8385
contentDescription = "next",
84-
modifier = Modifier.clickableWithoutRipple { dialogShown() },
8586
alignment = Alignment.CenterEnd,
8687
)
8788
}

feature/auth/src/main/java/com/teamoffroad/feature/auth/presentation/component/BirthDateTextField.kt

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import androidx.compose.foundation.interaction.MutableInteractionSource
66
import androidx.compose.foundation.interaction.collectIsFocusedAsState
77
import androidx.compose.foundation.layout.Box
88
import androidx.compose.foundation.layout.Column
9+
import androidx.compose.foundation.layout.fillMaxWidth
910
import androidx.compose.foundation.layout.padding
11+
import androidx.compose.foundation.layout.wrapContentWidth
1012
import androidx.compose.foundation.shape.RoundedCornerShape
1113
import androidx.compose.foundation.text.BasicTextField
1214
import androidx.compose.foundation.text.KeyboardActions
@@ -18,12 +20,10 @@ import androidx.compose.runtime.mutableStateOf
1820
import androidx.compose.runtime.remember
1921
import androidx.compose.ui.Alignment
2022
import androidx.compose.ui.Modifier
21-
import androidx.compose.ui.draw.clip
2223
import androidx.compose.ui.graphics.Shape
2324
import androidx.compose.ui.graphics.SolidColor
2425
import androidx.compose.ui.text.TextStyle
2526
import androidx.compose.ui.text.input.VisualTransformation
26-
import androidx.compose.ui.text.style.TextOverflow
2727
import androidx.compose.ui.unit.Dp
2828
import androidx.compose.ui.unit.dp
2929
import com.teamoffroad.core.designsystem.theme.ErrorNew
@@ -45,7 +45,6 @@ fun BirthDateTextField(
4545
minLines: Int = 1,
4646
maxLength: Int,
4747
textStyle: TextStyle = OffroadTheme.typography.textAuto,
48-
textAlign: Alignment = Alignment.CenterStart,
4948
isError: Boolean = false,
5049
keyboardOptions: KeyboardOptions,
5150
keyboardActions: KeyboardActions = KeyboardActions.Default,
@@ -103,23 +102,31 @@ fun BirthDateTextField(
103102
color = borderLineColor.value,
104103
shape = shape,
105104
)
106-
.padding(vertical = 12.dp, horizontal = innerPadding),
105+
.wrapContentWidth()
106+
.padding(vertical = 12.dp),
107107
) {
108108
Box(
109-
modifier = Modifier
110-
.clip(shape = shape),
111-
contentAlignment = textAlign,
109+
modifier = Modifier,
110+
contentAlignment = Alignment.CenterStart,
112111
) {
113112
if (value.isEmpty()) {
114113
Text(
115114
text = placeholder,
116115
color = Gray300,
117116
style = textStyle,
118117
maxLines = 1,
119-
overflow = TextOverflow.Clip,
118+
modifier = Modifier
119+
.align(Alignment.Center)
120+
.wrapContentWidth(),
120121
)
121122
}
122-
innerText()
123+
Box(
124+
modifier = Modifier
125+
.fillMaxWidth()
126+
.padding(horizontal = innerPadding)
127+
) {
128+
innerText()
129+
}
123130
}
124131
}
125132
},

feature/auth/src/main/java/com/teamoffroad/feature/auth/presentation/component/OffroadBasicButton.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import androidx.compose.runtime.Composable
1212
import androidx.compose.ui.Alignment
1313
import androidx.compose.ui.Modifier
1414
import androidx.compose.ui.graphics.Shape
15-
import androidx.compose.ui.platform.LocalDensity
1615
import androidx.compose.ui.unit.dp
1716
import com.teamoffroad.core.designsystem.theme.Main2
17+
import com.teamoffroad.core.designsystem.theme.OffroadTheme
1818
import com.teamoffroad.core.designsystem.theme.White
1919

2020
@Composable
@@ -45,8 +45,8 @@ fun OffroadBasicBtn(
4545
verticalAlignment = Alignment.CenterVertically,
4646
) {
4747
Text(
48-
fontSize = with(LocalDensity.current) { 13.dp.toSp() },
4948
text = text,
49+
style = OffroadTheme.typography.textRegular,
5050
color = White,
5151
)
5252
}

feature/auth/src/main/java/com/teamoffroad/feature/auth/presentation/signin/SignInScreen.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ import androidx.lifecycle.compose.collectAsStateWithLifecycle
3232
import com.teamoffroad.core.designsystem.component.ChangeBottomBarColor
3333
import com.teamoffroad.core.designsystem.component.OffroadActionBar
3434
import com.teamoffroad.core.designsystem.component.navigationPadding
35-
import com.teamoffroad.core.designsystem.theme.Black
36-
import com.teamoffroad.core.designsystem.theme.Kakao
3735
import com.teamoffroad.core.designsystem.theme.Main1
3836
import com.teamoffroad.core.designsystem.theme.Main2
3937
import com.teamoffroad.core.designsystem.theme.OffroadTheme
@@ -108,6 +106,7 @@ internal fun SignInScreen(
108106
contentScale = ContentScale.FillHeight,
109107
contentDescription = "auth_logo",
110108
)
109+
/*
111110
ClickableImage(
112111
modifier = Modifier
113112
.fillMaxWidth(),
@@ -118,6 +117,7 @@ internal fun SignInScreen(
118117
contentDescription = "auth_kakao",
119118
onClick = { viewModel.startKakaoSignIn() },
120119
)
120+
*/
121121
ClickableImage(
122122
modifier = Modifier
123123
.fillMaxWidth(),

feature/auth/src/main/java/com/teamoffroad/feature/auth/presentation/signup/BirthDateScreen.kt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import androidx.compose.foundation.layout.Row
77
import androidx.compose.foundation.layout.fillMaxWidth
88
import androidx.compose.foundation.layout.height
99
import androidx.compose.foundation.layout.padding
10-
import androidx.compose.foundation.layout.width
1110
import androidx.compose.foundation.layout.wrapContentWidth
1211
import androidx.compose.foundation.text.KeyboardActions
1312
import androidx.compose.foundation.text.KeyboardOptions
@@ -76,7 +75,6 @@ internal fun BirthDateScreen(
7675
BirthDateTextField(
7776
modifier = Modifier
7877
.weight(1.4f)
79-
.width(84.dp)
8078
.height(43.dp)
8179
.focusRequester(focusRequester)
8280
.onFocusChanged { updateFocus(BirthDateFocus.YEAR) },
@@ -87,7 +85,7 @@ internal fun BirthDateScreen(
8785
updateYear(it)
8886
}
8987
},
90-
innerPadding = 32.dp,
88+
innerPadding = 30.dp,
9189
maxLength = 4,
9290
isError = uiState.yearValidateResult == DateValidateResult.Error,
9391
keyboardOptions = KeyboardOptions.Default.copy(
@@ -107,7 +105,6 @@ internal fun BirthDateScreen(
107105
BirthDateTextField(
108106
modifier = Modifier
109107
.weight(1f)
110-
.width(66.dp)
111108
.height(43.dp)
112109
.focusRequester(focusRequester)
113110
.onFocusChanged {
@@ -121,7 +118,7 @@ internal fun BirthDateScreen(
121118
updateMonth(it)
122119
}
123120
},
124-
innerPadding = 24.dp,
121+
innerPadding = 23.dp,
125122
maxLength = 2,
126123
isError = uiState.monthValidateResult == DateValidateResult.Error,
127124
keyboardOptions = KeyboardOptions.Default.copy(
@@ -141,7 +138,6 @@ internal fun BirthDateScreen(
141138
BirthDateTextField(
142139
modifier = Modifier
143140
.weight(1f)
144-
.width(66.dp)
145141
.height(43.dp)
146142
.focusRequester(focusRequester)
147143
.onFocusChanged {
@@ -155,7 +151,7 @@ internal fun BirthDateScreen(
155151
updateDate(it)
156152
}
157153
},
158-
innerPadding = 24.dp,
154+
innerPadding = 23.dp,
159155
maxLength = 2,
160156
isError = uiState.dayValidateResult == DateValidateResult.Error,
161157
keyboardOptions = KeyboardOptions.Default.copy(

feature/auth/src/main/java/com/teamoffroad/feature/auth/presentation/signup/SetCharacterScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ internal fun SetCharacterScreen(
155155
.padding(bottom = 72.dp)
156156
.height(50.dp)
157157
.align(Alignment.CenterHorizontally),
158-
text = stringResource(R.string.auth_basic_button),
158+
text = stringResource(R.string.auth_select),
159159
onClick = { showDialog = true },
160160
isActive = true,
161161
)

feature/auth/src/main/java/com/teamoffroad/feature/auth/presentation/signup/SignUpScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ internal fun SignUpScreen(
187187
.padding(horizontal = 24.dp)
188188
.padding(bottom = 72.dp)
189189
.height(50.dp),
190-
text = stringResource(R.string.auth_basic_button),
190+
text = stringResource(R.string.auth_next),
191191
onClick = {
192192
if (pagerState.currentPage.toSignUpPage() == SignUpPage.NICKNAME || pagerState.currentPage.toSignUpPage() == SignUpPage.BIRTHDATE) {
193193
coroutineScope.launch {

feature/auth/src/main/java/com/teamoffroad/feature/auth/presentation/termandcondition/AgreeTermsAndConditionsScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ internal fun AgreeTermsAndConditionsScreen(
119119
.padding(horizontal = 24.dp)
120120
.padding(bottom = 72.dp)
121121
.height(50.dp),
122-
text = stringResource(R.string.auth_basic_button),
122+
text = stringResource(R.string.auth_next),
123123
updateState = { viewModel.changedMarketingAgree(uiState.isMarketing) },
124124
onClick = {
125125
isToastShown = true

0 commit comments

Comments
 (0)