Commit Graph

545 Commits

Author SHA1 Message Date
ismailgulek a86cd9511d Generate some mock data 2021-10-05 11:44:24 +03:00
ismailgulek 07c8091ca3 Simplify empty view logic 2021-10-04 17:29:04 +03:00
ismailgulek 68d7039fcc Architecture update 2021-10-04 17:28:21 +03:00
ismailgulek 6aa1198ac8 Create suggested rooms fetcher 2021-10-02 02:10:13 +03:00
ismailgulek 8c7ec9eb1e Adapt changes 2021-10-02 02:09:36 +03: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
ismailgulek f01daecea6 Add suggested rooms fetcher 2021-09-30 16:01:26 +03:00
ismailgulek b06e31bc03 Refactor recent cell data 2021-09-30 16:00:52 +03:00
ismailgulek 1621797ca1 Fix merge conflict 2021-09-30 12:43:49 +03:00
ismailgulek 027a022300 Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-30 12:35:46 +03: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
ismailgulek 714d9fa0be Add spaces option 2021-09-29 15:10:41 +03:00
SBiOSoftWhare 1b35ced721 AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
ismailgulek 6e6f14b246 Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-28 17:30:39 +03:00
ismailgulek aa344a6081 Refactor recents data source to use new room list data fetchers 2021-09-24 18:50:41 +03:00
Gil Eluard 0b9bd651cf Suggested Spaces appear as suggested rooms #4903
- Fixed
2021-09-24 14:31:35 +02:00
ismailgulek 045a9a4b67 Fetch room from session when needed 2021-09-23 16:56:39 +03: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 b9b7b4e1da Adapt to cell data changes 2021-09-22 11:47:21 +03:00
ismailgulek 0903e38e44 Change method parameter 2021-09-22 11:43:07 +03:00
ismailgulek 2c05daf27a Adapt sentStatus changes 2021-09-22 11:41:22 +03: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