Search within projects nav dropdown is slow
Overview
Search functionality of Projects dropdown is comparatively slower to yield results than global searchbox which is shown on main navigation.
Description
This could be due to Project dropdown using simple=false
search API request made to /api/v4/projects.json
. Reason for using that query param is to include avatar_url
in API response, but along with avatar URL, response include other additional information as well which leads to slower query performance.
Proposal
Add avatar_url
in response of /api/v4/projects.json
even when simple=true
is provided.
Edited by Douwe Maan