Commit Graph

5830 Commits

Author SHA1 Message Date
SBiOSoftWhare fa9fa30920 BubbleReactionsView: Use a UICollectionViewFlowLayout subclass with left alignement. 2019-05-21 00:43:10 +02:00
SBiOSoftWhare b53928a80a Add a UICollectionViewFlowLayout with left alignement pod 2019-05-21 00:42:20 +02:00
SBiOSoftWhare cd13cf9f19 Update changes 2019-05-20 22:11:15 +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 1aaf9839fb Update pbxproj 2019-05-20 21:54:32 +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
SBiOSoftWhare fff83b69d6 Theme: Add reaction button colors and update header background color. 2019-05-20 21:49:27 +02:00
manuroe 08077d2faf Merge pull request #2444 from vector-im/move_reaction_hack_to_sdk
Reactions menu: Do not notify delegate if reaction requires an unreaction
2019-05-20 20:43:32 +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 042a9ea5fd Merge pull request #2442 from vector-im/labs_reactions
Reactions: Add a labs setting
2019-05-20 17:52:29 +02:00
manuroe 824db1fab3 Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
manuroe d55b641cdb Merge pull request #2439 from vector-im/reaction_hack
Hack reaction sending like riot-web and riot-android
2019-05-20 17:03:16 +02:00
manuroe 88d6859bdc 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 06d18e122b 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 da033f69ab Reactions: Reactions menu: highlight reactiosn only our user made 2019-05-20 15:00:47 +02:00
manuroe 776ac8160e Merge pull request #2433 from vector-im/unreaction
Reactions: Reactions menu: plug unreact
2019-05-20 09:48:07 +02:00
manuroe 07ec0db48e Reactions: Reactions menu: plug unreact 2019-05-17 17:39:31 +02:00
manuroe 2b56446efb 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 ed6684dbd8 Merge pull request #2429 from vector-im/reactions_placeholder
Reactions: Add placeholder for reactions list under message
2019-05-17 13:08:22 +02:00
manuroe 985595b440 pbxproj: Fix ReactionsMenu group after automatic merge 2019-05-17 12:21:33 +02:00
manuroe 15a9edabc7 RoomVC: ContextualMenu: Plug reactions menu 2019-05-17 12:17:59 +02:00
manuroe 8fb8cb85cb Reactions: Add placeholder for reactions list under message 2019-05-17 01:28:45 +02:00
manuroe 0afd48f5b5 RoomBubbleCellData: Do readReceiptVerticalWhitespace thing in one place 2019-05-16 18:27:48 +02:00
manuroe 9a73306657 Reactions: Follow small SDK change 2019-05-16 17:44:07 +02:00
manuroe fce3088835 Merge pull request #2423 from vector-im/riot_2393
Reactions: Add primary reactions as message actions
2019-05-16 16:08:18 +02:00
manuroe 092213af1f Reactions: Fix Steve's comments 2019-05-16 16:07:07 +02:00
manuroe ad78f4f5a5 Merge branch 'aggregations' into riot_2393 2019-05-16 14:51:14 +02:00
manuroe b85c9fd4cb Reactions: we cannot like & dislike at the same time 2019-05-16 14:45:42 +02:00
SBiOSoftWhare 28ecce4c8c Merge pull request #2424 from vector-im/riot_2394
New message actions
2019-05-16 14:08:18 +02:00
manuroe 2456273baa 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 aa639a6a20 Reactions: Plug button actions 2019-05-16 07:47:23 +02:00
manuroe c06015eea5 Reactions: Customise primary reactions buttons 2019-05-15 23:35:09 +02:00
SBiOSoftWhare cb851310a4 Update changes 2019-05-15 23:34:21 +02:00
SBiOSoftWhare 391eff8a5a RoomViewController: Disable reply on single tap selection. 2019-05-15 23:30:33 +02:00
SBiOSoftWhare da1e659794 Update pbxproj 2019-05-15 23:24:54 +02:00
SBiOSoftWhare 900a219691 RoomViewController: Show contextual menu toolbar on long press. 2019-05-15 23:24:34 +02:00
SBiOSoftWhare 4a15db4754 Create RoomContextualMenuPresenter 2019-05-15 23:10:07 +02:00
SBiOSoftWhare 0c0fa0f451 Create RoomContextualMenuViewController 2019-05-15 23:09:03 +02:00
SBiOSoftWhare 8ed0eadf3c Create RoomContextualMenuToolbarView 2019-05-15 23:07:50 +02:00
SBiOSoftWhare 351deadd76 Create room contextual menu action enum 2019-05-15 23:02:25 +02:00
SBiOSoftWhare a30f68ff98 RoomDataSource: Add a property to show or hide timestamp when selecting an event. 2019-05-15 21:44:07 +02:00
SBiOSoftWhare 3544c50601 RoomBubbleCellData: Add a property to show or hide timestamp for selected component. 2019-05-15 21:34:32 +02:00
SBiOSoftWhare ca9ba8d366 Add convenient methods on UIGestureRecognizer, UIImage and UIStackView. 2019-05-15 21:29:47 +02:00