Commit graph

269 commits

Author SHA1 Message Date
David Langley
ceac80f56d Hide Maximise button as animations not working correctly 2022-10-10 13:09:51 +01:00
David Langley
716878d300 Split out models, add some tests and fix some formatting. 2022-10-09 22:54:39 +01:00
David Langley
573f27a6f1 Add labs flag and strings 2022-10-08 11:57:13 +01:00
David Langley
80254ad01b Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/wysiwyg_integration 2022-10-08 10:58:10 +01:00
David Langley
2a9551c54e Merge branch 'langleyd/wysiwyg_integration' of github.com:vector-im/element-ios into langleyd/wysiwyg_integration 2022-10-08 10:47:39 +01:00
David Langley
a6f52e3b2b Move composer send media selection to it's own coordinator and us e ioS 15 api for sheet 2022-10-08 10:46:05 +01:00
David Langley
507ef9600f
Merge pull request #6821 from Velin92/mauroromito/wysiwyg_dark_mode
WYSIWYG Dark Mode Support
2022-10-08 10:45:08 +01:00
aringenbach
d32d619df2 Fix composer resizing animations 2022-10-07 14:05:51 +02:00
Mauro Romito
df780ddad9 updated the package and added a circle background to the + button 2022-10-07 10:43:45 +02:00
Mauro Romito
308b34f41e dark mode support almost completed 2022-10-06 18:21:50 +02:00
Mauro Romito
439f06beff textColor fix 2022-10-06 16:42:52 +02:00
David Langley
d729a37de5 Update sdk, fix composer sizing, margins and re-enabled fullscreen. 2022-10-05 10:21:04 +01:00
David Langley
4cc678c9b6 add composer actions/modules and ability to send rich messages 2022-10-04 15:01:01 +01:00
David Langley
ef3e76b94b add simple formatting and maximise support for replacement toolbar 2022-10-02 09:06:06 +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
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
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
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
Andy Uhnak
badf0a884c Track all errors in Sentry 2022-08-23 08:14:59 +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
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
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
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
34e82d3110 Prefix test in-front of UI test methods. 2022-07-18 16:06:27 +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
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
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
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
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
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
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
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
MaximeE
ae30f34656 6202: Improve how pan gesture is handled 2022-06-02 11:34:01 +02:00
MaximeE
315b2b5a37 6202: Add pan gesture recognizer to handle detection of user moving across map 2022-06-01 14:17:27 +02:00
MaximeE
f85970fb7b 6195: Add labbs flag for live location sharing 2022-05-24 11:43:00 +02: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
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
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
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
87dad92901 Start location sharing screen: Add LocationSharingService. 2022-05-16 11:36:05 +02:00
Doug
8c98e730e3 Remove StaticLocationViewUITests for now. 2022-05-05 10:11:34 +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
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
MaximeE
a503938b64 Merge branch 'develop' into maximee/6029_lls_timeline_cell and apply comments 2022-04-25 15:53:58 +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
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