Skip to content

Add canvas app to code app migration plan prompt for GitHub Copilot - #361

Open
ari20089 wants to merge 1 commit into
pnp:mainfrom
ari20089:prompt/github-canvas-to-code-app-plan
Open

ari20089 wants to merge 1 commit into
pnp:mainfrom
ari20089:prompt/github-canvas-to-code-app-plan

Conversation

@ari20089

Copy link
Copy Markdown

Pull request

Description

New prompt sample for GitHub Copilot: Plan a canvas app to code app migration with GitHub Copilot.

An architect pastes a canvas app inventory (screens, data sources, Power Fx, flows, offline and mobile use) and Copilot returns a migration plan to a Power Apps code app. The prompt carries the code app facts as they stand in October 2026, checked against Microsoft Learn, so Copilot does not fill them in from memory: the Power Apps CLI and client library, per-user licensing and environment enablement, Learn's current limitations list, the canvas runtime features with no code app equivalent, the limits of native Dataverse access, the connector rules and the flow trigger requirement. Copilot asks up to three questions, then writes a fixed set of sections ending in a rebuild, keep or split recommendation.

Contribution type: prompt (samples/prompts).

Gallery impact

Adds samples/prompts/github-canvas-to-code-app-plan-prompt/ with README.md, assets/sample.json and assets/demo.png. No other gallery changes.

Validation

  • I kept this pull request focused on one sample or one logical change.
  • I tested the sample or documentation using the documented steps.
  • The README explains prerequisites, setup, usage, limitations, and best-effort support status.
  • The README ends with the correct sample-specific visitor tracker.
  • assets/sample.json is complete and matches the README and folder identity.
  • New samples include a local, sample-specific static PNG with meaningful alt text.
  • Dates, author attribution, source URL, download URL, and thumbnails are current.
  • I removed secrets, personal data, customer content, and tenant-specific values.
  • I ran the relevant repository validation and addressed its results.

node site/scripts/validate-readme-trackers.mjs and npm run build in site/ both pass.

Screenshots or output

assets/demo.png shows the prompt and a worked example in GitHub Copilot Chat in Visual Studio Code, with the extracted canvas app YAML in the editor. The example data is fictional.

This branch has not been deployed

No deployments
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