Commit graph

909 commits

Author SHA1 Message Date
Aleksandrs Proskurins
5635bf7a9f
Merge pull request #6750 from vector-im/alex/6693_dm_session_details
Device manager: User session details screen (PSG-685) #6693
2022-09-22 16:54:44 +03:00
Aleksandrs Proskurins
4bd3979522 Code review fixes 2022-09-22 11:52:42 +03:00
Aleksandrs Proskurins
cf68ca9aaa Refactored UserSessionDetailsViewModel 2022-09-20 16:10:57 +03:00
Aleksandrs Proskurins
e9444751d0 Cleanup 2022-09-20 16:00:35 +03:00
ismailgulek
f201ea59c9
Timeline composer layout loop fix (#6743)
* Publish suitable view height for user suggestions

* Update container view height

* Add changelog

* Fix user suggestions layout for pre iOS 16
2022-09-20 11:40:32 +03:00
Aleksandrs Proskurins
1002c1b1b6 Moved, renamed unit tests 2022-09-20 11:39:53 +03:00
Aleksandrs Proskurins
c0bdd4f1f6 UI tests 2022-09-20 09:43:14 +03:00
Aleksandrs Proskurins
195e862aef Added unit tests 2022-09-19 16:05:28 +03:00
Aleksandrs Proskurins
d77dd5034e Added translation strings 2022-09-19 10:26:42 +03:00
Aleksandrs Proskurins
05aaf8da31 Added layout constants 2022-09-16 14:34:00 +03:00
Doug
9a1c12f53b Put the session creator on the main actor instead.
This covers all login and registration options.
2022-09-16 12:31:25 +01:00
Aleksandrs Proskurins
a06d7d0aaa User session flow coordinator and details view 2022-09-16 13:50:45 +03:00
Johannes Marbach
2a9d7c9d9c Fix login crash on Xcode 14 builds
Fixes #6722
2022-09-15 21:20:47 +02:00
Aleksandrs Proskurins
f17f56b5b0
Merge pull request #6696 from vector-im/steve/6694_dm_overview_current_session
Device manager: User sessions overview - Current session section (PSG-670)
2022-09-14 13:08:42 +03:00
Aleksandrs Proskurins
b5850c1d5d Code review fixes 2022-09-14 11:28:47 +03:00
Doug
940fbddf60
Update RiotSwiftUI/Modules/UserSessions/DeviceAvatar/DeviceAvatarView.swift 2022-09-12 11:39:44 +01:00
SBiOSoftWhare
7c3084212b UserSessionsOverview: Handle current session section view. 2022-09-08 20:01:02 +02:00
SBiOSoftWhare
99b5179a46 Create UserSessionCardView to display session informations. 2022-09-08 20:00:15 +02:00
SBiOSoftWhare
111c829236 UserSessionsOverviewViewModelResult: Remove useless case. 2022-09-08 18:49:41 +02:00
SBiOSoftWhare
30388059ad MockAppScreens: Add MockUserSessionsOverviewScreenState. 2022-09-08 17:26:09 +02:00
SBiOSoftWhare
ea91f5d710 UserSessionListItem: Fix runtime issue. 2022-09-08 08:56:36 +02:00
SBiOSoftWhare
625b6d0d86 UserSessionsOverview: Improve other sessions list layout. 2022-09-08 08:34:21 +02:00
SBiOSoftWhare
f733171f6b UserSessionsOverview: Improve layout. 2022-09-07 15:47:03 +02:00
SBiOSoftWhare
0b061dcef3 UserSessionListItem: Improve layout and handle separator. 2022-09-07 15:42:27 +02:00
SBiOSoftWhare
93a4fc8fd6 Update MockUserSessionsOverviewService. 2022-09-07 12:23:03 +02:00
SBiOSoftWhare
1d71de75e2 UserSessionListItemViewData: Handles session name and details string building. 2022-09-07 12:22:48 +02:00
SBiOSoftWhare
03aaae4d75 Create UserSessionLastActivityFormatter to build last activity date string. 2022-09-07 12:20:56 +02:00
SBiOSoftWhare
d6e2ff5d10 Create UserSessionNameFormatter to build user session name. 2022-09-07 12:20:05 +02:00
SBiOSoftWhare
6a9a8bfea8 UserSessionListItem: Improve layout. 2022-09-07 11:21:05 +02:00
SBiOSoftWhare
8144e1fe9b DeviceAvatarView: SImplify layout. 2022-09-07 11:09:22 +02:00
SBiOSoftWhare
a4d8eb595c
Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/UserSessionsOverviewViewModel.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:52:37 +02:00
SBiOSoftWhare
702e9b4622
Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/View/UserSessionListItem.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:52:29 +02:00
SBiOSoftWhare
af05a62d56
Update RiotSwiftUI/Modules/UserSessions/DeviceAvatar/DeviceAvatarView.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:51:24 +02:00
SBiOSoftWhare
cfaf554bdc
Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/MatrixSDK/UserSessionsOverviewService.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:50:50 +02:00
SBiOSoftWhare
89faeea8a8 UserSessionsOverview: Fix safe area background color. 2022-09-06 16:44:34 +02:00
SBiOSoftWhare
f9bd8c17d4 UserSessionsOverview: Add text headers to other sessions section. 2022-09-05 12:09:26 +02:00
SBiOSoftWhare
3e30a19dcd Create UserSessionsOverview screen. 2022-09-05 11:15:37 +02:00
SBiOSoftWhare
2f2bc831e0 UserSessionsOverviewService: Fix UserSessionInfo last seen ts building. 2022-09-05 11:14:40 +02:00
SBiOSoftWhare
fe89156e60 Implement UserSessionsOverviewService. 2022-09-05 10:49:37 +02:00
SBiOSoftWhare
3adf2a8b2a Create UserSessionListItem view. 2022-09-05 10:44:18 +02:00
SBiOSoftWhare
cbce4e560b Create UserSessionInfo that represents a user session information. 2022-09-05 10:41:35 +02:00
SBiOSoftWhare
89fe99f960 Create DeviceAvatarView. 2022-09-05 10:40:03 +02:00
SBiOSoftWhare
f6d7fb1729 Create DeviceType enum. 2022-09-05 10:37:47 +02:00
Gil Eluard
ba283ff81b App Layout: Add usage measures 2022-08-24 13:37:47 +03:00
Anderas
966069e91b
Merge pull request #6611 from vector-im/andy/sentry
Track all errors in Sentry
2022-08-24 08:18:29 +01:00
Gil Eluard
de291a5954
Merge pull request #6613 from vector-im/gil/6607-App_Layout-Release_Experience
App Layout: Release experience
2022-08-23 21:06:22 +02:00
Gil Eluard
d71f6be74d App Layout: Release Experience
- Update after code / design review
2022-08-23 16:25:52 +02:00
Gil Eluard
3bf9879d35 App Layout: Release Experience
- First iteration before final design
2022-08-23 11:20:46 +02:00
SBiOSoftWhare
20b8b11609 Merge branch 'develop' into steve/6585_session_mgmt_empty_screen 2022-08-23 09:45:09 +02:00
Andy Uhnak
badf0a884c Track all errors in Sentry 2022-08-23 08:14:59 +01:00
Gil Eluard
7bb4e03d7f App Layout: added space invites in space bottom sheet
- fixed build issue
2022-08-22 17:58:02 +02:00
Gil Eluard
c119602c3c
Merge pull request #6601 from vector-im/gil/6599-Space_invites_in_the_bottom_sheet
App Layout: space invites in the bottom sheet
2022-08-22 17:49:33 +02:00
SBiOSoftWhare
7320e8cef2 Device manager: Create UserSessionsFlowCoordinator that handles the user sessions screen flow. 2022-08-22 17:45:57 +02:00
SBiOSoftWhare
35d4f8e568 Device manager: Create user sessions overview empty screen. 2022-08-22 17:44:32 +02:00
Gil Eluard
d13da404fe
Update RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/Coordinator/SpaceSelectorBottomCoordinator.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2022-08-22 16:39:06 +02:00
Gil Eluard
28122b3f3e
Update RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/Service/Mock/MockSpaceSelectorService.swift
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2022-08-22 16:38:51 +02:00
Gil Eluard
9e8fe7e520 New App Layout: added suppport for room invites in the all chats screen 2022-08-22 13:00:34 +02:00
Gil Eluard
e5a2f07765 App Layout: added space invites in space bottom sheet
- Improved UI tests
2022-08-21 11:57:40 +02:00
Gil Eluard
be573b0a8a App Layout: added space invites in space bottom sheet 2022-08-21 11:07:21 +02:00
Gil Eluard
72689b8fb5 New App Layout: Added missing empty states in room list and space bottom sheet 2022-08-19 17:12:33 +02: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
Gil Eluard
d90f7bd03e App Layout: Cancel and Back on Spaces Bottom Sheet
- Make CI happy
2022-08-17 19:01:58 +02:00
Gil Eluard
aebb5837fc App Layout: Cancel and Back on Spaces Bottom Sheet
- Fixed
2022-08-17 17:22:03 +02:00
Stefan Ceriu
edd1ec9b0f Fixes #6569 - Provide SSO backup for homeservers that don't return an identity providers list. 2022-08-15 14:22:37 +03:00
Doug
90ecedbd22 Use the default homeserver when starting a new auth flow.
And override this when a provisioning link has been set.
2022-08-09 08:54:31 +01:00
Gil Eluard
c82ce52a7c
Some UI tweaks for New App Layout (#6535)
* Some UI tweaks for New App Layout
2022-08-05 14:58:48 +02:00
Gil Eluard
a809185407
Implement new space selector bottom sheet (#6518)
* Delight: Edit layout experiment #6079
2022-08-05 13:39:45 +02:00
Doug
4580bf1857 Update the ReCaptcha icon. 2022-08-04 17:35:32 +01:00
SBiOSoftWhare
145bb89cb4 Fix RiotSwiftUI targets. 2022-08-03 11:47:17 +02:00
SBiOSoftWhare
a7d57edf27 ShareToMapsAppActivity: Fix imports. 2022-08-03 11:46:54 +02:00
SBiOSoftWhare
5d9f423ea8 Move RoomTimelineLocationView to appropriate folder. 2022-08-03 11:08:25 +02:00
SBiOSoftWhare
32ac9cf549 Move location sharing classes in dedicated folders. 2022-08-03 10:53:51 +02:00
SBiOSoftWhare
cd3cb70925 Rename LocationSharing screen folder to StartLocationSharing. 2022-08-03 10:40:23 +02:00
SBiOSoftWhare
23c5faa624 Move location sharing screens in the appropriate folder. 2022-08-03 10:39:28 +02:00
SBiOSoftWhare
ec3390f70c
Update RiotSwiftUI/Modules/Room/LiveLocationSharingViewer/View/LiveLocationSharingViewer.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-08-02 18:28:18 +02:00
SBiOSoftWhare
ec2eeee00c LiveLocationSharingViewer: Left align location ended banner content. 2022-08-02 17:51:37 +02:00
SBiOSoftWhare
c9e916b909
Merge pull request #6499 from vector-im/steve/6493_lls_tile_server_error
Location sharing: Render fallback UI when tile server unavailable (PSG-606)
2022-08-02 17:42:50 +02:00
Gil Eluard
55d7c22124
Delight edit layout experiment (#6384)
* Delight: Edit layout experiment #6079
* Feature flag new App Layout #6406
* Update All chats screen with latest design #6407
2022-08-02 17:27:33 +02:00
SBiOSoftWhare
2a90d3b804 LocationSharingView: Handle map loading error UI. 2022-08-01 12:46:15 +02:00
SBiOSoftWhare
7bdc874695 LiveLocationSharingViewer: Handle map loading error UI. 2022-08-01 12:45:59 +02:00
SBiOSoftWhare
2a7c35ae94 Add map loading error view. 2022-08-01 12:41:43 +02:00
SBiOSoftWhare
c069899a45 LiveLocationSharingViewer: Remove debug background. 2022-07-28 09:34:30 +02:00
SBiOSoftWhare
89435228d2 LiveLocationSharingViewer: Handle location sharing end banner. 2022-07-28 09:27:25 +02:00
SBiOSoftWhare
7c417cdb34 LiveLocationSharingViewerViewModel: Handle new location sharing end behavior. 2022-07-28 09:26:40 +02:00
SBiOSoftWhare
e86e419d8a LiveLocationSharingViewerViewState: Add location sharing ended flag. 2022-07-28 09:25:30 +02:00
SBiOSoftWhare
7cfcced8c1 Add invisible location annotation. 2022-07-28 09:24:09 +02:00
SBiOSoftWhare
df579a3c28 Fix LocationSharingViewModelTests. 2022-07-26 11:40:21 +02:00
SBiOSoftWhare
51f1b8504f LocationSharingCoordinator: Handle room power level check for live location sharing. 2022-07-26 10:57:07 +02:00
SBiOSoftWhare
2d8f9a736d LocationSharingViewModel: Handle power level error display. 2022-07-26 10:56:37 +02:00
Johannes Marbach
6ae2206e7b
Merge pull request #6472 from vector-im/johannes/tile-server-well-known
Read tile server URL from .well-known (PSG-592)
2022-07-26 10:28:26 +02:00
Doug
fdc09e8f72 Trim whitespace from email address on register. 2022-07-26 08:39:55 +01:00
Johannes Marbach
ca8a1fff31 Read tile server URL from .well-known (PSG-592)
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-25 17:00:37 +02:00
Doug
92fc7046ed Always perform the registration dummy stage immediately after the first one. 2022-07-22 14:15:06 +01:00
Doug
199bf9b3e8 Improve error message when resetting password. 2022-07-22 09:39:48 +01:00
Doug
58dcf54c55 Tweak strings for FTUE. 2022-07-20 18:07:42 +01:00
Doug
e3bcb71b09 FTUE tweaks
- Allow login using a phone number.
- Update the server when entering a full MXID during registration.
- Reset the authentication service back to matrix.org after onboarding completes.
- Disable zoom on ReCaptcha to fix responsiveness issue.
- Tidy up unused methods.
2022-07-19 09:22:15 +01:00
Doug
34e82d3110 Prefix test in-front of UI test methods. 2022-07-18 16:06:27 +01:00
Doug
575a8acbc1 Speed up UI tests
- Disable animations.
- Search for screens instead of scrolling them into view.
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
SBiOSoftWhare
b04b873164 LiveLocationSharingViewer: Update copyright bottom padding. 2022-07-12 15:51:33 +02:00
SBiOSoftWhare
f98c56a173 LiveLocationSharingViewer: Handle map credits action sheet. 2022-07-11 14:44:30 +02:00
SBiOSoftWhare
047c13fb16 LocationSharingView: Handle map credits action sheet. 2022-07-11 14:43:40 +02:00
SBiOSoftWhare
0d0fe729e4 MapCreditsView: Update view and add tap action closure. 2022-07-11 14:42:55 +02:00
SBiOSoftWhare
8e7cd20a96 Add MapCreditsActionSheet. 2022-07-11 14:41:58 +02:00
SBiOSoftWhare
611d1a1c9c
Merge pull request #6383 from vector-im/steve/lls_design_review
Location sharing: Live location sharing UI polishing
2022-07-07 16:53:57 +02: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
Doug
ef5365ab24 Replace DesignKit with package from ElementX. 2022-07-07 15:42:57 +01:00
SBiOSoftWhare
a86ed5d758 Merge branch 'develop' into steve/lls_design_review 2022-07-07 14:29:57 +02:00
Doug
45abf4dfc1 Fix a few failing UI tests. 2022-07-07 12:30:02 +01:00
SBiOSoftWhare
545c8fddb5 LiveLocationSharingViewer: Change close action title. 2022-07-07 11:04:08 +02:00
SBiOSoftWhare
df3196e0fc Merge branch 'develop' into steve/lls_design_review 2022-07-07 10:27:18 +02:00
ismailgulek
e9257a03a4
Merge pull request #6381 from vector-im/ismail/fix_vectorhostingcontroller_loop 2022-07-07 10:50:24 +03:00
SBiOSoftWhare
c8d8368b0b LiveLocationSharingViewer: Fix light theme issue. 2022-07-06 17:18:55 +02:00
SBiOSoftWhare
2ad9a6b213 LocationSharingView: Dismiss always authorization requirement alert on cancel. 2022-07-06 17:05:15 +02:00
SBiOSoftWhare
417fd1fd58 LocationSharingView: Change close action title. 2022-07-06 16:37:41 +02:00
SBiOSoftWhare
ffa4c7eaab LiveLocationListItem: Update stop action font size. 2022-07-06 16:30:14 +02:00
SBiOSoftWhare
b4e3e20745
Merge pull request #6375 from vector-im/steve/6238_promote_lab_flag
Location sharing: Promote labs flag
2022-07-06 16:14:51 +02:00
SBiOSoftWhare
64b40fc7f3 LiveLocationLabPromotionView: Increase padding beetween toogle and validation button. 2022-07-06 12:36:51 +02:00
ismailgulek
e3506980d7
Update UIHostingController initializer 2022-07-06 13:20:41 +03:00
SBiOSoftWhare
189fc31ae3 Fix unit tests. 2022-07-05 16:33:45 +02:00
SBiOSoftWhare
28a66af075 LocationSharingView: Fix background color issue with safe area. 2022-07-05 16:16:53 +02:00
SBiOSoftWhare
ea38841431 LiveLocationLabPromotionCoordinator: Show screen as a bottom sheet. 2022-07-05 15:47:34 +02:00
Johannes Marbach
62033f06c3 Fix layout issues in timeline poll cells (PSB-125)
Fixes: #5326
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-05 08:21:00 +02:00
SBiOSoftWhare
4b1b6c31ae LiveLocationLabPromotionCoordinator: Handle interactive dismiss. 2022-07-04 17:40:15 +02:00
SBiOSoftWhare
41bb7b07c4 LocationSharingCoordinator: Handle live location sharing lab flag presentation. 2022-07-04 17:39:45 +02:00
SBiOSoftWhare
da5e417878 LocationSharingService: Ensure to have the latest UserLocationService from MXSession. 2022-07-04 17:23:25 +02:00
SBiOSoftWhare
735337ee52 Add live location lab flag promotion coordinator. 2022-07-04 17:21:37 +02:00
SBiOSoftWhare
82753a88cd MockAppScreens: Add live location lab flag promotion screen. 2022-07-04 17:10:15 +02:00
SBiOSoftWhare
471c0b8754 Create live location sharing lab flag promotion screen. 2022-07-04 17:09:11 +02:00
Doug
13f4973786 Prevent login using keyboard when homeserver is loading. 2022-06-23 18:33:24 +01:00
Johannes Marbach
d29270fb6a Expand all if and guard constructs involving @available(iOS 14... or #available(iOS 14...
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-06-23 10:05:46 +02: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
Johannes Marbach
18ab841615
Merge pull request #6324 from vector-im/johannes/enable-lls
Expose live location sharing labs flag (default: false) and re-enable background location access (PSF-1127)
2022-06-21 16:01:02 +02:00
Doug
3e6925b980 Trim whitespace and trailing slashes from a user entered homeserver address. 2022-06-21 10:04:22 +01:00
Johannes Marbach
f89631b719 Expose live-location sharing labs flag (default: false)
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-06-21 09:43:45 +02:00
Doug
83e2b1d440 Add custom string representations of view model/coordinator results. 2022-06-17 10:15:10 +01:00
aringenbach
8fdf3d8949 Set HTML formatter as static 2022-06-16 09:07:02 +02:00
aringenbach
6cb8b86430 Improve HTML formatter 2022-06-16 09:07:02 +02:00
Doug
3fd70eb186
Add reveal password button and use a rounded checkbox (#6268)
* Adds the reveal password icon to RoundedBorderTextField.
* Use a rounded checkmark for the terms toggle style.
2022-06-13 11:40:03 +01:00
ismailgulek
10f250d7cd
Merge pull request #6262 from vector-im/ismail/6175_signout_from_all 2022-06-13 10:52:19 +03:00
ismailgulek
e77fb6d048
Remove sensitive data from logs 2022-06-13 00:16:06 +03:00
ismailgulek
44d54710ed
Fix tests 2022-06-10 18:33:50 +03:00
ismailgulek
1d78262f80
Add password validator to change password coordinator 2022-06-10 18:06:41 +03:00
ismailgulek
dae0ac5ace
Fix some of the PR remarks 2022-06-10 14:28:00 +03: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
952a84bc98
Merge branch 'develop' into ismail/6175_signout_from_all 2022-06-09 20:38:34 +03:00
ismailgulek
aa4e4dafdb
Create bridge presenter for change password coordinator 2022-06-09 20:25:56 +03:00
ismailgulek
1778608d95
Create change password screen 2022-06-09 20:25:36 +03:00
ismailgulek
2da380cad1
Merge branch 'develop' into ismail/6181_auth_soft_logout 2022-06-09 15:46:29 +03:00
ismailgulek
d89ef07376
Use softLogoutCredentials in AuthenticationService, fix blank screen before soft logout 2022-06-09 14:21:13 +03:00
ismailgulek
8e11dd46a8
Fix PR remarks 2022-06-09 13:22:50 +03:00
Doug
6dbe8657ff Add an unrecognised certificate alert to the new authentication flow. 2022-06-09 09:37:57 +01:00
ismailgulek
34aa7021b9
Show recover encryption keys message according to key backup requirement 2022-06-08 17:39:51 +03:00
ismailgulek
9f59a7bf9d
Add resetOthers parameter to session creator method 2022-06-08 17:22:47 +03:00
ismailgulek
a3ed048a31
Implement soft logout screen 2022-06-08 16:00:25 +03:00
ismailgulek
81eeecc6cd
Merge branch 'develop' into ismail/6181_auth_soft_logout 2022-06-07 23:54:54 +03:00
ismailgulek
ceae4a455d
Merge pull request #6250 from vector-im/ismail/6180_support_prov_links 2022-06-07 20:54:14 +03:00
ismailgulek
fc29e4be51
Fix PR remarks 2022-06-07 19:48:26 +03:00
ismailgulek
083296fdd8
Create classes for soft logout screen 2022-06-07 19:22:24 +03:00
ismailgulek
eae3531274
Handle provisioning links in AuthenticationService and call delegate method 2022-06-07 16:19:24 +03:00
ismailgulek
587c7f8546
Add identity server to AuthenticationState 2022-06-07 16:18:54 +03:00
ismailgulek
322767dfa1
Inject account manager into the session creator 2022-06-06 16:15:53 +03:00
ismailgulek
0cffeeea38
Make identityServer settable 2022-06-06 15:39:08 +03:00
ismailgulek
3995d48ee3
Merge branch 'develop' into ismail/6177_wellknown_IS 2022-06-06 15:23:22 +03:00
Doug
a9beeac55a
Add initial tests on the authentication service. (#6229) 2022-06-06 13:20:46 +01:00
ismailgulek
9ed783f10e
Merge pull request #6235 from vector-im/ismail/5655_reset_password 2022-06-06 15:19:14 +03:00
ismailgulek
45f27e611c
Fix further PR remarks 2022-06-06 13:32:31 +03:00
ismailgulek
740713a638
Use identity server from well-known when creating the client 2022-06-03 18:08:19 +03:00
MaximeEvrard42
cf556e2592
Merge pull request #6232 from vector-im/maximee/6202_lls_improve_detection_pin_drop
[Location sharing] Improve detection of user panning on the map (PSF-1050)
2022-06-02 17:31:50 +02:00
MaximeE
ae30f34656 6202: Improve how pan gesture is handled 2022-06-02 11:34:01 +02: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
ad36274768
Update icon in choose password screen 2022-06-01 22:37:00 +03:00
ismailgulek
d26526d8c6
Start forgot password flow 2022-06-01 18:59:33 +03:00
ismailgulek
6426e17183
Add mock screen classes 2022-06-01 18:59:18 +03:00
ismailgulek
39daef322a
Update reset password api 2022-06-01 18:59:08 +03:00
ismailgulek
81f385bb11
Add choose password screen 2022-06-01 18:58:32 +03:00
ismailgulek
bbe1c9f554
Add forgot password screen 2022-06-01 18:58:06 +03:00
MaximeE
315b2b5a37 6202: Add pan gesture recognizer to handle detection of user moving across map 2022-06-01 14:17:27 +02:00
ismailgulek
a9886e4df3
Merge pull request #6210 from vector-im/ismail/6176_auth_fallback 2022-05-31 19:11:32 +03:00
Doug
8e99d54ef1
Merge pull request #6204 from vector-im/doug/5151_sso_login
Support SSO login in the new flow.
2022-05-31 17:05:14 +01:00
Doug
36581ae451
Merge pull request #6201 from vector-im/doug/5654_login_flow
Add login screen to new flow.
2022-05-31 17:04:50 +01:00
MaximeEvrard42
5392418d5c
Merge pull request #6198 from vector-im/maximee/6195_lls_labbs_flag
[Location Sharing]: Add labbs flag for live location sharing - PSF-800
2022-05-31 10:41:54 +02:00
ismailgulek
adb6afa051
Fix PR remarks 2022-05-30 19:56:23 +03:00
Doug
0c2a74ab76 Login/Registration screen tweaks
Scale SSO button icon with dynamic type.
Add an onCommit parameter to RoundedBorderTextField and use to submit instead of onEditingChanged.
2022-05-29 10:14:14 +01:00
ismailgulek
33d95f1c56
Do not start loading on server selection 2022-05-27 17:52:13 +03:00
ismailgulek
8b66812430
Show fallback on login screen 2022-05-27 17:51:54 +03:00
ismailgulek
874f94ed09
Show fallback on authentication coordinator 2022-05-27 17:49:54 +03:00
Doug
518434537a Report analytics from the new auth flow.
Fix SSO buttons pressed appearance.
2022-05-26 14:46:33 +01:00
ismailgulek
61531a2e82
Add going back functionality to the email verification screen 2022-05-26 14:50:08 +03:00
ismailgulek
1c9fc45b55
Add UI tests for cancel/back button 2022-05-26 14:49:05 +03:00
ismailgulek
ed5f97ca17
Fix remarks 2022-05-26 14:29:25 +03:00
ismailgulek
17dac29863
Remove gradient from verify msisdn screen 2022-05-26 14:00:04 +03:00
ismailgulek
c2ca33142a
Fix log and warning 2022-05-26 13:52:43 +03:00
ismailgulek
814593e8d9
Add mock screen 2022-05-26 00:31:32 +03:00
ismailgulek
77aa1c4dde
Add invalid phone number error and change error messages for validation failures 2022-05-26 00:31:25 +03:00
ismailgulek
08a70ebd19
Create verify msisdn screen 2022-05-26 00:30:26 +03:00
Doug
820db5c2db Handle SSO deep links via the AuthenticationServiceDelegate. 2022-05-25 17:38:21 +01:00
Doug
d13a065c34 Add SSOAuthenticationPresenter to the AuthenticationCoordinator. 2022-05-25 14:48:18 +01:00
Doug
5a5abc5fa7 Add parameters to doc comments. 2022-05-25 09:48:52 +01:00
Doug
4ebcd7d7f0 Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug
b01fbecd88 Add AuthenticationHomeserverViewData to easily map AuthenticationState.Homeserver to a type in the SwiftUI target. 2022-05-24 15:47:25 +01:00
Doug
857cc8c69c Make the server selection coordinator aware of which flow it is for.
Don't set the authentication state until after registration has been queried to avoid using the wrong client if the user cancelled the selection.
2022-05-24 15:47:24 +01:00
Doug
0f12447748 Add login screen. 2022-05-24 15:47:24 +01:00
MaximeE
f85970fb7b 6195: Add labbs flag for live location sharing 2022-05-24 11:43:00 +02:00
Doug
b69772edf4 Add AuthenticationRestClient protocol as an authentication interface to MXRestClient. 2022-05-24 10:09:24 +01:00
Doug
9502112daf Add initial implementation of the LoginWizard. 2022-05-24 10:09:24 +01:00
SBiOSoftWhare
eb73525aca
Merge pull request #6161 from vector-im/steve/5722_device_location
Location sharing: Support sending live device location
2022-05-19 14:56:46 +02:00
Doug
ab78a31935 Fix doc comments and callback. 2022-05-19 11:43:38 +01:00
Doug
68dd99bfb4 Use ordered flow for matrix.org and (kind of) homeserver defined order otherwise. 2022-05-19 11:43:38 +01:00
Doug
badd44f426 Add tests for FlowResult. 2022-05-19 11:43:38 +01:00
Doug
9830640ce0 Self review of PR. 2022-05-19 11:43:38 +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
196a889f9a Remove EMS banner from Server Selection screen. 2022-05-19 11:43:38 +01:00
SBiOSoftWhare
d0ec2a652b LocationSharingViewModelTests: Fix missing parameter. 2022-05-16 18:32:19 +02:00
SBiOSoftWhare
ebf4458c23 Fix UI tests. 2022-05-16 18:18:13 +02:00
SBiOSoftWhare
dfd57a55da Merge branch 'develop' into steve/5722_device_location
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2022-05-16 17:11:57 +02:00
SBiOSoftWhare
228da5520e LocationSharingCoordinator: Handle LocationSharingService. 2022-05-16 17:04:42 +02:00
SBiOSoftWhare
46a4c395d3 LocationSharingViewModel: Handle location permission when starting live location sharing. 2022-05-16 17:04:05 +02:00
SBiOSoftWhare
7e759f8674 RiotSwiftUI target: Add location always usage permission and add UIApplication extension. 2022-05-16 16:59:04 +02:00
SBiOSoftWhare
87dad92901 Start location sharing screen: Add LocationSharingService. 2022-05-16 11:36:05 +02:00
Doug
835cddab01
Rename completion to callback and simplify actor usage. (#6141) 2022-05-11 13:18:26 +01:00
Doug
d0494cfb6b
Add ReCaptcha screen (#6135)
Support dark mode in MXKAuthenticationRecaptchaWebView.
Begin implementing the ReCaptcha coordinator.
2022-05-11 09:57:37 +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
1b160b5f25
Add registration terms screen. (#6128)
Begin implementing Auth Terms coordinator.
2022-05-10 22:34:35 +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
54a4feb0ea
Send the Signup analytics event (#6118)
* Implement the Signup event from AuthenticationViewController.

Use AuthenticationFlow instead of MXKAuthenticationType.
Create new AuthenticationType that aligns with AnalyticsEvent naming.
Add additional cases from AnalyticsEvents.
2022-05-06 13:08:54 +01:00
Doug
8c98e730e3 Remove StaticLocationViewUITests for now. 2022-05-05 10:11:34 +01:00
Doug
c0451ce413 Fix UI test action and Auth test. 2022-05-05 10:11:34 +01:00
Doug
757244af35 Address PR comments.
Log errors before throwing.
Remove white colour.
Remove AuthenticationCoordinatorState added during rebase.
2022-05-04 19:26:38 +01:00
Doug
c2c2553b8d Remove RegistrationFlowHandling, handling the dummy stage in the wizard. 2022-05-04 19:26:38 +01:00
Doug
3e98964746 Add SessionVerificationListener. 2022-05-04 19:26:38 +01:00
Doug
a8a9f1daaa Allow registration on SSO only servers.
Stop using the homeserver from user defaults.
2022-05-04 19:26:38 +01:00
Doug
7aea1fac63 Fix authentication screens for updated service implementation. 2022-05-04 19:26:38 +01:00
Doug
3161d3d535 Add Authentication Flow WIP.
- Add Registration Screen.
- Add Server Selection Screen.
- Rename AuthenticationCoordinator to LegacyAuthenticationCoordinator.
- Add AuthenticationService and RegistrationWizard.
- Async extensions.
- Add global white and EMS colors to the themes.
- Add tests for server selection and registration screens.
- Accessibility and iPad layout tweaks.
- Remove MainActor from Auth Coordinators/VMs/Views.
(It broke the protocol conformances so now the methods and properties are marked individually.)
2022-05-04 19:26:38 +01:00
SBiOSoftWhare
60d23fa9b2 Merge develop in 6081_lls_screen_integration 2022-05-04 16:53:49 +02:00
SBiOSoftWhare
2eb5023a09 LiveLocationSharingViewerServiceProtocol: Add comments. 2022-05-04 16:03:52 +02:00
SBiOSoftWhare
699bbe79e4 LiveLocationSharingViewerService: Nullify listenner when needed. 2022-05-04 16:00:43 +02:00
SBiOSoftWhare
f35b291d23 RiotSwiftUI target: Remove non needed file. 2022-05-04 15:56:39 +02:00
SBiOSoftWhare
88b50e349d LiveLocationSharingViewerService: Fix typo. 2022-05-04 15:52:45 +02:00
MaximeE
c6e0b4d435 6071: fix failed test 2022-05-04 14:52:02 +02:00
MaximeE
9e1611d68f 6071: refacto according to PR comments 2022-05-04 11:23:43 +02:00
SBiOSoftWhare
93e4295cd3
Update RiotSwiftUI/Modules/Room/LiveLocationSharingViewer/Service/LiveLocationSharingViewerServiceProtocol.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-05-04 10:30:58 +02:00
SBiOSoftWhare
c67cff0e13 LiveLocationSharingViewer: Handle screen refresh, empty state, stop sharing. 2022-05-03 15:57:36 +02:00
SBiOSoftWhare
9cfa091256 LiveLocationSharingViewerService: Handle user location updates and stop sharing. 2022-05-03 15:54:37 +02:00
SBiOSoftWhare
54558ed9cc LiveLocationListItem: Show seconds. 2022-05-03 15:51:16 +02:00
MaximeE
c5c55da854 6071: Add timeout selector when start live sharing 2022-05-03 15:21:51 +02:00
SBiOSoftWhare
8036c5341b LiveLocationSharingViewerService: Handle beacon info summary retrieval. 2022-04-29 11:08:09 +02:00
SBiOSoftWhare
a55120ac3f LiveLocationSharingViewer: Support navigation controller. 2022-04-29 11:08:09 +02:00
Doug
3591a3a403
Add AuthenticationService and RegistrationWizard. (#6056) 2022-04-27 16:02:54 +01:00
Gil Eluard
1a3effb8b6
4850 bring leaving space experience in line with web (#6062)
* Bring leaving space experience in line with Web #4850

- Done
2022-04-27 13:31:14 +02:00
MaximeE
a503938b64 Merge branch 'develop' into maximee/6029_lls_timeline_cell and apply comments 2022-04-25 15:53:58 +02:00
SBiOSoftWhare
98360c0378 Fix SwiftUI tests 2022-04-22 15:23:36 +02:00
SBiOSoftWhare
eb88274569 Update StaticLocationViewingViewModel, MapViewErrorAlertInfoBuilder usage; 2022-04-22 12:35:04 +02:00
SBiOSoftWhare
790604dad1 Merge branch 'develop' into steve/5723_lls_screen
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	RiotSwiftUI/Modules/Room/LocationSharing/Coordinator/ShareLocationActivityController.swift
#	RiotSwiftUI/Modules/Room/LocationSharing/MapViewErrorAlertInfoBuilder.swift
2022-04-22 12:15:34 +02:00
Doug
faea2de85b Fix UI Tests and run on PRs
- Add missing screen states.
- Detect the bottom of the screen list and stop scrolling if screen state wasn't found.
- Remove unimplemented tests to speed up the run.
- Remove failed button checks in MatrixItemChooserUITests
2022-04-21 12:54:53 +01:00
MaximeE
39c625b797 5982: Rename action 2022-04-12 11:48:02 +02:00
MaximeE
586e0295cf 5982: Apply PR comments 2022-04-12 11:35:17 +02:00
MaximeE
fb962a01aa Merge branch 'develop' into maximee/5982_ls_static_share_viewer 2022-04-11 17:26:07 +02:00
Gil Eluard
87e3c64ef6
Wrong copy for upgrade room message (#6003)
* Wrong copy for upgrade room message

- fixed
2022-04-11 15:46:08 +02:00
SBiOSoftWhare
e1f8d7b833
Merge pull request #5928 from vector-im/steve/5903_lls_start
Location sharing: Support live location sharing start
2022-04-11 14:20:26 +02:00
Doug
14f0e53357
Add loading indicators to the SwiftUI templates. (#6014) 2022-04-11 12:57:58 +01:00
SBiOSoftWhare
446ca595c7 Fix LocationSharingViewModelTests 2022-04-11 13:09:55 +02:00
MaximeE
715031ef41 5982: Clean code and add tests 2022-04-11 10:55:23 +02:00
MaximeE
c662598e91 5982: Fix test 2022-04-08 17:54:33 +02:00
MaximeE
05023b0ecb 5982: Factorise error and external sharing 2022-04-08 17:43:57 +02:00
MaximeE
9712546519 5982: Create new screen for static shared coordinate 2022-04-08 17:42:08 +02:00
SBiOSoftWhare
ebe53fcf6d LocationSharingCoordinator: Update location sharing completion handling. 2022-04-08 12:42:27 +02:00
Gil Eluard
71aec774d0
Add button in create room dialog can be pressed multiple times (#6005)
- Fixed
2022-04-08 11:25:06 +02:00
SBiOSoftWhare
3fd0212299 Merge branch 'develop' into steve/5903_lls_start
# Conflicts:
#	Riot/Modules/Room/RoomViewController.h
#	RiotSwiftUI/Modules/Room/LocationSharing/Coordinator/LocationSharingCoordinator.swift
#	RiotSwiftUI/Modules/Room/LocationSharing/LocationSharingModels.swift
#	RiotSwiftUI/Modules/Room/LocationSharing/LocationSharingViewModel.swift
2022-04-08 11:09:06 +02:00
aringenbach
72e35b7a5b Update MXPresence to NS_ENUM 2022-04-06 15:23:36 +02:00
SBiOSoftWhare
2f9942b25b UserAnnotationCalloutContentView: Update layout. 2022-04-06 10:19:43 +02:00
SBiOSoftWhare
94f5455fcd LiveLocationSharingViewer: Fix credits display. 2022-04-06 09:55:45 +02:00
SBiOSoftWhare
7662065d3f LiveLocationSharingViewer: Add navigation title. 2022-04-06 09:41:33 +02:00
SBiOSoftWhare
173c9cd189 Expose UIView extension to SwiftUI target. 2022-04-06 09:19:22 +02:00
SBiOSoftWhare
25df90c23d LiveLocationSharingViewer: Enable map callout display. 2022-04-05 21:34:22 +02:00
SBiOSoftWhare
591d14db5c Update UserAnnotationCalloutView center. 2022-04-05 21:33:05 +02:00
SBiOSoftWhare
b1aa3fd1e6 Fix LocationAnnotatonView not touchable. 2022-04-05 21:32:40 +02:00
SBiOSoftWhare
18526c3599 Update UserLocationAnnotation to handle annotation selection. 2022-04-05 21:31:26 +02:00
Doug
ce38eb853f
Merge pull request #5917 from vector-im/doug/5652_enable_ftue_personalisation
Enable profile personalisation screens after registration.
2022-04-05 17:43:44 +01:00
SBiOSoftWhare
a942ccb7f7 Handle live location sharing viewer screen. 2022-04-05 18:36:41 +02:00
SBiOSoftWhare
6c453a439a Add ShareLocationActivityControllerBuilder to build UIActivityViewController to share a location. 2022-04-05 18:26:20 +02:00
SBiOSoftWhare
972da45960 Add LiveLocationListItemViewData view data for LiveLocationListItem. 2022-04-05 18:25:42 +02:00
SBiOSoftWhare
a1fc672d86 Handle LiveLocationListItem. 2022-04-05 18:19:39 +02:00
SBiOSoftWhare
99ce4865ac Prepare LiveLocationSharingViewerService and handle mock. 2022-04-05 17:56:02 +02:00
SBiOSoftWhare
b6d0760ccd Create MapViewErrorAlertInfoBuilder 2022-04-05 17:51:47 +02:00
SBiOSoftWhare
60c3280b52 Fix UserAnnotationCalloutView 2022-04-05 17:51:18 +02:00
SBiOSoftWhare
9d20d1bc42 LocationSharingMapView: Handle callout view for user annotation. 2022-04-05 17:47:04 +02:00
SBiOSoftWhare
6076ed5ba2 Create map callout view UserAnnotationCalloutView. 2022-04-05 17:43:34 +02:00
SBiOSoftWhare
2559c8b8e0 Create map callout view UserAnnotationCalloutContentView. 2022-04-05 17:30:17 +02:00
Gil Eluard
8ed0f6be24
Add support for Apple context menus in matrix items list screens (#5963) 2022-04-04 20:07:06 +02:00
MaximeE
35db79ba0d 5858: Add specific type for pin location 2022-04-04 17:01:47 +02:00
MaximeE
b2584506dd 5858: Factorise some code according to PR comments 2022-04-04 16:33:55 +02:00
MaximeE
b17333c514 5858: Fix tests 2022-04-01 17:43:30 +02:00
MaximeE
6dc32846ac 5858: Move file on the right target 2022-04-01 17:06:26 +02:00
MaximeE
d8a67e5e1e 5858: Resolve issue with bad import 2022-04-01 15:50:49 +02:00
MaximeE
a4e7992040 5858: Modification of the event send according to coordinate type 2022-03-31 16:52:16 +02: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
MaximeE
8be37f76a8 5858: Add pin drop feature 2022-03-30 11:36:31 +02:00
Gil Eluard
1674498e18
m.room.join_rules not properly set for private access (#5944)
- Fixed
2022-03-30 10:04:25 +02:00
Doug
db22d4d040 Add BuildSettings to SwiftUI targets.
Remove RTL change on UIAlertController.
2022-03-28 17:53:34 +01:00
Doug
c8bbd855a3 Add a RTL BuildSetting and use this for SwiftUI views too. 2022-03-28 16:52:07 +01:00
SBiOSoftWhare
a12c1dc681 Location sharing screen: Handle live location sharing. 2022-03-28 10:19:36 +02:00
Doug
ffeeacc600
Merge pull request #5910 from vector-im/doug/swiftui_textfield
Remove unused Bindings in RoundedBorderTextField/Editor.
2022-03-24 12:35:09 +00:00
MaximeEvrard42
5a4c5e55ee
Merge pull request #5859 from vector-im/maximee/5720_location_sharing_UI_change
Update UI in location sharing view #5720
2022-03-24 11:58:09 +01:00
MaximeE
064c97497a 5720: Remove useless color, fix some issue with AvatarImage border 2022-03-24 11:00:29 +01:00
Doug
d475c304a2 Remove unused Bindings in RoundedBorderTextField/Editor. 2022-03-24 09:54:53 +00:00
MaximeE
db8c5cc075 5720: Fix issue with cornered buttons view 2022-03-23 17:25:30 +01:00
MaximeE
e805e415f3 5720: Rework some location sharing related view 2022-03-23 15:48: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
MaximeE
49144e1e0e 5720: Update from develop 2022-03-22 09:41:25 +01: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
Johannes Marbach
c734d7c93e Fix retain cycle in UserSuggestionViewModel
Steps to reproduce:

- Launch app
- Enter and leave a bunch of rooms
- Fire up the memory graph debugger
- Filter for `UserSuggestionViewModel`

Relates to: #5058
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-03-21 10:26:43 +02:00
MaximeE
83a718b38d 5720: Update UI in location sharing View 2022-03-17 16:52:22 +01:00
Gil Eluard
2ba9d4a593 Merge branch 'develop' into gil/5769_add_trigger_to_join_and_view_room_metrics_event
# Conflicts:
#	Riot/Modules/Analytics/Analytics.swift
2022-03-17 13:59:24 +01:00
Doug
14fddc1d22
Merge pull request #5826 from vector-im/doug/scroll_edge_name
Make scrollEdgesAppearance singular to match UIKit
2022-03-16 14:45:49 +00:00
SBiOSoftWhare
0f8d5045d2
Merge pull request #5828 from vector-im/steve/5827_map_multiple_annot
Location sharing: Support multiple user annotation views on the map
2022-03-16 15:22:04 +01:00
SBiOSoftWhare
2dcd713199 LocationSharingViewModelTests: Fix issues. 2022-03-16 14:39:51 +01:00
SBiOSoftWhare
d9ac23b4a3 LocationSharingView: Update with updated map view and model. 2022-03-16 11:35:15 +01:00
SBiOSoftWhare
9dda19bc8a LocationSharingView: Update state and view model. 2022-03-16 11:33:36 +01:00
SBiOSoftWhare
42d4e4afd4 Create reusable MapCreditsView. 2022-03-16 11:04:58 +01:00
SBiOSoftWhare
27fc574b9c UserLocationAnnotatonView: Handle init with UserLocationAnnotation. 2022-03-16 10:57:00 +01:00
SBiOSoftWhare
8a42d65559 Create custom map annotation UserLocationAnnotation. 2022-03-16 10:50:18 +01:00
SBiOSoftWhare
ae191f1549 LocationSharingMapView: Support displaying multiple annotation views. 2022-03-16 10:49:24 +01:00
Doug
b42c3fa87c Make scrollEdgesAppearance singular to match UIKit 2022-03-16 08:58:21 +00:00
Gil Eluard
18e5d22b92 Add trigger to join and view room metrics events #5769
- Added trigger for JoinedRoom event
- Tracking ViewRoom event for rooms and events
2022-03-15 10:31:24 +01:00
Gil Eluard
996ef72498 Merge branch 'develop' into gil/SP1_space_creation
# Conflicts:
#	Riot/Modules/Room/Members/RoomParticipantsViewController.m
#	Riot/Modules/Room/RoomViewController.m
#	Riot/Modules/Room/Settings/RoomSettingsViewController.h
#	Riot/Modules/Spaces/SpaceMembers/MemberList/SpaceMemberListViewController.swift
2022-03-08 11:23:55 +01:00
Gil Eluard
9ebd8a4802
Instrument missing screen metrics (#5764)
* Instrument missing screen metrics

- Done
2022-03-08 10:13:46 +01:00
Doug
962f2260bb Fix alert button action when not set. 2022-03-07 17:53:38 +00:00
Doug
e8f0696e23 Rename ErrorAlertInfo to AlertInfo. 2022-03-07 13:34:39 +00:00
Doug
37bff41d45 Add alert property to ErrorAlertInfo. 2022-03-07 13:34:39 +00:00
Doug
b85c4570dc Add a generic ErrorAlertInfo type.
Adopt it in Location Sharing and Polls.
2022-03-07 13:34:39 +00:00
Gil Eluard
5fef457fd6
selection impossible when filtering in add room screen #5757 (#5758)
- Fixed
- Other minor code / UI tweaks
2022-03-07 12:25:50 +01:00
Gil Eluard
aadf1b7d67 Merge branch 'develop' into gil/SP1_space_creation
# Conflicts:
#	Config/BuildSettings.swift
#	Riot/Generated/Strings.swift
#	Riot/Modules/Home/HomeViewController.m
#	Riot/Modules/Room/Members/RoomParticipantsViewController.m
2022-03-04 13:38:18 +01:00
Gil Eluard
cd742d972a Merge branch 'gil/SP1_space_creation' of github.com:vector-im/element-ios into gil/SP1_space_creation 2022-03-04 13:06:27 +01:00
Gil Eluard
1fcf96865c
SP4: space settings (#5730)
* SP4: Space Settings

- Space settings screen implemented
- No space upgrade available as per Element web
- Need more insights for the space address field
- Added settings live update
- Added local alias implementation
2022-03-04 12:53:42 +01:00
Gil Eluard
89a16a72c2 Merge branch 'develop' into gil/SP1_space_creation 2022-03-01 10:15:13 +01:00
Gil Eluard
512bac7586 SP3.1: Update room settings for Spaces #5231
- Update after review
2022-02-28 19:55:02 +01:00
Doug
318d985f13
Merge pull request #5698 from vector-im/doug/5653_ftue_analytics_prompt
Prepare onboarding flow for personalisation screens.
2022-02-28 17:25:19 +00:00
Gil Eluard
bae3ede4c8 SP3.1: Update room settings for Spaces #5231
- Fixed CI build issues
2022-02-28 16:29:49 +01:00
Gil Eluard
ace8613162 SP3.1: Update room settings for Spaces #5231
- Update after review
2022-02-28 16:07:09 +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
24056d131c
Disable the default analytics configurations for forks. (#5688)
* Disable the default analytics configurations for forks.

* Check the analytics configuration instead of the PostHog Config.
2022-02-24 15:46:18 +00:00
Gil Eluard
9f9ed8e73b SP3.1: Update room settings for Spaces #5231
- Update after review
2022-02-22 18:01:16 +01:00
Gil Eluard
8bd67bdc52 Merge branch 'gil/SP1_space_creation' into gil/5231_SP3-1_Update_room_settings_for_Spaces
# Conflicts:
#	Podfile.lock
2022-02-21 17:57:58 +01:00
Gil Eluard
8fa0a673d6 Merge branch 'develop' into gil/SP1_space_creation
# Conflicts:
#	Riot/Modules/People/PeopleViewController.m
#	Riot/Modules/Room/Members/RoomParticipantsViewController.m
#	Riot/Modules/Spaces/SpaceList/SpaceListViewModel.swift
2022-02-21 17:20:58 +01:00
Gil Eluard
fa1fc3d2b0 SP3.1: Update room settings for Spaces #5231
- Fixed SwiftUnitTests issues
2022-02-21 15:58:27 +01:00
Gil Eluard
df25a2ce2f Merge branch 'gil/SP1_space_creation' into gil/5231_SP3-1_Update_room_settings_for_Spaces
# Conflicts:
#	Riot/Modules/Spaces/SpaceRoomList/ExploreRoomCoordinator.swift
#	RiotSwiftUI/Modules/Spaces/MatrixItemChooser/View/MatrixItemChooser.swift
2022-02-21 15:27:05 +01:00
Stefan Ceriu
f655bc3ae6 vector-im/element-ios/issues/5114 - Fixed arithmetical exception errors when changing poll responses. 2022-02-21 14:04:00 +02:00
Stefan Ceriu
e003b66129 vector-im/element-ios/issues/5114 - Enabled poll editing and undisclosed polls. 2022-02-21 13:20:02 +02:00
Doug
4a0a67ff73
Merge pull request #5591 from vector-im/doug/5590_ftue_analytics
Add support for UserProperties to analytics and capture FTUE use case selection.
2022-02-18 10:49:06 +00:00
Stefan Ceriu
26c98bbabe vector-im/element-ios/issues/5609 - Add open in OSM location sharing option. 2022-02-17 19:11:08 +02:00
Stefan Ceriu
898869061d vector-im/element-ios/issues/5609 - Add attribution to location sharing maps. 2022-02-17 19:11:08 +02:00
Gil Eluard
f4e6b867a2 SP2: Adding Rooms to Spaces #523o
- fixed SwiftUI Unit tests
2022-02-17 13:14:45 +01:00
Doug
3d8160c495 Rename OnboardingUseCase to OnboardingUseCaseSelectionScreen
Same for OnboardingUseCaseCoordinator.
2022-02-17 11:19:32 +00:00
Gil Eluard
b601d6086e SP2: Adding Rooms to Spaces #523o
- update after review
2022-02-17 10:47:44 +01:00
Gil Eluard
bd37bac1b2
Update RiotSwiftUI/Modules/Spaces/AddRoomSelector/Service/AddRoomItemsProcessor.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-02-17 10:35:23 +01:00
Gil Eluard
06590ff880 SP2: Adding Rooms to Spaces #523o
- update after review
2022-02-15 22:23:12 +01:00
Gil Eluard
bdf26351aa
Update RiotSwiftUI/Modules/Spaces/MatrixItemChooser/View/MatrixItemChooser.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-02-15 19:16:16 +01:00
Gil Eluard
efec0507c8
Update RiotSwiftUI/Modules/Spaces/MatrixItemChooser/View/MatrixItemChooser.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-02-15 19:15:04 +01:00
Gil Eluard
a916e5a3b6
Update RiotSwiftUI/Modules/Spaces/MatrixItemChooser/View/MatrixItemChooser.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-02-15 19:14:30 +01:00
Gil Eluard
ebbf1c80cf
Update RiotSwiftUI/Modules/Spaces/AddRoomSelector/View/AddRoomSelector.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-02-15 19:14:04 +01:00
Gil Eluard
10959ca89c
Update RiotSwiftUI/Modules/Spaces/MatrixItemChooser/View/MatrixItemChooser.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-02-15 19:11:35 +01:00
Stefan Ceriu
01e8b4189c Fix introspect not being able to theme the SwiftUI navigation bars. 2022-02-11 14:39:05 +02:00
Stefan Ceriu
790ad83d77 vector-im/element-ios/issues/5114 - Added support for unstable poll prefixes. 2022-02-11 13:35:22 +02:00
Gil Eluard
c41e541e1d SP3.1: Update room settings for Spaces #5231
- Added list bottom padding to MatrixItemChooser view
2022-02-06 16:08:26 +01:00
Gil Eluard
96cf359703 Merge branch gil/5230_SP2-Adding_Rooms_to_Spaces into gil/5231_SP3-1_Update_room_settings_for_Spaces 2022-02-05 21:43:29 +01: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
Gil Eluard
601ba0b472 Merge branch gil/SP1_space_creation into gil/5230_SP2-Adding_Rooms_to_Spaces 2022-02-04 16:43:43 +01:00
Gil Eluard
f9a1fdfe85 Merge branch 'develop' into gil/SP1_space_creation
# Conflicts:
#	Riot/Modules/Room/RoomCoordinatorBridgePresenter.swift
#	Riot/Modules/Room/RoomCoordinatorParameters.swift
#	Riot/Modules/Room/RoomViewController.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2022-02-04 14:29:57 +01:00
Stefan Ceriu
cab5be20cd vector-im/element-ios/issues/5298 - Tweaks following code review. 2022-02-04 11:33:55 +02:00
Stefan Ceriu
9ac722dcad vector-im/element-ios/issues/5298 - Add .well-known configuration support for tile server and map styles. 2022-02-04 11:33:55 +02:00
Stefan Ceriu
c92c46fc99 vector-im/element-ios/issues/5298 - Reusing location sharing coordinator external sharing logic in the timeline. 2022-02-04 11:33:55 +02:00
Stefan Ceriu
3b6dcc3222 Fix ThemeService not available on the RiotSwiftUITests target. 2022-02-03 18:30:39 +00:00
Stefan Ceriu
71e9c74cd8 Fix ThemeService not available on the RiotSwiftUI target. 2022-02-03 18:30:39 +00:00
Stefan Ceriu
351c18cfc6 Fixed location sharing and poll edit form navigation and navigation bar styles. 2022-02-03 18:30:39 +00:00