Commit graph

170 commits

Author SHA1 Message Date
SBiOSoftWhare
ef0dd3852a Create BubbleRoomTimelineCellDecorator. 2022-01-18 15:02:30 +01:00
SBiOSoftWhare
cfad78777f PlainRoomTimelineStyle handle cell decorator. 2022-01-18 15:01:20 +01:00
SBiOSoftWhare
3b1d05829f Implement PlainRoomTimelineCellDecorator. 2022-01-18 15:00:10 +01:00
SBiOSoftWhare
2e3299bd2a RoomTimelineStyle: Add cell decorator property. 2022-01-18 14:59:48 +01:00
SBiOSoftWhare
70b12be987 Create RoomTimelineCellDecorator enables to add decoration on a cell (reactions, read receipts, timestamp, URL preview). 2022-01-18 14:58:34 +01:00
SBiOSoftWhare
7b86a28fdd BubbleRoomCellLayoutUpdater: Update bubble height computation. 2022-01-14 11:15:38 +01:00
SBiOSoftWhare
b2713ea312 Update MatrixKit text message cells. 2022-01-14 10:03:08 +01:00
SBiOSoftWhare
51539821a5 Add RoomTimelineConfiguration that enables to manage room timeline appearance configuration. 2022-01-14 10:02:23 +01:00
SBiOSoftWhare
6fcdae5a5c Add room timeline style for default cell style. 2022-01-14 10:00:21 +01:00
SBiOSoftWhare
54d5bc52e4 Add room timeline style for bubbles. 2022-01-14 09:59:25 +01:00
SBiOSoftWhare
0878d2e64a Add RoomMessageBubbleBackgroundView. 2022-01-14 09:58:55 +01:00
SBiOSoftWhare
88ceb07ea5 Add RoomTimelineStyle that describes a room timeline style used to customize timeline appearance. 2022-01-14 09:55:00 +01:00
SBiOSoftWhare
f90f2fba0e Add cell layout updater implementation for bubbles. 2022-01-14 09:51:08 +01:00
SBiOSoftWhare
2642223430 Move RoomBubbleCellLayout. 2022-01-13 18:25:34 +01:00
SBiOSoftWhare
057ea8dba7 Add RoomCellLayoutUpdaterProtocol that enables to setup or update a room timeline cell view. 2022-01-13 18:20:57 +01:00
SBiOSoftWhare
fca3344101 Add RoomTimelineCellIdentifier that represents room timeline cell identifiers. 2022-01-13 17:36:13 +01:00
SBiOSoftWhare
cc829ecc2a Add BubbleRoomTimelineCellProvider. 2022-01-13 17:33:21 +01:00
SBiOSoftWhare
3d7a7fa9f1 Add PlainRoomTimelineCellProvider. 2022-01-13 17:31:47 +01:00
SBiOSoftWhare
f7fb4c7ca8 Add RoomTimelineCellProviderProtocol that enables to register and provide room timeline cells. 2022-01-13 17:31:03 +01:00
SBiOSoftWhare
24c8b8d79d RoomTimelineStyleIdentifier: Make it available for ObjC. 2022-01-13 16:56:10 +01:00
SBiOSoftWhare
7ae9b40708 Move MatrixKit text message cells to Riot target. 2022-01-13 16:51:51 +01:00
SBiOSoftWhare
565b1cca05
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
e2a7df1daa 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
4d3a8a2ffa Rename RoomTimelineStyle enum to RoomTimelineStyleIdentifier. 2022-01-04 17:53:15 +01:00
Stefan Ceriu
eead770633 vector-im/element-ios/issues/5298 - Various tweaks following code review. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
2c6b286718 vector-im/element-ios/issues/5298 - Added build setting + ui and unit tests. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
592acde1c8 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
6a46c42cfd 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
01f53bd8d1 Rendering location messages in the timeline. 2022-01-04 17:33:32 +02:00
SBiOSoftWhare
ca4dc6d69f Add RoomTimelineStyle enum that represents the room timeline styles available. 2022-01-03 18:16:24 +01:00
SBiOSoftWhare
bd431fa6c9 Move timeline cells in dedicated folders. 2021-12-22 17:25:35 +01:00
Stefan Ceriu
d5982e813b vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare
dcad18bfb4
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
ec00c52a0a 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
4081da3ebc Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare
3e6df9749c Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu
862464108b vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Doug
b35838e268 Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Doug
0edf6ba7d6 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
84bdf88fe1 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Doug
38db80ac6b Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Gil Eluard
8ba6c55a87 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
Doug
26567464e4 Revert height computation for now. 2021-09-08 15:59:30 +01:00
Doug
24afc7af6c 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
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
1831b61b12 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
Doug
59e541667e 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
29758d1aa7 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
058b819daf
Use new strings for ended calls 2021-08-06 16:20:10 +03:00