M1: Repositories (read) - Search & My Latest Repositories#288
Draft
michaeljolley wants to merge 2 commits into
Draft
M1: Repositories (read) - Search & My Latest Repositories#288michaeljolley wants to merge 2 commits into
michaeljolley wants to merge 2 commits into
Conversation
Render repository-type saved searches with a dedicated RepositoriesSearchPage instead of falling through to the combined issues/PR page. Adds an IRepository control interface implemented by the Repository data object, a repositories accessor through the cache/data-requester layers (reusing the existing SearchRepository cache path), factory wiring, a repo icon, and unit tests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Introduce a repository-specific search request builder that parses sort:
qualifiers into RepoSearchSort and strips the internal type: classification
hint (which GitHub's repository search API does not accept). Wire it into the
repository search fetch and add a My Latest Repositories default top-level
command (user:{login} sort:updated-desc). Includes unit tests for the new
parsing/request helpers.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Milestone 1 - Repositories (read)
First milestone toward RayCast GitHub extension feature parity. Adds repository read surfaces to the Command Palette GitHub extension.
Delivered
RepositoriesSearchPagerenders repo search results (Open in browser, Copy URL, Copy clone URL). NewSearchType.Repositoriesfactory case, cache + data-requester accessors, repo icon.GetSearchRepositoriesRequest) that parsessort:qualifiers intoRepoSearchSortand strips the internaltype:classification hint (GitHub's repository search API rejectstype:). Added as a default top-level command (user:{login} sort:updated-desc).Deferred (documented in roadmap)
SearchType.StarredRepositorieswith an explicit-type path. Held back because it bends several switch statements and the Activity call cannot be validated live without a token.Verification
This is the first PR in a stacked series - subsequent milestones (M2 Notifications, M3 Write actions, ...) will each branch from the previous milestone and target it.
Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com