Skip to content

Commit

Permalink
fix: React add descriptions. Fix wrong descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
IvayloG committed Jan 24, 2018
1 parent c69e0b1 commit 0146b07
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 14 deletions.
2 changes: 1 addition & 1 deletion templates/angular/ig-ts/combo/combo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class ComboTemplate extends AngularTemplate {
super(__dirname);
this.id = "combo";
this.name = "combo";
this.description = "The is a combo template structure for Angular";
this.description = "Combo template structure for Angular";
this.projectType = "ig-ts";
this.components = ["Combo"];
this.dependencies = ["igCombo"];
Expand Down
2 changes: 1 addition & 1 deletion templates/angular/ig-ts/projects/empty/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ProjectConfig } from "./../../../../../lib/ProjectConfig";
class EmptyAngularProject implements ProjectTemplate {
public id: string = "angular";
public name = "empty";
public description = "The is the default empty project structure for angular";
public description = "Default empty project structure for angular";
public dependencies: string[] = [];
public framework: string = "angular";
public projectType: string = "ig-ts";
Expand Down
2 changes: 1 addition & 1 deletion templates/angular/igx-ts/projects/empty/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Util } from "../../../../../lib/Util";
class EmptyJsBlocksProject implements ProjectTemplate {
public id: string = "angular";
public name = "empty";
public description = "The is the default empty angular project structure for JsBlocks";
public description = "Default empty angular project structure for Ignite UI for Angular";
public dependencies: string[] = [];
public framework: string = "angular";
public projectType: string = "igx-ts";
Expand Down
2 changes: 1 addition & 1 deletion templates/jquery/js/projects/empty/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Util } from "../../../../../lib/Util";
class EmptyProject implements ProjectTemplate {
public id: string = "jquery";
public name: string = "jquery with Javascript";
public description: string = "The is the default empty project structure for jQuery";
public description: string = "Default empty project structure for jQuery";
public dependencies: string[];
public framework: string = "jquery";
public projectType: string = "js";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class $(ClassName) extends Component {
width="650px"
height="350px"
dataSource={this.state.view}
responseDataKey="lastFiveYears"
responseDataKey="lastFiveYears"
legend={{ element: "columnLegend" }}
title="Energy Production Per Country"
subtitle="The top five Total Primary Energy producers"
Expand Down
2 changes: 1 addition & 1 deletion templates/react/es6/combo/combo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ComboTemplate extends ReactTemplate {
this.id = "combo";
this.name = "combo";
this.widget = "igCombo";
this.description = "The is a combo template structure for React";
this.description = "Combo template structure for React";
this.projectType = "es6";
this.components = ["Combo"];
this.controlGroup = "Data Entry";
Expand Down
3 changes: 2 additions & 1 deletion templates/react/es6/grid/basic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GridTemplate extends ReactTemplate {
super(__dirname);
this.id = "grid";
this.name = "Grid";
this.description = "The is a grid template structure for React";
this.description = "Grid template structure for React";
this.projectType = "es6";
this.components = ["Grid"];
this.controlGroup = "Data Grids";
Expand Down Expand Up @@ -43,6 +43,7 @@ class GridTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(gridfeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
3 changes: 2 additions & 1 deletion templates/react/es6/grid/grid-custom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GridCustomTemplate extends ReactTemplate {
super(__dirname);
this.id = "grid-custom";
this.name = "Custom Grid";
this.description = "The is a custom grid template for React";
this.description = "Custom grid template for React";
this.projectType = "es6";
this.components = ["Grid"];
this.controlGroup = "Data Grids";
Expand Down Expand Up @@ -46,6 +46,7 @@ class GridCustomTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(gridfeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
3 changes: 2 additions & 1 deletion templates/react/es6/grid/grid-editing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GridEditingTemplate extends ReactTemplate {
super(__dirname);
this.id = "grid-editing";
this.name = "Grid Editing";
this.description = "This is a grid editing template for React";
this.description = "Grid editing template for React";
this.projectType = "es6";
this.components = ["Grid"];
this.controlGroup = "Data Grids";
Expand Down Expand Up @@ -44,6 +44,7 @@ class GridEditingTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(gridfeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
3 changes: 2 additions & 1 deletion templates/react/es6/grid/grid-export/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GridExportTemplate extends ReactTemplate {
super(__dirname);
this.id = "grid-export";
this.name = "Grid Exporting";
this.description = "The is a grid exporting template for React";
this.description = "Grid exporting template for React";
this.projectType = "es6";
this.components = ["Grid"];
this.controlGroup = "Data Grids";
Expand Down Expand Up @@ -43,6 +43,7 @@ class GridExportTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(gridfeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
4 changes: 2 additions & 2 deletions templates/react/es6/grid/grid-templating/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GridTemplatingTemplate extends ReactTemplate {
super(__dirname);
this.id = "grid-templating";
this.name = "Grid Templating";
this.description = "The is a grid with templating for React";
this.description = "Grid with templating for React";
this.projectType = "es6";
this.components = ["Grid"];
this.controlGroup = "Data Grids";
Expand Down Expand Up @@ -44,7 +44,7 @@ class GridTemplatingTemplate extends ReactTemplate {
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(gridfeatures)"] = features;
config["$(description)"] = "This is an igGrid with templating.";
config["$(description)"] = this.description;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
return Promise.resolve(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class HierarchicalGridCustomTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igHierarchicalGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(gridfeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class HierarchicalGridEditingTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igHierarchicalGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(gridfeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class HierarchicalGridExportTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igHierarchicalGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(gridfeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class HierarchicalGridTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igHierarchicalGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(gridfeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
2 changes: 1 addition & 1 deletion templates/react/es6/projects/empty/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class EmptyProject implements ProjectTemplate {
public _updateFile: string = "webpack.config.js";
public id: string = "react";
public name = "empty";
public description = "The is the default empty project structure for jQuery";
public description = "Default empty project structure for React";
public framework: string = "react";
public projectType: string = "jsx";
public dependencies: string[];
Expand Down
1 change: 1 addition & 0 deletions templates/react/es6/tree-grid/tree-grid-custom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class TreeGridCustomTemplate extends ReactTemplate {
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(treeGridFeatures)"] = features;
config["$(description)"] = this.description;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
return Promise.resolve(false);
Expand Down
1 change: 1 addition & 0 deletions templates/react/es6/tree-grid/tree-grid-editing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class TreeGridEditingTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igTreeGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(treeGridFeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down
3 changes: 2 additions & 1 deletion templates/react/es6/tree-grid/tree-grid-export/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TreeGridExportTemplate extends ReactTemplate {
super(__dirname);
this.id = "tree-grid-export";
this.name = "Tree Grid Exporting";
this.description = "The is a tree grid exporting template for React";
this.description = "Tree grid exporting template for React";
this.projectType = "es6";
this.components = ["Tree Grid"];
this.controlGroup = "Data Grids";
Expand Down Expand Up @@ -47,6 +47,7 @@ class TreeGridExportTemplate extends ReactTemplate {
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(treeGridFeatures)"] = features;
config["$(description)"] = this.description;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
return Promise.resolve(false);
Expand Down
1 change: 1 addition & 0 deletions templates/react/es6/tree-grid/tree-grid/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class TreeGridTemplate extends ReactTemplate {
config["$(Control)"] = this.className("igTreeGrid");
config["$(igniteImports)"] = this.getImports();
config["$(name)"] = name; // this name should not have restrictions
config["$(description)"] = this.description;
config["$(treeGridFeatures)"] = features;
// TODO: Refactor to base
if (!Util.validateTemplate(path.join(__dirname, "files"), projectPath, config, pathsConfig)) {
Expand Down

0 comments on commit 0146b07

Please sign in to comment.