From 2c7cab80d8d8087e8dcba20dc16f5c774b7efe87 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:06:43 -0600 Subject: [PATCH 01/12] rename --- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 10 +++++----- .../plot-settings-panel.component.ts} | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) rename projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/{plot-settings/plot-settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/{plot-settings/plot-settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/{plot-settings/plot-settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (65%) rename projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/{plot-settings/plot-settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (88%) diff --git a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.html b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.html rename to projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.scss b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.scss rename to projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.spec.ts b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 65% rename from projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.spec.ts rename to projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.spec.ts index 7e8e9ecfc..70a192def 100644 --- a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -2,19 +2,19 @@ import {provideHttpClient} from '@angular/common/http'; import {ComponentFixture, TestBed} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; -import {PlotSettingsComponent} from './plot-settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; describe('PlotSettingsComponent', () => { - let component: PlotSettingsComponent; - let fixture: ComponentFixture<PlotSettingsComponent>; + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [PlotSettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [provideHttpClient(), provideNoopAnimations()], }).compileComponents(); - fixture = TestBed.createComponent(PlotSettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.ts b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 88% rename from projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.ts rename to projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.ts index a1337f9d6..4aba1029c 100644 --- a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings/plot-settings.component.ts +++ b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/components/plot-settings-panel/plot-settings-panel.component.ts @@ -25,12 +25,12 @@ import {AppService} from '../../services/app.service'; MatExpansionPanelHeader, MatExpansionPanelTitle, ], - selector: 'app-plot-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './plot-settings.component.scss', - templateUrl: './plot-settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class PlotSettingsComponent implements OnDestroy { +export class PlotSettingsPanelComponent implements OnDestroy { /** Ground motion plot */ groundMotionPlot = computed(() => { this.settingsFormSubscription?.unsubscribe(); -- GitLab From 0fbd046d3077c67b874aaf2b2ded2d09e32a36dc Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:06:56 -0600 Subject: [PATCH 02/12] plot-settings --- .../src/app/dev/gmm/hanging-wall-effects/app.component.html | 2 +- .../app/dev/gmm/hanging-wall-effects/app.component.spec.ts | 4 ++-- .../src/app/dev/gmm/hanging-wall-effects/app.component.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.html b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.html index 5bde83f8e..ef6d2a880 100644 --- a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.html +++ b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.html @@ -12,7 +12,7 @@ <!-- Settings --> <nshmp-template-settings> - <app-plot-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.spec.ts b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.spec.ts index 57743787f..3e6fc9afb 100644 --- a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.spec.ts @@ -9,7 +9,7 @@ import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {FaultControlComponent} from './components/fault-control/fault-control.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; -import {PlotSettingsComponent} from './components/plot-settings/plot-settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {PlotsComponent} from './components/plots/plots.component'; describe('AppComponent', () => { @@ -25,7 +25,7 @@ describe('AppComponent', () => { PlotsComponent, FaultControlComponent, ParameterSummaryComponent, - PlotSettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ], providers: [ diff --git a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.ts b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.ts index 9b1366a8a..44a525bbc 100644 --- a/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.ts +++ b/projects/nshmp-apps/src/app/dev/gmm/hanging-wall-effects/app.component.ts @@ -13,7 +13,7 @@ import {devNavigation} from 'projects/nshmp-apps/src/shared/utils/navigation.uti import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; -import {PlotSettingsComponent} from './components/plot-settings/plot-settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; @Component({ @@ -26,7 +26,7 @@ import {AppService} from './services/app.service'; NshmpLibNgAboutPageComponent, ControlPanelComponent, ContentComponent, - PlotSettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ], selector: 'app-app', -- GitLab From 6de204359253c5a58d4e9f297b5d1a8667fde925 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:13:15 -0600 Subject: [PATCH 03/12] rename to plot-settings-panel --- .../dev/hazard/dynamic-compare/app.component.html | 2 +- .../dev/hazard/dynamic-compare/app.component.spec.ts | 4 ++-- .../app/dev/hazard/dynamic-compare/app.component.ts | 4 ++-- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 12 ++++++------ .../plot-settings-panel.component.ts} | 8 ++++---- 7 files changed, 15 insertions(+), 15 deletions(-) rename projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/{plot-settings/plot-settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/{plot-settings/plot-settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/{plot-settings/plot-settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (64%) rename projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/{plot-settings/plot-settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (93%) diff --git a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.html b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.html index 104704efb..375b90fa6 100644 --- a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.html +++ b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.html @@ -12,7 +12,7 @@ <!-- Settings --> <nshmp-template-settings> - <app-plot-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.spec.ts b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.spec.ts index 9809620ec..b0069e6b5 100644 --- a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.spec.ts @@ -9,7 +9,7 @@ import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {HazardDataComponent} from './components/hazard-data/hazard-data.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; -import {PlotSettingsComponent} from './components/plot-settings/plot-settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {PlotsComponent} from './components/plots/plots.component'; import {SpectraDataComponent} from './components/spectra-data/spectra-data.component'; import {TableDataPanelComponent} from './components/table-data-panel/table-data-panel.component'; @@ -28,7 +28,7 @@ describe('AppComponent', () => { HazardDataComponent, SpectraDataComponent, TableDataPanelComponent, - PlotSettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ParameterSummaryComponent, ], diff --git a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.ts b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.ts index 254075bee..48e7c37bb 100644 --- a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.ts +++ b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/app.component.ts @@ -15,7 +15,7 @@ import {devNavigation} from 'projects/nshmp-apps/src/shared/utils/navigation.uti import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; -import {PlotSettingsComponent} from './components/plot-settings/plot-settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; @Component({ @@ -29,7 +29,7 @@ import {AppService} from './services/app.service'; NshmpLibNgAboutPageComponent, ControlPanelComponent, ContentComponent, - PlotSettingsComponent, + PlotSettingsPanelComponent, AboutComponent, AsyncPipe, ], diff --git a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.html b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.html rename to projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.scss b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.scss rename to projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.spec.ts b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 64% rename from projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.spec.ts rename to projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.spec.ts index 294462436..ac3c9e960 100644 --- a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -3,15 +3,15 @@ import {ComponentFixture, TestBed} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; import {provideRouter} from '@angular/router'; -import {PlotSettingsComponent} from './plot-settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; -describe('PlotSettingsComponent', () => { - let component: PlotSettingsComponent; - let fixture: ComponentFixture<PlotSettingsComponent>; +describe('PlotSettingsPanelComponent', () => { + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [PlotSettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [ provideHttpClient(), provideNoopAnimations(), @@ -19,7 +19,7 @@ describe('PlotSettingsComponent', () => { ], }).compileComponents(); - fixture = TestBed.createComponent(PlotSettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.ts b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 93% rename from projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.ts rename to projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.ts index 078f1479f..d2c363f74 100644 --- a/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings/plot-settings.component.ts +++ b/projects/nshmp-apps/src/app/dev/hazard/dynamic-compare/components/plot-settings-panel/plot-settings-panel.component.ts @@ -27,12 +27,12 @@ import {AppService} from '../../services/app.service'; MatExpansionPanelTitle, AsyncPipe, ], - selector: 'app-plot-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './plot-settings.component.scss', - templateUrl: './plot-settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class PlotSettingsComponent { +export class PlotSettingsPanelComponent { /** Hazard plot data */ private hazardPlot = computed(() => this.service.plots().get(Plots.HAZARD)); -- GitLab From 0afb20ee6e594e4d8c7bb05d5daad73a8a5742a7 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:14:48 -0600 Subject: [PATCH 04/12] rename --- .../dev/math/exceedance-explorer/app.component.html | 2 +- .../dev/math/exceedance-explorer/app.component.spec.ts | 4 ++-- .../app/dev/math/exceedance-explorer/app.component.ts | 4 ++-- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 10 +++++----- .../plot-settings-panel.component.ts} | 8 ++++---- 7 files changed, 14 insertions(+), 14 deletions(-) rename projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/{settings/settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/{settings/settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/{settings/settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (69%) rename projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/{settings/settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (79%) diff --git a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.html b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.html index f5216f0dc..5e121fa46 100644 --- a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.html +++ b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.html @@ -9,7 +9,7 @@ </nshmp-template-plot-content> <nshmp-template-settings> - <app-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.spec.ts b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.spec.ts index 4e5f7c79f..c69626592 100644 --- a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.spec.ts @@ -7,7 +7,7 @@ import {AppComponent} from './app.component'; import {AboutComponent} from './components/about/about.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {PlotComponent} from './components/plot/plot.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; describe('ExceedanceExplorerComponent', () => { let component: AppComponent; @@ -17,7 +17,7 @@ describe('ExceedanceExplorerComponent', () => { TestBed.configureTestingModule({ imports: [ AppComponent, - SettingsComponent, + PlotSettingsPanelComponent, PlotComponent, ControlPanelComponent, AboutComponent, diff --git a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.ts b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.ts index 3ef6be1b7..6fe0117fb 100644 --- a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.ts +++ b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/app.component.ts @@ -13,7 +13,7 @@ import {devNavigation} from 'projects/nshmp-apps/src/shared/utils/navigation.uti import {AboutComponent} from './components/about/about.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {PlotComponent} from './components/plot/plot.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; /** * Entrypoint for exceedance explorer development application. @@ -30,7 +30,7 @@ import {SettingsComponent} from './components/settings/settings.component'; NshmpLibNgAboutPageComponent, ControlPanelComponent, PlotComponent, - SettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ], selector: 'app-app', diff --git a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.html b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.html rename to projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.scss b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.scss rename to projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.spec.ts b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 69% rename from projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.spec.ts rename to projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.spec.ts index f8b388bee..0dd8a3942 100644 --- a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -2,22 +2,22 @@ import {provideHttpClient} from '@angular/common/http'; import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; -import {SettingsComponent} from './settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; describe('ExceedancePlotSettingsComponent', () => { - let component: SettingsComponent; - let fixture: ComponentFixture<SettingsComponent>; + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [SettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [provideHttpClient(), provideNoopAnimations()], teardown: {destroyAfterEach: false}, }).compileComponents(); })); beforeEach(() => { - fixture = TestBed.createComponent(SettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.ts b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 79% rename from projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.ts rename to projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.ts index a49a553bf..b9cb06304 100644 --- a/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/settings/settings.component.ts +++ b/projects/nshmp-apps/src/app/dev/math/exceedance-explorer/components/plot-settings-panel/plot-settings-panel.component.ts @@ -18,12 +18,12 @@ import {AppService} from '../../services/app.service'; NshmpLibNgPlotResetPlotSettingsComponent, AsyncPipe, ], - selector: 'app-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './settings.component.scss', - templateUrl: './settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class SettingsComponent { +export class PlotSettingsPanelComponent { plot = this.service.plot; constructor(public service: AppService) {} -- GitLab From b39a0cd7e0ec09952bc312adc49d9f3ffff3d116 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:16:00 -0600 Subject: [PATCH 05/12] rename --- .../nshmp-apps/src/app/gmm/distance/app.component.html | 2 +- .../src/app/gmm/distance/app.component.spec.ts | 4 ++-- .../nshmp-apps/src/app/gmm/distance/app.component.ts | 4 ++-- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 10 +++++----- .../plot-settings-panel.component.ts} | 8 ++++---- 7 files changed, 14 insertions(+), 14 deletions(-) rename projects/nshmp-apps/src/app/gmm/distance/components/{settings/settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/gmm/distance/components/{settings/settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/gmm/distance/components/{settings/settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (69%) rename projects/nshmp-apps/src/app/gmm/distance/components/{settings/settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (83%) diff --git a/projects/nshmp-apps/src/app/gmm/distance/app.component.html b/projects/nshmp-apps/src/app/gmm/distance/app.component.html index 8a5860704..cdf8fb7e3 100644 --- a/projects/nshmp-apps/src/app/gmm/distance/app.component.html +++ b/projects/nshmp-apps/src/app/gmm/distance/app.component.html @@ -9,7 +9,7 @@ </nshmp-template-plot-content> <nshmp-template-settings> - <app-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts b/projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts index dba04b499..62d17bf5f 100644 --- a/projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts @@ -9,7 +9,7 @@ import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; import {PlotsComponent} from './components/plots/plots.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; describe('GmmDistanceComponent', () => { let component: AppComponent; @@ -21,7 +21,7 @@ describe('GmmDistanceComponent', () => { AppComponent, ControlPanelComponent, PlotsComponent, - SettingsComponent, + PlotSettingsPanelComponent, ContentComponent, AboutComponent, ParameterSummaryComponent, diff --git a/projects/nshmp-apps/src/app/gmm/distance/app.component.ts b/projects/nshmp-apps/src/app/gmm/distance/app.component.ts index 78bfe82b0..e3666f2c9 100644 --- a/projects/nshmp-apps/src/app/gmm/distance/app.component.ts +++ b/projects/nshmp-apps/src/app/gmm/distance/app.component.ts @@ -13,7 +13,7 @@ import {navigation} from 'projects/nshmp-apps/src/shared/utils/navigation.utils' import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; /** @@ -33,7 +33,7 @@ import {AppService} from './services/app.service'; NshmpLibNgAboutPageComponent, ControlPanelComponent, ContentComponent, - SettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ], selector: 'app-app', diff --git a/projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.html b/projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.html rename to projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.scss b/projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.scss rename to projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.spec.ts b/projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 69% rename from projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.spec.ts rename to projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.spec.ts index babda5391..ac485aa2a 100644 --- a/projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -2,22 +2,22 @@ import {provideHttpClient} from '@angular/common/http'; import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; -import {SettingsComponent} from './settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; describe('GmmDistancePlotSettingsComponent', () => { - let component: SettingsComponent; - let fixture: ComponentFixture<SettingsComponent>; + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [SettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [provideHttpClient(), provideNoopAnimations()], teardown: {destroyAfterEach: false}, }).compileComponents(); })); beforeEach(() => { - fixture = TestBed.createComponent(SettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.ts b/projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 83% rename from projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.ts rename to projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.ts index 89352e480..31f959434 100644 --- a/projects/nshmp-apps/src/app/gmm/distance/components/settings/settings.component.ts +++ b/projects/nshmp-apps/src/app/gmm/distance/components/plot-settings-panel/plot-settings-panel.component.ts @@ -18,12 +18,12 @@ import {AppService} from '../../services/app.service'; NshmpLibNgPlotSettingsComponent, AsyncPipe, ], - selector: 'app-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './settings.component.scss', - templateUrl: './settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class SettingsComponent { +export class PlotSettingsPanelComponent { /** Plot data */ meanPlot = this.service.meanPlotState; -- GitLab From 7afadca31c212fcb6ac4b4328dddec3a6131495b Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:16:54 -0600 Subject: [PATCH 06/12] rename --- .../src/app/gmm/magnitude/app.component.html | 2 +- .../src/app/gmm/magnitude/app.component.spec.ts | 4 ++-- .../src/app/gmm/magnitude/app.component.ts | 4 ++-- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 12 ++++++------ .../plot-settings-panel.component.ts} | 8 ++++---- 7 files changed, 15 insertions(+), 15 deletions(-) rename projects/nshmp-apps/src/app/gmm/magnitude/components/{plots-settings/plots-settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/gmm/magnitude/components/{plots-settings/plots-settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/gmm/magnitude/components/{plots-settings/plots-settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (63%) rename projects/nshmp-apps/src/app/gmm/magnitude/components/{plots-settings/plots-settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (86%) diff --git a/projects/nshmp-apps/src/app/gmm/magnitude/app.component.html b/projects/nshmp-apps/src/app/gmm/magnitude/app.component.html index 109357b1a..cdf8fb7e3 100644 --- a/projects/nshmp-apps/src/app/gmm/magnitude/app.component.html +++ b/projects/nshmp-apps/src/app/gmm/magnitude/app.component.html @@ -9,7 +9,7 @@ </nshmp-template-plot-content> <nshmp-template-settings> - <app-plots-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts b/projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts index 62d2c415b..77dfe350a 100644 --- a/projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts @@ -9,7 +9,7 @@ import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; import {PlotsComponent} from './components/plots/plots.component'; -import {PlotsSettingsComponent} from './components/plots-settings/plots-settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; describe('MainComponent', () => { let component: AppComponent; @@ -22,7 +22,7 @@ describe('MainComponent', () => { ControlPanelComponent, ContentComponent, PlotsComponent, - PlotsSettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ParameterSummaryComponent, ], diff --git a/projects/nshmp-apps/src/app/gmm/magnitude/app.component.ts b/projects/nshmp-apps/src/app/gmm/magnitude/app.component.ts index b661b5dc1..2e1e32de8 100644 --- a/projects/nshmp-apps/src/app/gmm/magnitude/app.component.ts +++ b/projects/nshmp-apps/src/app/gmm/magnitude/app.component.ts @@ -13,7 +13,7 @@ import {navigation} from 'projects/nshmp-apps/src/shared/utils/navigation.utils' import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; -import {PlotsSettingsComponent} from './components/plots-settings/plots-settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; /** @@ -33,7 +33,7 @@ import {AppService} from './services/app.service'; NshmpLibNgAboutPageComponent, ControlPanelComponent, ContentComponent, - PlotsSettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ], selector: 'app-app', diff --git a/projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.html b/projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.html rename to projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.scss b/projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.scss rename to projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.spec.ts b/projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 63% rename from projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.spec.ts rename to projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.spec.ts index f32cb4991..fe3897a2e 100644 --- a/projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -2,22 +2,22 @@ import {provideHttpClient} from '@angular/common/http'; import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; -import {PlotsSettingsComponent} from './plots-settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; -describe('PlotsSettingsComponent', () => { - let component: PlotsSettingsComponent; - let fixture: ComponentFixture<PlotsSettingsComponent>; +describe('PlotSettingsPanelComponent', () => { + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [PlotsSettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [provideHttpClient(), provideNoopAnimations()], teardown: {destroyAfterEach: false}, }).compileComponents(); })); beforeEach(() => { - fixture = TestBed.createComponent(PlotsSettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.ts b/projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 86% rename from projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.ts rename to projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.ts index ac6f4a09d..7e809c808 100644 --- a/projects/nshmp-apps/src/app/gmm/magnitude/components/plots-settings/plots-settings.component.ts +++ b/projects/nshmp-apps/src/app/gmm/magnitude/components/plot-settings-panel/plot-settings-panel.component.ts @@ -18,12 +18,12 @@ import {AppService} from '../../services/app.service'; NshmpLibNgPlotSettingsComponent, AsyncPipe, ], - selector: 'app-plots-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './plots-settings.component.scss', - templateUrl: './plots-settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class PlotsSettingsComponent { +export class PlotSettingsPanelComponent { PlotIds = gmmUtils.PlotType; /** Mean plot state */ -- GitLab From b5af2ffe77bffd90b59f9ab55ddf4bdca27356d6 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:17:27 -0600 Subject: [PATCH 07/12] rename --- .../src/app/gmm/spectra/app.component.html | 2 +- .../src/app/gmm/spectra/app.component.spec.ts | 4 ++-- .../nshmp-apps/src/app/gmm/spectra/app.component.ts | 4 ++-- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 12 ++++++------ .../plot-settings-panel.component.ts} | 8 ++++---- 7 files changed, 15 insertions(+), 15 deletions(-) rename projects/nshmp-apps/src/app/gmm/spectra/components/{plots-settings/plots-settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/gmm/spectra/components/{plots-settings/plots-settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/gmm/spectra/components/{plots-settings/plots-settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (63%) rename projects/nshmp-apps/src/app/gmm/spectra/components/{plots-settings/plots-settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (86%) diff --git a/projects/nshmp-apps/src/app/gmm/spectra/app.component.html b/projects/nshmp-apps/src/app/gmm/spectra/app.component.html index 109357b1a..cdf8fb7e3 100644 --- a/projects/nshmp-apps/src/app/gmm/spectra/app.component.html +++ b/projects/nshmp-apps/src/app/gmm/spectra/app.component.html @@ -9,7 +9,7 @@ </nshmp-template-plot-content> <nshmp-template-settings> - <app-plots-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts b/projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts index 40505e383..6598ac2aa 100644 --- a/projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts @@ -9,7 +9,7 @@ import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; import {PlotsComponent} from './components/plots/plots.component'; -import {PlotsSettingsComponent} from './components/plots-settings/plots-settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; describe('MainComponent', () => { let component: AppComponent; @@ -21,7 +21,7 @@ describe('MainComponent', () => { AppComponent, ContentComponent, PlotsComponent, - PlotsSettingsComponent, + PlotSettingsPanelComponent, ControlPanelComponent, AboutComponent, ParameterSummaryComponent, diff --git a/projects/nshmp-apps/src/app/gmm/spectra/app.component.ts b/projects/nshmp-apps/src/app/gmm/spectra/app.component.ts index c4d9b5508..9f28111e3 100644 --- a/projects/nshmp-apps/src/app/gmm/spectra/app.component.ts +++ b/projects/nshmp-apps/src/app/gmm/spectra/app.component.ts @@ -13,7 +13,7 @@ import {navigation} from 'projects/nshmp-apps/src/shared/utils/navigation.utils' import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; -import {PlotsSettingsComponent} from './components/plots-settings/plots-settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; /** @@ -33,7 +33,7 @@ import {AppService} from './services/app.service'; NshmpLibNgAboutPageComponent, ControlPanelComponent, ContentComponent, - PlotsSettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ], selector: 'app-main', diff --git a/projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.html b/projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.html rename to projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.scss b/projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.scss rename to projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.spec.ts b/projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 63% rename from projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.spec.ts rename to projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.spec.ts index f32cb4991..fe3897a2e 100644 --- a/projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -2,22 +2,22 @@ import {provideHttpClient} from '@angular/common/http'; import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; -import {PlotsSettingsComponent} from './plots-settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; -describe('PlotsSettingsComponent', () => { - let component: PlotsSettingsComponent; - let fixture: ComponentFixture<PlotsSettingsComponent>; +describe('PlotSettingsPanelComponent', () => { + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [PlotsSettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [provideHttpClient(), provideNoopAnimations()], teardown: {destroyAfterEach: false}, }).compileComponents(); })); beforeEach(() => { - fixture = TestBed.createComponent(PlotsSettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.ts b/projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 86% rename from projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.ts rename to projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.ts index 1f09822d1..b757d7201 100644 --- a/projects/nshmp-apps/src/app/gmm/spectra/components/plots-settings/plots-settings.component.ts +++ b/projects/nshmp-apps/src/app/gmm/spectra/components/plot-settings-panel/plot-settings-panel.component.ts @@ -18,12 +18,12 @@ import {AppService} from '../../services/app.service'; NshmpLibNgPlotSettingsComponent, AsyncPipe, ], - selector: 'app-plots-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './plots-settings.component.scss', - templateUrl: './plots-settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class PlotsSettingsComponent { +export class PlotSettingsPanelComponent { PlotIds = gmmUtils.PlotType; /** Mean plot state */ -- GitLab From 2fdc1c806edc1e3187157f33921483a043dfcfff Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:18:38 -0600 Subject: [PATCH 08/12] rename components --- .../src/app/hazard/dynamic/app.component.html | 4 ++-- .../src/app/hazard/dynamic/app.component.spec.ts | 8 ++++---- .../src/app/hazard/dynamic/app.component.ts | 8 ++++---- .../control-panel.component.html} | 0 .../control-panel.component.scss} | 0 .../control-panel.component.spec.ts} | 12 ++++++------ .../control-panel.component.ts} | 10 +++++----- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 12 ++++++------ .../plot-settings-panel.component.ts} | 8 ++++---- 11 files changed, 31 insertions(+), 31 deletions(-) rename projects/nshmp-apps/src/app/hazard/dynamic/components/{control/control.component.html => control-panel/control-panel.component.html} (100%) rename projects/nshmp-apps/src/app/hazard/dynamic/components/{control/control.component.scss => control-panel/control-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/hazard/dynamic/components/{control/control.component.spec.ts => control-panel/control-panel.component.spec.ts} (69%) rename projects/nshmp-apps/src/app/hazard/dynamic/components/{control/control.component.ts => control-panel/control-panel.component.ts} (94%) rename projects/nshmp-apps/src/app/hazard/dynamic/components/{settings/settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/hazard/dynamic/components/{settings/settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/hazard/dynamic/components/{settings/settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (66%) rename projects/nshmp-apps/src/app/hazard/dynamic/components/{settings/settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (88%) diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/app.component.html b/projects/nshmp-apps/src/app/hazard/dynamic/app.component.html index 9de48a9ad..03bdde34c 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/app.component.html +++ b/projects/nshmp-apps/src/app/hazard/dynamic/app.component.html @@ -1,7 +1,7 @@ <nshmp-lib-ng-template [navigationList]="navigationList" [title]="title"> <nshmp-template-content-container> <nshmp-template-control-panel> - <app-control /> + <app-control-panel /> </nshmp-template-control-panel> <nshmp-template-plot-content> @@ -9,7 +9,7 @@ </nshmp-template-plot-content> <nshmp-template-settings> - <app-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts b/projects/nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts index 85c154861..357ef335c 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts @@ -6,10 +6,10 @@ import {provideRouter} from '@angular/router'; import {AppComponent} from './app.component'; import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; -import {ControlComponent} from './components/control/control.component'; +import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; import {PlotsComponent} from './components/plots/plots.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; describe('MainComponent', () => { let component: AppComponent; @@ -21,8 +21,8 @@ describe('MainComponent', () => { AppComponent, ContentComponent, PlotsComponent, - ControlComponent, - SettingsComponent, + ControlPanelComponent, + PlotSettingsPanelComponent, AboutComponent, ParameterSummaryComponent, ], diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/app.component.ts b/projects/nshmp-apps/src/app/hazard/dynamic/app.component.ts index 124bf85f8..18e3eba4b 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/app.component.ts +++ b/projects/nshmp-apps/src/app/hazard/dynamic/app.component.ts @@ -14,8 +14,8 @@ import {navigation} from 'projects/nshmp-apps/src/shared/utils/navigation.utils' import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; -import {ControlComponent} from './components/control/control.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {ControlPanelComponent} from './components/control-panel/control-panel.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; /** @@ -30,9 +30,9 @@ import {AppService} from './services/app.service'; NshmpLibNgAboutPageComponent, NshmpLibNgHazardProvisionalModelComponent, NshmpTemplateSettingsComponent, - ControlComponent, + ControlPanelComponent, ContentComponent, - SettingsComponent, + PlotSettingsPanelComponent, AboutComponent, AsyncPipe, ], diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.html b/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.html rename to projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.html diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.scss b/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.scss rename to projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.scss diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.spec.ts b/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.spec.ts similarity index 69% rename from projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.spec.ts rename to projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.spec.ts index 04eb39019..6b91d5fec 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.spec.ts +++ b/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.spec.ts @@ -3,15 +3,15 @@ import {ComponentFixture, TestBed} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; import {provideRouter} from '@angular/router'; -import {ControlComponent} from './control.component'; +import {ControlPanelComponent} from './control-panel.component'; -describe('ControlComponent', () => { - let component: ControlComponent; - let fixture: ComponentFixture<ControlComponent>; +describe('ControlPanelComponent', () => { + let component: ControlPanelComponent; + let fixture: ComponentFixture<ControlPanelComponent>; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [ControlComponent], + imports: [ControlPanelComponent], providers: [ provideHttpClient(), provideNoopAnimations(), @@ -22,7 +22,7 @@ describe('ControlComponent', () => { }); beforeEach(() => { - fixture = TestBed.createComponent(ControlComponent); + fixture = TestBed.createComponent(ControlPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.ts b/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.ts similarity index 94% rename from projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.ts rename to projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.ts index 50ab38f02..de2575304 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/components/control/control.component.ts +++ b/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.ts @@ -27,7 +27,7 @@ import { SourceType, sourceTypeToCapitalCase, } from '@ghsc/nshmp-utils-ts/libs/nshmp-lib/model'; -import {environment} from 'projects/nshmp-apps/src/environments/environment'; +import {environment} from '../../../../../environments/environment'; import {combineLatest, Subscription} from 'rxjs'; import {AppService} from '../../services/app.service'; @@ -52,12 +52,12 @@ import {AppService} from '../../services/app.service'; AsyncPipe, ReactiveFormsModule, ], - selector: 'app-control', + selector: 'app-control-panel', standalone: true, - styleUrl: './control.component.scss', - templateUrl: './control.component.html', + styleUrl: './control-panel.component.scss', + templateUrl: './control-panel.component.html', }) -export class ControlComponent implements OnInit, OnDestroy { +export class ControlPanelComponent implements OnInit, OnDestroy { /** Max and min bounds for return periods */ returnPeriodBounds = RETURN_PERIOD_BOUNDS; /** List of return periods */ diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.html b/projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.html rename to projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.scss b/projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.scss rename to projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.spec.ts b/projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 66% rename from projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.spec.ts rename to projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.spec.ts index cdadff990..ef7b05b55 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -3,15 +3,15 @@ import {ComponentFixture, TestBed} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; import {provideRouter} from '@angular/router'; -import {SettingsComponent} from './settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; -describe('SettingsComponent', () => { - let component: SettingsComponent; - let fixture: ComponentFixture<SettingsComponent>; +describe('PlotSettingsPanelComponent', () => { + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [SettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [ provideHttpClient(), provideNoopAnimations(), @@ -22,7 +22,7 @@ describe('SettingsComponent', () => { }); beforeEach(() => { - fixture = TestBed.createComponent(SettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.ts b/projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 88% rename from projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.ts rename to projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.ts index c1bc88e05..d789abad4 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/components/settings/settings.component.ts +++ b/projects/nshmp-apps/src/app/hazard/dynamic/components/plot-settings-panel/plot-settings-panel.component.ts @@ -19,12 +19,12 @@ import {AppService} from '../../services/app.service'; NshmpLibNgPlotResetPlotSettingsComponent, MatExpansionModule, ], - selector: 'app-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './settings.component.scss', - templateUrl: './settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class SettingsComponent { +export class PlotSettingsPanelComponent { /** Hazard plot state */ hazardPlot = this.service.hazardPlotState; /** Hazard plot settings */ -- GitLab From e3c1b69e5510fa7499b4655500615e0eaa056193 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:19:08 -0600 Subject: [PATCH 09/12] rename --- .../src/app/hazard/static/app.component.html | 2 +- .../src/app/hazard/static/app.component.spec.ts | 4 ++-- .../nshmp-apps/src/app/hazard/static/app.component.ts | 4 ++-- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 10 +++++----- .../plot-settings-panel.component.ts} | 8 ++++---- 7 files changed, 14 insertions(+), 14 deletions(-) rename projects/nshmp-apps/src/app/hazard/static/components/{settings/settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/hazard/static/components/{settings/settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/hazard/static/components/{settings/settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (71%) rename projects/nshmp-apps/src/app/hazard/static/components/{settings/settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (88%) diff --git a/projects/nshmp-apps/src/app/hazard/static/app.component.html b/projects/nshmp-apps/src/app/hazard/static/app.component.html index 8a5860704..cdf8fb7e3 100644 --- a/projects/nshmp-apps/src/app/hazard/static/app.component.html +++ b/projects/nshmp-apps/src/app/hazard/static/app.component.html @@ -9,7 +9,7 @@ </nshmp-template-plot-content> <nshmp-template-settings> - <app-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts b/projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts index 2659c69fd..648fd58aa 100644 --- a/projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts @@ -10,7 +10,7 @@ import {ControlPanelComponent} from './components/control-panel/control-panel.co import {CurveDataComponent} from './components/curve-data/curve-data.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; import {PlotsComponent} from './components/plots/plots.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {SpectrumDataComponent} from './components/spectrum-data/spectrum-data.component'; describe('StaticHazardComponent', () => { @@ -26,7 +26,7 @@ describe('StaticHazardComponent', () => { SpectrumDataComponent, CurveDataComponent, ControlPanelComponent, - SettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ParameterSummaryComponent, ], diff --git a/projects/nshmp-apps/src/app/hazard/static/app.component.ts b/projects/nshmp-apps/src/app/hazard/static/app.component.ts index fba2e7ce2..52f7e2d42 100644 --- a/projects/nshmp-apps/src/app/hazard/static/app.component.ts +++ b/projects/nshmp-apps/src/app/hazard/static/app.component.ts @@ -13,7 +13,7 @@ import {navigation} from 'projects/nshmp-apps/src/shared/utils/navigation.utils' import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; /** @@ -29,7 +29,7 @@ import {AppService} from './services/app.service'; NshmpTemplateSettingsComponent, ControlPanelComponent, ContentComponent, - SettingsComponent, + PlotSettingsPanelComponent, AboutComponent, ], selector: 'app-app', diff --git a/projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.html b/projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.html rename to projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.scss b/projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.scss rename to projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.spec.ts b/projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 71% rename from projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.spec.ts rename to projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.spec.ts index 84bf5bd24..aea8b0520 100644 --- a/projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -3,15 +3,15 @@ import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; import {provideRouter} from '@angular/router'; -import {SettingsComponent} from './settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; describe('StaticHazardSettingsComponent', () => { - let component: SettingsComponent; - let fixture: ComponentFixture<SettingsComponent>; + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [SettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [ provideNoopAnimations(), provideHttpClient(), @@ -22,7 +22,7 @@ describe('StaticHazardSettingsComponent', () => { })); beforeEach(() => { - fixture = TestBed.createComponent(SettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.ts b/projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 88% rename from projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.ts rename to projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.ts index 97ea383ef..8e1db4460 100644 --- a/projects/nshmp-apps/src/app/hazard/static/components/settings/settings.component.ts +++ b/projects/nshmp-apps/src/app/hazard/static/components/plot-settings-panel/plot-settings-panel.component.ts @@ -21,12 +21,12 @@ import {AppService} from '../../services/app.service'; AsyncPipe, MatExpansionModule, ], - selector: 'app-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './settings.component.scss', - templateUrl: './settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class SettingsComponent { +export class PlotSettingsPanelComponent { /** Hazard plot state */ private hazardPlot = this.service.hazardPlotState; /** Spectra plot state */ -- GitLab From b4a033e13df87b0145da922f5232a5ec4e0afe71 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:20:11 -0600 Subject: [PATCH 10/12] rename --- .../nshmp-apps/src/app/source/mfd/app.component.html | 2 +- .../src/app/source/mfd/app.component.spec.ts | 4 ++-- .../nshmp-apps/src/app/source/mfd/app.component.ts | 4 ++-- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 12 ++++++------ .../plot-settings-panel.component.ts} | 8 ++++---- 7 files changed, 15 insertions(+), 15 deletions(-) rename projects/nshmp-apps/src/app/source/mfd/components/{settings/settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/source/mfd/components/{settings/settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/source/mfd/components/{settings/settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (66%) rename projects/nshmp-apps/src/app/source/mfd/components/{settings/settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (85%) diff --git a/projects/nshmp-apps/src/app/source/mfd/app.component.html b/projects/nshmp-apps/src/app/source/mfd/app.component.html index d19cf9d9d..03bdde34c 100644 --- a/projects/nshmp-apps/src/app/source/mfd/app.component.html +++ b/projects/nshmp-apps/src/app/source/mfd/app.component.html @@ -9,7 +9,7 @@ </nshmp-template-plot-content> <nshmp-template-settings> - <app-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts b/projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts index bf0f1fb0c..90a19b5f2 100644 --- a/projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts @@ -11,7 +11,7 @@ import {DataComponent} from './components/data/data.component'; import {LogicTreeComponent} from './components/logic-tree/logic-tree.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; import {PlotsComponent} from './components/plots/plots.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; describe('AppComponent', () => { let component: AppComponent; @@ -24,7 +24,7 @@ describe('AppComponent', () => { ControlPanelComponent, ContentComponent, PlotsComponent, - SettingsComponent, + PlotSettingsPanelComponent, DataComponent, AboutComponent, LogicTreeComponent, diff --git a/projects/nshmp-apps/src/app/source/mfd/app.component.ts b/projects/nshmp-apps/src/app/source/mfd/app.component.ts index 6edab8364..b02196e22 100644 --- a/projects/nshmp-apps/src/app/source/mfd/app.component.ts +++ b/projects/nshmp-apps/src/app/source/mfd/app.component.ts @@ -16,7 +16,7 @@ import {navigation} from 'projects/nshmp-apps/src/shared/utils/navigation.utils' import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; /** @@ -36,7 +36,7 @@ import {AppService} from './services/app.service'; NshmpLibNgAboutPageComponent, ControlPanelComponent, ContentComponent, - SettingsComponent, + PlotSettingsPanelComponent, AboutComponent, AsyncPipe, ], diff --git a/projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.html b/projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.html rename to projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.scss b/projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.scss rename to projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.spec.ts b/projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 66% rename from projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.spec.ts rename to projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.spec.ts index cdadff990..ef7b05b55 100644 --- a/projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -3,15 +3,15 @@ import {ComponentFixture, TestBed} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; import {provideRouter} from '@angular/router'; -import {SettingsComponent} from './settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; -describe('SettingsComponent', () => { - let component: SettingsComponent; - let fixture: ComponentFixture<SettingsComponent>; +describe('PlotSettingsPanelComponent', () => { + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [SettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [ provideHttpClient(), provideNoopAnimations(), @@ -22,7 +22,7 @@ describe('SettingsComponent', () => { }); beforeEach(() => { - fixture = TestBed.createComponent(SettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.ts b/projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 85% rename from projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.ts rename to projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.ts index ae5f75f89..0b1a20257 100644 --- a/projects/nshmp-apps/src/app/source/mfd/components/settings/settings.component.ts +++ b/projects/nshmp-apps/src/app/source/mfd/components/plot-settings-panel/plot-settings-panel.component.ts @@ -21,12 +21,12 @@ import {AppService} from '../../services/app.service'; AsyncPipe, MatExpansionModule, ], - selector: 'app-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './settings.component.scss', - templateUrl: './settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class SettingsComponent { +export class PlotSettingsPanelComponent { /** MFD plot state */ private mfdPlot = this.service.mfdPlotState; -- GitLab From c303c9cfad55a573733bec06ee1bebb53379507a Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:20:57 -0600 Subject: [PATCH 11/12] rename --- .../src/app/source/model-maps/app.component.html | 2 +- .../src/app/source/model-maps/app.component.spec.ts | 4 ++-- .../src/app/source/model-maps/app.component.ts | 4 ++-- .../plot-settings-panel.component.html} | 0 .../plot-settings-panel.component.scss} | 0 .../plot-settings-panel.component.spec.ts} | 12 ++++++------ .../plot-settings-panel.component.ts} | 8 ++++---- 7 files changed, 15 insertions(+), 15 deletions(-) rename projects/nshmp-apps/src/app/source/model-maps/components/{settings/settings.component.html => plot-settings-panel/plot-settings-panel.component.html} (100%) rename projects/nshmp-apps/src/app/source/model-maps/components/{settings/settings.component.scss => plot-settings-panel/plot-settings-panel.component.scss} (100%) rename projects/nshmp-apps/src/app/source/model-maps/components/{settings/settings.component.spec.ts => plot-settings-panel/plot-settings-panel.component.spec.ts} (60%) rename projects/nshmp-apps/src/app/source/model-maps/components/{settings/settings.component.ts => plot-settings-panel/plot-settings-panel.component.ts} (74%) diff --git a/projects/nshmp-apps/src/app/source/model-maps/app.component.html b/projects/nshmp-apps/src/app/source/model-maps/app.component.html index b839e0747..8c5371544 100644 --- a/projects/nshmp-apps/src/app/source/model-maps/app.component.html +++ b/projects/nshmp-apps/src/app/source/model-maps/app.component.html @@ -9,7 +9,7 @@ </nshmp-template-map-content> <nshmp-template-settings> - <app-settings /> + <app-plot-settings-panel /> </nshmp-template-settings> </nshmp-template-content-container> diff --git a/projects/nshmp-apps/src/app/source/model-maps/app.component.spec.ts b/projects/nshmp-apps/src/app/source/model-maps/app.component.spec.ts index 2368bb2d6..f76f02b5d 100644 --- a/projects/nshmp-apps/src/app/source/model-maps/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/source/model-maps/app.component.spec.ts @@ -9,7 +9,7 @@ import {ControlPanelComponent} from './components/control-panel/control-panel.co import {InfoPopupComponent} from './components/info-popup/info-popup.component'; import {LegendComponent} from './components/legend/legend.component'; import {MapComponent} from './components/map/map.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; describe('MainComponent', () => { let component: AppComponent; @@ -23,7 +23,7 @@ describe('MainComponent', () => { MapComponent, AboutComponent, LegendComponent, - SettingsComponent, + PlotSettingsPanelComponent, InfoPopupComponent, ], providers: [ diff --git a/projects/nshmp-apps/src/app/source/model-maps/app.component.ts b/projects/nshmp-apps/src/app/source/model-maps/app.component.ts index 24461e876..0fe2e36c7 100644 --- a/projects/nshmp-apps/src/app/source/model-maps/app.component.ts +++ b/projects/nshmp-apps/src/app/source/model-maps/app.component.ts @@ -18,7 +18,7 @@ import {AboutComponent} from './components/about/about.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {InfoPopupComponent} from './components/info-popup/info-popup.component'; import {MapComponent} from './components/map/map.component'; -import {SettingsComponent} from './components/settings/settings.component'; +import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; import {AppService} from './services/app.service'; /** @@ -40,7 +40,7 @@ import {AppService} from './services/app.service'; NshmpLibNgAboutPageComponent, ControlPanelComponent, MapComponent, - SettingsComponent, + PlotSettingsPanelComponent, InfoPopupComponent, AboutComponent, AsyncPipe, diff --git a/projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.html b/projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.html similarity index 100% rename from projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.html rename to projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.html diff --git a/projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.scss b/projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.scss similarity index 100% rename from projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.scss rename to projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.scss diff --git a/projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.spec.ts b/projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.spec.ts similarity index 60% rename from projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.spec.ts rename to projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.spec.ts index c88657d06..322289485 100644 --- a/projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.spec.ts +++ b/projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.spec.ts @@ -2,19 +2,19 @@ import {provideHttpClient} from '@angular/common/http'; import {ComponentFixture, TestBed} from '@angular/core/testing'; import {provideNoopAnimations} from '@angular/platform-browser/animations'; -import {SettingsComponent} from './settings.component'; +import {PlotSettingsPanelComponent} from './plot-settings-panel.component'; -describe('SettingsComponent', () => { - let component: SettingsComponent; - let fixture: ComponentFixture<SettingsComponent>; +describe('PlotSettingsPanelComponent', () => { + let component: PlotSettingsPanelComponent; + let fixture: ComponentFixture<PlotSettingsPanelComponent>; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [SettingsComponent], + imports: [PlotSettingsPanelComponent], providers: [provideHttpClient(), provideNoopAnimations()], }).compileComponents(); - fixture = TestBed.createComponent(SettingsComponent); + fixture = TestBed.createComponent(PlotSettingsPanelComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.ts b/projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.ts similarity index 74% rename from projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.ts rename to projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.ts index 35e8fa242..a21d15fc6 100644 --- a/projects/nshmp-apps/src/app/source/model-maps/components/settings/settings.component.ts +++ b/projects/nshmp-apps/src/app/source/model-maps/components/plot-settings-panel/plot-settings-panel.component.ts @@ -14,12 +14,12 @@ import {AppService} from '../../services/app.service'; AsyncPipe, ReactiveFormsModule, ], - selector: 'app-settings', + selector: 'app-plot-settings-panel', standalone: true, - styleUrl: './settings.component.scss', - templateUrl: './settings.component.html', + styleUrl: './plot-settings-panel.component.scss', + templateUrl: './plot-settings-panel.component.html', }) -export class SettingsComponent { +export class PlotSettingsPanelComponent { formGroup = this.service.formGroup; constructor(private service: AppService) {} -- GitLab From eded5c9dedae88c3be155d1edf94d7dd4dbbd9af Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 20 Aug 2024 10:27:52 -0600 Subject: [PATCH 12/12] lint fix --- projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts | 2 +- projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts | 2 +- projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts | 2 +- .../nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts | 2 +- .../dynamic/components/control-panel/control-panel.component.ts | 2 +- projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts | 2 +- projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts b/projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts index 62d17bf5f..22435a807 100644 --- a/projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/distance/app.component.spec.ts @@ -8,8 +8,8 @@ import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; -import {PlotsComponent} from './components/plots/plots.component'; import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; +import {PlotsComponent} from './components/plots/plots.component'; describe('GmmDistanceComponent', () => { let component: AppComponent; diff --git a/projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts b/projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts index 77dfe350a..f3e250613 100644 --- a/projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/magnitude/app.component.spec.ts @@ -8,8 +8,8 @@ import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; -import {PlotsComponent} from './components/plots/plots.component'; import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; +import {PlotsComponent} from './components/plots/plots.component'; describe('MainComponent', () => { let component: AppComponent; diff --git a/projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts b/projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts index 6598ac2aa..887dbbff8 100644 --- a/projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/gmm/spectra/app.component.spec.ts @@ -8,8 +8,8 @@ import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; -import {PlotsComponent} from './components/plots/plots.component'; import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; +import {PlotsComponent} from './components/plots/plots.component'; describe('MainComponent', () => { let component: AppComponent; diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts b/projects/nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts index 357ef335c..8cece8212 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/hazard/dynamic/app.component.spec.ts @@ -8,8 +8,8 @@ import {AboutComponent} from './components/about/about.component'; import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; -import {PlotsComponent} from './components/plots/plots.component'; import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; +import {PlotsComponent} from './components/plots/plots.component'; describe('MainComponent', () => { let component: AppComponent; diff --git a/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.ts b/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.ts index de2575304..32ffba8a7 100644 --- a/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.ts +++ b/projects/nshmp-apps/src/app/hazard/dynamic/components/control-panel/control-panel.component.ts @@ -27,9 +27,9 @@ import { SourceType, sourceTypeToCapitalCase, } from '@ghsc/nshmp-utils-ts/libs/nshmp-lib/model'; -import {environment} from '../../../../../environments/environment'; import {combineLatest, Subscription} from 'rxjs'; +import {environment} from '../../../../../environments/environment'; import {AppService} from '../../services/app.service'; /** diff --git a/projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts b/projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts index 648fd58aa..c82c67b70 100644 --- a/projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/hazard/static/app.component.spec.ts @@ -9,8 +9,8 @@ import {ContentComponent} from './components/content/content.component'; import {ControlPanelComponent} from './components/control-panel/control-panel.component'; import {CurveDataComponent} from './components/curve-data/curve-data.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; -import {PlotsComponent} from './components/plots/plots.component'; import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; +import {PlotsComponent} from './components/plots/plots.component'; import {SpectrumDataComponent} from './components/spectrum-data/spectrum-data.component'; describe('StaticHazardComponent', () => { diff --git a/projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts b/projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts index 90a19b5f2..d6955abe8 100644 --- a/projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts +++ b/projects/nshmp-apps/src/app/source/mfd/app.component.spec.ts @@ -10,8 +10,8 @@ import {ControlPanelComponent} from './components/control-panel/control-panel.co import {DataComponent} from './components/data/data.component'; import {LogicTreeComponent} from './components/logic-tree/logic-tree.component'; import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component'; -import {PlotsComponent} from './components/plots/plots.component'; import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component'; +import {PlotsComponent} from './components/plots/plots.component'; describe('AppComponent', () => { let component: AppComponent; -- GitLab