Doug
3923c8fa53
Use bubbleComponentWithLinkForEventId: in RoomDataSource.
2021-09-27 18:43:53 +01:00
Doug
3fd7a16bca
Use bubbleComponentWithLinkForEventId: in RoomDataSource.
2021-09-27 18:43:53 +01:00
Doug
29c428167f
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
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
6561b2151a
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
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
63d822b026
Reduce the width of URL previews on 4" devices.
2021-09-16 16:41:21 +01:00
Doug
e2a0b5fc23
Reduce the width of URL previews on 4" devices.
2021-09-16 16:41:21 +01:00
Doug
1963f35d30
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
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
0f88e8e851
Add more docs and comments.
...
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug
a8675e8f27
Add more docs and comments.
...
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug
77857eb273
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
babbdff05a
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
8d4a4706d6
Fix potentially redundant table reloading.
2021-09-03 18:18:36 +01:00
Doug
042fa4197d
Fix potentially redundant table reloading.
2021-09-03 18:18:36 +01:00
Doug
1f10a36786
Fix reactions beneath URL previews.
2021-09-03 12:07:29 +01:00
Doug
891c901599
Fix reactions beneath URL previews.
2021-09-03 12:07:29 +01:00
Doug
24bfe36712
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
ef65feb3de
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
885f3208bf
Show an activity indicator until the preview has loaded.
2021-09-02 17:37:48 +01:00
Doug
26e356776c
Show an activity indicator until the preview has loaded.
2021-09-02 17:37:48 +01:00
Doug
882fcab738
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
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
4331994d72
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
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
d181065321
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
84b8936d36
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
c7176c7423
Always update the path of the attachmentView's mask to handle reuse.
2021-07-14 10:15:50 +01:00
Doug
34607a066d
Always update the path of the attachmentView's mask to handle reuse.
2021-07-14 10:15:50 +01:00
Doug
83e05d26ac
Use updated methods in MatrixKit.
2021-07-12 14:02:29 +01:00
Doug
fdfb3a95e7
Use updated methods in MatrixKit.
2021-07-12 14:02:29 +01:00
Doug
ba8123c73a
Fix sending a video selected from a document picker.
2021-07-08 17:41:55 +01:00
Doug
aa5b71b97b
Fix sending a video selected from a document picker.
2021-07-08 17:41:55 +01:00
Stefan Ceriu
43f6c44c78
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
Stefan Ceriu
a8b0e8700e
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
f370438d68
Merge branch 'develop' into voip_design_updates
2021-04-09 15:12:51 +03:00
ismailgulek
64e0a40c1a
Merge branch 'develop' into voip_design_updates
2021-04-09 15:12:51 +03:00
Gil Eluard
773e72e9f5
Update after review
2021-04-08 15:59:53 +02:00
Gil Eluard
825088553a
Update after review
2021-04-08 15:59:53 +02:00
Gil Eluard
1aa20c462d
Update after review
2021-04-08 15:19:02 +02:00
Gil Eluard
b68a9b06c3
Update after review
2021-04-08 15:19:02 +02:00
Gil Eluard
ad0f7c9143
Limit typing notifications timeline jumps
2021-04-06 13:09:30 +02:00
Gil Eluard
bfd605dff7
Limit typing notifications timeline jumps
2021-04-06 13:09:30 +02:00
ismailgulek
979bfebc2a
Merge branch 'develop' into voip_design_updates
2021-04-02 14:39:37 +03:00
ismailgulek
fb3c76ab0f
Merge branch 'develop' into voip_design_updates
2021-04-02 14:39:37 +03:00
Gil Eluard
fd7d69c39d
Explore typing notifications inspired by web
...
- prevent timeline from going up and down by keeping the space allocated for the typing notification
2021-03-29 22:26:03 +02:00
Gil Eluard
e6663a9148
Explore typing notifications inspired by web
...
- prevent timeline from going up and down by keeping the space allocated for the typing notification
2021-03-29 22:26:03 +02:00
Gil Eluard
557f84cfec
Explore typing notifications inspired by web
...
- bug fixing
2021-03-25 11:53:45 +01:00
Gil Eluard
630bdde126
Explore typing notifications inspired by web
...
- bug fixing
2021-03-25 11:53:45 +01:00