Commit graph

39 commits

Author SHA1 Message Date
Gil Eluard
8ba6c55a87 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
43ad395e8d move full module and reorganize folders 2021-09-02 10:00:59 +01:00
David Langley
790301ccb6 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
fb67c9d235 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley
45540f1d4f
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
26278f1556 indentation 2021-08-18 12:48:04 +01:00
David Langley
19ff75ddaf Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley
29b436f9a8 Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley
666e8364c0 Move SwiftUI version of ViewModel to a subclass 2021-08-17 13:19:27 +01:00
David Langley
de33b607b0 Add activity indicator 2021-08-17 11:44:08 +01:00
David Langley
ef25ef54dd Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
David Langley
e70987d8a7 Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency. 2021-08-15 00:36:15 +01:00
David Langley
a388db0412 Fix header font size 2021-08-12 17:51:50 +01:00
David Langley
a20fa1c338 Typo 2021-08-12 17:10:19 +01:00
David Langley
b792af6594 Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley
3dfdb0fa83 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
33aea8588f Remove visibility modifier 2021-08-12 12:42:26 +01:00
David Langley
c6ba23ec70 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
b866f09f35 merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
Gil Eluard
3e7a875c77 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 21:22:43 +02:00
David Langley
4acdb5e678 Fix Crash when opening the new Room Notification Settings Screen (Not yet released) (#4599) 2021-07-26 11:39:45 +01:00
Gil Eluard
7e2178cd63 Fixed build issue after merge 2021-07-26 12:02:38 +02:00
David Langley
04d89a628f add swiftUI view for notification settings 2021-07-26 10:40:52 +01:00
langleyd
9e7fb75a2f Fix logging, add "Notify me for" label, fix theme on avatar and add changes 2021-07-08 20:54:32 +01:00
langleyd
87d0819bc7 Use theme font types 2021-07-06 21:10:42 +01:00
langleyd
bbcc2f027b Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
langleyd
fdfde0cc6b Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
langleyd
aa0056e8aa spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd
e2751b83c4 Fix build and naming of State -> ViewData 2021-07-05 16:28:14 +01:00
langleyd
1b33c7d52d Fix service naming 2021-07-04 17:27:19 +01:00
langleyd
938aa8583a Change in behaviour: mute should actually mean mute on update now. 2021-07-04 17:06:19 +01:00
langleyd
013c271421 Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
langleyd
f16d270d6c Add avatar view and title 2021-07-04 10:46:17 +01:00
langleyd
e787d3b695 Add entry points at long press on home view and slide on recents. 2021-07-02 20:19:46 +01:00
langleyd
f88ef9f017 Update theming and footer 2021-07-02 16:16:54 +01:00
langleyd
76e4e7959b Fix naming of Repository -> Service, Impl -> Type 2021-07-02 10:39:27 +01:00
langleyd
20b8105795 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
ac27d68508 Add translations, footer message and room encryption handling 2021-07-02 10:15:35 +01:00
langleyd
12651d7bc6 Add NotificationRepository, ViewModel and ViewController 2021-06-25 22:38:31 +01:00