Commit Graph

57 Commits

Author SHA1 Message Date
Doug 3c41959f3d Fix build errors. 2022-08-19 11:06:09 +01:00
Doug 2b1bd6f772 Revert "Replace DesignKit with package from ElementX."
This reverts the following commits:
4858d72afb
6827d2a854
92c5874359
0a9bd1fbe6
2022-08-19 11:06:09 +01:00
Doug c08ce224b1 Prefix test in-front of UI test methods. 2022-07-18 16:06:27 +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 0a9bd1fbe6 Fix SwiftUI Unit tests. 2022-07-07 15:42:57 +01:00
Doug 92c5874359 Pin DesignKit version and use contantAndAvatars array. 2022-07-07 15:42:57 +01:00
Doug 6827d2a854 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 df048803ef Remove all @available(iOS 14... annotations 2022-06-23 09:47:38 +02:00
Doug 827426427b 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 3602e5d9f9 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 1aa1c5035c Fix further PR remarks 2022-06-06 13:32:31 +03:00
ismailgulek fff5922d0d Fix background on light theme 2022-06-02 01:12:14 +03:00
ismailgulek 4b8d58e34a Fix PR remarks 2022-06-02 00:30:28 +03:00
ismailgulek b35639bdcf Do not start loading on server selection 2022-05-27 17:52:13 +03:00
Doug 5bbd397287 Add login screen. 2022-05-24 15:47:24 +01:00
Doug 1b74f87b35 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 bb9d94a59d Rename completion to callback and simplify actor usage. (#6141) 2022-05-11 13:18:26 +01:00
Doug 8fec7a4524 Use readableFrame and OnboardingIconImage everywhere.
Fix order of accentColor modifier.
2022-05-11 09:49:24 +01:00
Doug 1dc8927e07 Fix layout issues in Use Case screen. 2022-05-11 09:49:24 +01:00
Doug c2d9f7318f Remove iOS 13/14 checks from Template/Onboarding/Authentication. 2022-05-11 09:49:24 +01:00
Doug 28ef962448 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 2190da5dec Use consistent padding on action buttons. 2022-03-31 11:30:05 +01:00
Doug 431d5b1783 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 81f251e568 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 9602dcaee9 Enable profile personalisation screens after registration. 2022-03-30 16:44:19 +01:00
Doug e10b646f90 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 48b3326d73 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 4f463943b3 Add OnboardingCelebrationScreen and EffectsSceneView. 2022-03-21 19:04:09 +00:00
Doug 052c8ba24a 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 3a12162c5d Fix voiceover support in OnboardingAvatarScreen. 2022-03-21 17:37:16 +00:00
Doug 49497d1bf3 Updates following self review. 2022-03-21 17:37:16 +00:00
Doug 4b75390b7b Add tests to onboarding personalisation. 2022-03-21 17:37:16 +00:00
Doug 61ed2a28d8 Improve layout on different devices
Fix dynamic type on some fonts.
2022-03-21 17:37:16 +00:00
Doug 4cc98e8c69 Dark mode tweaks and rebase. 2022-03-21 17:37:16 +00:00
Doug a8626557c1 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 059a8181ed Add onboarding avatar screen.
Includes a PhotoPickerPresenter to pick photos without requesting permissions.
2022-03-21 17:36:40 +00:00
Doug 11b55aea4b Add FTUE display name screen.
Use UserSession instead of userId & MXSession in OnboardingCoordinator
2022-03-21 17:36:40 +00:00
Doug cc6afc5f75 Make scrollEdgesAppearance singular to match UIKit 2022-03-16 08:58:21 +00:00
Gil Eluard 27571866b5 Instrument missing screen metrics (#5764)
* Instrument missing screen metrics

- Done
2022-03-08 10:13:46 +01:00
Doug 8605711839 Move congratulations strings to Untranslated.strings.
Update after PR Feedback
2022-02-28 14:28:09 +00:00
Doug 5e2e9ded9c Fix accessibility/build/changelog 2022-02-25 15:40:04 +00:00
Doug 9396338c19 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 4e74cb88e1 Rename OnboardingUseCase to OnboardingUseCaseSelectionScreen
Same for OnboardingUseCaseCoordinator.
2022-02-17 11:19:32 +00:00
Doug 168050ecb2 Fix tests. 2022-02-04 17:46:27 +00:00
Doug 7a61b83bb8 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 d7e9cbf7c4 Add the Use Case selection screen to the onboarding flow. 2022-02-04 16:10:38 +00:00
Stefan Ceriu de6d2a2fad Made StateStoreViewModel state mutable and removed the reducer for all the features using it. 2022-02-02 10:02:12 +02:00
Doug 517c21a18e Use the drag gesture's predicted end point when switching pages. 2022-01-28 12:21:18 +00:00
Doug f7f378b8dc Remove preload from AuthenticationCoordinator and instantiate early instead. 2022-01-28 11:53:50 +00:00