Skip to content

Commit f4bdd76

Browse files
authored
Merge pull request #221 from IgniteUI/dtsvetkov/fix-samples-attributes
fix(angular): add lob, crm attributes to samples
2 parents 26a6653 + d51d403 commit f4bdd76

12 files changed

Lines changed: 22 additions & 38 deletions

File tree

docs/angular/src/content/en/components/general/angular-grid-overview-guide.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ license: commercial
66
---
77

88
import { Image } from 'astro:assets';
9+
import Sample from 'igniteui-astro-components/components/mdx/Sample.astro';
910
import themingwidget1 from '../../images/general/ThemingWidget1.gif';
1011
import scrolling from '../../images/general/scrolling.gif';
1112

@@ -243,9 +244,8 @@ $my-color-palette: palette(
243244

244245
Since Ignite UI for Angular bases its component designs on the [Material Design Principles](https://material.io/guidelines/material-design/introduction.html "Introduction to Material Design"), we try to get as close as possible to colors, sizes, typography, and the overall look and feel of our components to those created by Google. Example:
245246

246-
<div class="sample-container loading" style="height: 477px">
247-
<iframe id="list-sample-4-iframe" src='{environment:crmDemoBaseUrl}/' width="100%" height="100%" seamless="" frameborder="0" onload="onSampleIframeContentLoaded(this);"></iframe>
248-
</div>
247+
248+
<Sample crm src="" height={477} alt="Angular CRM demo example" iframeOnly fullscreenBtn />
249249
<p style="margin: 0;padding-top: 0.5rem">Like this sample? Get access to our complete Angular toolkit and start building your own apps in minutes. <a class="no-external-icon mchNoDecorate trackCTA" target="_blank" href="https://www.infragistics.com/products/ignite-ui-angular/download" data-xd-ga-action="Download" data-xd-ga-label="Ignite UI for Angular">Download it for free.</a></p>
250250

251251
<hr/>
@@ -262,9 +262,7 @@ We want to also to mention our samples browser Theming widget. Now, you can chan
262262

263263
The Ignite Angular UI toolset also includes [data analysis capabilities](/general/data-analysis). We strive to give you all of the business capabilities you will need to deliver great experiences to your customers. So, we now provide directives that will give you a more Excel-like experience. For example, by selecting a portion of data you are now able to click a button and perform a quick data analysis on that subset of your data.
264264

265-
<div class="sample-container loading" style="height: 750px;">
266-
<iframe id="grid-dynamic-chart" frameborder="0" seamless="" width="100%" height="100%" data-src="{environment:lobDemosBaseUrl}/grid-dynamic-chart-data/data-analysis" class="lazyload no-theming"></iframe>
267-
</div>
265+
<Sample src="/grid-dynamic-chart-data/data-analysis" height={750} lob iframeOnly fullscreenBtn />
268266

269267
## Tools for Code Generation and Design
270268

docs/angular/src/content/en/components/general/how-to/signal-r-service-live-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ It's like a handshake, the Client and Server agree on what to use and they use i
4343

4444
The purpose of this demo is to showcase a financial screen board with a Real-time data stream using [ASP.NET Core SignalR](https://dotnet.microsoft.com/apps/aspnet/signalr).
4545

46-
<Sample src="/grid-finjs-dock-manager/grid-finjs-dock-manager" height={700} alt="Angular Live-data Update Example with a service" />
46+
<Sample src="/grid-finjs-dock-manager/grid-finjs-dock-manager" height={700} alt="Angular Live-data Update Example with a service" lob />
4747

4848
## SignalR Server Configuration
4949

docs/angular/src/content/en/components/pivotGrid/pivot-grid-custom.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public pivotConfigHierarchy: IPivotConfiguration = {
2121
```
2222

2323
The following example show how to handle scenarios, where the data is already aggregated and how its structure should look like:
24-
<Sample lob src="/pivot-grid/pivot-grid-noop" height={530} alt="Angular Pivot Grid Custom Predefined Aggregations Example" />
24+
<Sample src="/pivot-grid/pivot-grid-noop" height={530} alt="Angular Pivot Grid Custom Predefined Aggregations Example" />
2525

2626
Users have the ability to achieve certain scenarios by feeding the pivot grid with already aggregated data.
2727
There are some requirements on how the data should look like and some specifics regarding hierarchies in the pivot view. For example, to declare hierarchy in `rows` dimension:

docs/angular/src/content/en/components/pivotGrid/pivot-grid-features.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Some features do not have meaningful behavior in the context of a pivot table an
2727

2828
The Pivot Grid component has additional features and functionalities related to its dimensions as described below.
2929

30-
<Sample lob src="/pivot-grid/pivot-grid-features" height={870} alt="Angular Pivot Grid with Pivot Selector Example" />
30+
<Sample src="/pivot-grid/pivot-grid-features" height={870} alt="Angular Pivot Grid with Pivot Selector Example" />
3131

3232
## Dimensions filtering
3333

@@ -188,7 +188,7 @@ public pivotUI: IPivotUISettings = { rowLayout: PivotRowLayoutType.Horizontal, h
188188
The row summary related options - `horizontalSummary` and `horizontalSummariesPosition` are applicable only for the `Horizontal` layout mode.
189189
</DocsAside>
190190

191-
<Sample lob src="/pivot-grid/pivot-grid-layout" height={870} alt="Angular Pivot Grid with Horizontal Row Dimensions Layout" />
191+
<Sample src="/pivot-grid/pivot-grid-layout" height={870} alt="Angular Pivot Grid with Horizontal Row Dimensions Layout" />
192192

193193
## Interactions
194194

docs/angular/src/content/en/components/pivotGrid/pivot-grid.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The rows and columns represent distinct data groups, and the data cell values re
2626

2727
The following is an Angular Pivot Grid example in combination with the Angular Pivot Data Selector Component. This way you can have more flexible runtime configuration options.
2828

29-
<Sample lob src="/pivot-grid/pivot-grid-datasource" height={870} alt="Angular Pivot Grid with Pivot Selector Example" />
29+
<Sample src="/pivot-grid/pivot-grid-datasource" height={870} alt="Angular Pivot Grid with Pivot Selector Example" />
3030

3131
## Getting started with Ignite UI for Angular Pivot Grid
3232

@@ -304,7 +304,7 @@ public data = [
304304
305305
Resulting in the following view, which groups the Product Categories unique columns, Sellers Names in unique rows and displays the related aggregations for the number of units in the related cells:
306306
307-
<Sample lob src="/pivot-grid/pivot-grid-basic" height={530} alt="Angular Pivot Grid Basic Example" />
307+
<Sample src="/pivot-grid/pivot-grid-basic" height={530} alt="Angular Pivot Grid Basic Example" />
308308
309309
And if you want to streamline the entire app development process, you can try out our [WYSIWYG App Builder™](https://www.infragistics.com/products/appbuilder) for your next Angular app.
310310

docs/angular/src/content/en/grids_templates/live-data.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The sample below demonstrates the {ComponentTitle} performance when all records
3434
Feed the same data into the [Line Chart](/charts/types/line-chart) to experience the powerful charting capabilities of Ignite UI for Angular. The `Chart` button will show `Category Prices per Region` data for the selected rows and the `Chart` column button will show the same for the current row.
3535
<ComponentBlock for="Grid">
3636

37-
<Sample src="/grid-finjs/grid-finjs-sample?theme-switch=false" height={700} alt="Angular Live-data Update Example" />
37+
<Sample src="/grid-finjs/grid-finjs-sample?theme-switch=false" height={700} alt="Angular Live-data Update Example" lob />
3838

3939
## Data binding and updates
4040

@@ -80,7 +80,7 @@ Updating the view works the same way for columns with a default template and for
8080
The purpose of this demo is to showcase a financial screen board with Real-time data stream using a [SignalR](https://dotnet.microsoft.com/apps/aspnet/signalr) hub back-end.
8181
As you can see the igxGrid component handles with ease the high-frequency updates from the server. The code for the ASP.NET Core application using SignalR could be found in this [public GitHub repository](https://github.com/IgniteUI/finjs-web-api).
8282
83-
<Sample src="/grid-finjs-dock-manager/grid-finjs-dock-manager" height={700} alt="Angular Live-data Update Example with a service" />
83+
<Sample src="/grid-finjs-dock-manager/grid-finjs-dock-manager" height={700} alt="Angular Live-data Update Example with a service" lob />
8484
8585
### Start the hub connection
8686

docs/angular/src/content/en/grids_templates/virtualization.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,6 @@ _license: commercial
2828
_canonicalLink: grid/virtualization
2929
---
3030

31-
</ComponentBlock>
32-
<ComponentBlock for="HierarchicalGrid">
33-
34-
---
35-
36-
title: Angular Grid Virtualization and Performance - Ignite UI for Angular
37-
_description: The Ignite UI for Angular Virtualization directive is the core mechanic behind the speed & performance of the grid when handling large data sets. Try for free!
38-
_keywords: angular data grid, grid performance, data table virtualization, ignite ui for angular
39-
_canonicalLink: grid/virtualization
40-
---
41-
4231
</ComponentBlock>
4332

4433
import Sample from 'igniteui-astro-components/components/mdx/Sample.astro';

docs/angular/src/content/jp/components/general/angular-grid-overview-guide.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ _language: ja
77
---
88

99
import { Image } from 'astro:assets';
10+
import Sample from 'igniteui-astro-components/components/mdx/Sample.astro';
1011
import themingwidget1 from '../../images/general/ThemingWidget1.gif';
1112
import scrolling from '../../images/general/scrolling.gif';
1213

@@ -242,9 +243,7 @@ $my-color-palette: palette(
242243

243244
Ignite UI for Angular はコンポーネントのデザインを[マテリアル デザイン原則](https://material.io/guidelines/material-design/introduction.html "マテリアル デザインの概要")に基づき、Google によって作成されたコンポーネントの色、サイズ、タイポグラフィ、およびルックアンドフィールにできるだけ近づけるようデザインしています。例:
244245

245-
<div class="sample-container loading" style="height: 477px">
246-
<iframe id="list-sample-4-iframe" src='{environment:crmDemoBaseUrl}/' width="100%" height="100%" seamless="" frameborder="0" onload="onSampleIframeContentLoaded(this);"></iframe>
247-
</div>
246+
<Sample crm src="" height={477} alt="Angular CRM デモの例" iframeOnly />
248247
<p style="margin: 0;padding-top: 0.5rem">Like this sample? Get access to our complete Angular toolkit and start building your own apps in minutes. <a class="no-external-icon mchNoDecorate trackCTA" target="_blank" href="https://www.infragistics.com/products/ignite-ui-angular/download" data-xd-ga-action="Download" data-xd-ga-label="Ignite UI for Angular">Download it for free.</a></p>
249248

250249
<hr/>
@@ -261,9 +260,7 @@ Ignite UI for Angular はコンポーネントのデザインを[マテリアル
261260

262261
Ignite Angular UI ツールセットには[データ分析機能](data-analysis.md)も含まれています。優れたエクスペリエンスを顧客に提供するために必要なすべてのビジネス機能を提供します。そのため、Excel に類似したエクスペリエンスを提供するディレクティブを提供します。たとえば、データの一部を選択することにより、ボタンをクリックし、データのサブセットですばやくデータ分析を実行できるようになりました。
263262

264-
<div class="sample-container loading" style="height: 750px;">
265-
<iframe id="grid-dynamic-chart" frameborder="0" seamless="" width="100%" height="100%" data-src="{environment:lobDemosBaseUrl}/grid-dynamic-chart-data/data-analysis" class="lazyload no-theming"></iframe>
266-
</div>
263+
<Sample src="/grid-dynamic-chart-data/data-analysis" height={750} lob iframeOnly fullscreenBtn />
267264

268265
## コード生成とデザインのためのツール
269266

docs/angular/src/content/jp/components/general/how-to/signal-r-service-live-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ It's like a handshake, the Client and Server agree on what to use and they use i
4747

4848
このデモの目的は、[ASP.NET Core SignalR](https://dotnet.microsoft.com/apps/aspnet/signalr) を使用してリアルタイム データ ストリームを表示する財務用スクリーン ボードを紹介することです。
4949

50-
<Sample src="/grid-finjs-dock-manager/grid-finjs-dock-manager" height={700} alt="サービスを使用した Angular ライブデータ更新の例" />
50+
<Sample src="/grid-finjs-dock-manager/grid-finjs-dock-manager" height={700} alt="サービスを使用した Angular ライブデータ更新の例" lob />
5151

5252
## SignalR サーバーの構成
5353

docs/angular/src/content/jp/components/pivotgrid/pivot-grid-features.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import Sample from 'igniteui-astro-components/components/mdx/Sample.astro';
2828

2929
ピボット グリッド コンポーネントには、以下で説明するように、そのディメンションに関連する追加の機能があります。
3030

31-
<Sample lob src="/pivot-grid/pivot-grid-features" height={870} alt="Angular ピボット セレクターを備えたピボット グリッドの例" />
31+
<Sample src="/pivot-grid/pivot-grid-features" height={870} alt="Angular ピボット セレクターを備えたピボット グリッドの例" />
3232

3333
## ディメンション フィルタリング
3434

@@ -188,7 +188,7 @@ public pivotUI: IPivotUISettings = { rowLayout: PivotRowLayoutType.Horizontal, h
188188
行集計関連のオプション (`horizontalSummary` および `horizontalSummariesPosition`) は、`Horizontal` レイアウト モードにのみ適用されます。
189189
</DocsAside>
190190

191-
<Sample lob src="/pivot-grid/pivot-grid-layout" height={870} alt="水平行ディメンション レイアウトの Angular ピボット グリッド" />
191+
<Sample src="/pivot-grid/pivot-grid-layout" height={870} alt="水平行ディメンション レイアウトの Angular ピボット グリッド" />
192192

193193
## インタラクション
194194

0 commit comments

Comments
 (0)