From 537f2d91b8fb83330122ec312de53762217956cc Mon Sep 17 00:00:00 2001 From: Aaron Greenspan Date: Thu, 28 Jan 2021 17:30:09 -0700 Subject: [PATCH] ui: rename dev-notes to notes --- .../install-wizard/install-wizard.component.module.ts | 4 ++-- .../components/install-wizard/install-wizard.component.ts | 5 ++--- .../install-wizard/notes/notes.component.module.ts | 8 ++++---- .../components/install-wizard/notes/notes.component.ts | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ui/src/app/components/install-wizard/install-wizard.component.module.ts b/ui/src/app/components/install-wizard/install-wizard.component.module.ts index a45248ddc..06094fc82 100644 --- a/ui/src/app/components/install-wizard/install-wizard.component.module.ts +++ b/ui/src/app/components/install-wizard/install-wizard.component.module.ts @@ -7,7 +7,7 @@ import { SharingModule } from 'src/app/modules/sharing.module' import { DependenciesComponentModule } from './dependencies/dependencies.component.module' import { DependentsComponentModule } from './dependents/dependents.component.module' import { CompleteComponentModule } from './complete/complete.component.module' -import { DeveloperNotesComponentModule } from './notes/notes.component.module' +import { NotesComponentModule } from './notes/notes.component.module' @NgModule({ declarations: [ @@ -21,7 +21,7 @@ import { DeveloperNotesComponentModule } from './notes/notes.component.module' DependenciesComponentModule, DependentsComponentModule, CompleteComponentModule, - DeveloperNotesComponentModule, + NotesComponentModule, ], exports: [InstallWizardComponent], }) diff --git a/ui/src/app/components/install-wizard/install-wizard.component.ts b/ui/src/app/components/install-wizard/install-wizard.component.ts index 63aa8497e..e04c377ef 100644 --- a/ui/src/app/components/install-wizard/install-wizard.component.ts +++ b/ui/src/app/components/install-wizard/install-wizard.component.ts @@ -7,7 +7,7 @@ import { capitalizeFirstLetter } from 'src/app/util/misc.util' import { CompleteComponent } from './complete/complete.component' import { DependenciesComponent } from './dependencies/dependencies.component' import { DependentsComponent } from './dependents/dependents.component' -import { DeveloperNotesComponent } from './notes/notes.component' +import { NotesComponent } from './notes/notes.component' import { Colorable, Loadable } from './loadable' import { WizardAction } from './wizard-types' @@ -89,7 +89,6 @@ export class InstallWizardComponent extends Cleanup implements OnInit { this.slideContainer.slideNext(500), ]) await this.slideContainer.lockSwipes(true) - // this.slideContainer.update() }) } } @@ -117,7 +116,7 @@ export type SlideDefinition = SlideCommon & ( params: CompleteComponent['params'] } | { selector: 'notes', - params: DeveloperNotesComponent['params'] + params: NotesComponent['params'] } ) diff --git a/ui/src/app/components/install-wizard/notes/notes.component.module.ts b/ui/src/app/components/install-wizard/notes/notes.component.module.ts index 6c80d04cd..bb5e36bf7 100644 --- a/ui/src/app/components/install-wizard/notes/notes.component.module.ts +++ b/ui/src/app/components/install-wizard/notes/notes.component.module.ts @@ -1,13 +1,13 @@ import { NgModule } from '@angular/core' import { CommonModule } from '@angular/common' -import { DeveloperNotesComponent } from './notes.component' +import { NotesComponent } from './notes.component' import { IonicModule } from '@ionic/angular' import { RouterModule } from '@angular/router' import { SharingModule } from 'src/app/modules/sharing.module' @NgModule({ declarations: [ - DeveloperNotesComponent, + NotesComponent, ], imports: [ CommonModule, @@ -15,6 +15,6 @@ import { SharingModule } from 'src/app/modules/sharing.module' RouterModule.forChild([]), SharingModule, ], - exports: [DeveloperNotesComponent], + exports: [NotesComponent], }) -export class DeveloperNotesComponentModule { } +export class NotesComponentModule { } diff --git a/ui/src/app/components/install-wizard/notes/notes.component.ts b/ui/src/app/components/install-wizard/notes/notes.component.ts index 4badbd982..d7200ccba 100644 --- a/ui/src/app/components/install-wizard/notes/notes.component.ts +++ b/ui/src/app/components/install-wizard/notes/notes.component.ts @@ -8,7 +8,7 @@ import { WizardAction } from '../wizard-types' templateUrl: './notes.component.html', styleUrls: ['../install-wizard.component.scss'], }) -export class DeveloperNotesComponent implements OnInit, Loadable, Colorable { +export class NotesComponent implements OnInit, Loadable, Colorable { @Input() params: { action: WizardAction notes: string