Commit graph

23 commits

Author SHA1 Message Date
Doug
5e69f76349 Update tools.
• Un-pin versions to update tools on each release.
• Switch to SwiftFormat as a pod.
2022-10-14 14:15:23 +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
ismailgulek
19afad1f18
Login with QR UI components (#6790)
* Display QR button on login screen if HS supports

* Create start screen

* Add build flag

* Connect start screen to the login

* QR display screen

* Move `LabelledDividerView` into separate file

* Show display QR screen on button tap

* Add swift concurreny to CameraAccessManager

* Introduce `QRLoginServiceProtocol`

* Use new service in screens

* Introduce scan QR code screen

* Remove hardcoded service availability

* Remove unnecessary import

* Add confirmation screen

* Add loading screen

* Fix ZXingObjc targets

* Add failure screen

* Add strings

* Various UI tweaks, navigation according to the service state

* Fix tests

* Add string for invalid QR error

* Add QR login service mode
2022-10-06 18:05:46 +03:00
David Langley
ef3e76b94b add simple formatting and maximise support for replacement toolbar 2022-10-02 09:06:06 +01:00
Stefan Ceriu
52c4ff65db
Improve user session overview tests
* Add sessions overview UI tests
* Expose static methods from the UserSession name and lastActivity formatters; cleaned up the UserSessionsOverview a bit
* Add UserSessionsOverviewViewModel unit tests
* Add UserSessionsOverviewService unit tests
2022-09-30 13:49:16 +03:00
Stefan Ceriu
ec0634ffb7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03: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
145bb89cb4 Fix RiotSwiftUI targets. 2022-08-03 11:47:17 +02:00
Doug
ef5365ab24 Replace DesignKit with package from ElementX. 2022-07-07 15:42:57 +01:00
SBiOSoftWhare
7e759f8674 RiotSwiftUI target: Add location always usage permission and add UIApplication extension. 2022-05-16 16:59:04 +02:00
SBiOSoftWhare
173c9cd189 Expose UIView extension to SwiftUI target. 2022-04-06 09:19:22 +02:00
Doug
db22d4d040 Add BuildSettings to SwiftUI targets.
Remove RTL change on UIAlertController.
2022-03-28 17:53:34 +01: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
Stefan Ceriu
71e9c74cd8 Fix ThemeService not available on the RiotSwiftUI target. 2022-02-03 18:30:39 +00:00
Stefan Ceriu
eead770633 vector-im/element-ios/issues/5298 - Various tweaks following code review. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
6a46c42cfd vector-im/element-ios/issues/5298 - Implemented location sharing from the input toolbar action menu. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
b499c20e16 vector-im/element-ios/issues/1098 - Fixed indentation in templates. Added UnitTests to the main RiotSwiftUI target. 2021-10-13 11:23:56 +03:00
David Langley
50684fda0b Improve scrolling behaviour and add name colors 2021-09-16 23:48:59 +01:00
David Langley
0a7beb6744 Add template unit tests and publisher utility. 2021-09-08 15:32:41 +01:00
David Langley
3f3f3a16f2 Exclude MatrixSDK and Coordinator folders from SwiftUI target 2021-09-02 10:16:08 +01:00
David Langley
23fdb7c2a2 Clean up and make an application target so that debug works in live preview. 2021-09-01 14:28:47 +01:00
David Langley
790301ccb6 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00