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 109357b1ab23357d0043606dce4288796f4ce2bc..cdf8fb7e3520b4e27986db1fdd7d0edf776c1372 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 62d2c415b6298914f13822465317109f9af2907f..77dfe350a0f04e23f24fb5b96ae62bf7517a96d1 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 b661b5dc13b993e5f71db36bcc068b932c70e458..2e1e32de8462fcbb796714afa842313b1a344d87 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 f32cb499109bcd69ddd134227f47a21b493974ff..fe3897a2e27177b40df5bafc33db226b4dfaea02 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 ac6f4a09d56f0248222c9d77afdd4f5a88e0c3d3..7e809c808e8562cb94bd20f1238a7eecaa1760f3 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 */