Commit graph

301 commits

Author SHA1 Message Date
SBiOSoftWhare
c9d4b4193a Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
e4df031451 Contextual menu: Fix reactions menu theme update. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
01b9b483c6 Emoji picker: Handle Emoji parsing with EmojiService. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
2f9419f0bc Reactions menu: Add more reactions button. 2019-07-25 16:58:14 +02:00
manuroe
9b63577447 BF: Edits history: Original event is missing
#2585

The original event is not an edit event. It must be processed a bit differently
2019-07-17 13:58:09 +02:00
manuroe
5e0b61b034
Update Riot/Modules/Room/DataSources/RoomDataSource.h 2019-07-12 09:51:12 +02:00
SBiOSoftWhare
6d63d704f7 RoomVC: Handle external file upload. 2019-07-11 19:17:55 +02:00
SBiOSoftWhare
20458bca20 MXKRoomDataSource: Handle video thumbnail generation with MXKVideoThumbnailGenerator. 2019-07-11 19:07:45 +02:00
SBiOSoftWhare
928eb0c69e RoomInputToolbarView: Add file upload action. 2019-07-11 19:03:32 +02:00
manuroe
47c05e9ce9
Merge pull request #2570 from vector-im/riot_2559
Edits history: Display original event
2019-07-10 15:58:41 +02:00
manuroe
54af44d2ad Room upgrade: Autojoin the upgraded room when the user taps on the tombstone banner
#2486
2019-07-10 14:58:47 +02:00
manuroe
c09faea091 Edits history: Display original event
#2559
2019-07-10 09:53:29 +02:00
SBiOSoftWhare
cece0404ba
Merge pull request #2567 from vector-im/riot_2553
Reactions: Reinstate the ability to react with non-unicode keys
2019-07-09 14:20:03 +02:00
SBiOSoftWhare
436f501a91 LABS: Remove reaction settings, reactions are enabled by default. 2019-07-09 13:51:14 +02:00
SBiOSoftWhare
012ea5b9c3 Bubble reaction view: Handle emoji label theme color. 2019-07-09 11:23:46 +02:00
SBiOSoftWhare
3b45885143 Reactions: Limit Emoji string length in reaction bubble. 2019-07-09 11:02:52 +02:00
SBiOSoftWhare
81b30b4916
Merge pull request #2564 from vector-im/riot_2538
BF: Quick reactions menu hide time and user display name
2019-07-09 10:37:40 +02:00
SBiOSoftWhare
24f6d03e4c RoomVC: Fix reactions menu timestamp and display name overlap (Fix #2538). 2019-07-08 18:43:55 +02:00
SBiOSoftWhare
593e3b3765 RoomBubbleCellData: Add a method to get first visible component index. 2019-07-08 18:34:08 +02:00
manuroe
3a80274bc4
Merge pull request #2555 from vector-im/riot_2548
BF: Reactions: Unexpected padding after event selection
2019-07-08 16:26:43 +02:00
manuroe
138d03d5b2
Merge pull request #2557 from vector-im/riot_2547
Join Room: Support via parameters to better handle federation
2019-07-08 14:53:02 +02:00
manuroe
0d5eac4cf6 Room upgrade: Use the server_name parameter when joining the new room
#2550
2019-07-08 11:46:10 +02:00
manuroe
87b1e15f36 Join Room: Support via parameters to better handle federation
#2547
2019-07-08 11:15:44 +02:00
SBiOSoftWhare
4f6f5a771f Reactions: Fix unexpected padding after event selection (Fix #2548). 2019-07-05 20:56:37 +02:00
SBiOSoftWhare
12896ffc36 Message editing: Handle encrypted message edits history. 2019-07-05 14:14:46 +02:00
SBiOSoftWhare
3a8122bdb1 Message edits history: Handle message edits history display from RoomViewController. 2019-07-04 19:24:15 +02:00
SBiOSoftWhare
11012933ae Message edits history: Update EditHistoryViewController to use UITableView to display messages and dates. 2019-07-04 19:22:29 +02:00
SBiOSoftWhare
8ae74d507d Message edits history: Update view model to handle message history grouping by day. 2019-07-04 19:18:13 +02:00
SBiOSoftWhare
8fe0213c44 Message edits history: Create edit history section struct. 2019-07-04 19:04:53 +02:00
SBiOSoftWhare
884f47b33e Message edits history: Create header view. 2019-07-04 19:03:39 +02:00
SBiOSoftWhare
a943361051 Message edits history: Create edit message cell. 2019-07-04 19:02:54 +02:00
manuroe
2a22e4c0a9 Reactions: Show at most 8 reactions
#2510
2019-07-04 11:38:48 +02:00
SBiOSoftWhare
78351941e4 Message editing: Handle reply edition. 2019-07-03 11:13:53 +02:00
manuroe
63aca2b130 Edits history: Manage date 2019-07-01 14:39:39 +02:00
manuroe
4c7a652fd9 EventFormatter: add showEditionMention setting 2019-07-01 12:42:42 +02:00
manuroe
26a8a6fd8d Edits history: Use a dedicated event formatter 2019-07-01 12:34:20 +02:00
manuroe
4f6986c0ea Edits history: Improve temporary UX a bit 2019-07-01 10:51:07 +02:00
manuroe
54e3155763 Edits history: Fix missing navigation bar 2019-07-01 10:34:02 +02:00
manuroe
d09ff5961c Edits: Start history 2019-06-28 19:27:46 +02:00
SBiOSoftWhare
2980e0fd99
Merge pull request #2534 from vector-im/context_menu_UX_improvements
Room: Improve context menu UX
2019-06-27 16:36:17 +02:00
SBiOSoftWhare
9a217a1098 RoomVC: Improve RoomContextualMenuPresenter loading speed. 2019-06-27 14:37:17 +02:00
manuroe
3eda67435e BF: Edits: editing an unsent msg gets cancelled if the original msg send completes during the edit
#2495
2019-06-27 12:25:01 +02:00
SBiOSoftWhare
392d2ae972 RoomVC: Reduce animation duration when presenting contextual menu. Make animation quicker for a single tap. 2019-06-27 11:41:25 +02:00
SBiOSoftWhare
32de513df5 RoomViewController: Improve additional event actions menu behavior. Remove more action. 2019-06-27 10:23:20 +02:00
manuroe
f63d2e1398
Merge pull request #2531 from vector-im/riot_2449
Edits: Support edits in e2e rooms
2019-06-26 12:14:25 +02:00
manuroe
3db1cffe28 Edits: Support edits in e2e rooms 2019-06-25 18:32:34 +02:00
SBiOSoftWhare
066927c4d4 Bubble cell reactions: Fix BubbleReactionViewCell clipped at bottom in selected state (Fix #2515). 2019-06-25 16:21:48 +02:00
SBiOSoftWhare
cd57ed1f9b RoomViewController: Handle updated RoomContextualMenuViewController. 2019-06-25 14:00:12 +02:00
SBiOSoftWhare
dab7d224eb RoomContextualMenuPresenter: Handle new reactions menu animations, reduce context menu show/hide animation duration. 2019-06-25 13:56:44 +02:00
SBiOSoftWhare
77d27d5fce RoomContextualMenuViewController: Handle updated ReactionsMenuView and new animations instructions. 2019-06-25 13:48:16 +02:00
SBiOSoftWhare
96c771bbfe Update ReactionsMenuView layout. 2019-06-25 13:40:59 +02:00
SBiOSoftWhare
833ba360ee Update ReactionsMenuViewModel to handle a list of reactions. 2019-06-25 13:23:07 +02:00
SBiOSoftWhare
af92b98065 Update ReactionsMenuButton UI 2019-06-25 12:06:54 +02:00
SBiOSoftWhare
98361afa6f e2e room message: Fix padlock position on last message with sender name. 2019-06-20 12:07:04 +02:00
SBiOSoftWhare
4e6c1c36af RoomDataSource: Fix bubble cell data additional content height update. 2019-06-19 14:22:38 +02:00
SBiOSoftWhare
2b28f25883 Merge develop into fix_riot_attachmentview_reactions 2019-06-19 11:44:42 +02:00
SBiOSoftWhare
8e50ff08c1 Fix bubble cell height for cells with attachment view and reactions. 2019-06-18 18:36:22 +02:00
SBiOSoftWhare
3295b649c9 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
0809c8af55 RoomBubbleCellData: Fix bubble component position when display last message timestamp. 2019-06-18 17:42:00 +02:00
manuroe
872976f798 Read receipts: Manage live update in the kit too 2019-06-18 14:06:23 +02:00
manuroe
ba6d5939a3 Read receipts: They are now counted at the MatrixKit level 2019-06-18 12:28:59 +02:00
SBiOSoftWhare
8aea88139e
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
82f52378dd 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
6a3cfc0172 Reactions menu: leave the menu once the user tapped a reaction 2019-06-14 16:15:27 +02:00
manuroe
5836ebb97e
Merge pull request #2490 from vector-im/reaction_echo
Local echo for reactions
2019-06-13 17:50:31 +02:00
SBiOSoftWhare
e610bd96e8 RoomViewController: Add message editing support. 2019-06-13 16:38:20 +02:00
SBiOSoftWhare
3c4961af8f RoomInputToolbarView: Add editing mode. 2019-06-13 16:37:28 +02:00
manuroe
84cd3d5e9d Reactions: Change reaction and unreaction methods signatures 2019-06-12 18:25:47 +02:00
manuroe
531cc4b68f Reactions local echoes: Do not show reactions with 0 count (case of reaction being removed) 2019-06-12 18:03:21 +02:00
SBiOSoftWhare
d751af48ff RoomViewController: Prepare message edited mention tap. 2019-06-12 16:06:27 +02:00
SBiOSoftWhare
3a2162f46c
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
310c5cc581 RoomViewController: Display an error when react or unreact on event fails. 2019-06-11 17:43:32 +02:00
SBiOSoftWhare
daab6950d4 [Reactions] Allow reaction only on room messages (Fix #2476). 2019-06-06 13:50:45 +02:00
SBiOSoftWhare
6f7400840d RoomViewController: Conforms to ReactionsMenuViewModelCoordinatorDelegate. 2019-06-06 11:30:57 +02:00
SBiOSoftWhare
940680ed75 [ReactionsMenuViewModel] Do not perform directly reaction requests and use delegation. 2019-06-06 11:29:28 +02:00
SBiOSoftWhare
6e90168a1c RoomViewController: Use new component frame method calculation. 2019-05-29 12:26:48 +02:00
SBiOSoftWhare
ee15eccb40 RoomDataSource: Fix reactions and read receipts positions. 2019-05-29 12:25:57 +02:00
SBiOSoftWhare
99b746681b RoomBubbleCellData: Fix reactions height calculation. Fix timestamp position. 2019-05-29 12:24:43 +02:00
SBiOSoftWhare
b0fbcde9dd Create RoomBubbleCellLayout class to handle MXKRoomBubbleTableViewCell layout constants. 2019-05-29 12:15:31 +02:00
SBiOSoftWhare
55f3a68afb RoomVC: Prevent user interaction in timeline while presenting context menu. 2019-05-24 11:33:44 +02:00
SBiOSoftWhare
31feca6f17 Room contextual menu: Update button titles color and disabled opacity. 2019-05-23 17:48:52 +02:00
SBiOSoftWhare
366d27ebab Contextual menu: Improve reactions menu position. 2019-05-22 18:48:50 +02:00
SBiOSoftWhare
09991e53c7
Merge pull request #2464 from vector-im/riot_2446
BF: Menu actions: Display message time
2019-05-22 17:41:18 +02:00
SBiOSoftWhare
a62548c545
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
0fb13febee RoomVC: Display message time when contextual menu is shown. 2019-05-22 16:54:51 +02:00
SBiOSoftWhare
6ce4a826be RoomVC: Show contextual menu on single tap. 2019-05-22 16:37:06 +02:00
SBiOSoftWhare
4bde8a435b Room contextual menu: Dismiss when swipe up or down. 2019-05-22 16:35:46 +02:00
SBiOSoftWhare
b234a09bf1 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
98c95fb849 Reactions menu: Patch RoomContextualMenuPresenter while we have a retain cycle 2019-05-21 02:12:14 +02:00
SBiOSoftWhare
3117c4322c Theme: Remove non needed reaction colors 2019-05-21 01:09:42 +02:00
SBiOSoftWhare
321811283a BubbleReactionsView: Use a UICollectionViewFlowLayout subclass with left alignement. 2019-05-21 00:43:10 +02:00
SBiOSoftWhare
d2cfe4891a RoomDataSource: Handle reactions display on bubble cell. 2019-05-20 21:59:18 +02:00
SBiOSoftWhare
75d7b26bfc RoomBubbleCellData: Improve reactions view vertical space calculation 2019-05-20 21:57:29 +02:00
SBiOSoftWhare
4ababf957e Create BubbleReactionsView 2019-05-20 21:54:23 +02:00
SBiOSoftWhare
2caf4e326f Create BubbleReactionsViewModel 2019-05-20 21:52:07 +02:00
SBiOSoftWhare
e5d8910a92 Create BubbleReactionViewCell 2019-05-20 21:51:24 +02:00
manuroe
aadac45de6 Reactions menu: Do not notify delegate if reaction requires an unreaction
Fix Steve's remark
2019-05-20 20:41:05 +02:00
manuroe
86808b16e2 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
d72f2eb762 Reactions: Remove the send reaction hack as it is now done in the SDK 2019-05-20 19:40:52 +02:00
manuroe
6866fe8e2c Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00