Commit Graph

298 Commits

Author SHA1 Message Date
ismailgulek dafcf0085e Update title view mode according to thread status 2021-11-11 01:39:14 +03:00
ismailgulek 0481ba21d0 Create specific title view for threads 2021-11-11 01:05:03 +03:00
ismailgulek 3f9907db93 Implement opening thread modal when tapped 2021-11-10 15:42:42 +03:00
ismailgulek 8cfbf9c4c7 Create ThreadSummaryView 2021-11-09 16:50:02 +03:00
ismailgulek 70aea8cf92 Add additional height in the cell for thread summary view 2021-11-09 14:46:35 +03:00
Stefan Ceriu 7de0454759 vector-im/element-ios/issues/4976 - Fixed placeholder not displaying after being hidden for resize animations. 2021-10-27 10:15:57 +03:00
Stefan Ceriu 7576309da4 vector-im/element-ios/issues/4976 - Replaced GrowingTextView with simpler, custom implementation. Cleaned up the RoomInputToolbar header. 2021-10-26 17:41:29 +03:00
Stefan Ceriu 2d3b091d07 Fixes vector-im/element-ios/issues/5042 - Message composer doesn't follow keyboard when swiping to dismiss. 2021-10-25 16:23:58 +03:00
Doug 22ee3d03ed Allow images to be pasted from Safari rather than their URL.
Use correct type.
2021-10-18 15:22:55 +01:00
Stefan Ceriu eacbcac1d3 #1098 - Added extra top padding on first list item. Fixed various merge problems. 2021-10-13 11:46:43 +03:00
Stefan Ceriu 096279b43a #1098 - Various changes following code review. 2021-10-13 11:26:27 +03:00
Stefan Ceriu 2a41aec905 #1098 - Moved new MXKRoomInputToolbarDelegate method to Element. 2021-10-13 11:26:27 +03:00
Stefan Ceriu 71667de9b1 #1098 - Working real user suggestion inside the main application. 2021-10-13 11:26:22 +03:00
Stefan Ceriu ccfdfa1fb8 #1098 - Generated UserSuggestion from template, got initial UI working and automatically updating. 2021-10-13 11:24:46 +03:00
manuroe 599ded2a55 Merge remote-tracking branch 'origin/master' into develop 2021-10-12 13:43:16 +02:00
Stefan Ceriu ac443d23e6 Fixes #4976 - Replaced HPGrowingTextView with GrowingTextView. Reduced inheritance chain. 2021-10-12 14:17:06 +03:00
ismailgulek 4080ab09f5 Convert number to a string 2021-10-11 22:01:26 +03:00
manuroe a2ce7af946 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
Stefan Ceriu 8b80b3f4c7 vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
SBiOSoftWhare f536c8fde1 AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
Doug 2ad56b1425 Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Doug 6561b2151a Include URL previews in addVerticalWhitespaceToString:forEvent: and remove heightForCellData:withMaximumWidth: from the various TextMsgBubbleCell subclasses.
Use the bubble cell data's available width when sizing URL previews and update the defaultAvailableWidth and reducedWidthThreshold accordingly.
2021-09-23 17:30:24 +01:00
Gil Eluard ca83d8258f Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Doug 74277d73a9 Use constants. 2021-09-16 17:13:56 +01:00
Doug 63d822b026 Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Gil Eluard 9279d17226 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
Stefan Ceriu 62cdb29331 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03: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
Doug 0f88e8e851 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug bb98bbe1c0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
Doug 5f446faa6d Remove "Loading preview..." label. 2021-09-07 16:12:12 +01:00
Doug 049f3c47d1 Fix unsatisfiable constraints messages. 2021-09-07 14:49:51 +01:00
Stefan Ceriu 8f46e037f2 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03: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
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
Stefan Ceriu 0b2616ddb3 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03: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
Doug 660b95b20a Add comments about the un-sanitized URL. 2021-08-24 09:42:55 +01:00
Doug dd600e5e7e Add PreviewManger with Core Data cache and a URLPreviewView with a view model.
Changes to RoomDataSource still to come.
2021-08-23 17:56:24 +01:00
ismailgulek f85d8c6db2 Use new strings for ended calls 2021-08-06 16:20:10 +03:00
Stefan Ceriu 7c637939a9 Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
ismailgulek 6d117e374d Add strings for incoming calls 2021-08-03 17:07:15 +03:00
ismailgulek 85c8241a54 Adapt string changes & new icons 2021-08-03 17:02:40 +03:00
ismailgulek 0d831c30c9 Update icon color 2021-08-03 17:01:38 +03:00