Skip to content

Commit

Permalink
Merge branch 'develop' into feature/jaino/#74
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Aug 6, 2024
2 parents ef495a0 + d33361d commit 7d628f6
Show file tree
Hide file tree
Showing 40 changed files with 1,092 additions and 44 deletions.
1 change: 1 addition & 0 deletions .github/workflows/opened-pr-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
echo KAKAO_APP_KEY=\"${{ secrets.KAKAO_APP_KEY }}\" >> ./local.properties
echo SCHEME_KAKAO_APP_KEY=\"${{ secrets.SCHEME_KAKAO_APP_KEY }}\" >> ./local.properties
echo MOCK_BASE_URL=\"${{ secrets.MOCK_BASE_URL }}\" >> ./local.properties
echo FACEBOOK_APP_ID=\"${{ secrets.FACEBOOK_APP_ID }}\" >> ./local.properties
- name: add google-services.json
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.INTERNET" />
<application
Expand Down Expand Up @@ -29,7 +28,8 @@

<activity
android:name=".MainActivity"
android:exported="false" />
android:exported="false"
android:windowSoftInputMode="adjustResize"/>


<activity
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/kotlin/com/bff/wespot/AppNavGraphs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ import com.bff.wespot.message.screen.destinations.ReceiverSelectionScreenDestina
import com.bff.wespot.message.screen.destinations.ReservedMessageScreenDestination
import com.bff.wespot.message.viewmodel.SendViewModel
import com.bff.wespot.navigation.Navigator
import com.bff.wespot.vote.screen.destinations.CharacterSettingScreenDestination
import com.bff.wespot.vote.screen.destinations.IndividualVoteScreenDestination
import com.bff.wespot.vote.screen.destinations.IntroductionScreenDestination
import com.bff.wespot.vote.screen.destinations.VoteHomeScreenDestination
import com.bff.wespot.vote.screen.destinations.VoteResultScreenDestination
import com.bff.wespot.vote.screen.destinations.VoteStorageScreenDestination
Expand All @@ -54,6 +56,8 @@ object AppNavGraphs {
VoteResultScreenDestination,
VoteStorageScreenDestination,
IndividualVoteScreenDestination,
CharacterSettingScreenDestination,
IntroductionScreenDestination,
).routedIn(this)
.associateBy { it.route }
}
Expand Down
17 changes: 16 additions & 1 deletion app/src/main/kotlin/com/bff/wespot/CommonNavGraphNavigator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,19 @@ import com.bff.wespot.message.screen.send.MessageWriteNavigator
import com.bff.wespot.message.screen.send.MessageWriteScreenArgs
import com.bff.wespot.message.screen.send.ReceiverSelectionNavigator
import com.bff.wespot.message.screen.send.ReceiverSelectionScreenArgs
import com.bff.wespot.vote.screen.CharacterSettingNavigator
import com.bff.wespot.vote.screen.IndividualVoteArgs
import com.bff.wespot.vote.screen.IndividualVoteNavigator
import com.bff.wespot.vote.screen.IntroductionArgs
import com.bff.wespot.vote.screen.IntroductionNavigator
import com.bff.wespot.vote.screen.VoteNavigator
import com.bff.wespot.vote.screen.VoteResultNavigator
import com.bff.wespot.vote.screen.VoteResultScreenArgs
import com.bff.wespot.vote.screen.VoteStorageNavigator
import com.bff.wespot.vote.screen.VotingNavigator
import com.bff.wespot.vote.screen.destinations.CharacterSettingScreenDestination
import com.bff.wespot.vote.screen.destinations.IndividualVoteScreenDestination
import com.bff.wespot.vote.screen.destinations.IntroductionScreenDestination
import com.bff.wespot.vote.screen.destinations.VoteResultScreenDestination
import com.bff.wespot.vote.screen.destinations.VoteStorageScreenDestination
import com.bff.wespot.vote.screen.destinations.VotingScreenDestination
Expand All @@ -63,7 +68,9 @@ class CommonNavGraphNavigator(
VoteResultNavigator,
VoteStorageNavigator,
ReservedMessageNavigator,
IndividualVoteNavigator {
IndividualVoteNavigator,
CharacterSettingNavigator,
IntroductionNavigator {
override fun navigateUp() {
navController.navigateUp()
}
Expand Down Expand Up @@ -138,4 +145,12 @@ class CommonNavGraphNavigator(
override fun navigateToBlockListScreen() {
navController.navigate(BlockListScreenDestination within navGraph)
}

override fun navigateToCharacterScreen() {
navController.navigate(CharacterSettingScreenDestination within navGraph)
}

override fun navigateToIntroduction(args: IntroductionArgs) {
navController.navigate(IntroductionScreenDestination(args) within navGraph)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.bff.wespot.model.common

data class BackgroundColor(
val id: Int,
val color: String,
val name: String,
)

data class BackgroundColorList(
val backgrounds: List<BackgroundColor>,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.bff.wespot.model.common

data class Character(
val id: Int,
val name: String,
val iconUrl: String,
)

data class CharacterList(
val characters: List<Character>,
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.bff.wespot.model
package com.bff.wespot.model.common

enum class ReportType {
MESSAGE,
Expand Down
1 change: 1 addition & 0 deletions core/ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ dependencies {
implementation(libs.kotlinx.collections.immutable)
implementation(libs.coil.core)
implementation(libs.coil.compose)
implementation(libs.timber)
}
Loading

0 comments on commit 7d628f6

Please sign in to comment.