Commit Graph

39 Commits

Author SHA1 Message Date
Gil Eluard 068f4b3ce0 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 2a9c06fad1 move full module and reorganize folders 2021-09-02 10:00:59 +01:00
David Langley f4cb404df0 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 200fb69993 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley 4674caac05 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 ef14d050e8 indentation 2021-08-18 12:48:04 +01:00
David Langley ba0856e14d Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley a7d0fec95d Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley 4bb5c94dff Move SwiftUI version of ViewModel to a subclass 2021-08-17 13:19:27 +01:00
David Langley 3fb7dc2c69 Add activity indicator 2021-08-17 11:44:08 +01:00
David Langley b0d41760ec Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
David Langley c68e901de6 Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency. 2021-08-15 00:36:15 +01:00
David Langley 7d7929b7ea Fix header font size 2021-08-12 17:51:50 +01:00
David Langley 10a38312f3 Typo 2021-08-12 17:10:19 +01:00
David Langley 49eb6ae1ec Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley e7ed51c4df 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 4b639c3937 Remove visibility modifier 2021-08-12 12:42:26 +01:00
David Langley 7ba98a01a9 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 81730b8ad6 merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
Gil Eluard 28015fcd29 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 21:22:43 +02:00
David Langley 03dd509075 Fix Crash when opening the new Room Notification Settings Screen (Not yet released) (#4599) 2021-07-26 11:39:45 +01:00
Gil Eluard dc6345e07f Fixed build issue after merge 2021-07-26 12:02:38 +02:00
David Langley 806dbe8400 add swiftUI view for notification settings 2021-07-26 10:40:52 +01:00
langleyd 33ddec46d2 Fix logging, add "Notify me for" label, fix theme on avatar and add changes 2021-07-08 20:54:32 +01:00
langleyd 687d5e403d Use theme font types 2021-07-06 21:10:42 +01:00
langleyd 152d87768a Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
langleyd 74d4356c89 Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
langleyd dd3cab44e2 spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd 5889742845 Fix build and naming of State -> ViewData 2021-07-05 16:28:14 +01:00
langleyd acb88ffa12 Fix service naming 2021-07-04 17:27:19 +01:00
langleyd 213bfc817d Change in behaviour: mute should actually mean mute on update now. 2021-07-04 17:06:19 +01:00
langleyd 8c515d8fd4 Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
langleyd 34891e4853 Add avatar view and title 2021-07-04 10:46:17 +01:00
langleyd 6a48bacd36 Add entry points at long press on home view and slide on recents. 2021-07-02 20:19:46 +01:00
langleyd 45cfcf3cc3 Update theming and footer 2021-07-02 16:16:54 +01:00
langleyd ffa6b73945 Fix naming of Repository -> Service, Impl -> Type 2021-07-02 10:39:27 +01:00
langleyd 7392bdbe83 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 c60093a4ee Add translations, footer message and room encryption handling 2021-07-02 10:15:35 +01:00
langleyd 7453fa68bb Add NotificationRepository, ViewModel and ViewController 2021-06-25 22:38:31 +01:00