Skip to content

Commit

Permalink
[MERGE] #300 -> develop
Browse files Browse the repository at this point in the history
[FEAT/#300] ์— ํ”Œ๋ฆฌํŠœ๋“œ ์ด๋ฒคํŠธ ์‹ฌ๊ธฐ
  • Loading branch information
leeeyubin authored Nov 19, 2024
2 parents 4022be5 + 01e2a50 commit d4ad93f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,13 @@ fun ScrapDialog(
)
}
},
onClickNavigateButton = viewModel::navigateToDetail,
onClickNavigateButton = {
viewModel.navigateToDetail()
amplitudeTracker.track(
type = EventType.CLICK,
name = "modal_detail"
)
},
onClickScrapButton = {
amplitudeTracker.track(
type = EventType.CLICK,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import androidx.compose.ui.unit.dp
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import com.airbnb.lottie.compose.LottieConstants
import com.terning.core.analytics.EventType
import com.terning.core.analytics.LocalTracker
import com.terning.core.designsystem.component.button.RectangleButton
import com.terning.core.designsystem.component.item.TerningLottieAnimation
import com.terning.core.designsystem.theme.TerningPointTheme
Expand All @@ -44,13 +46,21 @@ fun StartFilteringRoute(
val configuration = LocalConfiguration.current
val screenHeight = 780f / configuration.screenHeightDp

val amplitudeTracker = LocalTracker.current

LaunchedEffect(key1 = true) {
delay(DELAY)
viewModel.updateButtonState()
}

StartFilteringScreen(
onNextClick = onNextClick,
onNextClick = {
onNextClick()
amplitudeTracker.track(
type = EventType.CLICK,
name = "start_service"
)
},
buttonState = state.isButtonVisible,
screenHeight = screenHeight,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ fun SearchRoute(
},
navigateToIntern = navigateToIntern,
onAdvertisementClick = { pageIndex ->
CustomTabsIntent.Builder().build().launchUrl(context, SearchViewModel.bannerList[pageIndex].url.toUri())
amplitudeTracker.track(
type = EventType.CLICK,
name = "quest_banner"
)
CustomTabsIntent.Builder().build()
.launchUrl(context, SearchViewModel.bannerList[pageIndex].url.toUri())
}
)
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
compileSdk = "34"
minSdk = "28"
targetSdk = "34"
versionName = "1.1.7"
versionCode = "10107"
versionName = "1.1.8"
versionCode = "10108"
kotlinCompilerExtensionVersion = "1.5.0"
jvmTarget = "1.8"

Expand Down

0 comments on commit d4ad93f

Please sign in to comment.