Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev-v5] Add GitHup Copilot Chat custom instructions #3206

Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
3cb9e1d
Add section in MigrationGeneral.md
AClerbois Jan 18, 2025
c81e187
And how to add instructions
AClerbois Jan 18, 2025
5ec23a1
Add instructions for enabling custom instructions in Visual Studio an…
AClerbois Jan 18, 2025
ef234de
Add base file and include the first step with FluentButton
AClerbois Jan 18, 2025
5125c0a
Update CopilotInstructionsContent.md to reflect property renaming for…
AClerbois Jan 18, 2025
3d10531
Update CopilotInstructionsContent.md to include changes for FluentLab…
AClerbois Jan 18, 2025
a40bf6b
Update CopilotInstructionsContent.md to document migration steps for …
AClerbois Jan 18, 2025
543e55a
Fix typo and inject the file into the right markdown container
AClerbois Jan 18, 2025
5dde3d6
Changed base on the improvement request by @dvoituron
AClerbois Jan 18, 2025
9ce43ce
Change the file name to follow the current convention
AClerbois Jan 18, 2025
ebfc299
Update CopilotInstructionsContent.md to add usage instructions for cu…
AClerbois Jan 18, 2025
e53bfef
Fix grammatical error in CopilotInstructionsContent.md for clarity
AClerbois Jan 18, 2025
5e62c46
Refactor Copilot instructions in documentation for clarity and consis…
AClerbois Jan 18, 2025
69fddbe
Remove outdated Copilot migration instructions and update documentati…
AClerbois Jan 21, 2025
030308e
Update Copilot instructions and remove outdated file references for F…
AClerbois Jan 21, 2025
86a25ba
Remove outdated Copilot instructions from project file
AClerbois Jan 21, 2025
ecdb10b
Update Copilot instructions for clarity and consistency in migration …
AClerbois Jan 21, 2025
0776c4a
Update Copilot instructions for FluentGridItem and FluentLabel compon…
AClerbois Jan 21, 2025
b0d29e8
Update Copilot instructions for FluentButton property value changes
AClerbois Jan 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add base file and include the first step with FluentButton
AClerbois committed Jan 18, 2025
commit ef234dea9a093cfa86e023a15a6423c48a23ae2a
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
title: GitHub Copilot custom instructions
route: /Migration/gh-copilot-custom-instructions
hidden: true
---


# GitHub Copilot Custom Instructions for FluentUI Blazor Migration

The following content contains specialized instructions for GitHub Copilot to assist in migrating components to FluentUI Blazor. These instructions help Copilot understand our:

- Component architecture
- Code conventions
- Namespace organization
- Migration patterns
- TypeScript integration

## How to Use

Copy the content below and paste it into your GitHub Copilot custom instructions settings to enable context-aware assistance during migration tasks.

## Custom instructions' content

```
You are an agent who help wonderful blazor developer to migrate the Microsoft.FluentUI Blazor in version V3 and V4 to the V5.

You have access to a list of all manual migration that a developper must do to migration to the new version and this is cover by component section.

# Component FluentButton.

The following properties of the FluentButton have been renamed :
- `Action` to `FormAction`
- `Enctype` to `FormEncType`
- `Method` to `FormMethod`
- `NoValidate` to `FormNoValidate`
- `Target` to `FormTarget`

Special attention about the Appareance property.
This is only valid for FluentButton.
The name stay the same but the type has changed as following :

`Appearance.Neutral` to `ButtonAppearance.Default`
`Appearance.Accent` to `ButtonAppearance.Primary`
`Appearance.Lightweight` to `ButtonAppearance.Transparent`
`Appearance.Outline` to `ButtonAppearance.Outline`
`Appearance.Stealth` to `ButtonAppearance.Default`
`Appearance.Filled` to `ButtonAppearance.Default`

Warn about the use of `CurrentValue` property,

> The `CurrentValue` property has been removed. Use `Value` instead.

```