Skip to content

M1: Repositories (read) - Search & My Latest Repositories#288

Draft
michaeljolley wants to merge 2 commits into
mainfrom
mjolley/cmdpal-github-extension-plan
Draft

M1: Repositories (read) - Search & My Latest Repositories#288
michaeljolley wants to merge 2 commits into
mainfrom
mjolley/cmdpal-github-extension-plan

Conversation

@michaeljolley

Copy link
Copy Markdown

Milestone 1 - Repositories (read)

First milestone toward RayCast GitHub extension feature parity. Adds repository read surfaces to the Command Palette GitHub extension.

Delivered

  • Search Repositories - RepositoriesSearchPage renders repo search results (Open in browser, Copy URL, Copy clone URL). New SearchType.Repositories factory case, cache + data-requester accessors, repo icon.
  • My Latest Repositories - repository-specific Octokit request builder (GetSearchRepositoriesRequest) that parses sort: qualifiers into RepoSearchSort and strips the internal type: classification hint (GitHub's repository search API rejects type:). Added as a default top-level command (user:{login} sort:updated-desc).

Deferred (documented in roadmap)

  • My Starred Repositories - does not fit the search-string model (starred repos come from the Activity API, not a search query). Cleanest resume path recorded in plan: a dedicated SearchType.StarredRepositories with an explicit-type path. Held back because it bends several switch statements and the Activity call cannot be validated live without a token.

Verification

  • Built x64 Debug.
  • Full test suite: 163/163 passing (adds coverage for the new request/parse helpers and the repositories search page).

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

michaeljolley and others added 2 commits July 8, 2026 15:44
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant