Commit Graph

23 Commits

Author SHA1 Message Date
Doug 3cf030eb47 Add AnalyticsPrompt to SwiftUI target and replace old UIAlertController. 2021-12-16 17:01:22 +00:00
Stefan Ceriu 2048cae2cc Fixed SwiftUI UI tests not finding the right state to tap if not already displayed on screen. 2021-12-16 16:47:35 +02:00
Stefan Ceriu 17f2f71634 vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
Stefan Ceriu 3f1700d516 vector-im/element-ios/issues/5114 - Poll creation screen
- added input toolbar poll creation action.
- reordered input toolbar actions as per designs.
- added multiline text field and extracted common components.
2021-11-11 11:24:28 +02:00
Stefan Ceriu a309152835 Fixes vector-im/element-ios/issues/5063 - Fixed retain cycles between the user suggestion coordinator and the suggestion service, and in the suggestion service currentTextTrigger subject sink. 2021-10-29 17:05:17 +03:00
Doug 687398ce78 Update fonts, add attributed strings and add tap gestures back.
Footers use subheadline. Headers use footnote.
2021-10-20 17:40:39 +01:00
Stefan Ceriu fddeb5e0ee #1098 - Added extra top padding on first list item. Fixed various merge problems. 2021-10-13 11:46:43 +03:00
Stefan Ceriu e54c888d93 #1098 - Switched to dynamically calculated row heights. 2021-10-13 11:26:27 +03:00
Stefan Ceriu 5e5d1cf118 #1098 - Various small tweaks. 2021-10-13 11:26:27 +03:00
Stefan Ceriu 811bda3aaf #1098 - Add debouncer to suggestion service text processing. Stop returning cached member results from the coordinator, rely on the room directly for up to date results. 2021-10-13 11:26:27 +03:00
Stefan Ceriu 432af4b879 #1098 - Various changes following code review. 2021-10-13 11:26:27 +03:00
Stefan Ceriu c5e9d11500 #1098 - Fix performance issues on item list change. Rebuild the whole list instead of comparing changed items. 2021-10-13 11:26:27 +03:00
Stefan Ceriu d30cab44ad #1098 - Fixed iOS 15 issues. 2021-10-13 11:26:27 +03:00
Stefan Ceriu af4b5dc1aa #1098 - Stopped relying on the SDK in the suggestionService and added unit and ui tests. 2021-10-13 11:26:27 +03:00
Stefan Ceriu 9724409fc0 #1098 - Working real user suggestion inside the main application. 2021-10-13 11:26:22 +03:00
Stefan Ceriu e63dbed95c #1098 - Added user suggestions to the main app timeline. 2021-10-13 11:25:36 +03:00
Stefan Ceriu 97a16806b1 #1098 - Generated UserSuggestion from template, got initial UI working and automatically updating. 2021-10-13 11:24:46 +03:00
David Langley 350fc6a742 CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
David Langley 17c6ce6a10 Add Simple Template Example
- Add a simple Template example that shows a user profile with avatar, displayName and presence.
- ScreenCoordinator: closure based with less protocols and delegates.
- Reducer: Reducer function that manages all state modifications.
- SwiftUI View: Decomposes UI into appropriate sub components.
- Uses Theme and Dependency Management Infrastructure
2021-09-06 17:12:31 +01:00
David Langley 7093f407f7 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
David Langley 883136252b move full module and reorganize folders 2021-09-02 10:00:59 +01:00
David Langley ff0fa42ce4 Fix filename typo 2021-09-02 09:43:54 +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