Commit Graph

310 Commits

Author SHA1 Message Date
SBiOSoftWhare f91a7990d2 Merge pull request #5342 from vector-im/steve/5321_bubbles_lauching
Message bubbles: Add settings and build flag
2022-01-13 09:50:23 +01:00
Stefan Ceriu a5867dbf81 Increased the BubbleCellContentView's inner content view bottom padding so it doesn't overlap the send receipt indicator. 2022-01-07 14:18:05 +02:00
SBiOSoftWhare 608dd0c7a6 Rename RoomTimelineStyle enum to RoomTimelineStyleIdentifier. 2022-01-04 17:53:15 +01:00
Stefan Ceriu 43a9371214 vector-im/element-ios/issues/5298 - Various tweaks following code review. 2022-01-04 17:33:32 +02:00
Stefan Ceriu e1505d70c5 vector-im/element-ios/issues/5298 - Added build setting + ui and unit tests. 2022-01-04 17:33:32 +02:00
Stefan Ceriu 902141b1c6 vector-im/element-ios/issues/5298 - Displaying a modal when tapping on a location in the timeline. 2022-01-04 17:33:32 +02:00
Stefan Ceriu cef0c4f2d4 vector-im/element-ios/issues/5298 - Implemented location sharing from the input toolbar action menu. 2022-01-04 17:33:32 +02:00
Stefan Ceriu ca2493f09d Rendering location messages in the timeline. 2022-01-04 17:33:32 +02:00
SBiOSoftWhare f9f6bc00ae Add RoomTimelineStyle enum that represents the room timeline styles available. 2022-01-03 18:16:24 +01:00
SBiOSoftWhare 3ad96f4ccb Move timeline cells in dedicated folders. 2021-12-22 17:25:35 +01:00
Stefan Ceriu dc574ab0a6 vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare f097c592fa Merge pull request #5219 from vector-im/steve/5020_matrixkit_merge
Merge MatrixKit repository into Element
2021-12-03 15:44:30 +01:00
Stefan Ceriu d7acd090f5 vector-im/element-ios/issues/4753 - Allow audio file attachments to be played back inline by reusing the existing voice message UI. 2021-12-02 15:38:59 +02:00
SBiOSoftWhare e6ef1be7b6 Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare fe84f0d862 Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
Phl-Pro ea322e1526 Merge branch 'develop' into phlpro/4722_objc_headers 2021-11-05 14:41:36 +01:00
Stefan Ceriu 20e05df7a7 vector-im/element-ios/issues/4976 - Fixed placeholder not displaying after being hidden for resize animations. 2021-10-27 10:15:57 +03:00
Philippe Loriaux af20d24960 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu 71f8789a9b 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 368225bd78 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 b13a69a980 Allow images to be pasted from Safari rather than their URL.
Use correct type.
2021-10-18 15:22:55 +01:00
Stefan Ceriu 6f49fbc1bb #1098 - Added extra top padding on first list item. Fixed various merge problems. 2021-10-13 11:46:43 +03:00
Stefan Ceriu 94459be545 #1098 - Various changes following code review. 2021-10-13 11:26:27 +03:00
Stefan Ceriu 277ac0c0ca #1098 - Moved new MXKRoomInputToolbarDelegate method to Element. 2021-10-13 11:26:27 +03:00
Stefan Ceriu 1ce7195abd #1098 - Working real user suggestion inside the main application. 2021-10-13 11:26:22 +03:00
Stefan Ceriu ee9553fee5 #1098 - Generated UserSuggestion from template, got initial UI working and automatically updating. 2021-10-13 11:24:46 +03:00
manuroe 8582e3dc7b Merge remote-tracking branch 'origin/master' into develop 2021-10-12 13:43:16 +02:00
Stefan Ceriu 90990578b0 Fixes #4976 - Replaced HPGrowingTextView with GrowingTextView. Reduced inheritance chain. 2021-10-12 14:17:06 +03:00
ismailgulek e5ed1767ff Convert number to a string 2021-10-11 22:01:26 +03:00
manuroe 08ce35c4c5 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
Stefan Ceriu 04bc95a85c 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 1b35ced721 AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
Doug 63e86bea1c Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Doug 6bae045bad 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 9715eb35d9 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Doug ab09b96ee1 Use constants. 2021-09-16 17:13:56 +01:00
Doug 3729440196 Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Gil Eluard 068f4b3ce0 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 f1d3e5af9d Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Doug 56f53733c8 Revert height computation for now. 2021-09-08 15:59:30 +01:00
Doug 4a33f7f1e6 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 5acbc20fc9 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug 75a9a19421 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
Doug bc8dda1097 Remove "Loading preview..." label. 2021-09-07 16:12:12 +01:00
Doug 31012067f6 Fix unsatisfiable constraints messages. 2021-09-07 14:49:51 +01:00
Stefan Ceriu c686a6b653 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Doug 72a89e267b 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 632769bb64 Ensure correct font is used. 2021-09-02 18:08:35 +01:00
Doug a599f18be2 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
Doug aace9d0a96 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00