Commit graph

12659 commits

Author SHA1 Message Date
SBiOSoftWhare
4efc5faad9 Add changes 2021-09-06 18:28:41 +02:00
SBiOSoftWhare
dee2253604 Templates: Use Protocol suffix instead of Type for protocols. 2021-09-06 18:21:21 +02:00
SBiOSoftWhare
9b52fb671a Templates: Support screen push and input parameters class in flow template. 2021-09-06 18:13:24 +02:00
David Langley
2b2275d0d7 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
Doug
aae43e8954 Remove unnecessary defaults registration. 2021-09-06 17:10:59 +01:00
SBiOSoftWhare
2b4a9f3929 Templates: Add input parameters class to TemplateScreenCoordinator. 2021-09-06 18:10:24 +02:00
Doug
e1201e7d30 Use a property wrapper for showMediaCompressionPrompt setting. 2021-09-06 17:08:23 +01:00
Doug
a300cab626 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Managers/Settings/RiotSettings.swift
2021-09-06 17:04:22 +01:00
Stefan Ceriu
4a0f68694c #4693 - Mark iOS 11 as dropped in the verions check coordinator (last supported release). 2021-09-06 18:24:26 +03:00
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03:00
Gil Eluard
51abfdc3d9 [Spaces] M10.6 Space preview bottom sheet #4497
- Localized strings for space join rule
2021-09-06 08:47:43 +03:00
Gil Eluard
bb1f93ac6a [Spaces] M10.6 Space preview bottom sheet #4497 2021-09-06 07:46:43 +03:00
Doug
55df9303de Fix potentially redundant table reloading. 2021-09-03 18:18:36 +01:00
Doug
cf3733c8b9 Clear the URL preview manager's store when clearing caches. 2021-09-03 12:12:44 +01:00
Doug
434657ea6b Fix reactions beneath URL previews. 2021-09-03 12:07:29 +01:00
Doug
7db81ccf2a Break-up cell data after a link even if the new event isn't a message. 2021-09-03 11:52:57 +01:00
Doug
80f8cc6dac Hide the loading state on error. 2021-09-03 11:32:09 +01:00
Doug
be83d8e2f6 Fix edits to previewable links not working. 2021-09-03 11:21:07 +01:00
Kat Gerasimova
ee7376473a
Merge pull request #4744 from kittykat/issue-template
Issue triage: remove old templates, add new ones
2021-09-03 10:48:58 +01:00
Ekaterina Gerasimova
eda9812eec Issue triage: remove old templates, add new ones
Remove the old style Markdown templates and replace with new style yaml
templates. New templates match those used in element-web.

Note that issue labels will been to be renamed to match element-web
before this PR can be merged.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-03 10:46:35 +01:00
Doug
2e04123337 Add setting to disable URL previews.
Using a temporary position in the settings screen whilst waiting for feedback.
2021-09-03 10:19:26 +01:00
Doug
6a5b12ab8b Ensure correct font is used. 2021-09-02 18:08:35 +01:00
Doug
4924110f8e Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
Doug
1831b61b12 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
David Langley
6eef82dde7
Merge pull request #4777 from vector-im/langleyd/4776_extract_swiftui
Extract SwiftUI
2021-09-02 15:48:49 +01:00
David Langley
1021636801 Merge branch 'langleyd/4776_extract_swiftui' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-02 14:37:50 +01:00
David Langley
044d0edff2 Fix Podfile(remove develop). 2021-09-02 14:36:34 +01:00
David Langley
340ac5b3f6 Merge branch 'langleyd/4776_extract_swiftui' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-02 14:23:39 +01:00
David Langley
e984457941 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
Doug
9fb13b7c5a Update layout for text only previews. 2021-09-02 12:41:55 +01:00
Doug
042eb8e2ba Use stack views for layout. 2021-09-02 11:38:16 +01:00
David Langley
3f3f3a16f2 Exclude MatrixSDK and Coordinator folders from SwiftUI target 2021-09-02 10:16:08 +01:00
David Langley
55c515fe4a Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
David Langley
43ad395e8d move full module and reorganize folders 2021-09-02 10:00:59 +01:00
David Langley
aacbb799a5 Fix filename typo 2021-09-02 09:43:54 +01:00
David Langley
7813cdd40a Add simple example with profile header, avatar and name. 2021-09-02 09:37:37 +01:00
Gil Eluard
be960960db [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 11:24:07 +03:00
Gil Eluard
e46f5faec3 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 10:17:09 +03:00
Gil Eluard
4e3e803943 [Spaces] M10.8 Browsing users in a space #4682
- Renamed coordinators
2021-09-02 09:34:25 +03:00
Gil Eluard
20fd906a13 Merge branch 'gil/4571_explore_rooms' into gil/4682_browsing_users_in_a_space
# Conflicts:
#	Riot/Modules/SideMenu/SideMenuCoordinator.swift
2021-09-02 07:51:55 +03:00
Gil Eluard
99caa08860 [Spaces] M10.7 Explore rooms #4571
- Update after review
2021-09-01 18:12:08 +03:00
Stefan Ceriu
c5e53d178e Moved converted voice messages to their own folder. Cleaning up all temporary files on reload and logout. 2021-09-01 17:08:07 +03:00
David Langley
23fdb7c2a2 Clean up and make an application target so that debug works in live preview. 2021-09-01 14:28:47 +01:00
ismailgulek
dc3c91de31
Merge pull request #4779 from vector-im/ismail/4778_join_public_room
Fix joining public rooms
2021-09-01 16:21:44 +03:00
Stefan Ceriu
a786cbb90a #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
ismailgulek
4963dd5f15
Add changelog 2021-09-01 15:30:50 +03:00
ismailgulek
b7fb14ed81
Use publicRoom instance instead of just room id to use canonical alias 2021-09-01 15:29:52 +03:00
David Langley
a8f603a954 Fix tests 2021-09-01 13:16:03 +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
Doug
a81ebbd0aa Refactoring and tidy up.
Make the preview manager a singleton (passing in the MXSession to functions). Fix tests.

PreviewManager → URLPreviewManager
URLPreviewViewData → URLPreviewData
URLPreviewCache → URLPreviewStore
2021-09-01 12:28:56 +01:00