Enhance CareerField and CareerMapping components with descriptions
Added a Description property to the CareerField class to provide a short overview of each career field. Updated the CareerFieldDefinitions to include descriptions for all career fields. Modified the CareerMapping component to display the description of the selected career field or event, improving user experience by providing more context about each node.
This commit is contained in:
@@ -15,6 +15,11 @@ public class CareerField
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string Name { get; }
|
public string Name { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Short description of the career field
|
||||||
|
/// </summary>
|
||||||
|
public string Description { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Exact career names that belong to this field
|
/// Exact career names that belong to this field
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -30,12 +35,14 @@ public class CareerField
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">Unique identifier</param>
|
/// <param name="id">Unique identifier</param>
|
||||||
/// <param name="name">Display name</param>
|
/// <param name="name">Display name</param>
|
||||||
|
/// <param name="description">Short description of the career field</param>
|
||||||
/// <param name="directCareerMatches">Exact career name matches</param>
|
/// <param name="directCareerMatches">Exact career name matches</param>
|
||||||
/// <param name="patternKeywords">Keywords for pattern matching</param>
|
/// <param name="patternKeywords">Keywords for pattern matching</param>
|
||||||
public CareerField(int id, string name, IReadOnlyList<string> directCareerMatches, IReadOnlyList<string> patternKeywords)
|
public CareerField(int id, string name, string description, IReadOnlyList<string> directCareerMatches, IReadOnlyList<string> patternKeywords)
|
||||||
{
|
{
|
||||||
Id = id;
|
Id = id;
|
||||||
Name = name;
|
Name = name;
|
||||||
|
Description = description;
|
||||||
DirectCareerMatches = directCareerMatches ?? Array.Empty<string>();
|
DirectCareerMatches = directCareerMatches ?? Array.Empty<string>();
|
||||||
PatternKeywords = patternKeywords ?? Array.Empty<string>();
|
PatternKeywords = patternKeywords ?? Array.Empty<string>();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,205 +76,230 @@ public static class CareerFieldDefinitions
|
|||||||
{
|
{
|
||||||
return new List<CareerField>
|
return new List<CareerField>
|
||||||
{
|
{
|
||||||
// 1. Aerospace & Automotive Engineering
|
// 1. Aerospace & Automotive Engineering
|
||||||
new CareerField(
|
new CareerField(
|
||||||
1,
|
1,
|
||||||
"Aerospace & Automotive Engineering",
|
"Aerospace & Automotive Engineering",
|
||||||
new[] { "Aeronautical engineer", "Aircraft systems engineer", "Automobile designer", "Automotive designer", "Automotive modeler", "Race car engineer" },
|
"Careers focused on designing and engineering aircraft, spacecraft, and vehicles for transportation.",
|
||||||
new[] { "aeronautical", "aircraft", "automobile", "automotive", "race car" }
|
new[] { "Aeronautical engineer", "Aircraft systems engineer", "Automobile designer", "Automotive designer", "Automotive modeler", "Race car engineer" },
|
||||||
),
|
new[] { "aeronautical", "aircraft", "automobile", "automotive", "race car" }
|
||||||
|
),
|
||||||
|
|
||||||
// 2. Mechanical & Robotics Engineering
|
// 2. Mechanical & Robotics Engineering
|
||||||
new CareerField(
|
new CareerField(
|
||||||
2,
|
2,
|
||||||
"Mechanical & Robotics Engineering",
|
"Mechanical & Robotics Engineering",
|
||||||
new[] { "Machine designer", "Mechanical drafter", "Mechanical engineer", "Robotics engineer" },
|
"Engineering disciplines involving mechanical systems, machinery design, and automated robotic systems.",
|
||||||
new[] { "mechanical", "robotics", "machine" }
|
new[] { "Machine designer", "Mechanical drafter", "Mechanical engineer", "Robotics engineer" },
|
||||||
),
|
new[] { "mechanical", "robotics", "machine" }
|
||||||
|
),
|
||||||
|
|
||||||
// 3. Electrical & Electronics Engineering
|
// 3. Electrical & Electronics Engineering
|
||||||
new CareerField(
|
new CareerField(
|
||||||
3,
|
3,
|
||||||
"Electrical & Electronics Engineering",
|
"Electrical & Electronics Engineering",
|
||||||
new[] { "Electrical engineer", "Electrical technician", "Electrician", "Electromechanical engineer", "Electronic analyst", "Electronic designer" },
|
"Careers involving electrical systems, circuits, and electronic device design and maintenance.",
|
||||||
new[] { "electrical", "electronic", "electrician" }
|
new[] { "Electrical engineer", "Electrical technician", "Electrician", "Electromechanical engineer", "Electronic analyst", "Electronic designer" },
|
||||||
),
|
new[] { "electrical", "electronic", "electrician" }
|
||||||
|
),
|
||||||
|
|
||||||
// 4. Civil & Structural Engineering
|
// 4. Civil & Structural Engineering
|
||||||
new CareerField(
|
new CareerField(
|
||||||
4,
|
4,
|
||||||
"Civil & Structural Engineering",
|
"Civil & Structural Engineering",
|
||||||
new[] { "Civil engineer", "Construction analyst", "Construction manager", "General contractor", "Structural engineer", "Structural iron and steel work technician" },
|
"Engineering fields focused on infrastructure, buildings, bridges, and construction project management.",
|
||||||
new[] { "civil", "construction", "structural", "contractor" }
|
new[] { "Civil engineer", "Construction analyst", "Construction manager", "General contractor", "Structural engineer", "Structural iron and steel work technician" },
|
||||||
),
|
new[] { "civil", "construction", "structural", "contractor" }
|
||||||
|
),
|
||||||
|
|
||||||
// 5. Environmental & Energy Engineering
|
// 5. Environmental & Energy Engineering
|
||||||
new CareerField(
|
new CareerField(
|
||||||
5,
|
5,
|
||||||
"Environmental & Energy Engineering",
|
"Environmental & Energy Engineering",
|
||||||
new[] { "Chemical engineer", "Energy efficiency technician", "Environmental engineer", "Solar engineer", "Solar panel installer", "Solar sales consultant" },
|
"Engineering careers focused on sustainable energy solutions, environmental protection, and chemical processes.",
|
||||||
new[] { "chemical", "energy", "environmental", "solar" }
|
new[] { "Chemical engineer", "Energy efficiency technician", "Environmental engineer", "Solar engineer", "Solar panel installer", "Solar sales consultant" },
|
||||||
),
|
new[] { "chemical", "energy", "environmental", "solar" }
|
||||||
|
),
|
||||||
|
|
||||||
// 6. General Engineering & Quality
|
// 6. General Engineering & Quality
|
||||||
new CareerField(
|
new CareerField(
|
||||||
6,
|
6,
|
||||||
"General Engineering & Quality",
|
"General Engineering & Quality",
|
||||||
new[] { "Engineer", "Engineering manager", "Engineering technician", "Quality assurance engineer", "Quality engineer", "Standards engineer" },
|
"Broad engineering roles including management, quality assurance, and standards compliance across various industries.",
|
||||||
new[] { "engineer", "quality", "standards" }
|
new[] { "Engineer", "Engineering manager", "Engineering technician", "Quality assurance engineer", "Quality engineer", "Standards engineer" },
|
||||||
),
|
new[] { "engineer", "quality", "standards" }
|
||||||
|
),
|
||||||
|
|
||||||
// 7. Architecture & Urban Planning
|
// 7. Architecture & Urban Planning
|
||||||
new CareerField(
|
new CareerField(
|
||||||
7,
|
7,
|
||||||
"Architecture & Urban Planning",
|
"Architecture & Urban Planning",
|
||||||
new[] { "Architect", "Community planner", "Interior designer", "Urban and regional planner" },
|
"Design and planning careers focused on buildings, spaces, and community development.",
|
||||||
new[] { "architect", "planner", "interior design", "urban" }
|
new[] { "Architect", "Community planner", "Interior designer", "Urban and regional planner" },
|
||||||
),
|
new[] { "architect", "planner", "interior design", "urban" }
|
||||||
|
),
|
||||||
|
|
||||||
// 8. Software Development
|
// 8. Software Development
|
||||||
new CareerField(
|
new CareerField(
|
||||||
8,
|
8,
|
||||||
"Software Development",
|
"Software Development",
|
||||||
new[] { "Computer programmer", "Computer software engineer", "Programming & software development", "Software designer", "Software engineer" },
|
"Careers in creating, designing, and developing computer software applications and systems.",
|
||||||
new[] { "programming", "programmer", "software", "developer" }
|
new[] { "Computer programmer", "Computer software engineer", "Programming & software development", "Software designer", "Software engineer" },
|
||||||
),
|
new[] { "programming", "programmer", "software", "developer" }
|
||||||
|
),
|
||||||
|
|
||||||
// 9. IT & Networking
|
// 9. IT & Networking
|
||||||
new CareerField(
|
new CareerField(
|
||||||
9,
|
9,
|
||||||
"IT & Networking",
|
"IT & Networking",
|
||||||
new[] { "Computer engineer", "Computer network specialist", "Computer technician", "Information support & services", "Network systems", "Technical support specialist", "Telecommunications manager" },
|
"Information technology careers involving computer systems, networks, technical support, and telecommunications.",
|
||||||
new[] { "network", "computer", "technical support", "telecommunications", "IT" }
|
new[] { "Computer engineer", "Computer network specialist", "Computer technician", "Information support & services", "Network systems", "Technical support specialist", "Telecommunications manager" },
|
||||||
),
|
new[] { "network", "computer", "technical support", "telecommunications", "IT" }
|
||||||
|
),
|
||||||
|
|
||||||
// 10. Cybersecurity & Digital Forensics
|
// 10. Cybersecurity & Digital Forensics
|
||||||
new CareerField(
|
new CareerField(
|
||||||
10,
|
10,
|
||||||
"Cybersecurity & Digital Forensics",
|
"Cybersecurity & Digital Forensics",
|
||||||
new[] { "Cryptographer", "Cyber Crime Investigator", "Cyber defense incident responder", "Cyber forensics expert", "Cyber legal advisor", "Cyber operator", "Cybersecurity engineer", "Vulnerability assessor" },
|
"Security-focused careers protecting digital systems, investigating cybercrimes, and ensuring information security.",
|
||||||
new[] { "cyber", "security", "forensics", "cryptography", "vulnerability" }
|
new[] { "Cryptographer", "Cyber Crime Investigator", "Cyber defense incident responder", "Cyber forensics expert", "Cyber legal advisor", "Cyber operator", "Cybersecurity engineer", "Vulnerability assessor" },
|
||||||
),
|
new[] { "cyber", "security", "forensics", "cryptography", "vulnerability" }
|
||||||
|
),
|
||||||
|
|
||||||
// 11. Data Science & Analytics
|
// 11. Data Science & Analytics
|
||||||
new CareerField(
|
new CareerField(
|
||||||
11,
|
11,
|
||||||
"Data Science & Analytics",
|
"Data Science & Analytics",
|
||||||
new[] { "Actuary", "Data analyst", "Data scientist", "Economist", "Mathematician", "Operations research analyst" },
|
"Careers analyzing data, applying mathematical and statistical methods to solve problems and make decisions.",
|
||||||
new[] { "data", "analyst", "actuary", "economist", "mathematician", "research" }
|
new[] { "Actuary", "Data analyst", "Data scientist", "Economist", "Mathematician", "Operations research analyst" },
|
||||||
),
|
new[] { "data", "analyst", "actuary", "economist", "mathematician", "research" }
|
||||||
|
),
|
||||||
|
|
||||||
// 12. CAD, CNC & Manufacturing
|
// 12. CAD, CNC & Manufacturing
|
||||||
new CareerField(
|
new CareerField(
|
||||||
12,
|
12,
|
||||||
"CAD, CNC & Manufacturing",
|
"CAD, CNC & Manufacturing",
|
||||||
new[] { "CAD professional", "CNC programmer", "Manufacturing", "Production planner" },
|
"Careers in computer-aided design, manufacturing processes, and production planning.",
|
||||||
new[] { "CAD", "CNC", "manufacturing", "production" }
|
new[] { "CAD professional", "CNC programmer", "Manufacturing", "Production planner" },
|
||||||
),
|
new[] { "CAD", "CNC", "manufacturing", "production" }
|
||||||
|
),
|
||||||
|
|
||||||
// 13. Industrial & Product Design
|
// 13. Industrial & Product Design
|
||||||
new CareerField(
|
new CareerField(
|
||||||
13,
|
13,
|
||||||
"Industrial & Product Design",
|
"Industrial & Product Design",
|
||||||
new[] { "Appraiser", "Commercial and industrial design", "Designer", "Industrial designer", "Product designer" },
|
"Design careers creating products, commercial goods, and industrial solutions with focus on form and function.",
|
||||||
new[] { "designer", "design", "industrial", "product", "appraiser" }
|
new[] { "Appraiser", "Commercial and industrial design", "Designer", "Industrial designer", "Product designer" },
|
||||||
),
|
new[] { "designer", "design", "industrial", "product", "appraiser" }
|
||||||
|
),
|
||||||
|
|
||||||
// 14. Visual Arts & Animation
|
// 14. Visual Arts & Animation
|
||||||
new CareerField(
|
new CareerField(
|
||||||
14,
|
14,
|
||||||
"Visual Arts & Animation",
|
"Visual Arts & Animation",
|
||||||
new[] { "Animator", "Artist", "Computer animator", "Graphic artist", "Illustrator", "Multimedia designer" },
|
"Creative careers in visual design, illustration, animation, and digital art creation.",
|
||||||
new[] { "animator", "artist", "graphic", "illustrator", "multimedia" }
|
new[] { "Animator", "Artist", "Computer animator", "Graphic artist", "Illustrator", "Multimedia designer" },
|
||||||
),
|
new[] { "animator", "artist", "graphic", "illustrator", "multimedia" }
|
||||||
|
),
|
||||||
|
|
||||||
// 15. Game Design & Interactive Media
|
// 15. Game Design & Interactive Media
|
||||||
new CareerField(
|
new CareerField(
|
||||||
15,
|
15,
|
||||||
"Game Design & Interactive Media",
|
"Game Design & Interactive Media",
|
||||||
new[] { "Game designer", "Game Play Tester", "Professional Gamer" },
|
"Careers in video game design, development, testing, and professional gaming.",
|
||||||
new[] { "game", "gamer", "gaming" }
|
new[] { "Game designer", "Game Play Tester", "Professional Gamer" },
|
||||||
),
|
new[] { "game", "gamer", "gaming" }
|
||||||
|
),
|
||||||
|
|
||||||
// 16. Audio & Music Production
|
// 16. Audio & Music Production
|
||||||
new CareerField(
|
new CareerField(
|
||||||
16,
|
16,
|
||||||
"Audio & Music Production",
|
"Audio & Music Production",
|
||||||
new[] { "Audio designer or engineer", "Audio Engineer", "Audio operator or technician", "Broadcast technician", "Music composer" },
|
"Careers in audio engineering, music composition, sound design, and broadcast technology.",
|
||||||
new[] { "audio", "music", "broadcast", "sound" }
|
new[] { "Audio designer or engineer", "Audio Engineer", "Audio operator or technician", "Broadcast technician", "Music composer" },
|
||||||
),
|
new[] { "audio", "music", "broadcast", "sound" }
|
||||||
|
),
|
||||||
|
|
||||||
// 17. Video & Film Production
|
// 17. Video & Film Production
|
||||||
new CareerField(
|
new CareerField(
|
||||||
17,
|
17,
|
||||||
"Video & Film Production",
|
"Video & Film Production",
|
||||||
new[] { "Audiovisual technician", "Director", "Entertainment/television broadcaster", "Videographer" },
|
"Careers in video production, filmmaking, directing, and television broadcasting.",
|
||||||
new[] { "video", "film", "director", "television", "broadcast", "videographer" }
|
new[] { "Audiovisual technician", "Director", "Entertainment/television broadcaster", "Videographer" },
|
||||||
),
|
new[] { "video", "film", "director", "television", "broadcast", "videographer" }
|
||||||
|
),
|
||||||
|
|
||||||
// 18. Web & Digital Communications
|
// 18. Web & Digital Communications
|
||||||
new CareerField(
|
new CareerField(
|
||||||
18,
|
18,
|
||||||
"Web & Digital Communications",
|
"Web & Digital Communications",
|
||||||
new[] { "Instructional technologist", "Web & digital communications", "Webmaster", "Website designer" },
|
"Careers in web design, digital communication, and instructional technology.",
|
||||||
new[] { "web", "website", "digital", "communications", "webmaster" }
|
new[] { "Instructional technologist", "Web & digital communications", "Webmaster", "Website designer" },
|
||||||
),
|
new[] { "web", "website", "digital", "communications", "webmaster" }
|
||||||
|
),
|
||||||
|
|
||||||
// 19. Writing & Publishing
|
// 19. Writing & Publishing
|
||||||
new CareerField(
|
new CareerField(
|
||||||
19,
|
19,
|
||||||
"Writing & Publishing",
|
"Writing & Publishing",
|
||||||
new[] { "Ad copy writer", "Editor", "Publisher", "Screenplay writer", "Speech writer", "Technical writer", "Writer" },
|
"Careers in writing, editing, publishing, and content creation across various media formats.",
|
||||||
new[] { "writing", "writer", "editor", "publisher", "copy" }
|
new[] { "Ad copy writer", "Editor", "Publisher", "Screenplay writer", "Speech writer", "Technical writer", "Writer" },
|
||||||
),
|
new[] { "writing", "writer", "editor", "publisher", "copy" }
|
||||||
|
),
|
||||||
|
|
||||||
// 20. Journalism & Public Relations
|
// 20. Journalism & Public Relations
|
||||||
new CareerField(
|
new CareerField(
|
||||||
20,
|
20,
|
||||||
"Journalism & Public Relations",
|
"Journalism & Public Relations",
|
||||||
new[] { "Internal communications manager", "Motivational speaker", "Photojournalist", "Reporter" },
|
"Careers in news reporting, photojournalism, public relations, and communications management.",
|
||||||
new[] { "journalism", "reporter", "photojournalist", "communications", "speaker" }
|
new[] { "Internal communications manager", "Motivational speaker", "Photojournalist", "Reporter" },
|
||||||
),
|
new[] { "journalism", "reporter", "photojournalist", "communications", "speaker" }
|
||||||
|
),
|
||||||
|
|
||||||
// 21. Forensics & Criminal Investigation
|
// 21. Forensics & Criminal Investigation
|
||||||
new CareerField(
|
new CareerField(
|
||||||
21,
|
21,
|
||||||
"Forensics & Criminal Investigation",
|
"Forensics & Criminal Investigation",
|
||||||
new[] { "Crime scene investigator", "Detective", "Forensic accountant", "Forensic anthropologist", "Forensic engineering scientist", "Forensic pathologist" },
|
"Careers in criminal investigation, forensic science, and analyzing evidence for legal proceedings.",
|
||||||
new[] { "forensic", "detective", "investigator", "crime" }
|
new[] { "Crime scene investigator", "Detective", "Forensic accountant", "Forensic anthropologist", "Forensic engineering scientist", "Forensic pathologist" },
|
||||||
),
|
new[] { "forensic", "detective", "investigator", "crime" }
|
||||||
|
),
|
||||||
|
|
||||||
// 22. Healthcare & Medical Technology
|
// 22. Healthcare & Medical Technology
|
||||||
new CareerField(
|
new CareerField(
|
||||||
22,
|
22,
|
||||||
"Healthcare & Medical Technology",
|
"Healthcare & Medical Technology",
|
||||||
new[] { "Dietitian", "Doctor", "Epidemiologist", "Medical technologist", "Nurse", "Pharmacist", "Prosthetics practitioner" },
|
"Medical and healthcare careers providing patient care, medical technology, and health services.",
|
||||||
new[] { "medical", "health", "doctor", "nurse", "pharmacist", "dietitian", "epidemiology" }
|
new[] { "Dietitian", "Doctor", "Epidemiologist", "Medical technologist", "Nurse", "Pharmacist", "Prosthetics practitioner" },
|
||||||
),
|
new[] { "medical", "health", "doctor", "nurse", "pharmacist", "dietitian", "epidemiology" }
|
||||||
|
),
|
||||||
|
|
||||||
// 23. Science & Research
|
// 23. Science & Research
|
||||||
new CareerField(
|
new CareerField(
|
||||||
23,
|
23,
|
||||||
"Science & Research",
|
"Science & Research",
|
||||||
new[] { "Botanist", "Food scientist", "Meteorologist", "Molecular biologist", "Physics instructor", "Plant geneticist", "Research and development scientist", "Research assistant", "Researcher" },
|
"Scientific research careers across biology, physics, meteorology, and other scientific disciplines.",
|
||||||
new[] { "scientist", "research", "biology", "physics", "botanist", "meteorologist", "geneticist" }
|
new[] { "Botanist", "Food scientist", "Meteorologist", "Molecular biologist", "Physics instructor", "Plant geneticist", "Research and development scientist", "Research assistant", "Researcher" },
|
||||||
),
|
new[] { "scientist", "research", "biology", "physics", "botanist", "meteorologist", "geneticist" }
|
||||||
|
),
|
||||||
|
|
||||||
// 24. Education & Training
|
// 24. Education & Training
|
||||||
new CareerField(
|
new CareerField(
|
||||||
24,
|
24,
|
||||||
"Education & Training",
|
"Education & Training",
|
||||||
new[] { "Educator", "Teacher/trainer", "Technology education instructor" },
|
"Careers in teaching, training, and educational instruction across various subjects and technologies.",
|
||||||
new[] { "educator", "teacher", "trainer", "education", "instructor" }
|
new[] { "Educator", "Teacher/trainer", "Technology education instructor" },
|
||||||
),
|
new[] { "educator", "teacher", "trainer", "education", "instructor" }
|
||||||
|
),
|
||||||
|
|
||||||
// 25. Business, Legal & Government
|
// 25. Business, Legal & Government
|
||||||
new CareerField(
|
new CareerField(
|
||||||
25,
|
25,
|
||||||
"Business, Legal & Government",
|
"Business, Legal & Government",
|
||||||
new[] { "Creative consultant", "Entrepreneur", "Government Official", "Lawyer", "Legal Aide", "Lobbyist", "Management executive", "Market researcher", "Marketing strategist", "Parliamentarian", "Politician", "Project manager", "Public affairs specialist", "Public policy specialist", "Recording Clerk", "Small business owner", "Volunteer manager" },
|
"Careers in business management, legal services, government, politics, and public policy.",
|
||||||
new[] { "business", "legal", "lawyer", "government", "politician", "manager", "marketing", "consultant", "entrepreneur" }
|
new[] { "Creative consultant", "Entrepreneur", "Government Official", "Lawyer", "Legal Aide", "Lobbyist", "Management executive", "Market researcher", "Marketing strategist", "Parliamentarian", "Politician", "Project manager", "Public affairs specialist", "Public policy specialist", "Recording Clerk", "Small business owner", "Volunteer manager" },
|
||||||
)
|
new[] { "business", "legal", "lawyer", "government", "politician", "manager", "marketing", "consultant", "entrepreneur" }
|
||||||
|
)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,6 +42,10 @@ else
|
|||||||
{
|
{
|
||||||
<MudPaper Elevation="1" Class="pa-4 mb-4" Style="background-color: #f5f5f5;">
|
<MudPaper Elevation="1" Class="pa-4 mb-4" Style="background-color: #f5f5f5;">
|
||||||
<MudText Typo="Typo.h6" Class="mb-2">@_selectedNodeInfo.Title</MudText>
|
<MudText Typo="Typo.h6" Class="mb-2">@_selectedNodeInfo.Title</MudText>
|
||||||
|
@if (!string.IsNullOrWhiteSpace(_selectedNodeInfo.Description))
|
||||||
|
{
|
||||||
|
<MudText Typo="Typo.body2" Class="mb-3 mud-text-secondary">@_selectedNodeInfo.Description</MudText>
|
||||||
|
}
|
||||||
@if (_selectedNodeInfo.Careers != null && _selectedNodeInfo.Careers.Any())
|
@if (_selectedNodeInfo.Careers != null && _selectedNodeInfo.Careers.Any())
|
||||||
{
|
{
|
||||||
<MudText Typo="Typo.subtitle2" Class="mb-2">Related Careers:</MudText>
|
<MudText Typo="Typo.subtitle2" Class="mb-2">Related Careers:</MudText>
|
||||||
@@ -73,6 +77,7 @@ else
|
|||||||
private class SelectedNodeInfo
|
private class SelectedNodeInfo
|
||||||
{
|
{
|
||||||
public string Title { get; set; } = string.Empty;
|
public string Title { get; set; } = string.Empty;
|
||||||
|
public string? Description { get; set; }
|
||||||
public bool IsCareerField { get; set; }
|
public bool IsCareerField { get; set; }
|
||||||
public List<string>? Careers { get; set; }
|
public List<string>? Careers { get; set; }
|
||||||
}
|
}
|
||||||
@@ -274,6 +279,7 @@ else
|
|||||||
_selectedNodeInfo = new SelectedNodeInfo
|
_selectedNodeInfo = new SelectedNodeInfo
|
||||||
{
|
{
|
||||||
Title = field.Name,
|
Title = field.Name,
|
||||||
|
Description = field.Description,
|
||||||
IsCareerField = true,
|
IsCareerField = true,
|
||||||
Careers = careers?.ToList() ?? new List<string>()
|
Careers = careers?.ToList() ?? new List<string>()
|
||||||
};
|
};
|
||||||
@@ -288,6 +294,7 @@ else
|
|||||||
_selectedNodeInfo = new SelectedNodeInfo
|
_selectedNodeInfo = new SelectedNodeInfo
|
||||||
{
|
{
|
||||||
Title = evt.Name,
|
Title = evt.Name,
|
||||||
|
Description = evt.Description,
|
||||||
IsCareerField = false,
|
IsCareerField = false,
|
||||||
Careers = evt.RelatedCareers.Select(c => c.Name).OrderBy(c => c).ToList()
|
Careers = evt.RelatedCareers.Select(c => c.Name).OrderBy(c => c).ToList()
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user