Repository navigation
feat(deck): add close, reopen, convert-to-draft and copy link to the row menu - #48
Conversation
…row menu Right-clicking a PR offered the triage verbs but none of GitHub's own PR lifecycle actions. The row menu now also carries Close PR (confirmed, write-gated, destructive role), Reopen PR for a closed-unmerged PR, Convert to Draft as the inverse of Mark Ready, Copy Link, and Open on GitHub when the open target is Linear. Postponed rows get the same menu with Resume in place of Later, and Done rows get open/copy plus Reopen. New GraphQL mutations: closePullRequest, reopenPullRequest, convertPullRequestToDraft, routed through WriteAction/performAction with the same telemetry and failure alert as the existing write actions. Co-authored-by: dash0-dev[bot] <257284812+dash0-dev[bot]@users.noreply.github.com>
… actions Co-authored-by: dash0-dev[bot] <257284812+dash0-dev[bot]@users.noreply.github.com>
✅ No issues foundNo code changes since 7ab9359. The PR body was edited to list the in-app copy changes, which clears the last description warning; both earlier threads stay resolved and CI is green. Progress: open review threads 1 → 1 → 0 → 0 across the last 4 reviews Review details
Found Quality — produced 0 → posted inline 0 · cleared 0 · carried forward 0 · deferred 0 · below-bar 0 Run incremental · 0 lines in delta · tier deep · depth checkout Nothing to report — standards (skipped), optimality (skipped), measurability (skipped), severity, reach diagram (impact graph found no consumer or importer), 0 files skipped.
|
…vacy and settings surfaces Addresses the pr-reviewer bot's comment: #48 (comment) Refs: #48 Co-authored-by: dash0-dev[bot] <257284812+dash0-dev[bot]@users.noreply.github.com>
…draft PRs Addresses the pr-reviewer bot's comment: #48 (comment) Refs: #48 Co-authored-by: dash0-dev[bot] <257284812+dash0-dev[bot]@users.noreply.github.com>
…bled alert Addresses the pr-reviewer bot's advisory finding in its review report: #48 (comment) Refs: #48 Co-authored-by: dash0-dev[bot] <257284812+dash0-dev[bot]@users.noreply.github.com>
|
Darkplane auto-approval is enabled for this repository (mode: Auto-approve). Trigger an evaluation for this pull request when it is ready: |
Summary
Right-clicking a PR offered every triage verb but none of GitHub's own PR actions — there was no way to close a PR from Mainline. The row menu now carries the standard PR actions too, and Postponed and Done rows (which had no right-click menu at all) get one.
Changes
closePullRequestmutation. Write-gated, NSAlert confirm ("Close … without merging?"), destructive role, set apart at the bottom of the menu. No keyboard binding on purpose.reopenPullRequestmutation, shown instead of Close for a closed-but-unmerged PR (a pinned one in the deck, or one in Done). Confirmed like Close.convertPullRequestToDraftmutation, shown on open non-draft PRs as the inverse of Mark Ready. Mirrors Mark Ready: write-gated, fires immediately, plain toast.Groupso no builder keeps growing.WriteAction→PRManager.performActionwith the same telemetry (write.action=convert_to_draft/close/reopen), failure alert, and post-action refresh as Approve/Merge. A closed PR drops out of the open set and lands in Done on that refresh; a reopened one returns.mainline.write_actionscounter description name all seven actions.docs/actions.md,docs/keyboard.md(row menu layout),docs/settings.md,docs/telemetry.md, README, CLAUDE.md (Write actions section + architecture tree).Context
.newPRtransition, same as any PR that returns to the search results.