From baccd56fd74d31aab136092865365af3aea9acfc Mon Sep 17 00:00:00 2001 From: horatio Date: Wed, 2 Oct 2024 11:11:20 -0400 Subject: [PATCH] renaming from project-new to projects new to maintain consistency as needed --- .../app/components/packages/projects/new.hbs | 19 +++++++++---------- .../app/components/packages/projects/new.js | 4 ++-- ...ation.hbs => projects-new-information.hbs} | 0 .../{project-new.js => projects-new.js} | 2 +- client/app/routes/projects/new.js | 2 +- ...rm.js => submittable-projects-new-form.js} | 0 6 files changed, 13 insertions(+), 14 deletions(-) rename client/app/components/packages/projects/{project-information.hbs => projects-new-information.hbs} (100%) rename client/app/models/{project-new.js => projects-new.js} (71%) rename client/app/validations/{submittable-project-new-form.js => submittable-projects-new-form.js} (100%) diff --git a/client/app/components/packages/projects/new.hbs b/client/app/components/packages/projects/new.hbs index 5dea987a..589721b5 100644 --- a/client/app/components/packages/projects/new.hbs +++ b/client/app/components/packages/projects/new.hbs @@ -1,7 +1,7 @@
@@ -20,15 +20,15 @@ Planning will contact you with the next steps.

- +
-
\ No newline at end of file diff --git a/client/app/components/packages/projects/new.js b/client/app/components/packages/projects/new.js index 7defefa5..0c688125 100644 --- a/client/app/components/packages/projects/new.js +++ b/client/app/components/packages/projects/new.js @@ -1,12 +1,12 @@ import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; -import SubmittableProjectNewForm from '../../../validations/submittable-project-new-form'; +import SubmittableProjectsNewForm from '../../../validations/submittable-projects-new-form'; export default class ProjectsNewFormComponent extends Component { validations = { - SubmittableProjectNewForm, + SubmittableProjectsNewForm, }; @service diff --git a/client/app/components/packages/projects/project-information.hbs b/client/app/components/packages/projects/projects-new-information.hbs similarity index 100% rename from client/app/components/packages/projects/project-information.hbs rename to client/app/components/packages/projects/projects-new-information.hbs diff --git a/client/app/models/project-new.js b/client/app/models/projects-new.js similarity index 71% rename from client/app/models/project-new.js rename to client/app/models/projects-new.js index 261657ed..b3289ef8 100644 --- a/client/app/models/project-new.js +++ b/client/app/models/projects-new.js @@ -1,6 +1,6 @@ import Model, { attr } from '@ember-data/model'; -export default class ProjectNewModel extends Model { +export default class ProjectsNewModel extends Model { @attr('string') dcpProjectname; async submit() { diff --git a/client/app/routes/projects/new.js b/client/app/routes/projects/new.js index e576737d..3e3f5c08 100644 --- a/client/app/routes/projects/new.js +++ b/client/app/routes/projects/new.js @@ -6,6 +6,6 @@ export default class ProjectsNewRoute extends Route.extend(AuthenticatedRouteMix @service store; async model() { - return await this.store.createRecord('project-new'); + return await this.store.createRecord('projects-new'); } } diff --git a/client/app/validations/submittable-project-new-form.js b/client/app/validations/submittable-projects-new-form.js similarity index 100% rename from client/app/validations/submittable-project-new-form.js rename to client/app/validations/submittable-projects-new-form.js