Commit graph

5924 commits

Author SHA1 Message Date
ganfra
aa0520d47d Start reworking draft (simplify) 2020-10-06 10:13:14 +02:00
Benoit Marty
8d05ef703a
Merge pull request #2196 from vector-im/ons/filter_room_members
Add SearchView to filter room members
2020-10-06 10:08:56 +02:00
Benoit Marty
0a31cf2c44 ktlint 2020-10-05 16:21:25 +02:00
Benoit Marty
88dd6ae5da Rename some classes 2020-10-05 15:35:40 +02:00
Benoit Marty
cae7510a77 Show debug access only in developer mode 2020-10-05 15:25:14 +02:00
Benoit Marty
015678ca20 Fix issue on SignOutBottomSheet (Sign out action displayed by mistake)
Also improve code clarity by reordering lines and removing private method, which lead to bug (ex: duplicate action on `setupMegolmBackupButton` in `hideViews(setupMegolmBackupButton, setupMegolmBackupButton, signOutButton, exportManuallyButton)`)
2020-10-05 15:15:40 +02:00
Benoit Marty
85c8092e65 Add missing code to sign out when user click on the action 2020-10-05 14:58:07 +02:00
Benoit Marty
724c1132b6 Drawer: move settings access and add sign out action (#2171) 2020-10-05 14:51:21 +02:00
Benoit Marty
ae3c453f35 Add a menu item in the timeline as a shortcut to invite user (#2171) 2020-10-05 10:10:55 +02:00
Benoit Marty
6f2736566e Add a menu item to open the setting in room list and in room (#2171) 2020-10-05 10:00:00 +02:00
Benoit Marty
5fa281dd3a
Merge pull request #2206 from cloudrac3r/patch-1
Replace "him" with "them" in report interface
2020-10-04 11:29:23 +02:00
Benoit Marty
b203093073 Use an extra container for the margin to be taken into account by the layout_scrollFlags 2020-10-04 11:17:57 +02:00
Cadence Ember
1b3a5097c1
Replace "him" with "them" in report interface
All genders can spam a chatroom :)
2020-10-04 12:43:26 +13:00
Benoit Marty
8170f523e0 Small improvement 2020-10-02 23:29:48 +02:00
Benoit Marty
c0842d4da7 Also apply the filter to banned user screen 2020-10-02 23:20:28 +02:00
Benoit Marty
6147a87e46 Hide the SearchView when scrolling down 2020-10-02 23:06:59 +02:00
Benoit Marty
50f6a4732c Change hint 2020-10-02 22:21:13 +02:00
Benoit Marty
f5580212ea Also filter threePids 2020-10-02 22:16:13 +02:00
Benoit Marty
9df3de2afb Rename method 2020-10-02 21:50:01 +02:00
Benoit Marty
78ed184f60 Filter in the controller, to keep a live members list 2020-10-02 21:40:10 +02:00
Benoit Marty
85417eb24c Add SearchView to filter members.
Author: Onuray (I squashed 2 commits)
2020-10-02 21:12:52 +02:00
Benoit Marty
f030e098a8 Fix code quality and compilation test 2020-10-02 17:18:39 +02:00
Benoit Marty
c996bcb23c
Merge pull request #2130 from vector-im/feature/search_in_room
Search messages in a room
2020-10-02 17:00:52 +02:00
Benoit Marty
61a41493ac
Merge pull request #2202 from vector-im/feature/bma/shortcuts
Feature/bma/shortcuts
2020-10-02 10:38:16 +02:00
Benoit Marty
a2334c3fb0 Add missing leave icon in room profile 2020-10-01 18:38:27 +02:00
Benoit Marty
92e021a3d7 Create home shortcut for any room (#1525) 2020-10-01 18:38:09 +02:00
Benoit Marty
3705fa14bd Use sender data return from search result 2020-10-01 17:03:53 +02:00
Benoit Marty
4649b2ac1d Code review 2020-10-01 16:09:06 +02:00
Benoit Marty
ae346646e4 Cleanup 2020-10-01 15:05:42 +02:00
Onuray Sahin
6e81467808 If SearchActivity is in the stack, use it. 2020-10-01 14:50:29 +02:00
Onuray Sahin
08cc439306 Cancel previous search task before starting new one. 2020-10-01 14:50:29 +02:00
Onuray Sahin
0838cbaf03 UI fixes. 2020-10-01 14:50:29 +02:00
Onuray Sahin
d4a0659483 Init room in constructor. 2020-10-01 14:50:29 +02:00
Onuray Sahin
4dbeaeb465 Do not use hard wrapping. 2020-10-01 14:50:29 +02:00
Onuray Sahin
5d190a8137 Use loading item instead of full screen loading. 2020-10-01 14:50:29 +02:00
Onuray Sahin
0d16fe019e Do not use string provider in fragment. 2020-10-01 14:50:29 +02:00
Onuray Sahin
88ca909689 Remove roomId from SearchAction. 2020-10-01 14:50:29 +02:00
Onuray Sahin
da344fae51 One case per line. 2020-10-01 14:50:29 +02:00
Onuray Sahin
4683dc3f21 Documentation added to orderByRecent parameter of the search request. 2020-10-01 14:50:29 +02:00
Onuray Sahin
e21f306635 Use enum directly instead of its value. 2020-10-01 14:50:29 +02:00
Onuray Sahin
430a0d2492 Create separate search module. 2020-10-01 14:50:29 +02:00
Onuray Sahin
70be853acd Update no results found icon. 2020-10-01 14:50:29 +02:00
Onuray Sahin
0df3a8ad98 Changelog added. 2020-10-01 14:50:29 +02:00
Onuray Sahin
62449ee543 Support searching and pagination. 2020-10-01 14:48:55 +02:00
Onuray Sahin
5e56e7cf82 Implement search state, action and view events. 2020-10-01 14:48:55 +02:00
Onuray Sahin
6c6d0dbc3d Show not supported warning for e2e rooms. 2020-10-01 14:48:55 +02:00
Onuray Sahin
d6fcf63230 Implement search result controller and item. 2020-10-01 14:48:55 +02:00
Onuray Sahin
8759bcca84 Map api response to a domain object. 2020-10-01 14:48:55 +02:00
Onuray Sahin
86b46d1442 Configure SearchView as activity toolbar. 2020-10-01 14:48:55 +02:00
Onuray Sahin
f54504e871 Create search UI classes. 2020-10-01 14:48:55 +02:00