-
Notifications
You must be signed in to change notification settings - Fork 221
On boarding flow: add a screen to select account provider among a fixed list #4769
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
base: develop
Are you sure you want to change the base?
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #4769 +/- ##
===========================================
+ Coverage 80.33% 80.40% +0.06%
===========================================
Files 2135 2142 +7
Lines 56431 56642 +211
Branches 7067 7081 +14
===========================================
+ Hits 45336 45545 +209
- Misses 8678 8679 +1
- Partials 2417 2418 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I just tried using any-provider.mp4 |
Good catch, let me handle this case a bit better, even if IRL it should barely occurs. Generally the list can have the values:
The code should maybe just ensure that "*" is moved to the end of the list |
This should not happen IRL, but better be robust against issue in application configuration.
|
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.
LGTM, thanks for fixing the issue. Having to select a provider then click on 'Continue' is a bit weird, although I guess this will be improved in the following PRs.
Content
When
EnterpriseService
provides a fixed list of account providers, i.e. at least 2 account providers and no "*", the login flow follows a new path so that when the user clicks on "Sign in manually", a screen with the list of available account providers is displayed.Motivation and context
Handle specific case where a fixed list of account providers is configured in the application.
Screenshots / GIFs
See recorded screenshot. Note that the UI does not exactly match what was provided in Figma, but match with the existing code. I may iterate the UI in a future dedicated PR.
Tests
DefaultEnterpriseService.defaultHomeserverList()
return a list of homeserver likelistOf("matrix.org", "element.io")
The login flow can be finished normally
Tested devices
Checklist