badging / BadgingAPI

Server side development of the DEI Project Badging focusing on scripting, databases, back-end logic, & APIs
https://badging.chaoss.community
MIT License
1 stars 6 forks source link

Problems finding GitLab repositories using search #19

Closed dm-murphy closed 9 months ago

dm-murphy commented 9 months ago

Summary

This issues highlights some problem areas using the "Search for Project Repository" after logging in with GitLab on https://badging.chaoss.community/badge

Major problems

  1. No pagination - search is only returning first page of results and no pagination preventing full list of repositories from appearing
  2. No exact match prioritization - search does not have exact match prioritization preventing search for exact repository

Minor annoyances

  1. No repeat search - after entering in the search box the search cannot be used again and no results appear in the dropdown
  2. Spaces required between slashes - when searching for a path directory a space is required before and after slashes. (E.g. GitLab.org / gitlab works but GitLab.org/gitlab brings up nothing)

Source code links relevant for 1 & 2 above:

Notes

Per @zillemarco: "The list of repo is fetched right after the user logged id and an access token was retrieved. After the OAuth generated a token, it scans the repos with the token and returns that back to the frontend."