Skip to content

feat: support multi-term search queries #125

Closed

Description

@JounQin

#124 added search:issues / search:prs with a single query positional. The broker passes that one string to gh as one argv element, so a multi-term query such as is:issue label:bug is interpreted as a quoted phrase or rejected; negated qualifiers also cannot be typed through the client. Repo-scope security is complete (the broker injects --repo and rejects repo:/org:/user: qualifiers), but the search surface is limited to one term or one quoted phrase.

Proposed

  • Accept multiple search terms as separate argv elements while preserving quoted phrases.
  • Keep the repository-scope qualifier rejection for every term.
  • Decide the client surface (repeatable positional, --term, or an explicit tokenizer) and document it.
  • Tests: multi-term query, quoted phrase, grouped/negated repo qualifiers, and the resulting search semantics.

Refs #85, #124.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions