feat(learn): rename certificates, cert slugs, and cert flags (#39026)

This commit is contained in:
Kristofer Koishigawa
2020-06-16 01:21:30 +09:00
committed by GitHub
parent 8d2df8b714
commit 77df0e32cd
28 changed files with 808 additions and 683 deletions

View File

@ -15,17 +15,17 @@ import {
legacyBackEndChallengeId,
legacyDataVisId,
legacyInfosecQaId,
legacyFullStackId,
respWebDesignId,
frontEndLibsId,
jsAlgoDataStructId,
dataVis2018Id,
apisMicroservicesId,
infosecId,
qaId,
fullStackId,
sciCompPyId,
dataAnalysisPyId,
machineLearningPyId
qa2020Id,
infosec2020Id,
sciCompPy2020Id,
dataAnalysisPy2020Id,
machineLearningPy2020Id
} from '../utils/constantStrings.json';
import { oldDataVizId } from '../../../config/misc';
import certTypes from '../utils/certTypes.json';
@ -106,6 +106,7 @@ function createCertTypeIds(app) {
[certTypes.backEnd]: getIdsForCert$(legacyBackEndChallengeId, Challenge),
[certTypes.dataVis]: getIdsForCert$(legacyDataVisId, Challenge),
[certTypes.infosecQa]: getIdsForCert$(legacyInfosecQaId, Challenge),
[certTypes.fullStack]: getIdsForCert$(legacyFullStackId, Challenge),
// modern
[certTypes.respWebDesign]: getIdsForCert$(respWebDesignId, Challenge),
@ -116,13 +117,15 @@ function createCertTypeIds(app) {
apisMicroservicesId,
Challenge
),
[certTypes.qa]: getIdsForCert$(qaId, Challenge),
[certTypes.infosec]: getIdsForCert$(infosecId, Challenge),
[certTypes.fullStack]: getIdsForCert$(fullStackId, Challenge),
[certTypes.sciCompPy]: getIdsForCert$(sciCompPyId, Challenge),
[certTypes.dataAnalysisPy]: getIdsForCert$(dataAnalysisPyId, Challenge),
[certTypes.machineLearningPy]: getIdsForCert$(
machineLearningPyId,
[certTypes.qa2020]: getIdsForCert$(qa2020Id, Challenge),
[certTypes.infosec2020]: getIdsForCert$(infosec2020Id, Challenge),
[certTypes.sciCompPy2020]: getIdsForCert$(sciCompPy2020Id, Challenge),
[certTypes.dataAnalysisPy2020]: getIdsForCert$(
dataAnalysisPy2020Id,
Challenge
),
[certTypes.machineLearningPy2020]: getIdsForCert$(
machineLearningPy2020Id,
Challenge
)
};
@ -139,17 +142,17 @@ const certIds = {
[certTypes.backEnd]: legacyBackEndChallengeId,
[certTypes.dataVis]: legacyDataVisId,
[certTypes.infosecQa]: legacyInfosecQaId,
[certTypes.fullStack]: legacyFullStackId,
[certTypes.respWebDesign]: respWebDesignId,
[certTypes.frontEndLibs]: frontEndLibsId,
[certTypes.jsAlgoDataStruct]: jsAlgoDataStructId,
[certTypes.dataVis2018]: dataVis2018Id,
[certTypes.apisMicroservices]: apisMicroservicesId,
[certTypes.qa]: qaId,
[certTypes.infosec]: infosecId,
[certTypes.fullStack]: fullStackId,
[certTypes.sciCompPy]: sciCompPyId,
[certTypes.dataAnalysisPy]: dataAnalysisPyId,
[certTypes.machineLearningPy]: machineLearningPyId
[certTypes.qa2020]: qa2020Id,
[certTypes.infosec2020]: infosec2020Id,
[certTypes.sciCompPy2020]: sciCompPy2020Id,
[certTypes.dataAnalysisPy2020]: dataAnalysisPy2020Id,
[certTypes.machineLearningPy2020]: machineLearningPy2020Id
};
const certText = {
@ -157,17 +160,17 @@ const certText = {
[certTypes.backEnd]: 'Legacy Back End',
[certTypes.dataVis]: 'Legacy Data Visualization',
[certTypes.infosecQa]: 'Legacy Information Security and Quality Assurance',
[certTypes.fullStack]: 'Full Stack',
[certTypes.fullStack]: 'Legacy Full Stack',
[certTypes.respWebDesign]: 'Responsive Web Design',
[certTypes.frontEndLibs]: 'Front End Libraries',
[certTypes.jsAlgoDataStruct]: 'JavaScript Algorithms and Data Structures',
[certTypes.dataVis2018]: 'Data Visualization',
[certTypes.apisMicroservices]: 'APIs and Microservices',
[certTypes.qa]: 'Quality Assurance',
[certTypes.infosec]: 'Information Security',
[certTypes.sciCompPy]: 'Scientific Computing with Python',
[certTypes.dataAnalysisPy]: 'Data Analysis with Python',
[certTypes.machineLearningPy]: 'Machine Learning with Python'
[certTypes.qa2020]: 'Quality Assurance',
[certTypes.infosec2020]: 'Information Security',
[certTypes.sciCompPy2020]: 'Scientific Computing with Python',
[certTypes.dataAnalysisPy2020]: 'Data Analysis with Python',
[certTypes.machineLearningPy2020]: 'Machine Learning with Python'
};
const completionHours = {
@ -181,11 +184,11 @@ const completionHours = {
[certTypes.jsAlgoDataStruct]: 300,
[certTypes.dataVis2018]: 300,
[certTypes.apisMicroservices]: 300,
[certTypes.qa]: 300,
[certTypes.infosec]: 300,
[certTypes.sciCompPy]: 400,
[certTypes.dataAnalysisPy]: 400,
[certTypes.machineLearningPy]: 400
[certTypes.qa2020]: 300,
[certTypes.infosec2020]: 300,
[certTypes.sciCompPy2020]: 400,
[certTypes.dataAnalysisPy2020]: 400,
[certTypes.machineLearningPy2020]: 400
};
function getIdsForCert$(id, Challenge) {

View File

@ -8,10 +8,10 @@
"jsAlgoDataStruct": "isJsAlgoDataStructCert",
"apisMicroservices": "isApisMicroservicesCert",
"infosecQa": "isInfosecQaCert",
"qa": "is2020QaCert",
"infosec": "is2020InfosecCert",
"fullStack": "isFullStackCert",
"sciCompPy": "is2020SciCompPyCert",
"dataAnalysisPy": "is2020DataAnalysisPyCert",
"machineLearningPy": "is2020MachineLearningPyCert"
"qa2020": "is2020QaCert",
"infosec2020": "is2020InfosecCert",
"sciCompPy2020": "is2020SciCompPyCert",
"dataAnalysisPy2020": "is2020DataAnalysisPyCert",
"machineLearningPy2020": "is2020MachineLearningPyCert",
"fullStack": "isFullStackCert"
}

View File

@ -5,16 +5,16 @@
"legacyBackEndChallengeId": "660add10cb82ac38a17513be",
"legacyDataVisId": "561add10cb82ac39a17513bc",
"legacyInfosecQaId": "561add10cb82ac38a17213bc",
"legacyFullStackId": "561add10cb82ac38a17213bd",
"respWebDesignId": "561add10cb82ac38a17513bc",
"frontEndLibsId": "561acd10cb82ac38a17513bc",
"dataVis2018Id": "5a553ca864b52e1d8bceea14",
"jsAlgoDataStructId": "561abd10cb81ac38a17513bc",
"apisMicroservicesId": "561add10cb82ac38a17523bc",
"qaId": "5e611829481575a52dc59c0e",
"infosecId": "5e6021435ac9d0ecd8b94b00",
"fullStackId": "561add10cb82ac38a17213bd",
"sciCompPyId": "5e44431b903586ffb414c951",
"dataAnalysisPyId": "5e46fc95ac417301a38fb934",
"machineLearningPyId": "5e46fc95ac417301a38fb935"
"qa2020Id": "5e611829481575a52dc59c0e",
"infosec2020Id": "5e6021435ac9d0ecd8b94b00",
"sciCompPy2020Id": "5e44431b903586ffb414c951",
"dataAnalysisPy2020Id": "5e46fc95ac417301a38fb934",
"machineLearningPy2020Id": "5e46fc95ac417301a38fb935"
}

View File

@ -5,7 +5,10 @@ const superBlockCertTypeMap = {
'legacy-front-end': certTypes.frontEnd,
'legacy-back-end': certTypes.backEnd,
'legacy-data-visualization': certTypes.dataVis,
'legacy-information-security-and-quality-assurance': certTypes.infosecQa,
// Keep these slugs the same so we don't
// break existing links
'information-security-and-quality-assurance': certTypes.infosecQa,
'full-stack': certTypes.fullStack,
// modern
'responsive-web-design': certTypes.respWebDesign,
@ -13,12 +16,11 @@ const superBlockCertTypeMap = {
'front-end-libraries': certTypes.frontEndLibs,
'data-visualization': certTypes.dataVis2018,
'apis-and-microservices': certTypes.apisMicroservices,
'quality-assurance': certTypes.qa,
'information-security': certTypes.infosec,
'full-stack': certTypes.fullStack,
'scientific-computing-with-python': certTypes.sciCompPy,
'data-analysis-with-python': certTypes.dataAnalysisPy,
'machine-learning-with-python': certTypes.machineLearningPy
'2020-quality-assurance': certTypes.qa2020,
'2020-information-security': certTypes.infosec2020,
'2020-scientific-computing-with-python': certTypes.sciCompPy2020,
'2020-data-analysis-with-python': certTypes.dataAnalysisPy2020,
'2020-machine-learning-with-python': certTypes.machineLearningPy2020
};
export default superBlockCertTypeMap;