Files
flipper/desktop/plugin-lib/src
Arthur Lee 80feff1615 Fix search by passing query to search request (#2377)
Summary:
When publishing a new flipper plugin, I realized my plugin wasn't showing up in the Plugin Installer search. This was due to a bug where we are only grabbing 50 plugins from NPM and filtering through them locally, instead of passing the search term to the search query. There are 59 plugins that match the keyword filter on npm so 9 plugins never get surfaced.

## Changelog

Fix missing plugins in plugin manager's NPM search

Pull Request resolved: https://github.com/facebook/flipper/pull/2377

Test Plan:
Test the search feature in Plugin Manager

Search for the previously missing package:
![image](https://user-images.githubusercontent.com/1904616/119906244-b4daa580-bf02-11eb-8545-c8cf0663ae92.png)

Previously working searches continue to work:
![image](https://user-images.githubusercontent.com/1904616/119906274-c02dd100-bf02-11eb-938a-d84b27c6bd81.png)

Reviewed By: nikoant

Differential Revision: D28831054

Pulled By: passy

fbshipit-source-id: 84442459cd760c3f593b3df5bb3d89d51852e1c4
2021-06-02 05:47:54 -07:00
..