Commit Graph

39 Commits

Author SHA1 Message Date
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
David Langley 667beca407 move full module and reorganize folders 2021-09-02 10:00:59 +01: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 2ad9112da5 indentation 2021-08-18 12:48:04 +01:00
David Langley fa4dee912d Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley c7833d86df Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley e9622a3766 Move SwiftUI version of ViewModel to a subclass 2021-08-17 13:19:27 +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
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 9eae5cfa2c Fix header font size 2021-08-12 17:51:50 +01:00
David Langley 8e57222be9 Typo 2021-08-12 17:10:19 +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 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
David Langley b40333fbfd merge, finish swiftui and add theming 2021-08-06 00:27:13 +01: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
David Langley 44668a5def Fix Crash when opening the new Room Notification Settings Screen (Not yet released) (#4599) 2021-07-26 11:39:45 +01:00
Gil Eluard 35a342d454 Fixed build issue after merge 2021-07-26 12:02:38 +02:00
David Langley 634be310db add swiftUI view for notification settings 2021-07-26 10:40:52 +01:00
langleyd 816513cee6 Fix logging, add "Notify me for" label, fix theme on avatar and add changes 2021-07-08 20:54:32 +01:00
langleyd 4c824cfced Use theme font types 2021-07-06 21:10:42 +01:00
langleyd 8a2425aaa7 Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
langleyd 97496f93ea Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
langleyd 0fb949b294 spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd 23884eb4c0 Fix build and naming of State -> ViewData 2021-07-05 16:28:14 +01:00
langleyd 64efc159ba Fix service naming 2021-07-04 17:27:19 +01:00
langleyd 5cacdac19e Change in behaviour: mute should actually mean mute on update now. 2021-07-04 17:06:19 +01:00
langleyd ff61a79ffb Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
langleyd 7a2ba9dfb4 Add avatar view and title 2021-07-04 10:46:17 +01:00
langleyd 3f7d45100c Add entry points at long press on home view and slide on recents. 2021-07-02 20:19:46 +01:00
langleyd ce5d53822b Update theming and footer 2021-07-02 16:16:54 +01:00
langleyd 9c42cb1aeb Fix naming of Repository -> Service, Impl -> Type 2021-07-02 10:39:27 +01:00
langleyd 8b52cda3f7 Fix typo and don't show link to account settings until we have global notification settings. 2021-07-02 10:30:44 +01:00
langleyd 0f10ffa7d7 Add translations, footer message and room encryption handling 2021-07-02 10:15:35 +01:00
langleyd 15c02a2b61 Add NotificationRepository, ViewModel and ViewController 2021-06-25 22:38:31 +01:00