Commit Graph

287 Commits

Author SHA1 Message Date
SBiOSoftWhare
d700f44689 Update RoomPresentationParameters usage. 2021-10-20 08:31:51 +02:00
SBiOSoftWhare
a9a718154b Merge branch 'develop' into steve/4734_room_stack 2021-10-14 16:21:03 +02:00
Stefan Ceriu
62f9586a7a #1098 - Removed vectorHostingController background color. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
d30cab44ad #1098 - Fixed iOS 15 issues. 2021-10-13 11:26:27 +03:00
SBiOSoftWhare
f8e97f03b3 Update room display management where needed. 2021-10-12 19:22:46 +02:00
Doug
ad37f87210 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
e177f2f03f Fix generated avatar colours not matching Element Web. 2021-10-11 16:06:15 +01:00
SBiOSoftWhare
8caf7b922d MasterTabBarController: Clean code. 2021-10-05 16:24:58 +02:00
manuroe
ba122a93e4 RecentsDataSource: Memory leak in [RecentsDataSource dataSource:didStateChange:] 2021-10-01 11:34:39 +01:00
manuroe
e5f9ee42f2 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
Stefan Ceriu
7b75dec011 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
65660c6d3f AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
Gil Eluard
5c127d1303 Suggested Spaces appear as suggested rooms #4903
- Fixed
2021-09-24 14:31:35 +02:00
Gil Eluard
c03997f97c Merge branch 'develop' into spaces 2021-09-23 15:26:06 +02:00
ismailgulek
49dcce97d1 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
4068c1a55f Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-09-22 15:39:06 +02:00
ismailgulek
554230a2b1 Check index path is valid before scrolling 2021-09-22 11:04:56 +03:00
David Langley
e8ff4e9154 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
6335acc0cd 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
ee417c21d8 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
David Langley
350fc6a742 CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
ismailgulek
b473b9e205 Post data ready notification every time 2021-09-08 13:54:08 +03:00
ismailgulek
b1309a1aac Move data ready notification to RecentsViewController 2021-09-08 11:18:18 +03:00
David Langley
fea49baf53 Remove unneeded protocol and methods on VectortHostingController 2021-09-07 22:49:11 +01:00
David Langley
17c6ce6a10 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
7d6a1cac40 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Gil Eluard
53c3cd7fc6 [Spaces] M10.6 Space preview bottom sheet #4497 2021-09-06 07:46:43 +03:00
David Langley
823e526bec 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
ef3fb0433e #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley
862f30102f 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
087f848ec5 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley
b5634b051a 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
f74d2cadb0 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley
18ae9fabbb Fix problem showing error message on completion 2021-08-18 15:12:12 +01:00
David Langley
4e3e394941 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
ec86f8e797 Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley
e8a3640410 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
ee923bbd6e 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
6ac1e6ba52 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
42801a3ca1 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley
c41a5d4333 Fix tests and try fix build error 2021-08-17 14:17:18 +01:00
David Langley
75740f1886 Fix Comment 2021-08-17 11:58:20 +01:00
David Langley
76fdf7ce36 Remove log 2021-08-17 11:56:16 +01:00
David Langley
d342590953 Add activity indicator 2021-08-17 11:44:08 +01:00
David Langley
7963915926 Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
Gil Eluard
9dd957a514 [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 20:18:59 +02:00
Gil Eluard
e70d3bb67c [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 15:44:44 +02:00
Gil Eluard
8287903a9c [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 10:33:10 +02:00
Gil Eluard
a6c838df81 [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 07:57:30 +02:00
David Langley
807dfdfce2 Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency. 2021-08-15 00:36:15 +01:00