Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
issue/62-simple post search #10023
This PR adds the ability to search published and private sites on jetpack/wpcom sites.
The current implementation of Post List is pretty robust, and meant to work in a "fire and forget" kind of way, so I had to make a couple (maybe a lot) of minor changes to accommodate special behavior of Search list. I tried not to touch the core of PostListViewModel, so the changes are spread through a couple of helper classes and PostListFragment
Search button logic in the toolbar is mostly copied from Pages List, with a couple of minor changes.
Update release notes:
Jun 25, 2019
Beta tested this using WPAndroid alpha-177 (12.8 alpha) on Pixel 3 Android 9 and it looks great!
I did expect searching for drafts to work (before I read the PR which notes that only searching for published/private posts work so far) and wanted to note there is a request already open for that at #9183.