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
| private fun buildPersonalization( | |
| listingFetch: ListingFetch, | |
| listingViewEligibility: ListingViewEligibility, | |
| userEnteredPersonalization: String? = null | |
| ): ListingUiModel? { | |
| return null | |
| } | |
| /** | |
| * Build the Personalizations object to support the new perso fields. See PBS-12 for more info. |
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
| fun searchForMessages(query: String) { | |
| clearSearch() | |
| _state.update { oldState -> | |
| val messages = mutableListOf<Message>() | |
| for (message in oldState.messages) { | |
| if (message.text.contains(query, ignoreCase = true)) { | |
| messages.add( | |
| Message( | |
| text = message.text, | |
| time = message.time, |
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
| diff --git a/Etsy/src/main/java/com/etsy/android/ui/listing/ui/recommendations/RecommendationsRepository.kt b/Etsy/src/main/java/com/etsy/android/ui/listing/ui/recommendations/RecommendationsRepository.kt | |
| index e4400970cac..41dc31de124 100644 | |
| --- a/Etsy/src/main/java/com/etsy/android/ui/listing/ui/recommendations/RecommendationsRepository.kt | |
| +++ b/Etsy/src/main/java/com/etsy/android/ui/listing/ui/recommendations/RecommendationsRepository.kt | |
| @@ -2,6 +2,7 @@ package com.etsy.android.ui.listing.ui.recommendations | |
| import com.etsy.android.extensions.Exceptions.Companion.suspendRunCatchingRepository | |
| import com.etsy.android.lib.dagger.IODispatcher | |
| +import com.etsy.android.lib.logger.EtsyLogConstants | |
| import com.etsy.android.lib.models.apiv3.sdl.Page |
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
| diff --git a/app/src/main/java/com/etsy/android/interview/Message.kt b/app/src/main/java/com/etsy/android/interview/Message.kt | |
| index 4760acd..6e5c00a 100644 | |
| --- a/app/src/main/java/com/etsy/android/interview/Message.kt | |
| +++ b/app/src/main/java/com/etsy/android/interview/Message.kt | |
| @@ -1,6 +1,7 @@ | |
| package com.etsy.android.interview | |
| import java.text.SimpleDateFormat | |
| +import java.util.Locale | |
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
| diff --git a/app/src/main/java/com/etsy/android/interview/Message.kt b/app/src/main/java/com/etsy/android/interview/Message.kt | |
| index 4760acd..762da20 100644 | |
| --- a/app/src/main/java/com/etsy/android/interview/Message.kt | |
| +++ b/app/src/main/java/com/etsy/android/interview/Message.kt | |
| @@ -1,6 +1,9 @@ | |
| package com.etsy.android.interview | |
| import java.text.SimpleDateFormat | |
| +import java.time.ZoneId | |
| +import java.util.Locale |
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
| --- a/Etsy/src/main/java/com/etsy/android/ui/cart/refactor/handlers/fetch/comboendpoint/ComboEndpointHandler.kt | |
| +++ b/Etsy/src/main/java/com/etsy/android/ui/cart/refactor/handlers/fetch/comboendpoint/ComboEndpointHandler.kt | |
| @@ -5,6 +5,9 @@ import com.etsy.android.lib.logger.elk.grafana.Grafana | |
| import com.etsy.android.lib.logger.logcat | |
| import com.etsy.android.lib.logger.logcat | |
| import com.etsy.android.ui.cart.refactor.CartRefactorRepository | |
| import com.etsy.android.ui.cart.refactor.CartRefactorResult | |
| +import com.etsy.android.ui.cart.refactor.models.network.CartLinkResponse | |
| +import com.etsy.android.ui.cart.refactor.models.network.CartShopCouponLinksResponse | |
| +import com.etsy.android.ui.cart.refactor.models.network.CartLinkResponse |
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
| @@ -5,6 +5,7 @@ import com.etsy.android.lib.logger.elk.grafana.Grafana | |
| import com.etsy.android.lib.logger.logcat | |
| import com.etsy.android.ui.cart.refactor.CartRefactorRepository | |
| import com.etsy.android.ui.cart.refactor.CartRefactorResult | |
| +import com.etsy.android.ui.cart.refactor.models.network.CartShopCouponResponse | |
| import kotlinx.coroutines.CoroutineDispatcher | |
| import kotlinx.coroutines.withContext | |
| import javax.inject.Inject | |
| @@ -24,7 +25,11 @@ class ComboEndpointHandler @Inject constructor( | |
| try { |
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
| @@ -5,6 +5,7 @@ import com.etsy.android.lib.logger.elk.grafana.Grafana | |
| import com.etsy.android.lib.logger.logcat | |
| import com.etsy.android.ui.cart.refactor.CartRefactorRepository | |
| import com.etsy.android.ui.cart.refactor.CartRefactorResult | |
| +import com.etsy.android.ui.cart.refactor.models.network.CartShopCouponResponse | |
| import kotlinx.coroutines.CoroutineDispatcher | |
| import kotlinx.coroutines.withContext | |
| import javax.inject.Inject | |
| @@ -24,7 +25,11 @@ class ComboEndpointHandler @Inject constructor( | |
| try { |
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
| val price = Money(amount = BigDecimal(26), currencyCode = "USD") | |
| val shop = Shop(1, "AThomeDesignGoods") | |
| val signals = listOf("In 4 other carts", "Only 1 left!").map { title -> Signal(title) }.toList() | |
| val variations = mapOf( | |
| "Primary color" to "Beige", | |
| "Style" to "Modern" | |
| ).map { entry -> Variation(entry.key, entry.value) }.toList() | |
| val listing = Listing( | |
| id = 0, | |
| title = "Rustic Clay Collection Minimalism Mini Vases, Handmade Pottery Vases, Miscellaneous Vases", |
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
| diff --git a/internal-repos/android-jetpack-compose.tf b/internal-repos/android-jetpack-compose.tf | |
| index be2967c..faf889c 100644 | |
| --- a/internal-repos/android-jetpack-compose.tf | |
| +++ b/internal-repos/android-jetpack-compose.tf | |
| @@ -13,7 +13,7 @@ resource "github_repository" "jetpack_compose_curriculum_repo" { | |
| resource "github_team_repository" "jetpack_compose_curriculum_repo_all_team_admin_access" { | |
| team_id = data.github_team.all_team.id | |
| repository = github_repository.jetpack_compose_curriculum_repo.name | |
| - permission = "admin" | |
| + permission = "push" |
NewerOlder