-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into 12731-woo-pos-remove-shadow-from-the-check-…
…icon-and-from-the-button-on-the-payment-success-screen
- Loading branch information
Showing
42 changed files
with
103 additions
and
366 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
84 changes: 0 additions & 84 deletions
84
...mmerce/src/main/kotlin/com/woocommerce/android/ui/dashboard/AIProductDescriptionDialog.kt
This file was deleted.
Oops, something went wrong.
80 changes: 0 additions & 80 deletions
80
...rc/main/kotlin/com/woocommerce/android/ui/dashboard/AIProductDescriptionDialogFragment.kt
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...c/main/kotlin/com/woocommerce/android/ui/dashboard/AIProductDescriptionDialogViewModel.kt
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
41 changes: 41 additions & 0 deletions
41
WooCommerce/src/main/kotlin/com/woocommerce/android/ui/products/list/ProductListEvent.kt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package com.woocommerce.android.ui.products.list | ||
|
||
import android.view.View | ||
import com.woocommerce.android.viewmodel.MultiLiveEvent | ||
|
||
sealed class ProductListEvent : MultiLiveEvent.Event() { | ||
data object ScrollToTop : ProductListEvent() | ||
data object ShowAddProductBottomSheet : ProductListEvent() | ||
data object ShowProductSortingBottomSheet : ProductListEvent() | ||
data class ShowProductFilterScreen( | ||
val stockStatusFilter: String?, | ||
val productTypeFilter: String?, | ||
val productStatusFilter: String?, | ||
val productCategoryFilter: String?, | ||
val selectedCategoryName: String? | ||
) : ProductListEvent() | ||
|
||
data class ShowProductUpdateStockStatusScreen(val productsIds: List<Long>) : ProductListEvent() | ||
sealed class ShowUpdateDialog : ProductListEvent() { | ||
abstract val productsIds: List<Long> | ||
|
||
data class Price(override val productsIds: List<Long>) : ShowUpdateDialog() | ||
data class Status(override val productsIds: List<Long>) : ShowUpdateDialog() | ||
} | ||
|
||
data class ShowDiscardProductChangesConfirmationDialog( | ||
val productId: Long, | ||
val productName: String, | ||
) : ProductListEvent() | ||
|
||
data class OpenProduct( | ||
val productId: Long, | ||
val oldPosition: Int, | ||
val newPosition: Int, | ||
val sharedView: View? | ||
) : ProductListEvent() | ||
|
||
data object OpenEmptyProduct : ProductListEvent() | ||
|
||
data class SelectProducts(val productsIds: List<Long>) : ProductListEvent() | ||
} |
Oops, something went wrong.