Doug
a1e508c4ce
Merge pull request #4790 from vector-im/doug/888_add_url_previews
...
Add URL previews as a Labs feature
2021-09-08 17:19:41 +01:00
Doug
0c4357c3b0
Revert height computation for now.
2021-09-08 15:59:30 +01:00
Doug
1963f35d30
Update for PR feedback.
...
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
2021-09-08 15:10:13 +01:00
ismailgulek
58bb1cafe7
Remove forgotten Jitsi call property and function
2021-09-08 14:07:19 +03:00
ismailgulek
bb827470a6
Wait for sync response when clearing cache
2021-09-08 14:06:41 +03:00
ismailgulek
b5b51297ab
Post data ready notification every time
2021-09-08 13:54:08 +03:00
ismailgulek
2d79c7c2e4
Merge pull request #4798 from vector-im/ismail/4797_launch_empty_screen
...
Show animation instead of empty screen on app launch
2021-09-08 12:24:53 +03:00
Doug
0f88e8e851
Add more docs and comments.
...
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
ismailgulek
7fe5b9c6c8
Listen for recents data ready notification in an async method
2021-09-08 11:21:04 +03:00
ismailgulek
ccb6404fca
Move data ready notification to RecentsViewController
2021-09-08 11:18:18 +03:00
ismailgulek
18130e5965
Fix search bar clipping issues
2021-09-08 00:29:28 +03:00
Doug
bb98bbe1c0
Merge branch 'develop' into doug/888_add_url_previews
2021-09-07 17:51:31 +01:00
ismailgulek
c86ced6dc4
Wait for the room list data to be ready to hide launch animation
2021-09-07 18:23:23 +03:00
ismailgulek
a1090d92c7
Introduce roomListDataReady on HomeViewController
2021-09-07 18:22:54 +03:00
Doug
42e9e0e24a
Fix settings toggle not enabled.
2021-09-07 16:12:37 +01:00
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
Doug
514fcf1e24
Add comments.
2021-09-06 18:15:55 +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
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
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
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
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
Stefan Ceriu
d2908eec5c
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
ismailgulek
66d98ac999
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
0b2616ddb3
#4693 - Drop iOS 11 support.
2021-09-01 15:55:41 +03:00
ismailgulek
2f3243583d
Use publicRoom instance instead of just room id to use canonical alias
2021-09-01 15:29:52 +03:00
David Langley
ada377dcf2
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
882fcab738
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
Doug
4331994d72
Load and store URLPreviewViewData in RoomBubbleCellData.
...
Implement close button and store the action in Core Data. Hide the preview image view when no image is received. Remove line breaks in description text.
2021-09-01 10:37:37 +01:00
Stefan Ceriu
246f82145f
Fixes #4449 - Clipped home view on search.
2021-08-31 11:03:26 +03:00
Doug
d1eaa90984
Merge branch 'develop' into doug/4479_media_size_selection
...
# Conflicts:
# Riot/Assets/en.lproj/Vector.strings
2021-08-27 16:30:01 +01:00
Doug
fc8484b467
Merge branch 'develop' into doug/4479_media_size_selection
2021-08-27 16:28:15 +01:00
David Langley
cb0403ed8d
Extract and start to split theme.
2021-08-27 16:26:56 +01:00