Commit graph

12696 commits

Author SHA1 Message Date
Wolf-Martell Montwé
69ad9c52ef
Change IncomingConfig to use AccountSetupState 2023-08-03 16:34:56 +02:00
Wolf-Martell Montwé
a5a8291e55
Change AutoDiscovery to use AccountSetupState 2023-08-03 16:34:40 +02:00
Wolf-Martell Montwé
cdb7f77d2e
Move AccountAutoDiscoveryStateMapper to autodiscovery package 2023-08-03 16:34:23 +02:00
Wolf-Martell Montwé
9b62c1f8d0
Change AutoDiscoveryTest setup 2023-08-03 16:34:12 +02:00
Wolf-Martell Montwé
4c570e7985
Add AccountSetupState and repository to keep it in memory 2023-08-03 16:34:05 +02:00
Wolf-Martell Montwé
5f027d206c
Remove duplicated FakeAccountOAuthViewModel 2023-08-03 16:33:44 +02:00
Wolf-Martell Montwé
b19aa29e6d
Add OAuth to auto discovery flow 2023-08-03 16:33:37 +02:00
Wolf-Martell Montwé
9f0f32b0c0
Change Dummy to PreviewAccountOAuthViewModel 2023-08-02 14:18:35 +02:00
Wolf-Martell Montwé
7da66f1867
Merge pull request #7105 from thundernest/fix_timer_based_navigation
Fix timer based navigation
2023-08-01 07:49:38 +00:00
Wolf-Martell Montwé
d7a9ff1485
Merge pull request #7104 from thundernest/change_sign_in_button
Change SignInWithGoogleButton to fit to our button style
2023-08-01 07:48:55 +00:00
Wolf-Martell Montwé
eea3334ca0
Merge pull request #7103 from thundernest/fix_account_setup_back_navigation
Fix account setup back navigation
2023-08-01 07:48:17 +00:00
Wolf-Martell Montwé
4306925492
Merge pull request #7102 from thundernest/remove_string_resources
Remove unused string resources
2023-08-01 07:47:51 +00:00
Wolf-Martell Montwé
303a8f94d6
Change back to not change state and instead navigate back immediately 2023-07-31 18:18:46 +02:00
Wolf-Martell Montwé
4c7b6366c3
Fix timer based navigation 2023-07-31 18:12:31 +02:00
Wolf-Martell Montwé
06a118ca41
Change SignInWithGoogleButton to fit to our button style and add outline to add contrast in light mode, also removed the loading indicator as not needed 2023-07-31 17:49:43 +02:00
Wolf-Martell Montwé
9d8e54683b
Move onBack method below onNext 2023-07-31 16:52:33 +02:00
Wolf-Martell Montwé
92e949c299
Change remaining AccountSetupViewModelTest to new turbine setup 2023-07-31 16:52:33 +02:00
Wolf-Martell Montwé
8cd96d2e77
Fix account setup back navigation flow 2023-07-31 16:52:32 +02:00
Wolf-Martell Montwé
660f183607
Remove unused string resources 2023-07-31 16:37:28 +02:00
Wolf-Martell Montwé
0d564955d3
Merge pull request #7101 from thundernest/oauth_setup_flow
Add OAuth support to automatic setup flow
2023-07-31 13:53:04 +00:00
cketti
4efbf3d0d9 Add OAuth to auto discovery flow 2023-07-31 15:16:09 +02:00
cketti
6ff458da6c Change AccountOAuthScreen() to AccountOAuthView() 2023-07-30 17:06:40 +02:00
cketti
cb6520efd2 Change ViewModel orchestration in account setup
Using more direct dependencies makes it easier to follow what's going on.
2023-07-30 17:06:40 +02:00
cketti
a233a63bf4
Merge pull request #7100 from thundernest/update_ServerSettingsValidator
Add an `AuthStateStorage` parameter to `ServerSettingsValidator`
2023-07-30 17:06:04 +02:00
cketti
8e7a5f3541 Add an AuthStateStorage parameter to ServerSettingsValidator
Typically we use `Account` to hold the (OAuth 2.0) authorization state. But during account setup we don't have an `Account` instance yet. So we allow a `ServerSettingsValidator` caller to pass an `AuthStateStorage` that we then use with `OAuth2TokenProviderFactory` to create an `OAuth2TokenProvider` instance. When setting up an account we can use an `AuthStateStorage` implementation that will simply hold the state in memory.
2023-07-29 23:36:02 +02:00
cketti
3bc0bada31
Merge pull request #7099 from thundernest/remove_unused_code
Remove unused code
2023-07-29 22:25:42 +02:00
cketti
191693a534 Remove unused code 2023-07-29 20:21:35 +02:00
cketti
0a2880f437
Merge pull request #7097 from thundernest/remove_FakeAutoDiscoveryService
Remove `FakeAutoDiscoveryService`
2023-07-28 13:15:52 +02:00
cketti
a8dc84a69b Remove FakeAutoDiscoveryService 2023-07-28 12:53:06 +02:00
cketti
efd54b89dd
Merge pull request #7094 from thundernest/change_to_new_validation_screen
Change to new validation screen
2023-07-28 11:52:41 +02:00
Wolf-Martell Montwé
6b3c7a8f57
Merge pull request #7091 from thundernest/add_config_validation_screen
Add config validation screen
2023-07-27 18:20:52 +00:00
Wolf-Martell Montwé
a00ca56f8e
Add validation flow to account setup 2023-07-27 20:18:13 +02:00
Wolf-Martell Montwé
eec5a358e9
Add incoming outgoing texts 2023-07-27 19:06:53 +02:00
Wolf-Martell Montwé
5e94369775
Change account validation bottom next button visibility to isSuccess state and wire it up 2023-07-27 19:06:53 +02:00
Wolf-Martell Montwé
9046a4c8fc
Remove loading from AccountOutgoingScreen 2023-07-27 19:06:52 +02:00
Wolf-Martell Montwé
1a7e60dfef
Remove loading from AccountIncomingScreen 2023-07-27 19:06:52 +02:00
Wolf-Martell Montwé
1360d058d7
Add string mapper 2023-07-27 13:17:07 +02:00
Wolf-Martell Montwé
63bfd64b37
Add AccountValidationScreen 2023-07-27 13:17:07 +02:00
Wolf-Martell Montwé
594b667a9a
Change MviTurbineExtension to extend TestScope 2023-07-27 13:17:07 +02:00
Wolf-Martell Montwé
44dee0e511
Merge pull request #7090 from thundernest/add_mvi_turbine_test_extension
Add MviTurbineExtension to simplify test setup
2023-07-27 11:16:34 +00:00
Wolf-Martell Montwé
42e5bde2d3
Merge pull request #7088 from thundernest/add_validate_server_settings_use_case
Add ValidateServerSettings use case
2023-07-27 10:59:11 +00:00
cketti
6288edf5b3
Merge pull request #7086 from thundernest/auth_state_storage
Add abstraction for storing and retrieving the OAuth state
2023-07-27 12:19:58 +02:00
Wolf-Martell Montwé
a63da8ed4d
Add MviTurbineExtension to simplify test setup 2023-07-27 11:31:50 +02:00
Wolf-Martell Montwé
70984d7ee6
Merge pull request #7087 from thundernest/change_wizard_navigation_bar
Change WizardNavigationBar to be able to show and hide buttons
2023-07-27 09:29:21 +00:00
Wolf-Martell Montwé
5897a655bf
Add ValidateServerSettings use case 2023-07-26 18:16:15 +02:00
Wolf-Martell Montwé
8af494fa52
Change WizardNavigationBar to be able to show and hide buttons 2023-07-26 18:13:19 +02:00
cketti
84f132c148 Add abstraction for storing and retrieving the OAuth state 2023-07-26 15:28:34 +02:00
Wolf-Martell Montwé
0c0e57f7ba
Merge pull request #7079 from thundernest/add_account_setup_oauth
Add account setup oauth
2023-07-26 12:43:29 +00:00
Wolf-Martell Montwé
bfae204dc5
Remove OnNextClicked as SignInClicked controls the flow 2023-07-26 13:52:19 +02:00
Wolf-Martell Montwé
7b8107d2bc
Add error strings 2023-07-26 13:52:19 +02:00