Commit graph

149 commits

Author SHA1 Message Date
David Langley
b6e0340bce Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/6830_wysiwyg_core_formatting 2022-10-12 11:46:24 +01:00
Doug
313331708d
Device Manager: Verify session (#6832)
* Initial implementation
* Add verificationState to UserSessionInfo
* Listen for changes device changes in the service.
2022-10-11 16:11:52 +01:00
Doug
c358f28a55
Device Manager: Rename Session (#6826)
* Publish the user sessions overview data.
* Add UserSessionName screen.
* Update logout action to match Figma more closely.
2022-10-11 13:11:15 +01:00
David Langley
716878d300 Split out models, add some tests and fix some formatting. 2022-10-09 22:54:39 +01:00
David Langley
80254ad01b Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/wysiwyg_integration 2022-10-08 10:58:10 +01:00
David Langley
a6f52e3b2b Move composer send media selection to it's own coordinator and us e ioS 15 api for sheet 2022-10-08 10:46:05 +01:00
ismailgulek
19afad1f18
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
David Langley
4cc678c9b6 add composer actions/modules and ability to send rich messages 2022-10-04 15:01:01 +01:00
Aleksandrs Proskurins
3deee90005 Merge branch 'develop' into aleksandrs/6786_inactive_sessions_screen
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	RiotSwiftUI/Modules/UserSessions/Coordinator/UserSessionsFlowCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/Test/Unit/UserSessionOverviewViewModelTests.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Coordinator/UserSessionsOverviewCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/Mock/MockUserSessionsOverviewService.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/UserSessionsOverviewModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/View/UserSessionListItemViewData.swift
2022-10-04 15:14:59 +03:00
Aleksandrs Proskurins
70f6badf08 Cleanup 2022-10-04 09:38:53 +03:00
David Langley
ef3e76b94b add simple formatting and maximise support for replacement toolbar 2022-10-02 09:06:06 +01:00
ismailgulek
2f689f4557
Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Stefan Ceriu
de54ae3da3 Removed deprecated StateStoreViewModel dispatching and reducing 2022-09-27 12:55:44 +03:00
Stefan Ceriu
ec0634ffb7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Aleksandrs Proskurins
d1b4b6de48 Unit and ui tests 2022-09-26 16:58:03 +03:00
Aleksandrs Proskurins
c0bdd4f1f6 UI tests 2022-09-20 09:43:14 +03:00
SBiOSoftWhare
30388059ad MockAppScreens: Add MockUserSessionsOverviewScreenState. 2022-09-08 17:26:09 +02:00
Andy Uhnak
badf0a884c Track all errors in Sentry 2022-08-23 08:14:59 +01:00
Doug
2c3d38262c Revert "Replace DesignKit with package from ElementX."
This reverts the following commits:
ef5365ab24
545b641e53
702b7a696d
2398c1534d
2022-08-19 11:06:09 +01:00
Gil Eluard
a809185407
Implement new space selector bottom sheet (#6518)
* Delight: Edit layout experiment #6079
2022-08-05 13:39:45 +02:00
Doug
34e82d3110 Prefix test in-front of UI test methods. 2022-07-18 16:06:27 +01:00
Doug
575a8acbc1 Speed up UI tests
- Disable animations.
- Search for screens instead of scrolling them into view.
2022-07-18 16:06:27 +01:00
Doug
702b7a696d Pin DesignKit version and use contantAndAvatars array. 2022-07-07 15:42:57 +01:00
Doug
545b641e53 Fixup missing colours and use resolved colours in UIKit.
Fix the confetti colour when using DesignKit.
Pin swift packages.
Fix UI tests target.
2022-07-07 15:42:57 +01:00
Doug
ef5365ab24 Replace DesignKit with package from ElementX. 2022-07-07 15:42:57 +01:00
SBiOSoftWhare
82753a88cd MockAppScreens: Add live location lab flag promotion screen. 2022-07-04 17:10:15 +02:00
Johannes Marbach
eefd847f39 Remove all @available(iOS 14... annotations 2022-06-23 09:47:38 +02:00
Doug
3fd70eb186
Add reveal password button and use a rounded checkbox (#6268)
* Adds the reveal password icon to RoundedBorderTextField.
* Use a rounded checkmark for the terms toggle style.
2022-06-13 11:40:03 +01:00
ismailgulek
952a84bc98
Merge branch 'develop' into ismail/6175_signout_from_all 2022-06-09 20:38:34 +03:00
ismailgulek
1778608d95
Create change password screen 2022-06-09 20:25:36 +03:00
ismailgulek
a3ed048a31
Implement soft logout screen 2022-06-08 16:00:25 +03:00
ismailgulek
6426e17183
Add mock screen classes 2022-06-01 18:59:18 +03:00
Doug
8e99d54ef1
Merge pull request #6204 from vector-im/doug/5151_sso_login
Support SSO login in the new flow.
2022-05-31 17:05:14 +01:00
Doug
36581ae451
Merge pull request #6201 from vector-im/doug/5654_login_flow
Add login screen to new flow.
2022-05-31 17:04:50 +01:00
Doug
0c2a74ab76 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
Doug
518434537a Report analytics from the new auth flow.
Fix SSO buttons pressed appearance.
2022-05-26 14:46:33 +01:00
ismailgulek
814593e8d9
Add mock screen 2022-05-26 00:31:32 +03:00
Doug
4ebcd7d7f0 Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug
b9b4d18124 Add Email/Terms/ReCaptcha into the Authentication flow
Replace ReCaptcha navigation delegate with a WKUserContentController.
Move callback property closures onto the MainActor.
Show a loading indicator whilst waiting for the authentication service to start.
Move nextUncompletedStage into FlowResult.
Handle text field actions during authentication.
Remove scroll view tweaks in server selection screen following EMS banner removal.
2022-05-19 11:43:38 +01:00
Doug
d0494cfb6b
Add ReCaptcha screen (#6135)
Support dark mode in MXKAuthenticationRecaptchaWebView.
Begin implementing the ReCaptcha coordinator.
2022-05-11 09:57:37 +01:00
Doug
1b160b5f25
Add registration terms screen. (#6128)
Begin implementing Auth Terms coordinator.
2022-05-10 22:34:35 +01:00
Doug
4a9ace0cf3
Add email verification screen (#6125)
Make a reusable onboarding icon view.
Use a native TextField for better dynamic type support.
Rename completion to callback.
Add readableFrame modifier.
2022-05-10 14:09:43 +01:00
Doug
3161d3d535 Add Authentication Flow WIP.
- Add Registration Screen.
- Add Server Selection Screen.
- Rename AuthenticationCoordinator to LegacyAuthenticationCoordinator.
- Add AuthenticationService and RegistrationWizard.
- Async extensions.
- Add global white and EMS colors to the themes.
- Add tests for server selection and registration screens.
- Accessibility and iPad layout tweaks.
- Remove MainActor from Auth Coordinators/VMs/Views.
(It broke the protocol conformances so now the methods and properties are marked individually.)
2022-05-04 19:26:38 +01:00
Doug
3591a3a403
Add AuthenticationService and RegistrationWizard. (#6056) 2022-04-27 16:02:54 +01:00
Gil Eluard
1a3effb8b6
4850 bring leaving space experience in line with web (#6062)
* Bring leaving space experience in line with Web #4850

- Done
2022-04-27 13:31:14 +02:00
SBiOSoftWhare
790604dad1 Merge branch 'develop' into steve/5723_lls_screen
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	RiotSwiftUI/Modules/Room/LocationSharing/Coordinator/ShareLocationActivityController.swift
#	RiotSwiftUI/Modules/Room/LocationSharing/MapViewErrorAlertInfoBuilder.swift
2022-04-22 12:15:34 +02:00
Doug
faea2de85b Fix UI Tests and run on PRs
- Add missing screen states.
- Detect the bottom of the screen list and stop scrolling if screen state wasn't found.
- Remove unimplemented tests to speed up the run.
- Remove failed button checks in MatrixItemChooserUITests
2022-04-21 12:54:53 +01:00
Doug
ce38eb853f
Merge pull request #5917 from vector-im/doug/5652_enable_ftue_personalisation
Enable profile personalisation screens after registration.
2022-04-05 17:43:44 +01:00
SBiOSoftWhare
a942ccb7f7 Handle live location sharing viewer screen. 2022-04-05 18:36:41 +02:00
MaximeE
6dc32846ac 5858: Move file on the right target 2022-04-01 17:06:26 +02:00