Commit Graph

61 Commits

Author SHA1 Message Date
Doug a832bac643 Fix navigation bars inside of VectorHostingController. 2022-10-04 16:05:09 +01:00
Stefan Ceriu 1df0be344d Removed deprecated StateStoreViewModel dispatching and reducing 2022-09-27 12:55:44 +03:00
Stefan Ceriu fc2fdc8ae7 Removed unnecessary comments from RiotSwiftUI templates, fixed StateStoreViewModel typealias formatting 2022-09-27 12:55:44 +03:00
Stefan Ceriu 43c28d23b7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Doug 55add0111b Fix build errors. 2022-08-19 11:06:09 +01:00
Doug 5fecaea453 Revert "Replace DesignKit with package from ElementX."
This reverts the following commits:
ef5365ab240a1449e0490d2eb011dd69f594e27b
545b641e53a845b722f571b48ab408000048714b
702b7a696dd1a8319d6af907d4766a035cf30234
2398c1534dd1ca5b6329c888c50f55fb1b0ec23f
2022-08-19 11:06:09 +01:00
Doug e6ea10f3a6 Prefix test in-front of UI test methods. 2022-07-18 16:06:27 +01:00
Doug d5b5101420 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 5394ed0f4a 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 522d884a2a Fix SwiftUI Unit tests. 2022-07-07 15:42:57 +01:00
Doug 2d4e553cbd Pin DesignKit version and use contantAndAvatars array. 2022-07-07 15:42:57 +01:00
Doug 7d29bca319 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
Johannes Marbach 868fd7e0c8 Remove all @available(iOS 14... annotations 2022-06-23 09:47:38 +02:00
Doug 30283509f7 Simplify the layout of the onboarding splash screen (#6320)
* Simplify the layout of the onboarding splash screen
* Re-organise OnboardingSplashScreen.
* Fix frame drops for real this time.
2022-06-22 09:54:21 +01:00
Doug 51b2a1ce4d Update labels and confetti presentation in new flow. (#6260)
* Update the background of the Celebration screen
2022-06-10 08:17:30 +01:00
ismailgulek 14280c4e1b Fix further PR remarks 2022-06-06 13:32:31 +03:00
ismailgulek 4b4c75a7e4 Fix background on light theme 2022-06-02 01:12:14 +03:00
ismailgulek 24c4872f41 Fix PR remarks 2022-06-02 00:30:28 +03:00
ismailgulek 09cc08d500 Do not start loading on server selection 2022-05-27 17:52:13 +03:00
Doug 9c9b3befcd Add login screen. 2022-05-24 15:47:24 +01:00
Doug 9c5aa0ca1e 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 e23abd8811 Rename completion to callback and simplify actor usage. (#6141) 2022-05-11 13:18:26 +01:00
Doug 870fc616c5 Use readableFrame and OnboardingIconImage everywhere.
Fix order of accentColor modifier.
2022-05-11 09:49:24 +01:00
Doug dcc6e0d3df Fix layout issues in Use Case screen. 2022-05-11 09:49:24 +01:00
Doug 9494c3ca80 Remove iOS 13/14 checks from Template/Onboarding/Authentication. 2022-05-11 09:49:24 +01:00
Doug aac2511ddc 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 a870a9a033 Use consistent padding on action buttons. 2022-03-31 11:30:05 +01:00
Doug 512f498ff1 Tweaks to Onboarding following design review.
Use constants for consistent top padding and icon sizes.
Match layout of AnalyticsPrompt on iPad to other views.
Update icon in use case selection screen to allow tinting.
2022-03-30 18:55:22 +01:00
Doug 7b043fabcf Refinements to onboarding personalisation flow.
Fix incorrect fonts and use autocapitalization on the display name field.
Fix bug where authentication view controller would become active again after registration.
Improve EffectsView API.
2022-03-30 16:44:19 +01:00
Doug e1b91b9076 Enable profile personalisation screens after registration. 2022-03-30 16:44:19 +01:00
Doug bb7e928922 Improve celebration screen layout on iPad
Rename OnboardingConstants to OnboardingMetrics.
Fix strings warning about public property in public extension.
Remove unused OnboardingCelebrationViewModelResult.
2022-03-22 12:02:05 +00:00
Doug f80b110f82 Add effects to the congratulations screen when personalisation is disabled.
Improve the API of the EffectsView to make it more swifty.
2022-03-21 19:04:09 +00:00
Doug 1c8622f60a Add OnboardingCelebrationScreen and EffectsSceneView. 2022-03-21 19:04:09 +00:00
Doug 0dbfa2914c Address PR comments
Add more docs.
Rename PhotoPickerPresenter to MediaPickerPresenter.
Use a Character for the placeholder avatar rather than a string.
2022-03-21 17:37:16 +00:00
Doug 18937ac60b Fix voiceover support in OnboardingAvatarScreen. 2022-03-21 17:37:16 +00:00
Doug 8a3664b1f2 Updates following self review. 2022-03-21 17:37:16 +00:00
Doug d72b815dc1 Add tests to onboarding personalisation. 2022-03-21 17:37:16 +00:00
Doug 34dcaca74c Improve layout on different devices
Fix dynamic type on some fonts.
2022-03-21 17:37:16 +00:00
Doug cbd60348ef Dark mode tweaks and rebase. 2022-03-21 17:37:16 +00:00
Doug ed9139a41a Use UserIndicatorPresenter for onboarding personalisation.
Remove the service from the display name screen to match the avatar screen.
Add a loading indicator to PhotoPickerPresenter.
Fix layout issue when selecting non-square avatar image.
2022-03-21 17:37:16 +00:00
Doug 071a43cc90 Add onboarding avatar screen.
Includes a PhotoPickerPresenter to pick photos without requesting permissions.
2022-03-21 17:36:40 +00:00
Doug a867d9a3d4 Add FTUE display name screen.
Use UserSession instead of userId & MXSession in OnboardingCoordinator
2022-03-21 17:36:40 +00:00
Doug 351cce0128 Make scrollEdgesAppearance singular to match UIKit 2022-03-16 08:58:21 +00:00
Gil Eluard acf7d0de13 Instrument missing screen metrics (#5764)
* Instrument missing screen metrics

- Done
2022-03-08 10:13:46 +01:00
Doug 2c3abc6a0b Move congratulations strings to Untranslated.strings.
Update after PR Feedback
2022-02-28 14:28:09 +00:00
Doug 3c496db894 Fix accessibility/build/changelog 2022-02-25 15:40:04 +00:00
Doug dcca446664 Prepare onboarding flow for personalisation screens.
Add a BuildSetting to control the display of the personalisation screens.
Add a property to delay the AuthenticationCoordinator from showing any screens.
Add Congratulations screen to onboarding flow.
2022-02-25 11:27:27 +00:00
Doug 38d77063af Rename OnboardingUseCase to OnboardingUseCaseSelectionScreen
Same for OnboardingUseCaseCoordinator.
2022-02-17 11:19:32 +00:00
Doug 0624efaa20 Fix tests. 2022-02-04 17:46:27 +00:00
Doug f50a92d0a8 Tweaks to the Use Case screen ready for review.
Update strings.
Show the custom server field as needed.
Enable scroll edges appearance for white navigation bar.
2022-02-04 16:10:38 +00:00