Skip to content

Commit a24c5b6

Browse files
fix(admin): immediate replaced with debounce filter
All occurrences of immediate filter were replaced with debounce filter.
1 parent 9ea9b8e commit a24c5b6

File tree

65 files changed

+130
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+130
-172
lines changed

apps/admin-gui/src/app/admin/pages/admin-page/admin-attributes/admin-attributes.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ <h1 class="page-subtitle">{{'ADMIN.ATTRIBUTES.TITLE' | translate}}</h1>
2828
mat-flat-button>
2929
{{'ADMIN.ATTRIBUTES.DELETE' | translate}}
3030
</button>
31-
<perun-web-apps-immediate-filter
31+
<perun-web-apps-debounce-filter
3232
(filter)="applyFilter($event)"
33-
[placeholder]="'ADMIN.ATTRIBUTES.SEARCH'"></perun-web-apps-immediate-filter>
33+
[placeholder]="'ADMIN.ATTRIBUTES.SEARCH'"></perun-web-apps-debounce-filter>
3434
<ng-template #spinner>
3535
<perun-web-apps-loading-table></perun-web-apps-loading-table>
3636
</ng-template>

apps/admin-gui/src/app/admin/pages/admin-page/admin-consent-hubs/admin-consent-hubs.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ <h1 class="page-subtitle">{{'ADMIN.CONSENT_HUBS.TITLE' | translate}}</h1>
1717
{{'ADMIN.CONSENT_HUBS.EVALUATE_CONSENTS' | translate}}
1818
</button>
1919
</span>
20-
<perun-web-apps-immediate-filter
20+
<perun-web-apps-debounce-filter
2121
[placeholder]="'ADMIN.CONSENT_HUBS.SEARCH'"
2222
(filter)="applyFilter($event)">
23-
</perun-web-apps-immediate-filter>
23+
</perun-web-apps-debounce-filter>
2424

2525
<ng-template #spinner>
2626
<perun-web-apps-loading-table></perun-web-apps-loading-table>

apps/admin-gui/src/app/admin/pages/admin-page/admin-ext-sources/admin-ext-sources.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ <h1 class="page-subtitle">{{'ADMIN.EXT_SOURCES.TITLE' | translate}}</h1>
44
<button (click)="loadConfigExtSources()" class="me-2" mat-stroked-button>
55
{{'ADMIN.EXT_SOURCES.LOAD' | translate}}
66
</button>
7-
<perun-web-apps-immediate-filter
7+
<perun-web-apps-debounce-filter
88
(filter)="applyFilter($event)"
9-
[placeholder]="'ADMIN.EXT_SOURCES.SEARCH'"></perun-web-apps-immediate-filter>
9+
[placeholder]="'ADMIN.EXT_SOURCES.SEARCH'"></perun-web-apps-debounce-filter>
1010
<ng-template #spinner>
1111
<perun-web-apps-loading-table></perun-web-apps-loading-table>
1212
</ng-template>

apps/admin-gui/src/app/admin/pages/admin-page/admin-owners/admin-owners.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ <h1 class="page-subtitle">{{'ADMIN.OWNERS.TITLE' | translate}}</h1>
2020
{{'ADMIN.OWNERS.DELETE' | translate}}
2121
</button>
2222

23-
<perun-web-apps-immediate-filter
23+
<perun-web-apps-debounce-filter
2424
(filter)="applyFilter($event)"
25-
[placeholder]="'ADMIN.OWNERS.FILTER'"></perun-web-apps-immediate-filter>
25+
[placeholder]="'ADMIN.OWNERS.FILTER'"></perun-web-apps-debounce-filter>
2626
<ng-template #spinner>
2727
<perun-web-apps-loading-table></perun-web-apps-loading-table>
2828
</ng-template>

apps/admin-gui/src/app/admin/pages/admin-page/admin-services/admin-services.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ <h1 class="page-subtitle">{{'ADMIN.SERVICES.TITLE' | translate}}</h1>
2020
mat-flat-button>
2121
{{'ADMIN.SERVICES.DELETE' | translate}}
2222
</button>
23-
<perun-web-apps-immediate-filter
23+
<perun-web-apps-debounce-filter
2424
(filter)="applyFilter($event)"
2525
[placeholder]="'ADMIN.SERVICES.FILTER'">
26-
</perun-web-apps-immediate-filter>
26+
</perun-web-apps-debounce-filter>
2727
<ng-template #spinner>
2828
<perun-web-apps-loading-table></perun-web-apps-loading-table>
2929
</ng-template>

apps/admin-gui/src/app/admin/pages/admin-page/admin-services/service-detail-page/service-destinations/service-destinations.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ <h1 class="page-subtitle">{{ 'SERVICE_DETAIL.DESTINATIONS.TITLE' | translate}}</
2828
mat-flat-button>
2929
{{ 'SERVICE_DETAIL.DESTINATIONS.BLOCK' | translate}}
3030
</button>
31-
<perun-web-apps-immediate-filter
31+
<perun-web-apps-debounce-filter
3232
(filter)="applyFilter($event)"
3333
[placeholder]="'SERVICE_DETAIL.DESTINATIONS.FILTER'">
34-
</perun-web-apps-immediate-filter>
34+
</perun-web-apps-debounce-filter>
3535
<ng-template #spinner>
3636
<perun-web-apps-loading-table></perun-web-apps-loading-table>
3737
</ng-template>

apps/admin-gui/src/app/admin/pages/admin-page/admin-services/service-detail-page/service-required-attributes/service-required-attributes.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ <h1 class="page-subtitle">{{ 'SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE' | transl
1818
mat-flat-button>
1919
{{ 'SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE' | translate}}
2020
</button>
21-
<perun-web-apps-immediate-filter
21+
<perun-web-apps-debounce-filter
2222
(filter)="applyFilter($event)"
2323
[placeholder]="'SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER'">
24-
</perun-web-apps-immediate-filter>
24+
</perun-web-apps-debounce-filter>
2525
<ng-template #spinner>
2626
<perun-web-apps-loading-table></perun-web-apps-loading-table>
2727
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-configuration-page/facility-configuration-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ <h1 class="page-subtitle">{{'FACILITY_CONFIGURATION.SERVICES' | translate}}</h1>
2525
{{'FACILITY_CONFIGURATION.SERVICES_INFO' | translate}}
2626
</perun-web-apps-alert>
2727
<div class="filters">
28-
<perun-web-apps-immediate-filter
28+
<perun-web-apps-debounce-filter
2929
[placeholder]="'FACILITY_CONFIGURATION.SERVICES_FILTER'"
3030
(filter)="applyFilter($event)"
3131
class="filter">
32-
</perun-web-apps-immediate-filter>
32+
</perun-web-apps-debounce-filter>
3333
<perun-web-apps-service-package-search-select
3434
(packageSelected)="packagesSelected($event)"
3535
[disableAutoSelect]="true"

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-allowed-groups/facility-allowed-groups.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ <h1 class="page-subtitle">{{'MENU_ITEMS.FACILITY.ALLOWED_GROUPS' | translate}}</
1010
</mat-option>
1111
</mat-select>
1212
</mat-form-field>
13-
<perun-web-apps-immediate-filter
13+
<perun-web-apps-debounce-filter
1414
(filter)="applyFilter($event)"
1515
[placeholder]="'FACILITY_DETAIL.ALLOWED_GROUPS.FILTER'">
16-
</perun-web-apps-immediate-filter>
16+
</perun-web-apps-debounce-filter>
1717
<ng-template #spinner>
1818
<perun-web-apps-loading-table></perun-web-apps-loading-table>
1919
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-hosts/facility-hosts.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ <h1 class="page-subtitle">{{'FACILITY_DETAIL.HOSTS.TITLE' | translate}}</h1>
1818
mat-flat-button>
1919
{{'FACILITY_DETAIL.HOSTS.REMOVE' | translate}}
2020
</button>
21-
<perun-web-apps-immediate-filter
21+
<perun-web-apps-debounce-filter
2222
(filter)="applyFilter($event)"
23-
[placeholder]="'FACILITY_DETAIL.HOSTS.FILTER'"></perun-web-apps-immediate-filter>
23+
[placeholder]="'FACILITY_DETAIL.HOSTS.FILTER'"></perun-web-apps-debounce-filter>
2424
<ng-template #spinner>
2525
<perun-web-apps-loading-table></perun-web-apps-loading-table>
2626
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-resources/facility-resources.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ <h1 class="page-subtitle">{{'FACILITY_DETAIL.RESOURCES.TITLE' | translate}}</h1>
2727
[service]="selectedService"
2828
class="search-select me-2">
2929
</perun-web-apps-service-search-select>
30-
<perun-web-apps-immediate-filter
30+
<perun-web-apps-debounce-filter
3131
[placeholder]="'SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH'"
3232
(filter)="applyFilter($event)"
3333
class="filter-field">
34-
</perun-web-apps-immediate-filter>
34+
</perun-web-apps-debounce-filter>
3535
</div>
3636
<ng-template #spinner>
3737
<perun-web-apps-loading-table></perun-web-apps-loading-table>

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-security-teams/facility-security-teams.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ <h1 class="page-subtitle">{{'FACILITY_DETAIL.SECURITY_TEAMS.TITLE' | translate}}
1717
<!-- [disabled]="selected.selected.length === 0" (click)="removeSecurityTeam()">-->
1818
<!-- {{'FACILITY_DETAIL.SECURITY_TEAMS.REMOVE'| translate}}-->
1919
<!-- </button>-->
20-
<perun-web-apps-immediate-filter
20+
<perun-web-apps-debounce-filter
2121
(filter)="applyFilter($event)"
22-
[placeholder]="'FACILITY_DETAIL.SECURITY_TEAMS.FILTER'"></perun-web-apps-immediate-filter>
22+
[placeholder]="'FACILITY_DETAIL.SECURITY_TEAMS.FILTER'"></perun-web-apps-debounce-filter>
2323
<ng-template #spinner>
2424
<perun-web-apps-loading-table></perun-web-apps-loading-table>
2525
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-service-status/facility-service-status.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ <h1 class="page-subtitle">{{'FACILITY_DETAIL.SERVICES_STATUS.TITLE' | translate}
4747
{{'FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY' | translate}}
4848
</button>
4949
</mat-menu>
50-
<perun-web-apps-immediate-filter
50+
<perun-web-apps-debounce-filter
5151
(filter)="applyFilter($event)"
52-
[placeholder]="'SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH'"></perun-web-apps-immediate-filter>
52+
[placeholder]="'SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH'"></perun-web-apps-debounce-filter>
5353
<ng-template #spinner>
5454
<perun-web-apps-loading-table></perun-web-apps-loading-table>
5555
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-service-status/facility-task-results/facility-task-results.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ <h1 class="page-subtitle">
1212
mat-flat-button>
1313
{{'FACILITY_DETAIL.TASK_RESULTS.REMOVE' | translate}}
1414
</button>
15-
<perun-web-apps-immediate-filter
15+
<perun-web-apps-debounce-filter
1616
(filter)="applyFilter($event)"
17-
[placeholder]="'FACILITY_DETAIL.TASK_RESULTS.FILTER'"></perun-web-apps-immediate-filter>
17+
[placeholder]="'FACILITY_DETAIL.TASK_RESULTS.FILTER'"></perun-web-apps-debounce-filter>
1818
<ng-template #spinner>
1919
<perun-web-apps-loading-table></perun-web-apps-loading-table>
2020
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-services-destinations/facility-services-destinations.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ <h1 class="page-subtitle">{{title | translate}}</h1>
3939
<mat-icon> block </mat-icon>
4040
{{'FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK' | translate}}
4141
</button>
42-
<perun-web-apps-immediate-filter
42+
<perun-web-apps-debounce-filter
4343
(filter)="applyFilter($event)"
44-
[placeholder]="'FACILITY_DETAIL.SERVICES_DESTINATIONS.FILTER'"></perun-web-apps-immediate-filter>
44+
[placeholder]="'FACILITY_DETAIL.SERVICES_DESTINATIONS.FILTER'"></perun-web-apps-debounce-filter>
4545
<ng-template #spinner>
4646
<perun-web-apps-loading-table></perun-web-apps-loading-table>
4747
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-settings/facility-settings-blacklist/facility-settings-blacklist.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div>
22
<h1 class="page-subtitle">{{'FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE' | translate}}</h1>
33
<perun-web-apps-refresh-button (refresh)="refreshTable()"></perun-web-apps-refresh-button>
4-
<perun-web-apps-immediate-filter
4+
<perun-web-apps-debounce-filter
55
(filter)="applyFilter($event)"
6-
[placeholder]="'FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER' | translate"></perun-web-apps-immediate-filter>
6+
[placeholder]="'FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER' | translate"></perun-web-apps-debounce-filter>
77
<ng-template #spinner>
88
<perun-web-apps-loading-table></perun-web-apps-loading-table>
99
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-detail-page/facility-settings/facility-settings-owners/facility-settings-owners.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ <h1 class="page-subtitle">{{'FACILITY_DETAIL.SETTINGS.OWNERS.TITLE' | translate}
1717
mat-flat-button>
1818
{{'FACILITY_DETAIL.SETTINGS.OWNERS.DELETE' | translate}}
1919
</button>
20-
<perun-web-apps-immediate-filter
20+
<perun-web-apps-debounce-filter
2121
(filter)="applyFilter($event)"
22-
[placeholder]="'VO_MANAGEMENT.FILTER_PLACEHOLDER'"></perun-web-apps-immediate-filter>
22+
[placeholder]="'VO_MANAGEMENT.FILTER_PLACEHOLDER'"></perun-web-apps-debounce-filter>
2323
<ng-template #spinner>
2424
<perun-web-apps-loading-table></perun-web-apps-loading-table>
2525
</ng-template>

apps/admin-gui/src/app/facilities/pages/facility-select-page/facility-select-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ <h1 class="page-title d-flex">
3434
{{'FACILITY_MANAGEMENT.DELETE' | translate}}
3535
</button>
3636
</span>
37-
<perun-web-apps-immediate-filter
37+
<perun-web-apps-debounce-filter
3838
[autoFocus]="true"
3939
(filter)="applyFilter($event)"
4040
[placeholder]="'FACILITY_MANAGEMENT.FILTER_PLACEHOLDER'">
41-
</perun-web-apps-immediate-filter>
41+
</perun-web-apps-debounce-filter>
4242
<ng-template #spinner>
4343
<perun-web-apps-loading-table></perun-web-apps-loading-table>
4444
</ng-template>

apps/admin-gui/src/app/facilities/pages/resource-detail-page/resource-assigned-services/resource-assigned-services.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ <h1 class="page-subtitle">{{'RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE' | translat
1717
mat-flat-button>
1818
{{'RESOURCE_DETAIL.ASSIGNED_SERVICES.REMOVE_SERVICE' | translate}}
1919
</button>
20-
<perun-web-apps-immediate-filter
20+
<perun-web-apps-debounce-filter
2121
(filter)="applyFilter($event)"
2222
[placeholder]="'RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES'">
23-
</perun-web-apps-immediate-filter>
23+
</perun-web-apps-debounce-filter>
2424
<ng-template #spinner>
2525
<perun-web-apps-loading-table></perun-web-apps-loading-table>
2626
</ng-template>

apps/admin-gui/src/app/facilities/pages/resource-detail-page/resource-tags/resource-tags.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ <h1 class="page-subtitle">{{'RESOURCE_DETAIL.TAGS.TITLE' | translate}}</h1>
2727
mat-flat-button>
2828
{{'RESOURCE_DETAIL.TAGS.REMOVE_BUTTON' | translate}}
2929
</button>
30-
<perun-web-apps-immediate-filter
30+
<perun-web-apps-debounce-filter
3131
(filter)="applyFilter($event)"
3232
[placeholder]="'RESOURCE_DETAIL.TAGS.SEARCH'">
33-
</perun-web-apps-immediate-filter>
33+
</perun-web-apps-debounce-filter>
3434

3535
<ng-template #spinner>
3636
<perun-web-apps-loading-table></perun-web-apps-loading-table>

apps/admin-gui/src/app/shared/components/dialogs/add-ext-source-dialog/add-ext-source-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div class="{{theme}}">
22
<div mat-dialog-title>
33
<h1 class="page-subtitle">{{'DIALOGS.ADD_EXT_SOURCES.TITLE' | translate}}</h1>
4-
<perun-web-apps-immediate-filter
4+
<perun-web-apps-debounce-filter
55
(filter)="applyFilter($event)"
66
[placeholder]="'DIALOGS.ADD_EXT_SOURCES.FILTER'"
7-
class="font-size-1rem"></perun-web-apps-immediate-filter>
7+
class="font-size-1rem"></perun-web-apps-debounce-filter>
88
</div>
99
<div mat-dialog-content>
1010
<ng-template #spinner>

apps/admin-gui/src/app/shared/components/dialogs/add-facility-owner-dialog/add-facility-owner-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<h1 mat-dialog-title>{{'DIALOGS.ADD_OWNERS.TITLE' | translate}}</h1>
77

88
<div>
9-
<perun-web-apps-immediate-filter
9+
<perun-web-apps-debounce-filter
1010
(filter)="applyFilter($event)"
1111
[placeholder]="'DIALOGS.ADD_OWNERS.FILTER'"
12-
class="font-size-1rem"></perun-web-apps-immediate-filter>
12+
class="font-size-1rem"></perun-web-apps-debounce-filter>
1313

1414
<div mat-dialog-content>
1515
<perun-web-apps-owners-list

apps/admin-gui/src/app/shared/components/dialogs/add-group-hierarchical-include-dialog/add-group-hierarchical-include-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ <h1 mat-dialog-title>
66
<perun-web-apps-alert alert_type="info">
77
{{'DIALOGS.ADD_GROUPS_HIERARCHICAL_INCLUSION.INFO' | translate : {parentVo: parentVo.name} }}
88
</perun-web-apps-alert>
9-
<perun-web-apps-immediate-filter
9+
<perun-web-apps-debounce-filter
1010
[placeholder]="'DIALOGS.ADD_GROUPS_HIERARCHICAL_INCLUSION.SEARCH'"
1111
(filter)="applyFilter($event)">
12-
</perun-web-apps-immediate-filter>
12+
</perun-web-apps-debounce-filter>
1313
<div class="position-relative">
1414
<perun-web-apps-groups-list
1515
*perunWebAppsLoader="loading; indicator: spinner"

apps/admin-gui/src/app/shared/components/dialogs/add-member-group-dialog/add-member-group-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<div *perunWebAppsLoader="loading; indicator: spinner">
66
<h1 mat-dialog-title>{{'DIALOGS.ADD_MEMBER_GROUP.TITLE' | translate}}</h1>
77
<div class="dialog-container" mat-dialog-content>
8-
<perun-web-apps-immediate-filter
8+
<perun-web-apps-debounce-filter
99
(filter)="applyFilter($event)"
1010
[placeholder]="'DIALOGS.ADD_MEMBER_GROUP.FILTER'">
11-
</perun-web-apps-immediate-filter>
11+
</perun-web-apps-debounce-filter>
1212
<perun-web-apps-groups-list
1313
[disableGroups]="true"
1414
[disableMembers]="true"

apps/admin-gui/src/app/shared/components/dialogs/add-required-attributes-dialog/add-required-attributes-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ <h1 mat-dialog-title>{{'DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE' | translate}}</h1
1010
[alert_type]="'warn'"
1111
>{{'DIALOGS.ADD_REQUIRED_ATTRIBUTES.ACTIVE_WARN' | translate}}</perun-web-apps-alert
1212
>
13-
<perun-web-apps-immediate-filter
13+
<perun-web-apps-debounce-filter
1414
(filter)="applyFilter($event)"
1515
[placeholder]="'DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER'">
16-
</perun-web-apps-immediate-filter>
16+
</perun-web-apps-debounce-filter>
1717
<app-attr-def-list
1818
[selection]="selection"
1919
[definitions]="attrDefinitions"

apps/admin-gui/src/app/shared/components/dialogs/add-role-dialog/add-role-dialog.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from '@perun-web-apps/perun/openapi';
1515
import { SelectionModel } from '@angular/cdk/collections';
1616
import { ToEnrichedFacilityPipe } from '@perun-web-apps/perun/pipes';
17-
import { ImmediateFilterComponent } from '@perun-web-apps/perun/components';
17+
import { DebounceFilterComponent } from '@perun-web-apps/perun/components';
1818

1919
export interface AddRoleDialogData {
2020
entityId: number;
@@ -38,8 +38,8 @@ export class AddRoleDialogComponent implements OnInit {
3838
@Input() theme: string;
3939
@Output() submitForm = new EventEmitter<AddRoleForm>();
4040

41-
@ViewChild(ImmediateFilterComponent)
42-
filterComponent: ImmediateFilterComponent;
41+
@ViewChild(DebounceFilterComponent)
42+
filterComponent: DebounceFilterComponent;
4343

4444
selectedRule: RoleManagementRules;
4545
selected = new SelectionModel<PerunBean>(true, []);
@@ -104,7 +104,7 @@ export class AddRoleDialogComponent implements OnInit {
104104
this.filterValue = '';
105105
this.loadObjects();
106106
if (this.filterComponent) {
107-
this.filterComponent.formControl.setValue('');
107+
this.filterComponent.control.setValue('');
108108
}
109109
}
110110
}

apps/admin-gui/src/app/shared/components/dialogs/create-attribute-dialog/create-attribute-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div class="{{data.style}}">
22
<div mat-dialog-title>
33
<h1 class="page-subtitle">{{'DIALOGS.CREATE_ATTRIBUTE.SET_NEW' | translate}}</h1>
4-
<perun-web-apps-immediate-filter
4+
<perun-web-apps-debounce-filter
55
(filter)="applyFilter($event)"
66
[placeholder]="'SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER'"
77
data-cy="filter-attributes"
8-
class="font-size-1rem"></perun-web-apps-immediate-filter>
8+
class="font-size-1rem"></perun-web-apps-debounce-filter>
99
<perun-web-apps-alert *ngIf="showError" class="ms-3 font-size-1rem" alert_type="error">
1010
{{'DIALOGS.CREATE_ATTRIBUTE.ERROR_EMPTY_VALUE' | translate}}
1111
</perun-web-apps-alert>

apps/admin-gui/src/app/shared/components/dialogs/create-relation-dialog/create-relation-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ <h1 mat-dialog-title>{{"DIALOGS.CREATE_RELATION.TITLE" | translate}}</h1>
99
[vo]="thisVo.vo"
1010
[vos]="vosToSelect"
1111
(voSelected)="getGroupsToInclude($event.id)"></perun-web-apps-vo-search-select>
12-
<perun-web-apps-immediate-filter
12+
<perun-web-apps-debounce-filter
1313
(filter)="applyFilter($event)"
14-
[placeholder]="'GROUP_DETAIL.SETTINGS.RELATIONS.FILTER'"></perun-web-apps-immediate-filter>
14+
[placeholder]="'GROUP_DETAIL.SETTINGS.RELATIONS.FILTER'"></perun-web-apps-debounce-filter>
1515
<div class="dialog-container" mat-dialog-content>
1616
<ng-template #spinner>
1717
<perun-web-apps-loading-table></perun-web-apps-loading-table>

apps/admin-gui/src/app/shared/components/one-entity-attribute-page/one-entity-attribute-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
mat-flat-button>
2727
{{'USER_DETAIL.SETTINGS.ATTRIBUTES.DELETE' | translate}}
2828
</button>
29-
<perun-web-apps-immediate-filter
29+
<perun-web-apps-debounce-filter
3030
(filter)="applyFilter($event)"
31-
[placeholder]="'SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER'"></perun-web-apps-immediate-filter>
31+
[placeholder]="'SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER'"></perun-web-apps-debounce-filter>
3232

3333
<ng-template #spinner>
3434
<perun-web-apps-loading-table></perun-web-apps-loading-table>

apps/admin-gui/src/app/shared/components/two-entity-attribute-page/two-entity-attribute-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
mat-flat-button>
7070
{{'MEMBER_DETAIL.SETTINGS.ATTRIBUTES.DELETE' | translate}}
7171
</button>
72-
<perun-web-apps-immediate-filter
72+
<perun-web-apps-debounce-filter
7373
(filter)="applyFilter($event)"
74-
[placeholder]="'SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER'"></perun-web-apps-immediate-filter>
74+
[placeholder]="'SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER'"></perun-web-apps-debounce-filter>
7575
<ng-template #spinner>
7676
<perun-web-apps-loading-table></perun-web-apps-loading-table>
7777
</ng-template>

0 commit comments

Comments
 (0)