agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

[Feature]: Add command palette actions for PR and review workflows

Open DS123-ally opened this issue 4 months ago • 5 comments

Problem

The command palette currently includes:

  • Current session navigation
  • New task / new project
  • Open orchestrator
  • Project settings
  • Copy branch name for the current session
  • PR entries, but selecting a PR currently navigates to the session instead of opening/copying the PR directly

Proposed direction

Add command palette actions for PR and review workflows:

  • Open PR

    • Opens the selected PR URL externally.
    • Available for sessions with open PRs.
  • Copy PR URL

    • Copies the PR URL to clipboard.
    • Useful for sharing review links.
  • Trigger review / Re-run review

    • Starts a review for the current session or selected PR when eligible.
    • Should reuse the existing review trigger endpoint/UI behavior.
  • Keep or improve Copy branch name

    • This already exists for the current session.
    • Consider making it easier to discover with keywords like git, branch, copy.

Alternatives considered

Expected behavior

  • Users can press Ctrl+K / Cmd+K, type open pr, copy pr, or review, and run the action directly.
  • Disabled states explain why an action is unavailable, for example:
    • no open PR
    • review already running
    • session is not eligible for review

Suggested implementation notes

  • Extend CommandAction in frontend/src/renderer/lib/command-palette.ts.
  • Add command generation for PR/review actions in buildCommands.
  • Handle new action kinds in frontend/src/renderer/components/CommandPalette.tsx.
  • Reuse existing helpers:
    • aoBridge.clipboard.writeText
    • aoBridge.app.openExternal
    • existing review API endpoints/hooks where available

Validation

  • Add tests in frontend/src/renderer/lib/command-palette.test.ts.
  • Add action execution tests in frontend/src/renderer/components/CommandPalette.test.tsx.

Before submitting

  • [x] I searched existing issues / discussions for something similar
  • [ ] I am willing to help implement this if maintainers agree on scope

DS123-ally avatar Jul 24 '26 09:07 DS123-ally

Thanks for contributing to Agent Orchestrator.

This issue is being picked up by the current external contributor on-call pair:

  • @illegalcall
  • @pulkit7070

If someone is already working on this, please continue as usual. The on-call pair is added for visibility, tracking, and support, not to take over the work. If you need help with review, direction, reproduction, or next steps, please tag @illegalcall and @pulkit7070 here.

For faster context or live questions, you can also join the AO Discord.

Join the session here: https://discord.gg/H6ZDcUXmq

Come by if you want to see what is being built, ask questions, or just hang around with the community.

somewherelostt avatar Jul 24 '26 15:07 somewherelostt

I'm working on this feature

Kaushik2003 avatar Jul 24 '26 15:07 Kaushik2003

@Kaushik2003 still working on this ?

anmol0b avatar Jul 26 '26 20:07 anmol0b

i had started this one

anmol0b avatar Jul 26 '26 21:07 anmol0b

From the NotesBot call on 2026-07-27, this existing issue appears to be relevant. Match confidence: 0.94 (fuzzy).

Relevant discussion excerpts:

    • Workflow actions via Command Palette (“Command K”) to take actions on PRs/issues - Investigating a bug raised by Nikhil: review worker receiving “gibberish content” when reviewing from GitHub; aditi suspects current flow only uses SCM and doesn’t inject GitHub content; investigating source. - prateek [...]
    • Merge button in Kanban to merge PRs directly - Workflow actions via Command Palette (“Command K”) to take actions on PRs/issues - Investigating a bug raised by Nikhil: review worker receiving “gibberish content” when reviewing from GitHub; aditi suspects current flow only uses SCM and doesn’t inject [...]
    • Workflow actions via Command Palette (“Command K”) to take actions on PRs/issues - Investigating a bug raised by Nikhil: review worker receiving “gibberish content” when reviewing from GitHub; aditi suspects current flow only uses SCM and doesn’t inject GitHub content; investigating source.

Source thread: https://discord.com/channels/1476302178913357958/1531352924586774700/1531352924586774700

Generated by AO Bot based on the transcript from NotesBot.

OrcInc avatar Jul 27 '26 19:07 OrcInc