Skip to content

Commit d4a51e2

Browse files
jloh02ravern
andauthored
chore(cpex): Disable CPEx for AY25/26 S1 and update maintenance guide (#4029)
* Enable cpex * Disable cpex * Update maintenance guide for cpex update announcements * fix to hide cpex tab too --------- Co-authored-by: Ravern Koh <[email protected]>
1 parent fda1e3e commit d4a51e2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

MAINTENANCE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Reference PRs: [PR #3286](https://github.com/nusmodifications/nusmods/pull/3286)
2121

2222
- [ ] Update semester in `website/src/config/app-config.json`
2323
- [ ] In `app-config.json`, add semester to `examAvailability` to indicate exam information is available for the semester
24-
- [ ] Update the ModReg schedule in `website/src/data/modreg-schedule.json`, and make sure the correct version is pointed to in `website/src/config/index.ts`
24+
- [ ] Update the ModReg schedule in `website/src/data/modreg-schedule.json`, and make sure the correct version is pointed to in `website/src/config/index.ts`
2525
- Reference PR: [PR #2764](https://github.com/nusmodifications/nusmods/pull/2764)
2626

2727
## CPEx
@@ -30,7 +30,7 @@ Reference PRs: [PR #3286](https://github.com/nusmodifications/nusmods/pull/3286)
3030
- [ ] Update `TERM` in `scrapers/cpex-scraper/src/index.ts` and `MPE_SEMESTER` in `website/src/views/mpe/constants.ts` to be the semester you're configuring CPEx for (usually the next semester)
3131
- [ ] Update the displayed dates in `website/src/views/mpe/MpeContainer.tsx` and any new requirements/descriptions
3232
- [ ] Enable the `enabledCPEx` flag in `website/src/featureFlags.ts`
33-
- [ ] Add a new entry in the ModReg schedule in `website/src/data/modreg-schedule.json`
33+
- [ ] Update dates in the ModReg schedule in `website/src/data/modreg-schedule.json`
3434
- Reference PR: [PR #3832](https://github.com/nusmodifications/nusmods/pull/3832)
3535
- [ ] Once merged into `master`, visit https://latest.nusmods.com/cpex and verify that NUS authentication is working
3636
- [ ] Deploy latest `master` to `production`
@@ -42,6 +42,5 @@ Reference PRs: [PR #3286](https://github.com/nusmodifications/nusmods/pull/3286)
4242
- [ ] Prepare PR to disable the `enabledCPEx` and `showCPExTab` flags in `website/src/featureFlags.ts`
4343
- After
4444
- [ ] Disable the `enabledCPEx` and `showCPExTab` flags in `website/src/featureFlags.ts`
45-
- [ ] Remove CPEx from the ModReg schedule in `website/src/data/modreg-schedule.json`
4645
- [ ] Merge into `master`
4746
- [ ] Deploy latest `master` to `production`

website/src/featureFlags.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable import/prefer-default-export */
22

33
/** Enable Course Planning Exercise */
4-
export const enableCPEx = true;
4+
export const enableCPEx = false;
55

6-
export const showCPExTab = true;
6+
export const showCPExTab = false;

0 commit comments

Comments
 (0)