Commit Graph

421 Commits

Author SHA1 Message Date
SBiOSoftWhare 894ba3c71c Merge develop into fix_riot_attachmentview_reactions 2019-06-19 11:44:42 +02:00
SBiOSoftWhare 3042231d37 Fix bubble cell height for cells with attachment view and reactions. 2019-06-18 18:36:22 +02:00
SBiOSoftWhare 0080863a0b 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 7dac2f75a6 RoomBubbleCellData: Fix bubble component position when display last message timestamp. 2019-06-18 17:42:00 +02:00
manuroe 717c887de7 Read receipts: Manage live update in the kit too 2019-06-18 14:06:23 +02:00
manuroe ed84d3b028 Read receipts: They are now counted at the MatrixKit level 2019-06-18 12:28:59 +02:00
SBiOSoftWhare 9ff92bce71 Merge pull request #2471 from vector-im/fix_show_context_menu_interaction_when_animate
RoomVC: Prevent user interaction in timeline while presenting context menu
2019-06-18 11:49:44 +02:00
manuroe 0a8c46120b Menu actions: Display the keyboard once the users tap on reply or edit
This also fixes the local echo issues we had when this screen stayed displayed
2019-06-14 16:29:25 +02:00
manuroe 7a38bf5674 Reactions menu: leave the menu once the user tapped a reaction 2019-06-14 16:15:27 +02:00
manuroe e8f1c5956e Merge pull request #2490 from vector-im/reaction_echo
Local echo for reactions
2019-06-13 17:50:31 +02:00
SBiOSoftWhare 68dc4ca757 RoomViewController: Add message editing support. 2019-06-13 16:38:20 +02:00
SBiOSoftWhare 6a8dc8782f RoomInputToolbarView: Add editing mode. 2019-06-13 16:37:28 +02:00
manuroe adb8f10d8e Reactions: Change reaction and unreaction methods signatures 2019-06-12 18:25:47 +02:00
manuroe 07a5f57eea Reactions local echoes: Do not show reactions with 0 count (case of reaction being removed) 2019-06-12 18:03:21 +02:00
SBiOSoftWhare 03b7570fc1 RoomViewController: Prepare message edited mention tap. 2019-06-12 16:06:27 +02:00
SBiOSoftWhare 65e290b947 Merge pull request #2482 from vector-im/ReactionsMenuViewModel_update
ReactionsMenuViewModel: Do not perform directly reaction requests
2019-06-11 17:51:28 +02:00
SBiOSoftWhare cd5190bf81 RoomViewController: Display an error when react or unreact on event fails. 2019-06-11 17:43:32 +02:00
SBiOSoftWhare 44784f79f8 [Reactions] Allow reaction only on room messages (Fix #2476). 2019-06-06 13:50:45 +02:00
SBiOSoftWhare 3f05c91257 RoomViewController: Conforms to ReactionsMenuViewModelCoordinatorDelegate. 2019-06-06 11:30:57 +02:00
SBiOSoftWhare fa2bfd184b [ReactionsMenuViewModel] Do not perform directly reaction requests and use delegation. 2019-06-06 11:29:28 +02:00
SBiOSoftWhare dd1c299a95 RoomViewController: Use new component frame method calculation. 2019-05-29 12:26:48 +02:00
SBiOSoftWhare 7812aab835 RoomDataSource: Fix reactions and read receipts positions. 2019-05-29 12:25:57 +02:00
SBiOSoftWhare 90c83fdfe5 RoomBubbleCellData: Fix reactions height calculation. Fix timestamp position. 2019-05-29 12:24:43 +02:00
SBiOSoftWhare 8f193833bf Create RoomBubbleCellLayout class to handle MXKRoomBubbleTableViewCell layout constants. 2019-05-29 12:15:31 +02:00
SBiOSoftWhare 6070c022a5 RoomVC: Prevent user interaction in timeline while presenting context menu. 2019-05-24 11:33:44 +02:00
manuroe e1673ff5b3 Merge pull request #2438 from dcordero/verification_id_labels_fix
Verification id labels fix
2019-05-23 17:57:49 +02:00
SBiOSoftWhare ddd882249c Room contextual menu: Update button titles color and disabled opacity. 2019-05-23 17:48:52 +02:00
SBiOSoftWhare 7eb40933bd Registration: Fix infinite loop when register with email and validate from mobile. 2019-05-23 16:46:00 +02:00
David Cordero 1a7afc9b02 Merge branch 'develop' into verification_id_labels_fix 2019-05-22 19:10:35 +02:00
SBiOSoftWhare d3be9bad43 Contextual menu: Improve reactions menu position. 2019-05-22 18:48:50 +02:00
SBiOSoftWhare 1f90be1243 Merge pull request #2464 from vector-im/riot_2446
BF: Menu actions: Display message time
2019-05-22 17:41:18 +02:00
SBiOSoftWhare 9849682124 Update Riot/Modules/Room/CellData/RoomBubbleCellData.h
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-05-22 17:27:29 +02:00
SBiOSoftWhare 68c9b5b018 RoomVC: Display message time when contextual menu is shown. 2019-05-22 16:54:51 +02:00
SBiOSoftWhare ba0e6561de RoomVC: Show contextual menu on single tap. 2019-05-22 16:37:06 +02:00
SBiOSoftWhare d2cd1a4d13 Room contextual menu: Dismiss when swipe up or down. 2019-05-22 16:35:46 +02:00
SBiOSoftWhare de2edce40f 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
manuroe cf98e512b6 Reactions menu: Patch RoomContextualMenuPresenter while we have a retain cycle 2019-05-21 02:12:14 +02:00
SBiOSoftWhare d78a755201 Theme: Remove non needed reaction colors 2019-05-21 01:09:42 +02:00
SBiOSoftWhare fa9fa30920 BubbleReactionsView: Use a UICollectionViewFlowLayout subclass with left alignement. 2019-05-21 00:43:10 +02:00
SBiOSoftWhare 7e1cd2613c RoomDataSource: Handle reactions display on bubble cell. 2019-05-20 21:59:18 +02:00
SBiOSoftWhare 859dfcaf7a RoomBubbleCellData: Improve reactions view vertical space calculation 2019-05-20 21:57:29 +02:00
SBiOSoftWhare ca0896fb1e Create BubbleReactionsView 2019-05-20 21:54:23 +02:00
SBiOSoftWhare ab35ba7998 Create BubbleReactionsViewModel 2019-05-20 21:52:07 +02:00
SBiOSoftWhare 7f1447e9dc Create BubbleReactionViewCell 2019-05-20 21:51:24 +02:00
SBiOSoftWhare c1cb799582 Create AutosizedCollectionView a convenient UICollectionView that makes dynamic sizing easier when using Auto Layout 2019-05-20 21:49:57 +02:00
manuroe a4b8192473 Reactions menu: Do not notify delegate if reaction requires an unreaction
Fix Steve's remark
2019-05-20 20:41:05 +02:00
manuroe 7bdab43e16 Reactions menu: Do not notify delegate if reaction requires an unreaction
This avoids to call the delegate twice.
Note: In a short future, we will no more have those 3 state buttons
2019-05-20 19:48:29 +02:00
manuroe 6a27075d2b Reactions: Remove the send reaction hack as it is now done in the SDK 2019-05-20 19:40:52 +02:00
manuroe 3ceec59779 Merge branch 'develop' into aggregations 2019-05-20 17:57:50 +02:00
manuroe 824db1fab3 Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00