Commit Graph

1562 Commits

Author SHA1 Message Date
manuroe 8037a9ce30 Merge pull request #2490 from vector-im/reaction_echo
Local echo for reactions
2019-06-13 17:50:31 +02:00
SBiOSoftWhare 2238d69594 RoomViewController: Add message editing support. 2019-06-13 16:38:20 +02:00
SBiOSoftWhare 2f04b8473f RoomInputToolbarView: Add editing mode. 2019-06-13 16:37:28 +02:00
manuroe ffcfe7492c Reactions: Change reaction and unreaction methods signatures 2019-06-12 18:25:47 +02:00
manuroe 0e0e2ca0ec Reactions local echoes: Do not show reactions with 0 count (case of reaction being removed) 2019-06-12 18:03:21 +02:00
SBiOSoftWhare d88a90923a RoomViewController: Prepare message edited mention tap. 2019-06-12 16:06:27 +02:00
SBiOSoftWhare f40a699ef1 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 5adc7ada57 RoomViewController: Display an error when react or unreact on event fails. 2019-06-11 17:43:32 +02:00
SBiOSoftWhare e797d4934d [Reactions] Allow reaction only on room messages (Fix #2476). 2019-06-06 13:50:45 +02:00
SBiOSoftWhare 978469254b RoomViewController: Conforms to ReactionsMenuViewModelCoordinatorDelegate. 2019-06-06 11:30:57 +02:00
SBiOSoftWhare 90d25879a8 [ReactionsMenuViewModel] Do not perform directly reaction requests and use delegation. 2019-06-06 11:29:28 +02:00
SBiOSoftWhare 4ab6e173a4 RoomViewController: Use new component frame method calculation. 2019-05-29 12:26:48 +02:00
SBiOSoftWhare 795d2e5733 RoomDataSource: Fix reactions and read receipts positions. 2019-05-29 12:25:57 +02:00
SBiOSoftWhare 58094854b1 RoomBubbleCellData: Fix reactions height calculation. Fix timestamp position. 2019-05-29 12:24:43 +02:00
SBiOSoftWhare 6d6970933d Create RoomBubbleCellLayout class to handle MXKRoomBubbleTableViewCell layout constants. 2019-05-29 12:15:31 +02:00
SBiOSoftWhare 2fc4789b8b RoomVC: Prevent user interaction in timeline while presenting context menu. 2019-05-24 11:33:44 +02:00
manuroe 976d8788d1 Merge pull request #2438 from dcordero/verification_id_labels_fix
Verification id labels fix
2019-05-23 17:57:49 +02:00
SBiOSoftWhare 9802afd895 Room contextual menu: Update button titles color and disabled opacity. 2019-05-23 17:48:52 +02:00
SBiOSoftWhare de427f3f05 Registration: Fix infinite loop when register with email and validate from mobile. 2019-05-23 16:46:00 +02:00
David Cordero 21ff398bac Merge branch 'develop' into verification_id_labels_fix 2019-05-22 19:10:35 +02:00
SBiOSoftWhare 2c5da6c457 Contextual menu: Improve reactions menu position. 2019-05-22 18:48:50 +02:00
SBiOSoftWhare 5c08e17461 Merge pull request #2464 from vector-im/riot_2446
BF: Menu actions: Display message time
2019-05-22 17:41:18 +02:00
SBiOSoftWhare d598b14af6 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 bfdbf10623 RoomVC: Display message time when contextual menu is shown. 2019-05-22 16:54:51 +02:00
SBiOSoftWhare 75b2c7a4be RoomVC: Show contextual menu on single tap. 2019-05-22 16:37:06 +02:00
SBiOSoftWhare bb11485297 Room contextual menu: Dismiss when swipe up or down. 2019-05-22 16:35:46 +02:00
SBiOSoftWhare f2f7716f5c 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 a749211223 Reactions menu: Patch RoomContextualMenuPresenter while we have a retain cycle 2019-05-21 02:12:14 +02:00
SBiOSoftWhare 85309d866c Theme: Remove non needed reaction colors 2019-05-21 01:09:42 +02:00
SBiOSoftWhare bac5ac3023 BubbleReactionsView: Use a UICollectionViewFlowLayout subclass with left alignement. 2019-05-21 00:43:10 +02:00
SBiOSoftWhare ccf6bb5ce5 RoomDataSource: Handle reactions display on bubble cell. 2019-05-20 21:59:18 +02:00
SBiOSoftWhare f998fbe80d RoomBubbleCellData: Improve reactions view vertical space calculation 2019-05-20 21:57:29 +02:00
SBiOSoftWhare c84daa9ec6 Create BubbleReactionsView 2019-05-20 21:54:23 +02:00
SBiOSoftWhare 329e3c53a2 Create BubbleReactionsViewModel 2019-05-20 21:52:07 +02:00
SBiOSoftWhare 07140836f3 Create BubbleReactionViewCell 2019-05-20 21:51:24 +02:00
SBiOSoftWhare bf611250e8 Create AutosizedCollectionView a convenient UICollectionView that makes dynamic sizing easier when using Auto Layout 2019-05-20 21:49:57 +02:00
manuroe 9ae2703ea6 Reactions menu: Do not notify delegate if reaction requires an unreaction
Fix Steve's remark
2019-05-20 20:41:05 +02:00
manuroe 91d89f0df8 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 c6b97d2797 Reactions: Remove the send reaction hack as it is now done in the SDK 2019-05-20 19:40:52 +02:00
manuroe 168646092c Merge branch 'develop' into aggregations 2019-05-20 17:57:50 +02:00
manuroe 474cb03232 Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
manuroe b21a89584b Reactions: Use the hack like on riot-android and riot-web if the server has not yet the aggregations API
Fix Steve's comment
2019-05-20 17:00:57 +02:00
manuroe 7f8dc779fe Reactions: Use the hack like on riot-android and riot-web if the server has not yet the aggregations API 2019-05-20 16:04:54 +02:00
manuroe ffbbbe35e9 Reactions: Reactions menu: highlight reactiosn only our user made 2019-05-20 15:00:47 +02:00
David Cordero 5c94126102 Remove redundant code 2019-05-19 17:19:23 +02:00
David Cordero 300a54f655 Fix text color for user display name and device id labels in dark theme 2019-05-19 17:14:41 +02:00
manuroe b0c6e55120 Reactions: Reactions menu: plug unreact 2019-05-17 17:39:31 +02:00
manuroe ec36f3deec Merge pull request #2430 from vector-im/reactions_in_context_menu
RoomVC: ContextualMenu: Plug reactions menu
2019-05-17 13:33:57 +02:00
manuroe 57e7505044 RoomVC: ContextualMenu: Plug reactions menu 2019-05-17 12:17:59 +02:00
manuroe 4f3de0d199 Reactions: Add placeholder for reactions list under message 2019-05-17 01:28:45 +02:00