Skip to content

Commit 2e3c0d2

Browse files
authored
Merge branch '21.2.x' into ganastasov/fix-17212-21.2.x
2 parents e903b6f + 2e7ee65 commit 2e3c0d2

16 files changed

Lines changed: 153 additions & 35 deletions

File tree

.github/AGENTS-README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ The system also relies on repository-specific guidance and internal operational
408408
skills/igniteui-angular-components/SKILL.md
409409
skills/igniteui-angular-grids/SKILL.md
410410
skills/igniteui-angular-theming/SKILL.md
411+
skills/igniteui-angular-generate-from-image-design/SKILL.md
411412
.github/skills/igniteui-angular-build/SKILL.md
412413
.github/skills/igniteui-angular-testing/SKILL.md
413414
.github/skills/igniteui-angular-linting/SKILL.md
@@ -418,6 +419,7 @@ Repository-specific skills for implementation guidance:
418419
- `igniteui-angular-components` — shared guidance for general component patterns, structure, and repository conventions.
419420
- `igniteui-angular-grids` — shared guidance for grid architecture, patterns, and grid-specific implementation work.
420421
- `igniteui-angular-theming` — shared guidance for SCSS structure, theme wiring, and style-system conventions.
422+
- `igniteui-angular-generate-from-image-design` — shared guidance for turning screenshots and mockups into Angular views with Ignite UI components and theming workflow.
421423

422424
The internal operational skills are shared references for repository commands and validation flow:
423425

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ Domain-specific skills for AI-assisted development are located in the [`skills/`
121121
- [`skills/igniteui-angular-components`](../skills/igniteui-angular-components/SKILL.md) — UI Components (form controls, layout, data display, feedback/overlays, directives — Input Group, Combo, Select, Date/Time Pickers, Calendar, Tabs, Stepper, Accordion, List, Card, Dialog, Snackbar, Button, Ripple, Tooltip, Drag and Drop, Layout Manager, Dock Manager) and Charts (Area Chart, Bar Chart, Column Chart, Stock/Financial Chart, Pie Chart)
122122
- [`skills/igniteui-angular-grids`](../skills/igniteui-angular-grids/SKILL.md) — Data Grids (grid type selection, column config, sorting, filtering, selection, editing, grouping, paging, remote data, state persistence, Tree Grid, Hierarchical Grid, Grid Lite, Pivot Grid)
123123
- [`skills/igniteui-angular-theming`](../skills/igniteui-angular-theming/SKILL.md) — Theming & Styling (includes MCP server setup)
124+
- [`skills/igniteui-angular-generate-from-image-design`](../skills/igniteui-angular-generate-from-image-design/SKILL.md) — Generate Angular views from screenshots, mockups, and wireframes with Ignite UI components and theming guidance
124125
- [`.github/skills/igniteui-angular-build`](skills/igniteui-angular-build/SKILL.md) — Building the library (full build, `build:lib`, partial builds for styles, migrations, schematics, i18n, elements)
125126
- [`.github/skills/igniteui-angular-testing`](skills/igniteui-angular-testing/SKILL.md) — Testing (choosing the right test suite, grid vs non-grid, watch mode, schematics/styles/i18n tests)
126127
- [`.github/skills/igniteui-angular-linting`](skills/igniteui-angular-linting/SKILL.md) — Linting (ESLint + Stylelint, `lint:lib`, configuration files)

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ projects/
3939
igniteui-angular-i18n/ ← i18n package/resources
4040
igniteui-angular-performance/ ← performance-focused project
4141
scripts/ ← build, docs, packaging, and style scripts
42-
skills/ ← AI skill guides for components, grids, and theming
42+
skills/ ← AI skill guides for components, grids, theming, and image-to-app generation
4343
src/app/ ← demo application
4444
<component>/ ← existing demo/sample areas reused for user-visible changes
4545
CHANGELOG.md ← release notes
@@ -118,6 +118,7 @@ Domain-specific knowledge for AI assistants:
118118
| Components | [`skills/igniteui-angular-components/SKILL.md`](skills/igniteui-angular-components/SKILL.md) | Working on non-grid UI components, charts |
119119
| Grids | [`skills/igniteui-angular-grids/SKILL.md`](skills/igniteui-angular-grids/SKILL.md) | Working on grid, tree-grid, hierarchical-grid, pivot-grid |
120120
| Theming | [`skills/igniteui-angular-theming/SKILL.md`](skills/igniteui-angular-theming/SKILL.md) | Working on styles, themes, palettes |
121+
| Generate From Image Design | [`skills/igniteui-angular-generate-from-image-design/SKILL.md`](skills/igniteui-angular-generate-from-image-design/SKILL.md) | Building Angular views from screenshots, mockups, or wireframes with Ignite UI components |
121122
| Build | [`.github/skills/igniteui-angular-build/SKILL.md`](.github/skills/igniteui-angular-build/SKILL.md) | Building the library, producing dist output, compiling migrations/schematics |
122123
| Testing | [`.github/skills/igniteui-angular-testing/SKILL.md`](.github/skills/igniteui-angular-testing/SKILL.md) | Running test suites, choosing the right Karma config |
123124
| Linting | [`.github/skills/igniteui-angular-linting/SKILL.md`](.github/skills/igniteui-angular-linting/SKILL.md) | Running ESLint and Stylelint, fixing lint errors |

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ This repository ships with **Copilot Skills** — structured knowledge files tha
4949
| Components | [`skills/igniteui-angular-components/SKILL.md`](skills/igniteui-angular-components/SKILL.md) | UI Components (form controls, layout, data display, feedback/overlays, directives — Input Group, Combo, Select, Date/Time Pickers, Calendar, Tabs, Stepper, Accordion, List, Card, Dialog, Snackbar, Button, Ripple, Tooltip, Drag and Drop, Layout Manager, Dock Manager and Charts (Area Chart, Bar Chart, Column Chart, Stock/Financial Chart, Pie Chart)) |
5050
| Data Grids | [`skills/igniteui-angular-grids/SKILL.md`](skills/igniteui-angular-grids/SKILL.md) | Data Grids (grid type selection, column config, sorting, filtering, selection, editing, grouping, paging, remote data, state persistence, Tree Grid, Hierarchical Grid, Grid Lite, Pivot Grid) |
5151
| Theming & Styling | [`skills/igniteui-angular-theming/SKILL.md`](skills/igniteui-angular-theming/SKILL.md) | Theming & Styling (includes MCP server setup) |
52+
| Generate From Image Design | [`skills/igniteui-angular-generate-from-image-design/SKILL.md`](skills/igniteui-angular-generate-from-image-design/SKILL.md) | Build Angular views from screenshots, mockups, and wireframes using Ignite UI components, theming MCP tools, and image-to-layout/component mapping guidance |
5253

5354
#### How It Works
5455

projects/igniteui-angular/badge/src/badge/badge.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ export type IgxBadgeType = (typeof IgxBadgeType)[keyof typeof IgxBadgeType];
3232
*
3333
* @example
3434
* ```html
35-
* <igx-avatar>
36-
* <igx-badge icon="check" type="success"></igx-badge>
37-
* </igx-avatar>
35+
* <div class="avatar-badge-container">
36+
* <igx-avatar icon="person" shape="circle" size="small"></igx-avatar>
37+
* <igx-badge icon="check" type="success" shape="square"></igx-badge>
38+
* </div>
39+
* ```
3840
*/
3941
@Component({
4042
selector: 'igx-badge',

skills/igniteui-angular-components/SKILL.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,29 @@ user-invocable: true
66

77
# Ignite UI for Angular — UI Components
88

9+
## Prerequisites
10+
- Angular 20+ project
11+
- `@angular/cli` installed
12+
- `igniteui-angular` or `@infragistics/igniteui-angular` added to the project via `ng add igniteui-angular` (or the `@infragistics` variant) or `npm install` — see [Package Variants](#package-variants) below.
13+
- A theme applied to the application (see [`igniteui-angular-theming`](../igniteui-angular-theming/SKILL.md)).
14+
- `provideAnimations()` in `app.config.ts`**required before using any overlay or animated component**
15+
- The **Ignite UI CLI MCP server** (`igniteui-cli`) is available as a tool provider
16+
17+
> **AGENT INSTRUCTION — MCP Server Setup (REQUIRED)**
18+
>
19+
> Before using any Ignite UI CLI MCP tools, you MUST verify the MCP server is available
20+
> by calling `list_components`. If the tool is not available or the call fails,
21+
> you MUST automatically configure it by following the setup process steps described below.
22+
>
23+
> After writing the file, inform the user that the MCP server has been
24+
> configured and they may need to reload the editor for the tools to activate.
25+
> Start the MCP server and wait for that MCP server to start before continuing the component-related work.
26+
> Do NOT skip this step or ask the user to do it manually.
27+
28+
## Setting Up the Ignite UI CLI MCP Server
29+
30+
> **Full setup instructions for VS Code, Cursor, Claude Desktop, and JetBrains IDEs are in [`references/mcp-setup.md`](./references/mcp-setup.md).** Read that file for editor-specific configuration steps and verification.
31+
932
## MANDATORY AGENT PROTOCOL — YOU MUST FOLLOW THIS BEFORE PRODUCING ANY OUTPUT
1033

1134
**This file is a routing hub only. It contains NO code examples and NO API details.**
@@ -41,15 +64,6 @@ Base your code and explanation exclusively on what you read. If the reference fi
4164
4265
---
4366

44-
## Prerequisites
45-
46-
- Angular 20+ project
47-
- `@angular/cli` installed
48-
- `igniteui-angular` or `@infragistics/igniteui-angular` added to the project via `ng add igniteui-angular` (or the `@infragistics` variant) or `npm install` — see [Package Variants](#package-variants) below.
49-
- A theme applied to the application (see [`igniteui-angular-theming`](../igniteui-angular-theming/SKILL.md)).
50-
- `provideAnimations()` in `app.config.ts`**required before using any overlay or animated component**
51-
52-
5367
## Package Variants
5468

5569
| Package | Install | Who uses it |

skills/igniteui-angular-components/references/charts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
## Overview
1616

1717
Ignite UI for Angular Charts provides 65+ chart types for data visualization. Charts are packaged separately in `igniteui-angular-charts` (or `@infragistics/igniteui-angular-charts` for licensed users).
18+
This reference gives high-level guidance on when to use each chart type, their key features, and common API members. For detailed documentation, call `get_doc` and `get_api_reference` from `igniteui-cli` with the specific chart component or feature you're interested in.
1819

1920
### Chart Component packages
2021
- `igniteui-angular-charts` — Category Chart, Financial Chart, Data Chart, and Pie Chart components (NPM)

skills/igniteui-angular-components/references/data-display.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
- [Progress Indicators](#progress-indicators)
1717
- [Chat (AI Chat Component)](#chat-ai-chat-component)
1818

19+
## Overview
20+
This reference gives high-level guidance on when to use each data display component, their key features, and common API members. For detailed documentation, call `get_doc` and `get_api_reference` from `igniteui-cli` with the specific component or feature you're interested in.
21+
1922
## List
2023

2124
> **Docs:** [List Component](https://www.infragistics.com/products/ignite-ui-angular/angular/components/list)
@@ -133,9 +136,10 @@ import { IgxBadgeComponent } from 'igniteui-angular/badge';
133136

134137
```html
135138
<!-- Image avatar with badge overlay -->
136-
<igx-avatar [src]="user.photo" shape="circle" size="large">
137-
<igx-badge igxAvatarBadge [type]="'success'" [icon]="'check'"></igx-badge>
138-
</igx-avatar>
139+
<div class="avatar-badge-container">
140+
<igx-avatar [src]="user.photo" shape="circle" size="large"></igx-avatar>
141+
<igx-badge [type]="'success'" [icon]="'check'"></igx-badge>
142+
</div>
139143

140144
<!-- Initials avatar -->
141145
<igx-avatar initials="JD" shape="circle"></igx-avatar>
@@ -147,8 +151,23 @@ import { IgxBadgeComponent } from 'igniteui-angular/badge';
147151
<igx-badge [type]="'error'" [value]="unreadCount"></igx-badge>
148152
```
149153

154+
```scss
155+
// Required styles to position the badge as an overlay on the avatar
156+
.avatar-badge-container {
157+
position: relative;
158+
display: inline-flex;
159+
160+
igx-badge {
161+
position: absolute;
162+
bottom: 0;
163+
right: 0;
164+
transform: translate(25%, 25%);
165+
}
166+
}
167+
```
168+
150169
Avatar shapes: `'circle'`, `'rounded'`, `'square'`. Sizes: `'small'`, `'medium'`, `'large'`, or custom CSS.
151-
Badge types: `'default'`, `'info'`, `'success'`, `'warning'`, `'error'`.
170+
Badge types: `'primary'`, `'info'`, `'success'`, `'warning'`, `'error'`.
152171

153172
## Icon
154173

skills/igniteui-angular-components/references/directives.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
- [Tooltip](#tooltip)
1212
- [Drag and Drop](#drag-and-drop)
1313

14+
## Overview
15+
This reference gives high-level guidance on when to use each directive, their key features, and common API members. For detailed documentation, call `get_doc` and `get_api_reference` from `igniteui-cli` with the specific directive or feature you're interested in.
16+
1417
## Button & Icon Button
1518

1619
> **Docs:** [Button Component](https://www.infragistics.com/products/ignite-ui-angular/angular/components/button)

skills/igniteui-angular-components/references/feedback.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
- [Banner](#banner)
1414
- [Key Rules](#key-rules)
1515

16+
## Overview
17+
This reference gives high-level guidance on when to use each feedback and overlay component, their key features, and common API members. For detailed documentation, call `get_doc` and `get_api_reference` from `igniteui-cli` with the specific component or feature you're interested in.
18+
1619
## Dialog
1720

1821
> **Docs:** [Dialog Component](https://www.infragistics.com/products/ignite-ui-angular/angular/components/dialog)

0 commit comments

Comments
 (0)