Skip to content

Conversation

@russrimm
Copy link
Contributor

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • My contribution adds a new instruction, prompt, agent, or skill file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, or skill with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.

Description


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New collection file.
  • New skill file.
  • Update to existing instruction, prompt, agent, collection or skill.
  • Other (please specify):

Additional Notes


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

…rove folder structure, and clarify PowerProvider implementation
Copilot AI review requested due to automatic review settings February 11, 2026 18:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Power Apps Code Apps instruction guide to reflect newer SDK guidance and reorganized project structure conventions for generated artifacts.

Changes:

  • Updates the referenced Power Platform SDK version and adjusts PowerProvider guidance (removing explicit SDK initialization in the example).
  • Refines recommended project structure by moving generated services/ and models/ under src/generated/.
  • Updates limitations/troubleshooting text and performs whitespace/formatting cleanup in examples.

Comment on lines +163 to 169
- PowerProvider implementation pattern (no SDK initialization required in v1.0):
```typescript
import { initialize } from "@microsoft/power-apps/app";
import { useEffect, type ReactNode } from "react";
import type { ReactNode } from "react";

export default function PowerProvider({ children }: { children: ReactNode }) {
useEffect(() => {
const initApp = async () => {
try {
await initialize();
console.log('Power Platform SDK initialized successfully');
} catch (error) {
console.error('Failed to initialize Power Platform SDK:', error);
}
};
initApp();
}, []);
return <>{children}</>;
}
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PowerProvider example is described as a “context wrapper”, but the sample implementation is only a fragment passthrough and provides no context/value. Either update the example to demonstrate the intended provider/context responsibilities (or where SDK setup occurs), or adjust the wording so readers don’t assume this component sets up Power Platform context.

Copilot uses AI. Check for mistakes.
- No Dataverse solutions support
- No native Azure Application Insights integration
- Dataverse solutions supported, but solution packager and source code integration are limited
- Application Insights supported through SDK logger configuration (no built-in native integration)
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These updated “Known Limitations” entries (Dataverse solutions + Application Insights support) now diverge from the limitations listed in agents/power-platform-expert.agent.md (which still says “no native Application Insights”). To avoid confusing users who install the whole collection, please reconcile the limitations wording across the related agent/prompt/instructions or add a pointer to the authoritative source/version these statements apply to.

Suggested change
- Application Insights supported through SDK logger configuration (no built-in native integration)
- Application Insights has no native built-in integration; only limited, non-native wiring via SDK logger configuration is possible (see `agents/power-platform-expert.agent.md` for canonical limitations)

Copilot uses AI. Check for mistakes.
- **Power Apps Code Apps**: Code-first web app development with Power Platform integration
- **TypeScript + React**: Recommended frontend stack with Vite bundler
- **Power Platform SDK**: @microsoft/power-apps (current version ^0.3.1) for connector integration
- **Power Platform SDK**: @microsoft/power-apps (current version ^1.0.3) for connector integration
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This instruction now states the Power Apps SDK “current version” is @microsoft/power-apps ^1.0.3, but other Power Apps Code Apps assets in this repo still reference ^0.3.1 (e.g., prompts/power-apps-code-app-scaffold.prompt.md and agents/power-platform-expert.agent.md). This creates conflicting guidance within the same collection—please align the version (and any associated guidance) across the related prompt/agent or avoid calling a specific version “current” here.

Suggested change
- **Power Platform SDK**: @microsoft/power-apps (current version ^1.0.3) for connector integration
- **Power Platform SDK**: @microsoft/power-apps for connector integration

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

@russrimm russrimm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updates

@russrimm russrimm changed the title Main Power Apps Code Apps updates Feb 11, 2026
@aaronpowell aaronpowell closed this pull request by merging all changes into github:main in 77a979d Feb 11, 2026
@aaronpowell
Copy link
Contributor

Just making sure that this wasn't closed by accident - are the changes covered in #701 too?

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.

2 participants