Skip to content

feat(composer): mention issues and pull requests with # - #1176

Merged
nixuuu merged 1 commit into
devfrom
feat/issue-tracker-integration
Nov 23, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/issue-tracker-integration

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 23, 2026

Copy link
Copy Markdown
Member

Change

Type # or choose + → Mention in the thread composer to search Canopy threads, Jira Cloud and Linear issues, GitHub issues and GitHub pull requests. Search by key, title or URL. In a GitHub workspace, #123 prioritizes the matching issue or pull request from that repository. A prompt can reference several results together.

The gateway searches connector accounts granted to the project or the No project scope and checks access again when submitting a mention. Agents receive the selected item's type, key, title, link and available status and description. Selecting a pull request leaves linking it to the thread as a separate action.

Verification

  • Passed 22 domain tests, 9 tracker adapter tests and 3 gateway integration tests. The integration tests exercised linked gateways, owner scoping, grant revocation and delivery to the worker.
  • Checked search, keyboard selection and sending in Chromium at 1152 and 390 px. Checked selecting and sending an issue, a pull request and a thread on an Android emulator.
  • Gateway, web and mobile typechecks and targeted lint passed. Regenerated the protobuf bindings.
  • Copy audit (§8) passed. Changed the thread-only menu action to Mention because it now searches three result groups. The picker labels each group and shows PR on pull request chips.
  • Runtime verification used simulated MCP or RPC responses. Live tracker accounts and iOS still need validation. Repository-wide checks run in CI.

@nixuuu
nixuuu enabled auto-merge (squash) November 23, 2026 20:15
@nixuuu
nixuuu merged commit 66ba73b into dev Nov 23, 2026
16 checks passed
@nixuuu
nixuuu deleted the feat/issue-tracker-integration branch November 23, 2026 20:25
nixuuu added a commit that referenced this pull request Nov 28, 2026
…1402)

A workspace with a GitHub App installation could show pull requests in
the PR panel while the new-thread composer found nothing for the same
repository. The composer only consulted project-granted MCP accounts.

The gateway now searches the GitHub account selected for the workspace
remote. A number such as `#1386` looks up the issue or pull request
directly, including closed and merged items. The picker also supports
text, links and recent open items. GitHub results share the existing
reference format, and sending the message checks current access to the
workspace repository. A GitHub MCP connector may still provide its own
results. When both return the same PR, the picker shows the repository
account's result once.

## Verification

- All 17 focused tests passed across the GitHub App, linked-computer
mentions and provider suites. They cover delivery to the worker, removal
of installation access, repository boundaries and duplicate results.
- Gateway and integration-test typechecks passed, along with edited-file
lint and formatting.
- On the new-thread page in Chromium, typing `#1386` and choosing the PR
inserted the expected chip at 1440 × 900 and 390 × 844 with fixture
responses at the HTTP boundary.
- Live GraphQL queries by number and title both found the merged
`#1386`.
- Repository-wide verification runs in CI.

## Copy audit

The empty state previously directed users only to Settings → Connectors.
It now points to both GitHub repository access and connector access.
Read failures and unavailable references give a next action. Reviewed
the changed English copy against §8 and verified wrapping at both
browser widths.

Fixes: #1176
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