Commit Graph

124 Commits

Author SHA1 Message Date
ismailgulek 72306adda7 Fix redundant check 2022-01-27 03:28:22 +03:00
ismailgulek 38bb315866 Merge branch 'develop' into ismail/5096_thread_notifications 2022-01-27 03:20:25 +03:00
ismailgulek 785fe6b4e0 Fix review remarks 2022-01-25 23:59:19 +03:00
ismailgulek d5a58779a3 Merge branch 'develop' into ismail/5068_start_thread 2022-01-25 14:30:52 +03:00
ismailgulek 10ebd9a68d Merge branch 'ismail/5068_design_tweaks' into ismail/5096_thread_notifications 2022-01-19 00:12:40 +03:00
ismailgulek f9a669d457 Fix cell layout when thread root is a poll 2022-01-18 23:44:03 +03:00
SBiOSoftWhare b19253b3bd RoomDataSource: Use RoomTimelineStyle to apply cell selection style. 2022-01-18 20:51:59 +01:00
SBiOSoftWhare 9be828028c RoomDataSource: Update timestamp decoration. 2022-01-18 17:52:32 +01:00
SBiOSoftWhare 4fabe2f9b2 RoomDataSource: Handle RoomTimelineCellDecorator. 2022-01-18 15:04:46 +01:00
ismailgulek 8d6b2b7c20 Merge branch 'ismail/5068_start_thread' into ismail/5096_thread_notifications 2022-01-17 11:39:25 +03:00
ismailgulek 6723e7e867 Merge branch 'ismail/5068_start_thread' into ismail/5068_design_tweaks 2022-01-17 11:37:41 +03:00
ismailgulek 7a74dc422f Merge branch 'develop' into ismail/5068_start_thread 2022-01-17 11:35:10 +03:00
SBiOSoftWhare 34587d4118 RoomDataSource: Handle extra cell layout update if needed. 2022-01-14 10:11:13 +01:00
ismailgulek 61e9d4feda Merge branch 'ismail/5068_design_tweaks' into ismail/5096_thread_notifications 2022-01-12 13:58:48 +03:00
Stefan Ceriu 3f715ec2c4 vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey. 2022-01-04 17:33:32 +02:00
ismailgulek 3a127debc3 Shrink summary view if content is small 2022-01-04 16:31:53 +03:00
ismailgulek 7699f05421 Merge branch 'ismail/5095_thread_search_results' into ismail/5096_thread_notifications 2021-12-10 11:14:55 +03:00
ismailgulek 071029ddeb Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-12-10 11:07:27 +03:00
ismailgulek 6480b354e8 Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-12-10 11:03:00 +03:00
ismailgulek 759b841bff Display threaded events as replies if threads disabled, fix #5266 2021-12-09 16:58:20 +03:00
ismailgulek 734e27de3d Disable thread filtering on regular timeline when threads disabled 2021-12-09 15:11:07 +03:00
ismailgulek 50dc09f9f7 Hide typing notifications in threads, fix #5271 2021-12-08 14:45:44 +03:00
ismailgulek 25012a4efb Use simpler methods for thread check 2021-12-07 05:18:13 +03:00
ismailgulek d267782aa4 Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-11-26 01:45:37 +03:00
ismailgulek 9df8315e2f Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-26 01:43:44 +03:00
ismailgulek 4b9a061ce1 Adapt to event changes 2021-11-26 01:42:53 +03:00
ismailgulek fcb2cf83eb Refactor summary view to be configurable via a view model 2021-11-18 17:46:14 +03:00
ismailgulek c046a7779b Highlight thread root event in the timeline 2021-11-15 13:50:08 +03:00
ismailgulek 72f86e8a15 Reload data source only after initialization 2021-11-11 22:38:41 +03:00
ismailgulek c2b912cd11 Reload data source when a new thread created 2021-11-11 22:28:29 +03:00
ismailgulek f6ae6afc81 Merge branch 'develop' into ismail/5068_start_thread 2021-11-11 21:43:16 +03:00
ismailgulek cc18723588 Implement opening thread modal when tapped 2021-11-10 15:42:42 +03:00
ismailgulek 93b037240f Implement thread filtering logic in RoomDataSource 2021-11-10 13:38:32 +03:00
ismailgulek 55669ed8d3 Add ThreadSummaryView into the cell 2021-11-09 16:50:22 +03:00
Phl-Pro ea322e1526 Merge branch 'develop' into phlpro/4722_objc_headers 2021-11-05 14:41:36 +01:00
SBiOSoftWhare 988dff272e RoomVC: Prevent retain cycles. 2021-10-28 17:41:16 +02:00
Philippe Loriaux af20d24960 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Doug 316a44c21c Add tags to URLPreviewView and BubbleReactionsView so their highlight behaviour matches their bubble component.
Fix bug setting text alpha.
2021-10-13 14:05:06 +01:00
Doug 0764252138 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 f790d3dcae Add invalidateLayout to RoomBubbleCellData. 2021-09-29 10:36:35 +01:00
Doug 2887fd27ef Use bubbleComponentWithLinkForEventId: in RoomDataSource. 2021-09-27 18:43:53 +01:00
Doug 6745fe48f4 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 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
Doug 3729440196 Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +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 f2f40aa0b6 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 85caa0a23f Fix potentially redundant table reloading. 2021-09-03 18:18:36 +01:00
Doug 39812e6f89 Fix reactions beneath URL previews. 2021-09-03 12:07:29 +01: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