From 98604c7d3eda03ab9ddf9f4ba59c693033f3e478 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Thu, 14 Aug 2025 20:59:55 -0700 Subject: [PATCH] Fix UI Breaking --- ToDo.yaml | 6 +- src/Client/src/app/models/Resume.ts | 2 +- .../resumes/editor/editor.component.html | 96 +++++++++---------- 3 files changed, 54 insertions(+), 50 deletions(-) diff --git a/ToDo.yaml b/ToDo.yaml index f162401..148fba8 100755 --- a/ToDo.yaml +++ b/ToDo.yaml @@ -24,6 +24,9 @@ Server: Server.csproj: Find a way to keep all the libraries up to date + DbDriver: + Make getConnection() -> Based on a connection pool so that more than a specific number of connections cannot be made + Client: jobs/editor: Job Listing Skills exists but isn't implimented in the UI @@ -50,7 +53,8 @@ Client: resume/editor: Not fully tested yet - Veteran needs to be moved from the Resume/millitary into the Resume so it doesnt have to save the whole millitary object to the db if not needed + When adding new fields the fields above it glitch out and disappear + There is no data validation Company: Need to impliment Add employee diff --git a/src/Client/src/app/models/Resume.ts b/src/Client/src/app/models/Resume.ts index a3efa7c..f310a43 100644 --- a/src/Client/src/app/models/Resume.ts +++ b/src/Client/src/app/models/Resume.ts @@ -13,7 +13,7 @@ export class Resume { public stateOrRegion: string = ""; public city: string = ""; public isActive: boolean = false; - public military: ResumeMilitary | null = new ResumeMilitary; + public military: ResumeMilitary | null = null; public experiences: ResumeExperience[] = []; public educations: ResumeEducation[] = []; public skills: ResumeSkill[] = []; diff --git a/src/Client/src/app/pages/resumes/editor/editor.component.html b/src/Client/src/app/pages/resumes/editor/editor.component.html index c520e48..15c06d1 100644 --- a/src/Client/src/app/pages/resumes/editor/editor.component.html +++ b/src/Client/src/app/pages/resumes/editor/editor.component.html @@ -2,16 +2,16 @@
- - - - - - - - - -

Public:

+ + + + + + + + + +

Public:

@@ -19,21 +19,21 @@ @for(experience of resume.experiences; track experience.trackUUID ){
- - - - - - - - + + + + + + + + @if(!experience.stillEmployed){ - + } @for(bullet of experience.experienceBullets; track bullet.trackUUID){
- +
} @@ -44,20 +44,20 @@
-

Is Veteran:

+

Is Veteran:

@if(resume.military !== null){ - - - -

Still Serving:

+ + + +

Still Serving:

@if (!resume.military.stillServing){ - + } @for(military of resume.military.militaryBullets; track military.trackUUID ){
- - + +
} @@ -69,17 +69,17 @@ @for(education of resume.educations; track education.trackUUID){
- - - - - - - - - + + + + + + + + + @if (!education.stillStudying){ - + }
@@ -91,8 +91,8 @@ @for(skill of resume.skills; track skill.trackUUID){
- - + +
} @@ -103,8 +103,8 @@ @for(language of resume.languages; track language.trackUUID){
- - + +
} @@ -116,9 +116,9 @@ @for(cert of resume.certifications; track cert.trackUUID){
- - - + + +
} @@ -129,9 +129,9 @@ @for(proj of resume.projects; track proj.trackUUID){
- - - + + +
}