-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FTUE - Sign in #5995
FTUE - Sign in #5995
Conversation
@@ -119,40 +120,43 @@ class FtueAuthLoginFragment @Inject constructor() : AbstractSSOFtueAuthFragment< | |||
} | |||
|
|||
private fun submit() { | |||
cleanupUi() | |||
withState(viewModel) { state -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this block is an indentation change due to needing the state
in order to create the AuthenticateAction
from the SignMode
, this isn't needed by the new combined fragments as they don't share the same fragment
9a28949
to
3a5fe5f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice work! Just one remark regarding fragment injection
@@ -521,6 +524,21 @@ interface FragmentModule { | |||
@FragmentKey(FtueAuthPersonalizationCompleteFragment::class) | |||
fun bindFtueAuthPersonalizationCompleteFragment(fragment: FtueAuthPersonalizationCompleteFragment): Fragment | |||
|
|||
@Binds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had we not decided to start using hilt for fragment too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet but there's a plan that I'm very excited for 😄 #5420
there's a lot of onboarding fragments
- temporarily to the combined register fragment
- also removes the subtitle view which is not needed for login
- extracting login fields validation - renaming xml fields to login - renaming direct login property to matrixId
- extracts helpers to make the logic more declarative
…hem and showing SSO options when available
a0fcef6
to
8c44c98
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks awesome!
Matrix SDKIntegration Tests Results:
|
Type of change
Content
Uses the updated combined sign in screen for the sign in flow (a slightly tweaked version of the sign up #5648)
DirectLogin
, removing the ambiguity aroundLoginOrRegister
Motivation and context
Fixes #5283
Forgot password and editing server selection tweaks will be done in another PR
Screenshots / GIFs
Tests
I already have an account
Tested devices