-
Notifications
You must be signed in to change notification settings - Fork 0
๐(::63) SignIn page๋ฅผ ํผ๋ธ๋ฆฌ์ฑ ํ์ต๋๋ค. #64
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
base: develop
Are you sure you want to change the base?
Changes from all commits
4a31e40
2325c04
98245a5
e717342
8df7e0c
00bba5b
db94db0
e5a9f37
8861e64
582d4ec
f1905b1
efe622f
46137b8
bb75022
fcc0c12
59bb2db
c34f147
4d0bfe4
7e4ddf6
8f95f27
29acea9
2e2bd67
b27b389
5e01ffe
64fb2d0
f6ba3f8
adcee03
4e3639e
9e08a95
6af4d1b
2853fc5
bde836c
606755c
e5ecf96
dab8b15
b1fe3c2
67600c3
c85acbe
1062e20
dcff1a1
14eb6fe
80a8ade
ca9d49e
3ec5ec9
3861f8e
d61a77f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| 5 | ||
| 3 | ||
| 0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,6 +61,7 @@ dependencies { | |
| implementation(Dependency.Compose.COMPOSE_MATERIAL3) | ||
| implementation(Dependency.Compose.COMPOSE_MATERIAL) | ||
| implementation(Dependency.Compose.COMPOSE_NAVIGATION) | ||
| implementation(libs.firebase.annotations) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ๐ก Verification agent ๐งฉ Analysis chainFirebase Annotations ๋ฒ์ ๊ฒ์ฆ์ด ํ์ํฉ๋๋ค. Firebase Annotations ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋ฒ์ ์ด 16.2.0์ผ๋ก ์ค์ ๋์ด ์์ต๋๋ค. ๋ณด์ ๋ฐ ๊ธฐ๋ฅ ํฅ์์ ์ํด ์ต์ ๋ฒ์ ์ฌ์ฉ์ ๊ถ์ฅ๋๋ฆฝ๋๋ค. ๐ Web query: ๐ก Result: The latest version of Firebase Annotations depends on its implementation context: Java/Kotlin (Android)For native Android development:
Xamarin (.NET for Android)For .NET bindings via NuGet:
Key Observations1๏ธโฃ AndroidX vs Firebase 2๏ธโฃ SDK Integration 3๏ธโฃ Version Alignment implementation platform("com.google.firebase:firebase-bom:33โโโโโโโโโโโโโโโโโโโโโโโโโโโ`.8``")Citations:
Firebase Annotations ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฒ์ ๋ถ์ผ์น ๋ฌธ์ ํ์ธ ํ์ฌ
|
||
| debugImplementation(Dependency.Compose.COMPOSE_TOOLING) | ||
|
|
||
| implementation(Dependency.Hilt.HILT) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| package Untill | ||
| package until | ||
|
|
||
| import kotlinx.coroutines.flow.Flow | ||
| import kotlinx.coroutines.flow.catch | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| package view.signin.component | ||
|
|
||
| import androidx.compose.foundation.layout.Column | ||
| import androidx.compose.foundation.layout.Spacer | ||
| import androidx.compose.foundation.layout.fillMaxWidth | ||
| import androidx.compose.foundation.layout.height | ||
| import androidx.compose.foundation.shape.RoundedCornerShape | ||
| import androidx.compose.material.OutlinedTextField | ||
| import androidx.compose.material.Text | ||
| import androidx.compose.material.TextFieldDefaults | ||
| import androidx.compose.runtime.* | ||
| import androidx.compose.ui.Modifier | ||
| import androidx.compose.ui.text.input.TextFieldValue | ||
| import androidx.compose.ui.tooling.preview.Preview | ||
| import androidx.compose.ui.unit.dp | ||
| import view.theme.DoMaAndroidTheme | ||
| import view.theme.DoMaTypography | ||
|
|
||
| @Composable | ||
| fun DoMaInputID( | ||
| modifier: Modifier = Modifier, | ||
| idValue: TextFieldValue, | ||
| onIdValueChange: (TextFieldValue) -> Unit | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ์ด๋ฌ๋ฉด ๋ญ๊ฐ ์ํ๊ฐ ๊ทธ๋๋ก ์ผ๊ฒ ๊ฐ์ผ๋ viewmodel ์ด์ฉํด์ฃผ์ธ์ |
||
| ) { | ||
| DoMaAndroidTheme { colors, typography -> | ||
|
|
||
| Column( | ||
| modifier = modifier | ||
| ) { | ||
| Text( | ||
| text = "์์ด๋", | ||
| style = DoMaTypography.bodyMedium.copy(color = colors.WHITE) | ||
| ) | ||
| Spacer( | ||
| modifier = Modifier.height(4.dp) | ||
| ) | ||
| OutlinedTextField( | ||
| modifier = Modifier.fillMaxWidth(), | ||
| value = idValue, | ||
| onValueChange = onIdValueChange, | ||
| textStyle = DoMaTypography.labelLarge.copy(color = colors.WHITE), | ||
| shape = RoundedCornerShape(12.dp), | ||
| singleLine = true, | ||
| placeholder = { | ||
| Text( | ||
| text = "์์ด๋๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.", | ||
| style = DoMaTypography.labelLarge.copy(color = colors.silver) | ||
| ) | ||
| }, | ||
| colors = TextFieldDefaults.outlinedTextFieldColors( | ||
| backgroundColor = colors.BACKGROUND, | ||
| cursorColor = colors.WHITE, | ||
| focusedBorderColor = colors.GRAY, | ||
| unfocusedBorderColor = colors.GRAY | ||
| ) | ||
| ) | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @Preview | ||
| @Composable | ||
| fun PreviewDoMaInputID() { | ||
| val idState = remember { mutableStateOf(TextFieldValue("")) } | ||
|
|
||
| DoMaInputID( | ||
| idValue = idState.value, | ||
| onIdValueChange = { idState.value = it } | ||
| ) | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
|
|
||
| package view.signin.component | ||
|
|
||
| import androidx.compose.foundation.layout.Column | ||
| import androidx.compose.foundation.layout.Spacer | ||
| import androidx.compose.foundation.layout.fillMaxWidth | ||
| import androidx.compose.foundation.layout.height | ||
| import androidx.compose.foundation.shape.RoundedCornerShape | ||
| import androidx.compose.material.OutlinedTextField | ||
| import androidx.compose.material.Text | ||
| import androidx.compose.material.TextFieldDefaults | ||
| import androidx.compose.runtime.Composable | ||
| import androidx.compose.runtime.mutableStateOf | ||
| import androidx.compose.runtime.remember | ||
| import androidx.compose.ui.Modifier | ||
| import androidx.compose.ui.text.input.TextFieldValue | ||
| import androidx.compose.ui.tooling.preview.Preview | ||
| import androidx.compose.ui.unit.dp | ||
| import view.theme.DoMaAndroidTheme | ||
| import view.theme.DoMaTypography | ||
| import view.theme.color.DoMaColor | ||
|
|
||
| @Composable | ||
| fun DoMaInputPassword( | ||
| modifier: Modifier = Modifier, | ||
| passwordValue: TextFieldValue, | ||
| onPasswordValueChange: (TextFieldValue) -> Unit | ||
| ) { | ||
| DoMaAndroidTheme { colors, typography -> | ||
|
|
||
| Column( | ||
| modifier = modifier | ||
| ) { | ||
| Text( | ||
| text = "๋น๋ฐ๋ฒํธ", | ||
| style = DoMaTypography.bodyMedium.copy(color = colors.WHITE) | ||
| ) | ||
| Spacer( | ||
| modifier = Modifier.height(4.dp) | ||
| ) | ||
| OutlinedTextField( | ||
| modifier = Modifier.fillMaxWidth(), | ||
| value = passwordValue, | ||
| onValueChange = onPasswordValueChange, | ||
| textStyle = DoMaTypography.labelLarge.copy(color = colors.WHITE), | ||
| shape = RoundedCornerShape(12.dp), | ||
| singleLine = true, | ||
| placeholder = { | ||
| Text( | ||
| text = "๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.", | ||
| style = DoMaTypography.labelLarge.copy(color = colors.silver) | ||
| ) | ||
| }, | ||
| colors = TextFieldDefaults.outlinedTextFieldColors( | ||
| backgroundColor = DoMaColor.BACKGROUND, | ||
| cursorColor = DoMaColor.WHITE, | ||
| focusedBorderColor = DoMaColor.GRAY, | ||
| unfocusedBorderColor = DoMaColor.GRAY | ||
| ) | ||
| ) | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @Preview | ||
| @Composable | ||
| fun PreviewDoMaInputPassword() { | ||
| val passwordState = remember { mutableStateOf(TextFieldValue("")) } | ||
|
|
||
| DoMaInputPassword( | ||
| passwordValue = passwordState.value, | ||
| onPasswordValueChange = { passwordState.value = it } | ||
| ) | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
firebase ๋ ์ ์ถ๊ฐํ์ จ๋์ง ๊ถ๊ธํฉ๋๋ค