Repository navigation
docs: Update AGENTS.md with theme stylesheet guidelines and component… - #527
Open
dkalinovInfra wants to merge 2 commits into
Open
dkalinovInfra wants to merge 2 commits into
dkalinovInfra wants to merge 2 commits into
Conversation
… usage instructions
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The new two-stylesheet grid guidance conflicts with the preceding instruction to add only one theme stylesheet.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Updates agent guidance for correct Ignite UI theming and button click handling.
Changes:
- Documents base, full-grid, and GridLite stylesheet requirements.
- Adds reliable API-reference fallbacks.
- Clarifies
@onclickusage for buttons.
| File | Description |
|---|---|
skills/AGENTS.md |
Expands theming, API lookup, and click-handling guidance. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - **Packages**: `IgniteUI.Blazor.Lite` for general-purpose components and `IgniteUI.Blazor.GridLite` for the lightweight grid (both MIT, NuGet.org); `IgniteUI.Blazor` — publicly available for evaluation as `IgniteUI.Blazor.Trial` — for feature-rich grids, charts, maps, gauges, and Dock Manager. If the project already references the full `IgniteUI.Blazor`, do not add Lite or GridLite unless the user explicitly chooses to switch package strategy. If no Ignite UI package is present, add the one that matches the chosen strategy. | ||
| - **Setup**: `builder.Services.AddIgniteUIBlazor()` in `Program.cs`, `@using IgniteUI.Blazor.Controls` in `_Imports.razor`, and one theme stylesheet in the host page. `IgniteUI.Blazor.Lite` loads its scripts itself (JS initializer); the full `IgniteUI.Blazor`/`.Trial` also needs `_content/IgniteUI.Blazor/app.bundle.js` before the Blazor script in Blazor Web Apps (so the library's client resources initialize correctly there) — never wrapped in `@Assets[...]`. | ||
| - **Do not write Ignite UI component, property, or event names from memory** — the Blazor API differs from the Angular, React, and Web Components products. Use the `skills/` reference files and the `igniteui-cli` MCP server. | ||
| - **Theme stylesheets**: |
…r Ignite UI components
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Updates the UI Components section of
skills/AGENTS.md:_content/IgniteUI.Blazor/themes/<variant>/<theme>.css.IgbGrid,IgbTreeGrid,IgbHierarchicalGrid,IgbPivotGrid) also need_content/IgniteUI.Blazor/themes/grid/<variant>/<theme>.css.IgbGridLiteis the only Ignite UI component. It shouldn't be linked next to other components.skills/files that may not be installed. It names the skills, says this file is meant to ship with them (with a link to the repo), and points to the official docs if neither is available.IgbButton/IgbIconButtonclicks with@onclick. There's noClick/OnClickevent parameter, andClickAsync()only triggers a click from code.Motivation / Context
These changes come from evaluating agents that had only
AGENTS.mdand no skills:Clickparameter onIgbButton.Type of Change (check all that apply):
Component(s) / Area(s) Affected:
skills/AGENTS.md(agent instructions): Theming, Grids, GridLite, ButtonHow Has This Been Tested?
Documentation-only change. The stylesheet paths match the existing
igniteui-blazor-gridsandigniteui-blazor-themingskill references. TheIgbButtonguidance was checked againstButtonBase.cs, which has no click event parameter.Test Configuration:
Screenshots / Recordings
N/A
Checklist:
README.MDCHANGELOG.MDupdates for newly added functionality