Proposal: Simplifying Repository Display in Microa...
# proj-agent-canvas
m
Proposal: Simplifying Repository Display in Microagent Management 🧵
Hi @wooden-umbrella-84098, @elegant-branch-54423, @breezy-kilobyte-39430, In our SaaS platform, we currently use the GitHub API endpoint /user/installations/{installation_id}/repositories to retrieve repositories. However, based on the GitHub API documentation, this endpoint does not support filtering by owner_type (e.g., user vs. organization repositories) or by repository_name (such as locating only .openhands repositories within GitHub organizations). As a result, the only way to differentiate user-level and organization-level microagent repositories is to fetch the complete repository list and then apply filtering on the client side. Unfortunately, this approach undermines the usefulness of pagination, which we currently support. To address this, I propose removing the separate tabs on the microagent management page. Instead, we can display user-level, organization-level, and other repositories together in a single list. Users would then rely on the search box to quickly locate the repositories they wish to work with. I’d appreciate your feedback on this suggestion. Thank you! thankyou
w
@millions-afternoon-47582 can we use the search API to look for repositories called ".openhands"?
❤️ 1
it wouldn't be an exact filter but it'd probably just return the right repos, and we can do a little client-side filtering to get rid of noise
❤️ 1
m
Yes, I’ll try that approach. However, our search API is currently not functioning as expected. Both the repository selection form (home page) and the microagent management page rely on this API. It looks like @freezing-spoon-14104 is already working on these issues, and I’ll follow up with him. Thank you! thankyou
f
I've had to punt on that issue due to other priorities at the time, feel free to take it on if you already have a clear strategy on how to address this
❤️ 1
thankyou 1
w
Getting repo search fixed is definitely a high priority at this point, thanks for jumping on it!
❤️ 1
thankyou 1
b
If your solution works, I think its good.
thankyou 1
❤️ 1