Commit Graph

13178 Commits

Author SHA1 Message Date
Doug 5f446faa6d Remove "Loading preview..." label. 2021-09-07 16:12:12 +01:00
Doug a05b1cab03 Move url preview setting under labs section. 2021-09-07 16:00:12 +01:00
Doug 049f3c47d1 Fix unsatisfiable constraints messages. 2021-09-07 14:49:51 +01:00
Doug 77857eb273 Observe URL preview update notification in RoomViewController.
Update bubbleTableView's content offset when a preview above the bottom most visible cell changes the height of the table's content.
2021-09-07 14:49:51 +01:00
Doug 25df45ef1c Add MediaCompressionHelper.defaultCompressionMode for use in RoomViewController. 2021-09-07 14:46:02 +01:00
SBiOSoftWhare aef63f714c Merge pull request #4793 from vector-im/steve/update_templates 2021-09-07 13:50:34 +02:00
SBiOSoftWhare 2b29b416e7 Templates: Use struct instead of class for coordinator paramaters. 2021-09-07 09:59:57 +02:00
SBiOSoftWhare 11e02363b5 Update Tools/Templates/buildable/FlowCoordinatorTemplate/FlowTemplateCoordinatorParameters.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-09-07 09:51:42 +02:00
Doug 514fcf1e24 Add comments. 2021-09-06 18:15:55 +01:00
SBiOSoftWhare c69b918452 Add changes 2021-09-06 18:28:41 +02:00
SBiOSoftWhare e10b8a42af Templates: Use Protocol suffix instead of Type for protocols. 2021-09-06 18:21:21 +02:00
SBiOSoftWhare aca5a90d0c Templates: Support screen push and input parameters class in flow template. 2021-09-06 18:13:24 +02:00
David Langley d82ae75a0b 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 d5c58b3f85 Remove unnecessary defaults registration. 2021-09-06 17:10:59 +01:00
SBiOSoftWhare 52e623d7cf Templates: Add input parameters class to TemplateScreenCoordinator. 2021-09-06 18:10:24 +02:00
Doug 46a0c39bbb Use a property wrapper for showMediaCompressionPrompt setting. 2021-09-06 17:08:23 +01:00
Doug 640c4a562c 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 601adff5a4 #4693 - Mark iOS 11 as dropped in the verions check coordinator (last supported release). 2021-09-06 18:24:26 +03:00
Stefan Ceriu 8f46e037f2 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Gil Eluard 122b414433 [Spaces] M10.6 Space preview bottom sheet #4497
- Localized strings for space join rule
2021-09-06 08:47:43 +03:00
Gil Eluard fd5d96aff9 [Spaces] M10.6 Space preview bottom sheet #4497 2021-09-06 07:46:43 +03:00
Doug 8d4a4706d6 Fix potentially redundant table reloading. 2021-09-03 18:18:36 +01:00
Doug 29daec8173 Clear the URL preview manager's store when clearing caches. 2021-09-03 12:12:44 +01:00
Doug 1f10a36786 Fix reactions beneath URL previews. 2021-09-03 12:07:29 +01:00
Doug e2de545c8b 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 6682e17976 Hide the loading state on error. 2021-09-03 11:32:09 +01:00
Doug fc36f1cc37 Fix edits to previewable links not working. 2021-09-03 11:21:07 +01:00
Kat Gerasimova 8207ef4b8e 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 6df991bd0a 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 24bfe36712 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 47e54b79cc Ensure correct font is used. 2021-09-02 18:08:35 +01:00
Doug 0ea0380da7 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
Doug 885f3208bf Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
David Langley 3c103a0bc1 Merge pull request #4777 from vector-im/langleyd/4776_extract_swiftui
Extract SwiftUI
2021-09-02 15:48:49 +01:00
David Langley 655d67582a 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 bc2a813419 Fix Podfile(remove develop). 2021-09-02 14:36:34 +01:00
David Langley 663f73b880 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 14169c6594 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
Doug 2e795607bb Update layout for text only previews. 2021-09-02 12:41:55 +01:00
Doug 0e06a22c7e Use stack views for layout. 2021-09-02 11:38:16 +01:00
David Langley bbf7d28928 Exclude MatrixSDK and Coordinator folders from SwiftUI target 2021-09-02 10:16:08 +01:00
David Langley c5881e11ae 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 667beca407 move full module and reorganize folders 2021-09-02 10:00:59 +01:00
David Langley 173e9f2220 Fix filename typo 2021-09-02 09:43:54 +01:00
David Langley 3ef02af877 Add simple example with profile header, avatar and name. 2021-09-02 09:37:37 +01:00
Gil Eluard 7dd4af28b6 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 11:24:07 +03:00
Gil Eluard a3b4bab284 [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 10:17:09 +03:00
Gil Eluard 66f084b85c [Spaces] M10.8 Browsing users in a space #4682
- Renamed coordinators
2021-09-02 09:34:25 +03:00
Gil Eluard 3decd0200d 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 8a2ba8bf44 [Spaces] M10.7 Explore rooms #4571
- Update after review
2021-09-01 18:12:08 +03:00