Commit graph

61 commits

Author SHA1 Message Date
Doug
aa46a2002d Fix navigation bars inside of VectorHostingController. 2022-10-04 16:05:09 +01:00
Stefan Ceriu
de54ae3da3 Removed deprecated StateStoreViewModel dispatching and reducing 2022-09-27 12:55:44 +03:00
Stefan Ceriu
ae73800352 Removed unnecessary comments from RiotSwiftUI templates, fixed StateStoreViewModel typealias formatting 2022-09-27 12:55:44 +03:00
Stefan Ceriu
ec0634ffb7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Doug
c94631eac4 Fix build errors. 2022-08-19 11:06:09 +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
Doug
34e82d3110 Prefix test in-front of UI test methods. 2022-07-18 16:06:27 +01:00
Doug
7263804f01 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
ec8100383f 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
2398c1534d Fix SwiftUI Unit tests. 2022-07-07 15:42:57 +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
Johannes Marbach
eefd847f39 Remove all @available(iOS 14... annotations 2022-06-23 09:47:38 +02:00
Doug
2d1f6f88b7
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
1e450e6c94
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
45f27e611c
Fix further PR remarks 2022-06-06 13:32:31 +03:00
ismailgulek
4e9ed93def
Fix background on light theme 2022-06-02 01:12:14 +03:00
ismailgulek
9aa501e8d3
Fix PR remarks 2022-06-02 00:30:28 +03:00
ismailgulek
33d95f1c56
Do not start loading on server selection 2022-05-27 17:52:13 +03:00
Doug
0f12447748 Add login screen. 2022-05-24 15:47:24 +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
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