Skip to content

Commit b080cfa

Browse files
committed
Rename the software project field to avoid name clash with topic
# We can't easily cope with "software_project" as both a field (level 2) # and as a topic (level 3) name, so rename the field to fix this.
1 parent f2662cc commit b080cfa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/services/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ export enum TAG_ID {
358358
functionalProgramming = "functional_programming",
359359
objectOrientedProgramming = "object_oriented_programming",
360360
proceduralProgramming = "procedural_programming",
361-
softwareProjectProgramming = "software_project_programming",
361+
computingPracticalProject = "computing_practical_project",
362362

363363
// GCSE to A level transition topics
364364
gcseBooleanLogic = "gcse_boolean_logic",
@@ -412,7 +412,7 @@ export enum TAG_ID {
412412
stringManipulation = "string_manipulation",
413413
guis = "guis",
414414
softwareEngineeringPrinciples = "software_engineering_principles",
415-
// Software project topics
415+
// Computing practical project topics
416416
softwareProject = "software_project",
417417
}
418418

src/app/services/tags.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const baseTags: BaseTag[] = [
2929
{id: TAG_ID.functionalProgramming, title: "Functional programming", parent: TAG_ID.programming},
3030
{id: TAG_ID.objectOrientedProgramming, title: "Object-oriented programming", parent: TAG_ID.programming},
3131
{id: TAG_ID.proceduralProgramming, title: "Procedural programming", parent: TAG_ID.programming},
32-
{id: TAG_ID.softwareProjectProgramming, title: "Software project", parent: TAG_ID.programming},
32+
{id: TAG_ID.computingPracticalProject, title: "Computing practical project", parent: TAG_ID.programming},
3333

3434
// GCSE to A level transition topics
3535
{id: TAG_ID.gcseBooleanLogic, title: "Boolean logic", parent: TAG_ID.gcseToALevel},
@@ -84,7 +84,7 @@ const baseTags: BaseTag[] = [
8484
{id: TAG_ID.guis, title: "GUIs", parent: TAG_ID.proceduralProgramming, comingSoon: 'Jan 2020'},
8585
{id: TAG_ID.softwareEngineeringPrinciples, title: "Software engineering principles", parent: TAG_ID.proceduralProgramming, comingSoon: 'Apr 2020'},
8686
// Software project topics
87-
{id: TAG_ID.softwareProject, title: "Software project", parent: TAG_ID.softwareProjectProgramming, new: true},
87+
{id: TAG_ID.softwareProject, title: "Software project", parent: TAG_ID.computingPracticalProject, new: true},
8888
];
8989

9090
const getBaseTagById = (id: TAG_ID) => {

0 commit comments

Comments
 (0)