Commit Graph

13 Commits

Author SHA1 Message Date
ismailgulek d5c7e6bd8e Login with QR UI components (#6790)
* Display QR button on login screen if HS supports

* Create start screen

* Add build flag

* Connect start screen to the login

* QR display screen

* Move `LabelledDividerView` into separate file

* Show display QR screen on button tap

* Add swift concurreny to CameraAccessManager

* Introduce `QRLoginServiceProtocol`

* Use new service in screens

* Introduce scan QR code screen

* Remove hardcoded service availability

* Remove unnecessary import

* Add confirmation screen

* Add loading screen

* Fix ZXingObjc targets

* Add failure screen

* Add strings

* Various UI tweaks, navigation according to the service state

* Fix tests

* Add string for invalid QR error

* Add QR login service mode
2022-10-06 18:05:46 +03:00
Stefan Ceriu 89bcd92cca Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Doug 1368f4f252 Tweak strings for FTUE. 2022-07-20 18:07:42 +01:00
Doug 8e36710bfb Update remaining strings for FTUE.
Include homeserver in view models/state as needed.
Pre-fill the user's display name as set by the server.
2022-07-14 16:56:35 +01:00
Doug 82b60f2e5e Update use case, registration and login screens.
Remove "Custom server" button from use case screen.
Remove matrix.org description.
Add username availability to registration screen.
2022-07-14 16:56:35 +01:00
Doug b5196c0a6f Prevent login using keyboard when homeserver is loading. 2022-06-23 18:33:24 +01:00
ismailgulek 5c0d50b43d Merge pull request #6210 from vector-im/ismail/6176_auth_fallback 2022-05-31 19:11:32 +03:00
Doug 4a2ed35658 Login/Registration screen tweaks
Scale SSO button icon with dynamic type.
Add an onCommit parameter to RoundedBorderTextField and use to submit instead of onEditingChanged.
2022-05-29 10:14:14 +01:00
ismailgulek dc4845618c Show fallback on login screen 2022-05-27 17:51:54 +03:00
Doug 130106f6ad Add SSOAuthenticationPresenter to the AuthenticationCoordinator. 2022-05-25 14:48:18 +01:00
Doug 292cd4a5d2 Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug e77d7d9250 Add AuthenticationHomeserverViewData to easily map AuthenticationState.Homeserver to a type in the SwiftUI target. 2022-05-24 15:47:25 +01:00
Doug 5bbd397287 Add login screen. 2022-05-24 15:47:24 +01:00