Commit Graph

51 Commits

Author SHA1 Message Date
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
Doug
295b3eaa99 Add the Use Case selection screen to the onboarding flow. 2022-02-04 16:10:38 +00:00
Stefan Ceriu
313b05485a Made StateStoreViewModel state mutable and removed the reducer for all the features using it. 2022-02-02 10:02:12 +02:00
Doug
df393882ce Use the drag gesture's predicted end point when switching pages. 2022-01-28 12:21:18 +00:00
Doug
36772f38cf Remove preload from AuthenticationCoordinator and instantiate early instead. 2022-01-28 11:53:50 +00:00
Doug
7ef1288628 Updates following PR review.
Fix tests by moving constants out of Coordinator (as it is only part of the Riot target).
2022-01-27 15:19:54 +00:00
Doug
cf46247e9f Fix drag sutters and enable swipe to pop gesture.
Add docs and last tweaks following a self review.
Add constants for max content size and disable splash screen via build settings.
2022-01-26 14:25:48 +00:00
Doug
af0785b2bb Polish for Onboarding Carousel
Add dark mode assets and colours.
Improve layout for 12" iPad and 4" iPhone.
Move isLockedToPortraitOnPhone to RiotNavigationController.
2022-01-26 14:25:48 +00:00
Doug
8cc6644378 Show social sign in buttons on register screen.
Set final strings for FTUE splash screen.
Add OnboardingSplashScreenTitleText to apply the accent colour to the "." in localised strings.
2022-01-26 14:25:48 +00:00
Doug
b1ace569e7 Begin implementing an onboarding flow. 2022-01-26 14:25:48 +00:00
Doug
0c649183ee Use offsets for the carousel instead of a page view.
Fix carousel for RTL layouts.
2022-01-26 14:25:48 +00:00