Commit Graph

390 Commits

Author SHA1 Message Date
SBiOSoftWhare 1e2d7550f7 Contextual menu: Improve reactions menu position. 2019-05-22 18:48:50 +02:00
SBiOSoftWhare 81dfce7773 Merge pull request #2464 from vector-im/riot_2446
BF: Menu actions: Display message time
2019-05-22 17:41:18 +02:00
SBiOSoftWhare a34a8399d1 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 b913fdb093 RoomVC: Display message time when contextual menu is shown. 2019-05-22 16:54:51 +02:00
SBiOSoftWhare f2ea321b51 RoomVC: Show contextual menu on single tap. 2019-05-22 16:37:06 +02:00
SBiOSoftWhare 4acea50747 Room contextual menu: Dismiss when swipe up or down. 2019-05-22 16:35:46 +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
manuroe 738a43e76f Reactions menu: Patch RoomContextualMenuPresenter while we have a retain cycle 2019-05-21 02:12:14 +02:00
SBiOSoftWhare da064aff98 Theme: Remove non needed reaction colors 2019-05-21 01:09:42 +02:00
SBiOSoftWhare 6417dde30c BubbleReactionsView: Use a UICollectionViewFlowLayout subclass with left alignement. 2019-05-21 00:43:10 +02:00
SBiOSoftWhare b878c8fd66 RoomDataSource: Handle reactions display on bubble cell. 2019-05-20 21:59:18 +02:00
SBiOSoftWhare 862a79fab1 RoomBubbleCellData: Improve reactions view vertical space calculation 2019-05-20 21:57:29 +02:00
SBiOSoftWhare 3c2d1375c1 Create BubbleReactionsView 2019-05-20 21:54:23 +02:00
SBiOSoftWhare e9d44307fc Create BubbleReactionsViewModel 2019-05-20 21:52:07 +02:00
SBiOSoftWhare 58b72c6485 Create BubbleReactionViewCell 2019-05-20 21:51:24 +02:00
SBiOSoftWhare 0adcff40fa Create AutosizedCollectionView a convenient UICollectionView that makes dynamic sizing easier when using Auto Layout 2019-05-20 21:49:57 +02:00
manuroe b931a0484e Reactions menu: Do not notify delegate if reaction requires an unreaction
Fix Steve's remark
2019-05-20 20:41:05 +02:00
manuroe 6f85d8934e 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 6c405109a7 Reactions: Remove the send reaction hack as it is now done in the SDK 2019-05-20 19:40:52 +02:00
manuroe ca6b2f1298 Merge branch 'develop' into aggregations 2019-05-20 17:57:50 +02:00
manuroe 617c3f2d60 Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
manuroe 5af992a2a4 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 2824372877 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 71e8d104d6 Reactions: Reactions menu: highlight reactiosn only our user made 2019-05-20 15:00:47 +02:00
manuroe 3c512ee7e3 Reactions: Reactions menu: plug unreact 2019-05-17 17:39:31 +02:00
manuroe d320124317 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 2401c7a129 RoomVC: ContextualMenu: Plug reactions menu 2019-05-17 12:17:59 +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
manuroe cc8862b6f1 Reactions: Follow small SDK change 2019-05-16 17:44:07 +02:00
manuroe 4a965ebf23 Reactions: Fix Steve's comments 2019-05-16 16:07:07 +02:00
manuroe 554747529d Merge branch 'aggregations' into riot_2393 2019-05-16 14:51:14 +02:00
manuroe 48a3a1ce7b Reactions: we cannot like & dislike at the same time 2019-05-16 14:45:42 +02:00
manuroe 1da2534834 Reactions: notify coordinator for every reaction request steps
so that it can leave the view when it wants
2019-05-16 08:07:52 +02:00
manuroe 948ced2568 Reactions: Plug button actions 2019-05-16 07:47:23 +02:00
manuroe e4e7261360 Reactions: Customise primary reactions buttons 2019-05-15 23:35:09 +02:00
SBiOSoftWhare 1db09d6feb RoomViewController: Disable reply on single tap selection. 2019-05-15 23:30:33 +02:00
SBiOSoftWhare 06fe9bf8ae RoomViewController: Show contextual menu toolbar on long press. 2019-05-15 23:24:34 +02:00
SBiOSoftWhare e12c5f64b0 Create RoomContextualMenuPresenter 2019-05-15 23:10:07 +02:00
SBiOSoftWhare b05f7447da Create RoomContextualMenuViewController 2019-05-15 23:09:03 +02:00
SBiOSoftWhare a75d6eb942 Create RoomContextualMenuToolbarView 2019-05-15 23:07:50 +02:00
SBiOSoftWhare 3670267947 Create room contextual menu action enum 2019-05-15 23:02:25 +02:00
SBiOSoftWhare 8e03ebb56d RoomDataSource: Add a property to show or hide timestamp when selecting an event. 2019-05-15 21:44:07 +02:00
SBiOSoftWhare 31828b7013 RoomBubbleCellData: Add a property to show or hide timestamp for selected component. 2019-05-15 21:34:32 +02:00
manuroe 7929b57bd0 Reactions: Translate primary reactions 2019-05-15 16:38:28 +02:00
manuroe 11cf7979f5 Reactions: Add primary reactions as message actions 2019-05-15 16:00:36 +02:00
manuroe 3951d7a45d Device Verification: Fix buttons colors in dark theme 2019-05-06 08:21:30 +02:00
manuroe 948946727d RoomVC: When replying, use a "Reply" button instead of "Send" 2019-04-30 17:27:57 +02:00
manuroe 16687b865f RoomInputToolbarView: Turn the boolean replyToEnabled into an enum: sendMode
because message editing (#2404) is coming
2019-04-30 17:08:52 +02:00
SBiOSoftWhare 17421aea2e Fix room details navigation from rooms list. 2019-04-29 14:24:20 +02:00