-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Feature/40 feature ride to destination (#54)
* remove example client test * remove module info * Create :feature:ride test koin extensions * Add setupKoin docs * remove unsupported unit tests * Move passenger test to :feature:ride module * Specify annotation targets * Add annotation defaults * Create expiration date entity * Use constants to express range expectations * Add ExpirationDateTest * Add payment selection to ride ui test * Add PaymentMethod * Add PaymentSelectionView * Move PassengerDashboardView * Add payment repository * Add payment events * Add payment method state to destination search ui state * Bind payment method event callbacks to view model * Use state class as content key * Move RideViewModel * Move files from dot-separated package directory * Move remaining files from root to package directory * Create local payment store * Expand actions of payment repository * update onSelectPayment to use Result * Add payment data types to ride module * Change payment method id to uuid-v4 * Fix invalid expiration date year * Fix missing home route * Fix wrong content description * Update content description expectations for consistency * Fix button expectation * Fix test expectations * Add arrived rider state * Rename RideRequestRepository to reflect generalized purpose * Reorganize test setup * Add current trip observable * rename service/cache * Move test data to test setup * Make test payment store accessible with test type * rename TestPaymentStore * implement fake request ride * Move passenger profile to test setup * Add testing event functions * Finish test script * implement test repository functions * Rename RideViewModel.kt as Trip- * Watch for accepted trip events * Emit trip events * Move MessageInput to :core:ui * Review Drive.status forms * reformat actions/expectations for clarity * Add hailing message expectation * Emit event in coroutine scope to ensure emission * Add driver profile content description and message input * Send trip request on detail confirmation * replace arbitrary delay with smart wait * Add user readable name to Accommodation * replace BriefProfileUiState with DriverProfile * Fix wrong text * Add missing elements from active ride view * Add smart wait for button * Include profile and ride in each trip event * cover remaining trip events * Fill completed ride view * wrap event emissions in coroutines * add driver profile semantics; remove erroneous text * Add cancel/rate view model events and bindings * Add smart wait * Fix arrival message * Add missing done button
- Loading branch information
Showing
36 changed files
with
1,351 additions
and
502 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
177 changes: 0 additions & 177 deletions
177
app-shared/src/commonTest/kotlin/org.pointyware.xyz.shared/ride/RequestRideUiTest.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright (c) 2024 Pointyware. Use of this software is governed by the GPL-3.0 license. | ||
*/ | ||
|
||
package org.pointyware.xyz.core.ui | ||
|
||
import androidx.compose.material3.TextField | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.semantics.contentDescription | ||
import androidx.compose.ui.semantics.semantics | ||
|
||
/** | ||
* | ||
*/ | ||
@Composable | ||
fun MessageInput( | ||
modifier: Modifier = Modifier, | ||
) { | ||
TextField( | ||
value = "", | ||
onValueChange = {}, | ||
modifier = modifier.semantics { contentDescription = "Message Input" } | ||
) | ||
} |
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
Oops, something went wrong.