ismailgulek
c23a69c338
Fix review remarks
2022-01-25 23:59:19 +03:00
ismailgulek
8cc82cf7e1
Merge branch 'develop' into ismail/5068_start_thread
2022-01-25 14:30:52 +03:00
SBiOSoftWhare
ac821f4930
RoomDataSource: Use RoomTimelineStyle to apply cell selection style.
2022-01-18 20:51:59 +01:00
SBiOSoftWhare
ce56391bc8
RoomDataSource: Update timestamp decoration.
2022-01-18 17:52:32 +01:00
SBiOSoftWhare
19f3435bb5
RoomDataSource: Handle RoomTimelineCellDecorator.
2022-01-18 15:04:46 +01:00
ismailgulek
aeccbc0dac
Merge branch 'develop' into ismail/5068_start_thread
2022-01-17 11:35:10 +03:00
SBiOSoftWhare
893fd5f968
RoomDataSource: Handle extra cell layout update if needed.
2022-01-14 10:11:13 +01:00
Stefan Ceriu
5a72750f8d
vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey.
2022-01-04 17:33:32 +02:00
ismailgulek
da9407f062
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list
2021-12-10 11:07:27 +03:00
ismailgulek
1f918c921d
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions
2021-12-10 11:03:00 +03:00
ismailgulek
1d57a5b6f9
Display threaded events as replies if threads disabled, fix #5266
2021-12-09 16:58:20 +03:00
ismailgulek
e3a47a59f9
Merge branch 'develop' into ismail/5068_start_thread
2021-12-09 15:25:14 +03:00
SBiOSoftWhare
4081da3ebc
Update all Objective-C MatrixKit imports to handle new location.
2021-11-30 16:09:53 +01:00
ismailgulek
65335ce825
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list
2021-11-26 01:45:37 +03:00
ismailgulek
7cfa67b704
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions
2021-11-26 01:43:44 +03:00
ismailgulek
68ac7cd49d
Adapt to event changes
2021-11-26 01:42:53 +03:00
ismailgulek
4ad5e9b4b4
Refactor summary view to be configurable via a view model
2021-11-18 17:46:14 +03:00
ismailgulek
cc466501b6
Highlight thread root event in the timeline
2021-11-15 13:50:08 +03:00
ismailgulek
8d4521143e
Reload data source only after initialization
2021-11-11 22:38:41 +03:00
ismailgulek
7223ed40ed
Reload data source when a new thread created
2021-11-11 22:28:29 +03:00
ismailgulek
a319f076b1
Merge branch 'develop' into ismail/5068_start_thread
2021-11-11 21:43:16 +03:00
ismailgulek
fe1b6d1e50
Implement opening thread modal when tapped
2021-11-10 15:42:42 +03:00
ismailgulek
a049bb9a17
Implement thread filtering logic in RoomDataSource
2021-11-10 13:38:32 +03:00
ismailgulek
79e8c68f89
Add ThreadSummaryView into the cell
2021-11-09 16:50:22 +03:00
Phl-Pro
8246dc93e0
Merge branch 'develop' into phlpro/4722_objc_headers
2021-11-05 14:41:36 +01:00
ismailgulek
0a8952170a
Initialize thread data source
2021-11-04 02:07:50 +03:00
SBiOSoftWhare
03cdf3d732
RoomVC: Prevent retain cycles.
2021-10-28 17:41:16 +02:00
Philippe Loriaux
c6c3eaaec1
Improve the Obj-C Generated Interface Header Name definition
2021-10-26 17:42:33 +02:00
Doug
02753aaf8c
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
b4569296ac
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
4198fa096a
Add invalidateLayout to RoomBubbleCellData.
2021-09-29 10:36:35 +01:00
Doug
66c92fbe03
Use bubbleComponentWithLinkForEventId: in RoomDataSource.
2021-09-27 18:43:53 +01:00
Doug
f44e1b098e
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
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
Doug
38db80ac6b
Reduce the width of URL previews on 4" devices.
2021-09-16 16:41:21 +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
ea14ed9616
Add more docs and comments.
...
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug
7448ca1002
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
55df9303de
Fix potentially redundant table reloading.
2021-09-03 18:18:36 +01:00
Doug
434657ea6b
Fix reactions beneath URL previews.
2021-09-03 12:07:29 +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
a81ebbd0aa
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
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
30ee01054f
Use the layer's corner radius rather than a custom mask.
...
This will ensure the mask bounds always match the view's size.
2021-07-14 10:37:54 +01:00
Doug
988267c74f
Always update the path of the attachmentView's mask to handle reuse.
2021-07-14 10:15:50 +01:00
Doug
0cb3aaa267
Use updated methods in MatrixKit.
2021-07-12 14:02:29 +01:00
Doug
9ec4f75083
Fix sending a video selected from a document picker.
2021-07-08 17:41:55 +01:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism ( #4370 )
...
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek
67fa1ab3b8
Merge branch 'develop' into voip_design_updates
2021-04-09 15:12:51 +03:00