Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-132999 / 25.04 / Remove Netdata UI #11167

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/app/interfaces/api/api-call-directory.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,6 @@ export interface ApiCallDirectory {
'reporting.exporters.update': { params: [number, UpdateReportingExporter]; response: ReportingExporter };
'reporting.netdata_get_data': { params: ReportingQueryParams; response: ReportingData[] };
'reporting.netdata_graphs': { params: QueryParams<ReportingGraph>; response: ReportingGraph[] };
'reporting.netdataweb_generate_password': { params: []; response: string };

// Rsynctask
'rsynctask.create': { params: [RsyncTaskUpdate]; response: RsyncTask };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class CloudBackupFormComponent implements OnInit {
this.form.controls.bucket_input.disable();
this.cdr.markForCheck();
},
error: (error) => {
error: (error: unknown) => {
console.error(error);
this.isLoading = false;
this.bucketOptions$ = of([this.newBucketOption]);
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,5 @@
ixTest="exporters-nav"
[routerLink]="['/reportsdashboard','exporters']"
>{{ 'Exporters' | translate }}</button>
<button
mat-button
ixTest="netdata-nav"
[ixUiSearch]="searchableElements.elements.netdata"
(click)="openNetdata()"
>{{ 'Netdata' | translate }}</button>
</form>
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
} from '@angular/core';
import { FormBuilder, ReactiveFormsModule } from '@angular/forms';
import { MatButton } from '@angular/material/button';
import { MatDialog } from '@angular/material/dialog';
import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu';
import { ActivatedRoute, RouterLink } from '@angular/router';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
Expand All @@ -18,9 +17,6 @@ import { IxSelectComponent } from 'app/modules/forms/ix-forms/components/ix-sele
import { IxSlideToggleComponent } from 'app/modules/forms/ix-forms/components/ix-slide-toggle/ix-slide-toggle.component';
import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component';
import { TestDirective } from 'app/modules/test-id/test.directive';
import {
NetdataDialogComponent,
} from 'app/pages/reports-dashboard/components/reports-global-controls/netdata-dialog/netdata-dialog.component';
import { reportingGlobalControlsElements } from 'app/pages/reports-dashboard/components/reports-global-controls/reports-global-controls.elements';
import { ReportTab, ReportType } from 'app/pages/reports-dashboard/interfaces/report-tab.interface';
import { ReportsService } from 'app/pages/reports-dashboard/reports.service';
Expand Down Expand Up @@ -74,7 +70,6 @@ export class ReportsGlobalControlsComponent implements OnInit {
private store$: Store<AppState>,
private reportsService: ReportsService,
private cdr: ChangeDetectorRef,
private matDialog: MatDialog,
) {}

ngOnInit(): void {
Expand Down Expand Up @@ -142,8 +137,4 @@ export class ReportsGlobalControlsComponent implements OnInit {
});
});
}

openNetdata(): void {
this.matDialog.open(NetdataDialogComponent);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ export const reportingGlobalControlsElements = {
hierarchy: [T('Reporting')],
anchorRouterLink: ['/reportsdashboard'],
elements: {
netdata: {
hierarchy: [T('Netdata')],
synonyms: [T('View Netdata')],
anchor: 'netdata',
},
selectReporting: {
hierarchy: [T('Select Reporting')],
anchor: 'select-reporting',
Expand Down
Loading
Loading