feat(templates): add item templates for Ignite UI Blazor components#226
Open
dkalinovInfra wants to merge 5 commits into
Open
feat(templates): add item templates for Ignite UI Blazor components#226dkalinovInfra wants to merge 5 commits into
dkalinovInfra wants to merge 5 commits into
Conversation
…er, Toast, Toggle Button, Tooltip, and Tree
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
Adds item templates for the individual Ignite UI for Blazor components to the
IgniteUI.Blazor.Templatespack, which previously shipped only theigb-blazorproject template. Users can now scaffold a ready-to-use component page either from the CLI (dotnet new <igb-component>) or from the Visual Studio Add New Item dialog.templates/item/**with 43 component templates, each with its.template.config(template.json+ide.host.json+icon.png)..razorpage with@pagerouting, a scoped.razor.css, and inlineIgniteUI.Blazor.Litesetup instructions in an@codecomment (package install,AddIgniteUIBlazor(),_Imports, theme link, render mode).Ignite UI for Blazor\<Group>with per-component icons (viaide.host.json).Supporting change: to host the item templates alongside the existing project template, the pack layout was reorganized — the project template moved from
content/igb-blazor/**totemplates/project/igb-blazor/**(pure file moves, no content changes), withIgniteUI.Blazor.Templates.csprojand the READMEs updated to the newtemplates/content root.Motivation / Context
The project template alone gets users a running app, but there is no first-class way to drop a working, conventionally-wired component sample into an existing page. These item templates give a fast, copy-paste-free starting point for each component — discoverable directly from the VS New Item UI (grouped under
Ignite UI for Blazor\<Group>), not just the CLI — and the generated code follows the bridge/render-mode conventions of the Lite package.Type of Change (check all that apply):
Component(s) / Area(s) Affected:
IgniteUI.Blazor.Templates— new item-template pack covering 43 components across all groups: Buttons & Actions, Inputs & Forms, Data (Grid), Charts (ApexCharts), Layout, Scheduling/Pickers, Navigation, Notifications, and Data Display. The existingigb-blazorproject template is moved (no functional change).How Has This Been Tested?
Installed the pack from source (
dotnet new install), scaffolded a Blazor Server app, then generated every item template into the app'sComponents/Pagesand wired each into the nav. The project builds clean (0 warnings, 0 errors) and the pages render and behave correctly at runtime. Verified VS Add New Item grouping/icons viaide.host.json.Test Configuration:
Screenshots / Recordings
Checklist:
README.MDCHANGELOG.MDupdates for newly added functionalityCloses #224