M4: Create flows (issue/PR/branch) + Add Comment#291
Draft
michaeljolley wants to merge 1 commit into
Draft
Conversation
Add create/write flows built on FormContent: - IGitHubCreateManager/GitHubCreateManager for Octokit REST creates (issue, pull request, branch) plus issue/PR comments - Adaptive-card forms + templates: CreateIssueForm, CreatePullRequestForm, CreateBranchForm, AddCommentForm - Reusable GitHubFormPage host wiring form events to a StatusMessage - Top-level Create Issue / Create Pull Request / Create Branch commands - Add Comment (deferred from M3) wired into issue/PR list and detail views through MutationCommandsFactory Repository/branch entry is text-input based (owner/repo, branch names) with required-field validation. Add resource strings and unit tests covering adaptive-card rendering and owner/repo parsing. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the CmdPal GitHub extension parity roadmap (stacked on M3, PR #290).
Summary
Adds create/write flows built on \FormContent, plus the Add Comment action deferred from M3.
Create manager
efs/heads/...), and add a comment to an issue/PR.
Forms, templates, and pages
Command surface
Design note
Repository and branch entry is text-input based (\owner/repo, branch names) rather than API-populated dropdowns. Dynamic pickers can be a later enhancement once a shared repo/branch lookup exists.
Tests
Localization
Added top-level command names/subtitles, form labels/placeholders/validation errors, action titles, and success/error toasts to \Resources.resw.