Commit graph

41 commits

Author SHA1 Message Date
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
835cddab01
Rename completion to callback and simplify actor usage. (#6141) 2022-05-11 13:18:26 +01:00
Doug
77c8bdeff5 Use readableFrame and OnboardingIconImage everywhere.
Fix order of accentColor modifier.
2022-05-11 09:49:24 +01:00
Doug
03e456d26e Fix layout issues in Use Case screen. 2022-05-11 09:49:24 +01:00
Doug
9429bebb53 Remove iOS 13/14 checks from Template/Onboarding/Authentication. 2022-05-11 09:49:24 +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
cc110b296d Use consistent padding on action buttons. 2022-03-31 11:30:05 +01:00
Doug
146fdf419f 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
bf8e0b8542 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
9ee0e95ada Enable profile personalisation screens after registration. 2022-03-30 16:44:19 +01:00
Doug
29dffb3d6e 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
cbe180cb47 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
78435972e3 Add OnboardingCelebrationScreen and EffectsSceneView. 2022-03-21 19:04:09 +00:00
Doug
bf08b86a36 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
a41d25f846 Fix voiceover support in OnboardingAvatarScreen. 2022-03-21 17:37:16 +00:00
Doug
efa97c9669 Updates following self review. 2022-03-21 17:37:16 +00:00
Doug
b663483a6c Add tests to onboarding personalisation. 2022-03-21 17:37:16 +00:00
Doug
bd49ecf5b6 Improve layout on different devices
Fix dynamic type on some fonts.
2022-03-21 17:37:16 +00:00
Doug
293647cf03 Dark mode tweaks and rebase. 2022-03-21 17:37:16 +00:00
Doug
57d396887b 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
ea8a21c060 Add onboarding avatar screen.
Includes a PhotoPickerPresenter to pick photos without requesting permissions.
2022-03-21 17:36:40 +00:00
Doug
04833e4906 Add FTUE display name screen.
Use UserSession instead of userId & MXSession in OnboardingCoordinator
2022-03-21 17:36:40 +00:00
Doug
b42c3fa87c Make scrollEdgesAppearance singular to match UIKit 2022-03-16 08:58:21 +00:00
Gil Eluard
9ebd8a4802
Instrument missing screen metrics (#5764)
* Instrument missing screen metrics

- Done
2022-03-08 10:13:46 +01:00
Doug
f4d223816f Move congratulations strings to Untranslated.strings.
Update after PR Feedback
2022-02-28 14:28:09 +00:00
Doug
be641ef7c4 Fix accessibility/build/changelog 2022-02-25 15:40:04 +00:00
Doug
dc02b24c72 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
3d8160c495 Rename OnboardingUseCase to OnboardingUseCaseSelectionScreen
Same for OnboardingUseCaseCoordinator.
2022-02-17 11:19:32 +00:00
Doug
8c55168067 Fix tests. 2022-02-04 17:46:27 +00:00
Doug
906eb48181 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
d11b3e0950 Add the Use Case selection screen to the onboarding flow. 2022-02-04 16:10:38 +00:00
Stefan Ceriu
7c54bf763c Made StateStoreViewModel state mutable and removed the reducer for all the features using it. 2022-02-02 10:02:12 +02:00
Doug
01aea112d8 Use the drag gesture's predicted end point when switching pages. 2022-01-28 12:21:18 +00:00
Doug
77052715b1 Remove preload from AuthenticationCoordinator and instantiate early instead. 2022-01-28 11:53:50 +00:00
Doug
f767eaa1e7 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
baf709f34e 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
5fcdb9d704 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
ae3e0e2822 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
d100a69180 Begin implementing an onboarding flow. 2022-01-26 14:25:48 +00:00
Doug
47f8511b9e Use offsets for the carousel instead of a page view.
Fix carousel for RTL layouts.
2022-01-26 14:25:48 +00:00
Doug
f41f34d8ea Start implementing FTUE splash screens.
Present splash screens from AuthenticationViewController
2022-01-26 14:24:00 +00:00