Create issues from dashboard: Project drop-down is slow to load
When I want to create another issue from the issue dashboard, I can use a drop-down to select which project the new issue should go to. Populating that drop-down with a list of relevant projects is really slow at the moment:
The drop-down uses this endpoint for me:
https://gitlab.com/api/v4/projects.json?search=&per_page=20&simple=true&membership=true&order_by=last_activity_at&with_issues_enabled=true
On the API endpoint, we use ProjectsFinder to find projects:
ProjectsFinder.new(current_user: current_user, params: project_finder_params).execute
with
project_finder_params = {:non_public=>true, :archived=>false, :search=>""}
From Grafana:
TODOs
- Can we use
user_interacted_projectshere?
Edited by Andreas Brandl



