Commit Graph

5862 Commits

Author SHA1 Message Date
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
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
Onuray Sahin fc18a7b877 Add search action as the menu item inside the timeline 2020-10-01 14:48:55 +02:00
Onuray Sahin f1a979caa1 Make SearchTask accessible from room. 2020-10-01 14:48:55 +02:00
Onuray Sahin 7c954d220c Fix search request and response fields. 2020-10-01 14:48:55 +02:00
Onuray Sahin 8bff468c7c SearchService is added to the session. 2020-10-01 14:48:55 +02:00
Onuray Sahin c46f0a7430 Simple integration test implementation for searching messages in a room. 2020-10-01 14:48:55 +02:00
Onuray Sahin 2eb60213b4 Do not support searching in multiple rooms for now. 2020-10-01 14:48:55 +02:00
Onuray Sahin 05f48255a3 Move search service into session module. 2020-10-01 14:48:55 +02:00
Onuray Sahin d599cab017 SearchService implementation. 2020-10-01 14:48:55 +02:00
Onuray Sahin b521f36569 SearchTask implementation. 2020-10-01 14:48:55 +02:00
Onuray Sahin 051b431f1d Search api added to RoomAPI. 2020-10-01 14:48:55 +02:00
Onuray Sahin 04b41fce30 Data classes for the search response created. 2020-10-01 14:48:55 +02:00
Onuray Sahin 5fcabca87c Data classes for request body created. 2020-10-01 14:48:55 +02:00