Commit Graph

409 Commits

Author SHA1 Message Date
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
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
Gil Eluard 358cd642bb 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 c49fa993f3 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 21:22:43 +02:00
Gil Eluard 3985f079ef [Spaces] Show suggested in room lists #4501
- Preview suggested rooms
2021-08-03 13:45:22 +02:00
Gil Eluard b50ff1b290 Merge branch 'gil/4494_space_menu' into gil/4501_show_suggested_in_room_lists 2021-08-02 14:40:17 +02:00
Gil Eluard 20b199c14e [Spaces] Show spaces in left panel #4509
- update after review
2021-08-02 09:57:30 +02:00
Gil Eluard 4833be9452 [Spaces] Show spaces in left panel #4509
- moved space filtering to MatrixKit
2021-07-30 06:56:37 +02:00
Gil Eluard 2a558bd240 [Spaces] Show suggested in room lists #4501
- Show suggested rooms section in home screen (no actions)
- Show suggested rooms section in rooms screen (no actions)
2021-07-29 23:24:34 +02:00
Gil Eluard 9c4c3ec892 Merge branch 'gil/4494_space_menu' into gil/4501_show_suggested_in_room_lists
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-07-27 20:14:53 +02:00
Gil Eluard 20fe74f9f9 [Spaces] Show spaces in left panel #4509
- filter rooms using `MXSpaceService` new API
2021-07-27 19:53:41 +02:00
Gil Eluard 5dac1ec090 [Spaces] Show spaces in left panel #4509
- filter rooms using `MXSpaceService` new API
- Added logs
2021-07-27 19:50:36 +02:00
Gil Eluard b42d4bd3f8 Merge branch 'gil/4494_space_menu' into gil/4501_show_suggested_in_room_lists 2021-07-26 12:03:49 +02:00
Gil Eluard 18a8bd088e Merge branch 'element_4509' into gil/4509_show_spaces_in_left_panel 2021-07-26 12:03:04 +02:00
Gil Eluard fe0c81cdc6 Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
SBiOSoftWhare a75ee5e354 RecentsDataSource: Factorize section reset management and do not make it in refreshRoomsSection method. 2021-07-23 10:42:08 +02:00
Gil Eluard b90247543a [Spaces] Show suggested in room lists #4501
- Request space suggested rooms in `RecentsDataSource`
2021-07-22 22:35:15 +02:00
Doug 18eeec2a05 Merge branch 'develop' into doug/4521_remove_directory_from_rooms_tab 2021-07-22 14:37:25 +01:00
Gil Eluard ca20af2bd2 [Spaces] Show spaces in left panel #4509
- Display the none hierarchical list of spaces in the left panel
- Space switching when new space selected
- Refresh space list and recents data after sync
2021-07-15 14:10:01 +02: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