Simplify UI for searching in the plugin and theme installers
|Reported by:||nacin||Owned by:||nacin|
Description (last modified by nacin)
Currently the theme and plugin installers provide not only a search box, but a dropdown for searching author, tag, and term. Term should really be keyword, but more to the point, we just shouldn't have this dropdown at all.
When using "term", the plugins info API will already do a weighted search that includes tags. And we already have a tag cloud that could be used to explicitly search by tags. Themes search isn't as clever (I don't think) but themes have a defined set of tags which are already available via the filter.
The last one, author, is particularly niche. We can support it in two ways: one, via a special search parameter, and two, by hijacking the "By Andrew Nacin" link to point to an in-dashboard author page for the user. (Not done here.)
Attached patch handles the plugin installer only. It introduces some new shortcuts for searching for a specific tag or author, via 'author:' and 'tag:'. It does not work translated yet, and should probably work with a space after the : as well.
This patch needs to be applied to 3.4, as the plugin info API will only return the author info we need for 3.4.
Change History (15)
- Summary changed from Simplify UI for searching for the plugin and theme installers to Simplify UI for searching in the plugin and theme installers