SBiOSoftWhare
7255cefdc4
RoomBubbleCellData: Handle atttributed text message without vert space.
2022-02-09 16:27:30 +01:00
SBiOSoftWhare
d2d3d67dbe
RoomBubbleCellData: Fix quote for bubbles.
2022-02-08 11:17:06 +01:00
SBiOSoftWhare
6e39884f42
RoomBubbleCellData: Handle attributed text without vertical blank space.
2022-02-07 20:58:00 +01:00
ismailgulek
a79e1ec003
Fix further review remarks
2022-01-27 02:16:30 +03:00
ismailgulek
ae57c7e1fb
Fix Doug's remarks
2022-01-26 15:58:37 +03:00
ismailgulek
9c5b83a1b3
Merge branch 'ismail/5068_start_thread' into ismail/5068_design_tweaks
2022-01-26 14:27:25 +03:00
ismailgulek
4dc28af682
Merge branch 'develop' into ismail/5068_start_thread
2022-01-25 14:30:52 +03:00
SBiOSoftWhare
04267efeee
Merge pull request #5383 from vector-im/steve/5208_text_msg_layout
...
Message bubbles: Text message layout
2022-01-21 16:06:57 +01:00
ismailgulek
f3334ad5ae
Merge branch 'ismail/5068_start_thread' into ismail/5068_design_tweaks
2022-01-19 00:09:26 +03:00
ismailgulek
3e2c4b32b0
Merge branch 'develop' into ismail/5068_start_thread
2022-01-19 00:07:52 +03:00
ismailgulek
11cfae66c7
Fix cell layout when thread root is a poll
2022-01-18 23:44:03 +03:00
Stefan Ceriu
b18f37d270
vector-im/element-ios/issues/5114 - Allow editing poll start events.
2022-01-18 20:05:10 +02:00
ismailgulek
4f58e0cfcc
Add thread decoration views for search results, fix #5268
2022-01-18 14:46:22 +03:00
ismailgulek
7e92b7cef5
Merge branch 'develop' into ismail/5068_start_thread
2022-01-17 11:35:10 +03:00
SBiOSoftWhare
d6df9fc7ec
RoomBubbleCellData: Handle event merge configuration.
2022-01-14 11:14:50 +01:00
Stefan Ceriu
ebac08c309
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
b9e718c6a8
vector-im/element-ios/issues/5298 - Added body message content keys and replaced plain string usages.
2022-01-04 17:33:32 +02:00
Stefan Ceriu
5e3542a3dc
vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey.
2022-01-04 17:33:32 +02:00
Stefan Ceriu
7f9e294d82
Rendering location messages in the timeline.
2022-01-04 17:33:32 +02:00
ismailgulek
b183f3ba97
Merge branch 'develop' into ismail/5068_start_thread
2021-12-16 14:00:03 +03:00
Stefan Ceriu
1ae9b708a1
vector-im/element-ios/issues/5114 - Prevent poll events from ever getting merged into other bubble data.
2021-12-10 15:55:17 +02:00
ismailgulek
8093844aea
Merge branch 'develop' into ismail/5068_start_thread
2021-12-09 15:25:14 +03:00
Stefan Ceriu
17f2f71634
vector-im/element-ios/issues/5114 - Polls in the timeline.
2021-12-09 09:37:02 +02:00
ismailgulek
41422f9fbc
Merge branch 'develop' into ismail/5068_start_thread
2021-11-30 01:33:51 +03:00
SBiOSoftWhare
c383b00055
Improve generated Swift header imports.
2021-11-25 23:11:53 +01:00
ismailgulek
e041b9003e
Merge branch 'develop' into ismail/5068_start_thread
2021-11-11 21:43:16 +03:00
ismailgulek
7a9770eb51
Create ThreadSummaryView
2021-11-09 16:50:02 +03:00
ismailgulek
e286ffea66
Add additional height in the cell for thread summary view
2021-11-09 14:46:35 +03:00
Philippe Loriaux
eaa2450be7
Improve the Obj-C Generated Interface Header Name definition
2021-10-26 17:42:33 +02:00
Doug
7cfe5590e1
Stop requesting URL previews if the feature has been disabled on the homeserver.
2021-10-13 12:51:15 +01:00
Stefan Ceriu
7b75dec011
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
522f4e800c
Check whether URL previews should be shown in a single location.
...
Reset all cell data when this setting is changed to force a refresh.
Rename `hasClosedPreview(from:)` to `shouldShowPreview(for:)` for clarity and potentially adding more rules at a later date.
2021-09-29 11:39:11 +01:00
Doug
518d108573
Add invalidateLayout to RoomBubbleCellData.
2021-09-29 10:36:35 +01:00
Doug
be69881d30
Move URL preview properties from RoomBubbleCellData in MXKRoomBubbleComponent.
...
Stop breaking up the bubble data for links now that vertical whitespace is added.
2021-09-27 18:15:48 +01:00
Doug
1176736005
Rename refreshAttributedTextMessage to makeAttributedString to indicate that it doesn't affect the attributedTextMessage.
2021-09-24 17:06:50 +01:00
Doug
2937d70824
Rename setNeedsUpdateContent to invalidateTextLayout.
2021-09-24 15:33:04 +01:00
Doug
97cede6d50
Use setNeedsUpdateContent instead of setting the attributed string to nil.
2021-09-24 15:19:24 +01:00
Doug
ac3b2c1677
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
Doug
c9e522dfd7
Override hasLink in RoomBubbleCellData to only check the last component.
2021-09-13 17:47:52 +01:00
Doug
83b8148ab5
Ensure the last bubble component has a link before loading the URL preview.
2021-09-13 16:49:34 +01:00
Doug
b7ed2d6d58
Revert height computation for now.
2021-09-08 15:59:30 +01:00
Doug
ecf9503dc9
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
042fa4197d
Fix potentially redundant table reloading.
2021-09-03 18:18:36 +01:00
Doug
8592a36ec6
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
caf0a5264d
Hide the loading state on error.
2021-09-03 11:32:09 +01:00
Doug
ebb9fd1566
Fix edits to previewable links not working.
2021-09-03 11:21:07 +01:00
Doug
26e356776c
Show an activity indicator until the preview has loaded.
2021-09-02 17:37:48 +01:00
Doug
f93b96fa50
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
cd87095453
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
5d66333d63
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