Commit Graph

39 Commits

Author SHA1 Message Date
Gil Eluard 6335acc0cd 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 883136252b move full module and reorganize folders 2021-09-02 10:00:59 +01: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 d5f72ccce1 indentation 2021-08-18 12:48:04 +01:00
David Langley ec86f8e797 Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley 343d5a7017 Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley 3526279e54 Move SwiftUI version of ViewModel to a subclass 2021-08-17 13:19:27 +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 1ccc3b6eba Fix header font size 2021-08-12 17:51:50 +01:00
David Langley 8ab3b0711c Typo 2021-08-12 17:10:19 +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 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
David Langley ab067cc2cf merge, finish swiftui and add theming 2021-08-06 00:27:13 +01: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
David Langley b276a15518 Fix Crash when opening the new Room Notification Settings Screen (Not yet released) (#4599) 2021-07-26 11:39:45 +01:00
Gil Eluard 5bb3122384 Fixed build issue after merge 2021-07-26 12:02:38 +02:00
David Langley 73b4839802 add swiftUI view for notification settings 2021-07-26 10:40:52 +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
langleyd 943904fbf7 Use theme font types 2021-07-06 21:10:42 +01:00
langleyd e99fb4eff7 Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
langleyd dc94122634 Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
langleyd d24e0c220d spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd 526a7500df Fix build and naming of State -> ViewData 2021-07-05 16:28:14 +01:00
langleyd dcc12d36e5 Fix service naming 2021-07-04 17:27:19 +01:00
langleyd 5d6bf6d8fe Change in behaviour: mute should actually mean mute on update now. 2021-07-04 17:06:19 +01:00
langleyd d225adfc47 Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
langleyd 83d98c077d Add avatar view and title 2021-07-04 10:46:17 +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
langleyd b858b769ba Update theming and footer 2021-07-02 16:16:54 +01:00
langleyd c54809efc4 Fix naming of Repository -> Service, Impl -> Type 2021-07-02 10:39:27 +01:00
langleyd fb8f585435 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 a08e9c9fff Add translations, footer message and room encryption handling 2021-07-02 10:15:35 +01:00
langleyd f74adb5909 Add NotificationRepository, ViewModel and ViewController 2021-06-25 22:38:31 +01:00