Skip to content

Commit d1c29c3

Browse files
authored
fix: improve copilot instructions and add description about setting (microsoft#35100)
1 parent 4c6c997 commit d1c29c3

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

.github/instructions/copilot.instructions.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,23 @@ This is a large Nx monorepo (Nx 20.8.1) with the following key characteristics:
1616

1717
## Project Structure
1818

19-
### Three Main Products
20-
2119
1. **Fluent UI v9** (`@fluentui/react-components`) - **PRIORITIZE FOR NEW WORK**
2220

2321
- Location: `packages/react-components/`
24-
- Status: Current stable version, actively developed
25-
- Used by: Microsoft 365
26-
- Architecture: Hook-based, Griffel build-time CSS-in-JS, slot system
27-
- Bundle: Tree-shakeable, atomic CSS classes
22+
- Features: Current stable version, actively developed. Tree-shakeable, atomic CSS classes
2823

2924
2. **Fluent UI v8** (`@fluentui/react`) - **MAINTENANCE ONLY**
3025

3126
- Location: `packages/react/`
32-
- Status: Maintenance mode (sunset July 2025)
27+
- Status: Maintenance mode
3328
- Features: Runtime styling, mature and stable
3429

3530
3. **Web Components** (`@fluentui/web-components`) - Framework-agnostic
3631
- Location: `packages/web-components/`
3732
- Used by: Microsoft Edge
3833
- Features: Platform-agnostic web standards
3934

40-
### Monorepo Structure
41-
42-
```
43-
packages/react-components/ # v9 components
44-
packages/react/ # v8 legacy components
45-
packages/tokens/ # Design tokens (shared)
46-
apps/public-docsite-v9/ # Main v9 documentation site
47-
tools/workspace-plugin/ # Custom Nx generators/executors
48-
scripts/ # Build utilities and tooling
49-
```
35+
More information about the projects and their status can be found through NX tags.
5036

5137
## Development Guidelines
5238

@@ -323,9 +309,8 @@ export const Component: ForwardRefComponent<ComponentProps> = React.forwardRef((
323309

324310
### Accessibility Standards
325311

326-
**WCAG 2.1 AA compliance required** for all interactive components:
312+
**WCAG 2.1 compliance required** for all interactive components:
327313

328-
- Use `@fluentui/a11y-testing` utilities in tests
329314
- Provide proper ARIA labels and roles
330315
- Support keyboard navigation patterns
331316
- Test with screen readers (NVDA, JAWS, VoiceOver)

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,6 @@
7777
"typescript.reportStyleChecksAsWarnings": false,
7878
"cSpell.words": ["beachball", "borderless", "fluentui", "griffel", "spinbutton", "tabster"],
7979
"nxConsole.generateAiAgentRules": true,
80+
// Maximum number of requests for the chat agent - Prevents AI agents from stopping mid-session
8081
"chat.agent.maxRequests": 999
8182
}

0 commit comments

Comments
 (0)