Commit Graph

240 Commits

Author SHA1 Message Date
Stefan Ceriu c686a6b653 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
David Langley 8c7514c865 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
Stefan Ceriu 9457c25981 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley f4cb404df0 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
David Langley 200fb69993 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley 4674caac05 Merge pull request #4752 from vector-im/langleyd/4467_account_notification_settings
Account Notification Settings and Keywords
2021-08-26 11:07:11 +01:00
David Langley ced1b88123 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley 8890073a70 Fix problem showing error message on completion 2021-08-18 15:12:12 +01:00
David Langley d42ad307a4 Update Riot/Modules/Common/SwiftUI/Inject.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-08-18 12:46:41 +01:00
David Langley ba0856e14d Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley cc9b9202c3 Update Riot/Modules/Common/SwiftUI/DependencyContainerKey.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-08-18 09:23:18 +01:00
David Langley c32002013a Update Riot/Modules/Common/SwiftUI/DependencyContainerKey.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-08-18 09:23:00 +01:00
David Langley 8f43cf6d8c Update Riot/Modules/Common/SwiftUI/Inject.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-08-18 09:22:44 +01:00
David Langley 4865d9d3a5 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley 1cd7bda6fa Fix tests and try fix build error 2021-08-17 14:17:18 +01:00
David Langley 40cfdf896a Fix Comment 2021-08-17 11:58:20 +01:00
David Langley ccffb34418 Remove log 2021-08-17 11:56:16 +01:00
David Langley 3fb7dc2c69 Add activity indicator 2021-08-17 11:44:08 +01:00
David Langley b0d41760ec Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
David Langley c68e901de6 Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency. 2021-08-15 00:36:15 +01:00
David Langley 90ec1db965 Update Riot/Modules/Common/Avatar/AvatarService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-08-13 08:24:42 +01:00
David Langley 89ac65b39c Update Riot/Modules/Common/Avatar/AvatarService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-08-13 08:24:26 +01:00
David Langley 49eb6ae1ec Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley e7ed51c4df Fix avatar service not returning generated image on network error. Fix padding and make nav buttons private. 2021-08-12 13:49:56 +01:00
David Langley 4b639c3937 Remove visibility modifier 2021-08-12 12:42:26 +01:00
David Langley ebf8cddc35 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-12 11:52:50 +01:00
David Langley 7ba98a01a9 Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack. 2021-08-12 11:52:06 +01:00
Doug 4f51cf0992 Remove green border from DM avatars. 2021-08-06 12:04:19 +01:00
SBiOSoftWhare 73dedc211f RecentsDataSource: Factorize section reset management and do not make it in refreshRoomsSection method. 2021-07-23 10:42:08 +02:00
Doug 547955bba8 Merge branch 'develop' into doug/4521_remove_directory_from_rooms_tab 2021-07-22 14:37:25 +01:00
Doug 9eea959032 Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
langleyd 33ddec46d2 Fix logging, add "Notify me for" label, fix theme on avatar and add changes 2021-07-08 20:54:32 +01:00
Doug 3340f3bd72 Remove uninitialised header views. 2021-07-07 15:05:40 +01:00
Doug c2c53fab15 Remove custom section header for room directory from RecentsDataSource. 2021-07-07 14:31:52 +01:00
Doug f9f3dad1fa Don't include directorySection in RecentsDataSource when in RecentsDataSourceModeRooms mode. 2021-07-07 11:48:23 +01:00
langleyd d2a0a35e7c Merge branch 'develop' of github.com:vector-im/element-ios into roomNotificationSettings 2021-07-06 19:51:17 +01:00
langleyd 6a8c64ea5a Keep old mute behaviour enabled on slide menu and long press when new build setting is not enabled. 2021-07-06 11:59:54 +01:00
langleyd dd3cab44e2 spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd 6a48bacd36 Add entry points at long press on home view and slide on recents. 2021-07-02 20:19:46 +01:00
Doug 6575447f51 Fix documentation warnings. 2021-07-02 16:46:27 +01:00
ismailgulek ca40e8d0c7 Hide invited rooms in recents if auto-accept option enabled 2021-06-21 14:51:09 +03:00
manuroe a27a4d235f Update Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-06-18 16:34:38 +02:00
manuroe dbe56829f1 Room lists: Avoid app freezes by building them on a separated thread
#3777
2021-06-18 15:49:20 +02:00
SBiOSoftWhare 6f568ab19c RecentsViewController: Improve room management when select a room id or alias from directory. 2021-06-16 11:22:29 +02:00
SBiOSoftWhare 32dddc0ce7 RecentsViewController: Try to open a room preview when select a room id or alias from directory. 2021-06-15 16:17:43 +02:00
SBiOSoftWhare 53bf4e75e6 RecentsViewController: Handle RoomsDirectoryCoordinatorBridgePresenter did select room id or alias. 2021-06-14 16:13:46 +02:00
SBiOSoftWhare 3dafa93705 ShowDirectoryViewModel: Handle tap on search input cell. 2021-06-14 16:13:46 +02:00
simonwiedmer 9cceaeb66a Merge branch 'develop' into dial_pad_home 2021-06-09 11:21:03 +02:00
SBiOSoftWhare 1ecffcdebb AvatarView: Advertize on subclassing necessity. 2021-06-08 17:49:11 +02:00
Simon Wiedmer a53355c211 Add check for PSTN support to dialpad 2021-06-08 13:39:28 +02:00