Commit Graph

286 Commits

Author SHA1 Message Date
SBiOSoftWhare 4e4e0bd9be Merge branch 'develop' into steve/4734_room_stack 2021-10-14 16:21:03 +02:00
Stefan Ceriu e8bf7963a0 #1098 - Removed vectorHostingController background color. 2021-10-13 11:26:27 +03:00
Stefan Ceriu e0b69d07bc #1098 - Fixed iOS 15 issues. 2021-10-13 11:26:27 +03:00
SBiOSoftWhare f18e9d2d18 Update room display management where needed. 2021-10-12 19:22:46 +02:00
Doug 982b1a7be9 Merge pull request #4980 from vector-im/doug/4978_room_avatar_colours
Fix generated avatar colours not matching Element Web.
2021-10-11 16:54:17 +01:00
Doug bf69a1dd7e Fix generated avatar colours not matching Element Web. 2021-10-11 16:06:15 +01:00
SBiOSoftWhare bc81269c0c MasterTabBarController: Clean code. 2021-10-05 16:24:58 +02:00
manuroe 0507b4dc6e RecentsDataSource: Memory leak in [RecentsDataSource dataSource:didStateChange:] 2021-10-01 11:34:39 +01:00
manuroe 08ce35c4c5 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
Stefan Ceriu 04bc95a85c vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
SBiOSoftWhare 1b35ced721 AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
Gil Eluard 0b9bd651cf Suggested Spaces appear as suggested rooms #4903
- Fixed
2021-09-24 14:31:35 +02:00
Gil Eluard c3e2bb6880 Merge branch 'develop' into spaces 2021-09-23 15:26:06 +02:00
ismailgulek ba0b5aa3c6 Merge pull request #4877 from vector-im/ismail/4874_fix_scroll_crash
RecentsViewController: Fix scroll crash
2021-09-22 18:43:34 +03:00
Gil Eluard 9a7a16220a Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-09-22 15:39:06 +02:00
ismailgulek 2a41c100ad Check index path is valid before scrolling 2021-09-22 11:04:56 +03:00
David Langley 9724bfe8e8 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-15 14:33:05 +01:00
Gil Eluard 068f4b3ce0 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
#	Riot/Modules/Common/Recents/RecentsViewController.m
#	Riot/Modules/Home/Views/RoomCollectionViewCell.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Stefan Ceriu f1d3e5af9d Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
David Langley 20bc4f5494 CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
ismailgulek 8faba8cf5a Post data ready notification every time 2021-09-08 13:54:08 +03:00
ismailgulek 2b8b37a0e1 Move data ready notification to RecentsViewController 2021-09-08 11:18:18 +03:00
David Langley 372da7cdde Remove unneeded protocol and methods on VectortHostingController 2021-09-07 22:49:11 +01:00
David Langley 932ee0ac07 Add Simple Template Example
- Add a simple Template example that shows a user profile with avatar, displayName and presence.
- ScreenCoordinator: closure based with less protocols and delegates.
- Reducer: Reducer function that manages all state modifications.
- SwiftUI View: Decomposes UI into appropriate sub components.
- Uses Theme and Dependency Management Infrastructure
2021-09-06 17:12:31 +01:00
Stefan Ceriu c686a6b653 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Gil Eluard 254e5a1b76 [Spaces] M10.6 Space preview bottom sheet #4497 2021-09-06 07:46:43 +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
Gil Eluard eb8fe567a1 [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 20:18:59 +02:00
Gil Eluard 14c6741e1f [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 15:44:44 +02:00
Gil Eluard 33ba0b3e90 [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 10:33:10 +02:00
Gil Eluard 41bfde7071 [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 07:57:30 +02: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