Commit Graph

39 Commits

Author SHA1 Message Date
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 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 dd600e5e7e 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
Doug ef92d49456 Merge branch 'develop' into doug/888_add_url_previews 2021-08-17 10:29:30 +01:00
Doug 4b31d83c37 Begin adding link detection to RoomBubbleCellData. 2021-07-21 15:14:25 +01:00
Stefan Ceriu 29e5557f7a #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03: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
ismailgulek 1d2ae04058 Introduce group call tiles 2021-03-17 19:39:41 +03:00
ismailgulek 335ddf78e8 Fix #4125 2021-03-17 00:49:07 +03:00
ismailgulek b5c760ee1f Include call answer and hangup events in the bubble 2021-03-12 02:24:07 +03:00
Gil Eluard 230498192a Improve the status of send messages (sending, sent, received, failed)
- update after review
2021-03-09 11:59:54 +01:00
SBiOSoftWhare e5796073c8 RoomBubbleCellData: Add new tag to handle RoomCreationIntroCell. 2021-02-22 00:12:00 +01:00
ismailgulek 9c851d4a8c Group call invite and reject events with a new tag 2021-01-20 13:13:04 +03:00
ismailgulek 064f3b0e47 Fix grouping 2020-10-02 11:48:12 +03:00
ismailgulek ade279adcc Only collapse bubbles both have the roomCreate tag 2020-10-01 17:19:22 +03:00
ismailgulek dfefdf0ffb Tag room creator's join event appropriately 2020-10-01 17:18:32 +03:00
ismailgulek 6a92d5e99e Add new tag: RoomBubbleCellDataTagRoomCreateConfiguration 2020-09-14 14:11:24 +03:00
SBiOSoftWhare 486afbee90 RoomBubbleCellData: Factorize additional view height calculation and use BubbleReactionsViewSizer to get reactions view height. 2020-07-31 18:32:44 +02:00
SBiOSoftWhare 49e259abfb RoomBubbleCellData: Handle key verification cells. Add key verification property and add key verification cell data tags. 2020-01-14 19:46:02 +01:00
SBiOSoftWhare 8fe1474637 RoomBubbleCellData: Add new tags in RoomBubbleCellDataTag for key verification cells. 2019-12-20 10:35:04 +01:00
manuroe 27dc33431d VoiceOver: RoomVC: No VoiceOver on media
#2726
2019-09-20 16:25:15 +02:00
SBiOSoftWhare 086b6ab2b1 RoomBubbleCellData: Add a method to get first visible component index. 2019-07-08 18:34:08 +02:00
manuroe e4171cffa9 Reactions: Show at most 8 reactions
#2510
2019-07-04 11:38:48 +02:00
SBiOSoftWhare c69d19bb35 e2e room message: Fix padlock position on last message with sender name. 2019-06-20 12:07:04 +02:00
SBiOSoftWhare bc88febd8d Merge develop into fix_riot_attachmentview_reactions 2019-06-19 11:44:42 +02:00
SBiOSoftWhare ccdb278611 RoomBubbleCellData: Add additionalContentHeight property to cache additional views height like reactions view and read receipts container. 2019-06-18 18:30:39 +02:00
SBiOSoftWhare c7cab57c15 RoomBubbleCellData: Fix bubble component position when display last message timestamp. 2019-06-18 17:42:00 +02:00
manuroe b500e10586 Read receipts: They are now counted at the MatrixKit level 2019-06-18 12:28:59 +02:00
SBiOSoftWhare 487b5d3d1b RoomBubbleCellData: Fix reactions height calculation. Fix timestamp position. 2019-05-29 12:24:43 +02:00
SBiOSoftWhare f0e47876bb RoomBubbleCellData: Add a property to display the timestamp of the selected component on the left when there is enough space. 2019-05-22 16:17:55 +02:00
SBiOSoftWhare 862a79fab1 RoomBubbleCellData: Improve reactions view vertical space calculation 2019-05-20 21:57:29 +02:00
manuroe d22e9beda6 Reactions: Add placeholder for reactions list under message 2019-05-17 01:28:45 +02:00
manuroe a466493f7b RoomBubbleCellData: Do readReceiptVerticalWhitespace thing in one place 2019-05-16 18:27:48 +02:00
SBiOSoftWhare 31828b7013 RoomBubbleCellData: Add a property to show or hide timestamp for selected component. 2019-05-15 21:34:32 +02:00
fridtjof 0e8c73344d make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
manuroe 6ccfbbd567 BF: Weird text color when selecting a message
#2046
2018-09-24 14:23:48 +02:00
SBiOSoftWhare 19d1c0dbf8 [RoomBubbleCellData] Update way to put tag `RoomBubbleCellDataTagRoomCreateWithPredecessor 2018-08-07 11:25:04 +02:00
SBiOSoftWhare ecbfd38281 [RoomBubbleCellData] Add room create with predecessor tag in order to identify this particular case 2018-07-27 18:49:36 +02:00
SBiOSoftWhare c483cc4a82 Move cell data and data sources to corresponding modules. 2018-07-10 10:21:21 +02:00