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 8a5860704efdbaad630262e902dd706e092ef6b0..cdf8fb7e3520b4e27986db1fdd7d0edf776c1372 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 dba04b4994097d6ddbd0682417e7628ed18fbcc8..62d17bf5fba422dac58142109f5d465d31028978 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 78bfe82b02952318c0cf126bc6af2ebe0687e7aa..e3666f2c963fcd39aff169a74d255fc9f465cf83 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 babda5391913c6f2da26ab4a2b0765cdaea05ec0..ac485aa2aa443894f6769407d3d95b6ccd68f85e 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 89352e480e7f4c6b7aec123ea5b12eda10bf7386..31f9594343aa698f39c6a04006e477d0e0addb78 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;