Skip to content

Commit 3ad1a04

Browse files
rename actions and widgets entities
1 parent ac371b5 commit 3ad1a04

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

frontend/src/app/components/dashboard/db-table-actions/db-table-actions.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<mat-drawer-container class="drawer">
22
<mat-drawer mode="side" opened>
33
<div class="drawer-header">
4-
<h1 class="mat-h1">Rules</h1>
4+
<h1 class="mat-h1">Automations</h1>
55

66
<button mat-icon-button color="primary" *ngIf="rulesData && rules && rules.length !== 0"
77
type="button" class="add-icon-button"
@@ -12,7 +12,7 @@ <h1 class="mat-h1">Rules</h1>
1212
</button>
1313
</div>
1414
<div class="no-actions" *ngIf="rulesData && rules && rules.length === 0 && !newRule">
15-
<span>No added rules</span>
15+
<span>No added automations</span>
1616
</div>
1717
<mat-action-list *ngIf="rulesData && rules && rules.length">
1818
<button mat-list-item *ngFor="let rule of rules; let i = index"
@@ -196,7 +196,7 @@ <h1 class="mat-h1">Rules</h1>
196196
angulartics2On="click"
197197
angularticsAction="Actions: add first action is clicked"
198198
(click)="addNewRule()">
199-
Add first rule
199+
Create automation
200200
</button>
201201
<div class="rules-examples">
202202
<div class="rule-example">

frontend/src/app/components/dashboard/db-table-actions/db-table-actions.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class DbTableActionsComponent implements OnInit {
178178
link: `/dashboard/${this.connectionID}/${this.tableName}`
179179
},
180180
{
181-
label: 'Rules for actions',
181+
label: 'Automations',
182182
link: null
183183
}
184184
]

frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
(click)="addNewWidget()"
2020
[disabled]="fields.length === 0 || widgets.length === fieldsCount">
2121
<mat-icon>add</mat-icon>
22-
Add field UI config
22+
Add UI widget
2323
</button>
2424
</div>
2525

@@ -66,7 +66,7 @@
6666
angulartics2On="click"
6767
angularticsAction="Widgets: add first widget is clicked"
6868
(click)="addNewWidget()">
69-
Configure fields
69+
Create UI Widget
7070
</button>
7171

7272
<div class="widget-examples">

frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class DbTableWidgetsComponent implements OnInit {
217217
link: `/dashboard/${this.connectionID}/${this.tableName}`
218218
},
219219
{
220-
label: 'Fields display',
220+
label: 'UI Widgets',
221221
link: null
222222
}
223223
]

frontend/src/app/components/dashboard/db-table/db-table.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@ <h2 class="mat-h2 table-name">{{ displayName }}</h2>
144144
[ngClass]="{'action_active': tableData.widgetsCount}"
145145
angulartics2On="click"
146146
angularticsAction="Dashboard: widgets is clicked">
147-
Fields display
147+
UI Widgets
148148
</a>
149149
<a mat-menu-item *ngIf="tableData" [ngClass]="{ 'action-button_disabled': !tableData.keyAttributes?.length }"
150150
routerLink="/dashboard/{{connectionID}}/{{name}}/actions"
151151
[disabled]="!tableData.keyAttributes?.length"
152152
angulartics2On="click"
153153
angularticsAction="Dashboard: actions is clicked">
154-
Actions
154+
Automations
155155
<br />
156156
<span *ngIf="!tableData.keyAttributes?.length" class="mat-small">
157157
Primary keys are required.

0 commit comments

Comments
 (0)