-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add a new command available in the command palette to make sharing the current PR easier. The command should use a configurable message template stored in the app configuration, e.g.
share_pr_message = "Hey Team, could someone please review the PR [$PR_TITLE]($PR_URL)"Variables like $PR_TITLE and $PR_URL must be replaced by the actual PR title and URL.
Implementation Details
- The message template comes from a new config field called
share_pr_message(in TOML format). - The command should be accessible via the command palette.
- When triggered, the command will:
- Replace
$PR_TITLEand$PR_URLin the template string with the active PR's title and URL - Offer two UX options (choose best):
- Copy the result to the clipboard
- Or, display the formatted message in the status bar so the user can manually copy it
- Replace
Acceptance Criteria
- New config field implemented:
share_pr_message - Command added to command palette: "Share this PR"
- PR title/URL variables replaced in message
- Result copied to clipboard OR shown in status bar for copy
- Documentation updated for new feature
Labels
- enhancement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request