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
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
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
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
David Langley
807dfdfce2
Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency.
2021-08-15 00:36:15 +01:00
David Langley
f0ac2ba1ad
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
2718621d10
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
7d45fdc50f
Cleanup from comments
2021-08-12 16:57:19 +01:00
David Langley
814741edf3
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
504349f40a
Remove visibility modifier
2021-08-12 12:42:26 +01:00
David Langley
3f503b4bc6
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
7464614ff4
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
5e5cee80c8
Remove green border from DM avatars.
2021-08-06 12:04:19 +01:00
SBiOSoftWhare
a75ee5e354
RecentsDataSource: Factorize section reset management and do not make it in refreshRoomsSection method.
2021-07-23 10:42:08 +02:00
Doug
18eeec2a05
Merge branch 'develop' into doug/4521_remove_directory_from_rooms_tab
2021-07-22 14:37:25 +01:00
Doug
2bd59ab326
Merge branch 'develop' into doug/fix_warnings
...
# Conflicts:
# Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
langleyd
bbf93f5c2b
Fix logging, add "Notify me for" label, fix theme on avatar and add changes
2021-07-08 20:54:32 +01:00
Doug
990da54907
Remove uninitialised header views.
2021-07-07 15:05:40 +01:00
Doug
9bcbeffc50
Remove custom section header for room directory from RecentsDataSource.
2021-07-07 14:31:52 +01:00
Doug
1123d356b7
Don't include directorySection in RecentsDataSource when in RecentsDataSourceModeRooms mode.
2021-07-07 11:48:23 +01:00
langleyd
9225b910c7
Merge branch 'develop' of github.com:vector-im/element-ios into roomNotificationSettings
2021-07-06 19:51:17 +01:00
langleyd
a23d81e483
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
d24e0c220d
spacing and cleanup dead code
2021-07-05 16:49:06 +01:00
langleyd
8bfef45c9e
Add entry points at long press on home view and slide on recents.
2021-07-02 20:19:46 +01:00
Doug
f76db0baa4
Fix documentation warnings.
2021-07-02 16:46:27 +01:00
ismailgulek
143773d334
Hide invited rooms in recents if auto-accept option enabled
2021-06-21 14:51:09 +03:00