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] 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