Commit Graph

526 Commits

Author SHA1 Message Date
ismailgulek c979075d04 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 3c0a4c0633 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-09-22 15:39:06 +02:00
ismailgulek 7be98ecf8e Adapt to cell data changes 2021-09-22 11:47:21 +03:00
ismailgulek e7db1f9889 Change method parameter 2021-09-22 11:43:07 +03:00
ismailgulek 5357e196d4 Adapt sentStatus changes 2021-09-22 11:41:22 +03:00
ismailgulek 1f70cab0ef Check index path is valid before scrolling 2021-09-22 11:04:56 +03:00
David Langley d189c4d618 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 9279d17226 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 62cdb29331 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
David Langley f965620bfe CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
ismailgulek b5b51297ab Post data ready notification every time 2021-09-08 13:54:08 +03:00
ismailgulek ccb6404fca Move data ready notification to RecentsViewController 2021-09-08 11:18:18 +03:00
David Langley bcc3b23b1c Remove unneeded protocol and methods on VectortHostingController 2021-09-07 22:49:11 +01:00
David Langley d82ae75a0b 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 8f46e037f2 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Gil Eluard fd5d96aff9 [Spaces] M10.6 Space preview bottom sheet #4497 2021-09-06 07:46:43 +03:00
David Langley c5881e11ae 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 0b2616ddb3 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley ada377dcf2 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 cb0403ed8d Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley f49af07c11 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 32610816e5 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley 328827c8f0 Fix problem showing error message on completion 2021-08-18 15:12:12 +01:00
David Langley 9a749eba77 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 fa4dee912d Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley 845e4f92ca 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 5b6c830659 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 eae7b1319e 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 0336c80db8 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley 470b4af1b1 Fix tests and try fix build error 2021-08-17 14:17:18 +01:00
David Langley 2624565935 Fix Comment 2021-08-17 11:58:20 +01:00
David Langley 00a2fdb8fc Remove log 2021-08-17 11:56:16 +01:00
David Langley fca61e29c7 Add activity indicator 2021-08-17 11:44:08 +01:00
David Langley e09138b572 Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
Gil Eluard d17fc1f661 [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 20:18:59 +02:00
Gil Eluard b824c33013 [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 15:44:44 +02:00
Gil Eluard caf241f4d6 [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 10:33:10 +02:00
Gil Eluard 3d0be2ddf7 [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 07:57:30 +02:00
David Langley 4731efd0f2 Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency. 2021-08-15 00:36:15 +01:00
David Langley c52fd96e0c 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 3ac8b312e0 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 82b0361647 Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley 77144980e3 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 f0120dd567 Remove visibility modifier 2021-08-12 12:42:26 +01:00
David Langley 90520ecaaa 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 9ff69eaaf0 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 38b4e94f33 Remove green border from DM avatars. 2021-08-06 12:04:19 +01:00
Gil Eluard bd08e565be Merge branch 'gil/4494_space_menu' into gil/4501_show_suggested_in_room_lists
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 22:07:45 +02:00
Gil Eluard cf456ad36b Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 21:22:43 +02:00
Gil Eluard df545056ab [Spaces] Show suggested in room lists #4501
- Preview suggested rooms
2021-08-03 13:45:22 +02:00