You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable CPEx on non-production environments (#4063)
* renamed feature flag to fit context
* added CPEx to config while checking type of environment
* updated source for show CPEx config
* Change condition for enableCPEx to allow all non-production
This makes the variable for enableCPExforProd clearer, as well as to allow easy UI testing. Nonetheless, backend testing with API is still not possible other than on prod and cpex-staging
* Update maintenance docs for CPEx
---------
Co-authored-by: Jonathan Loh <[email protected]>
-[ ] 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)
31
31
-[ ] Update the displayed dates in `website/src/views/mpe/MpeContainer.tsx` and any new requirements/descriptions
32
32
-[ ] Update dates in the ModReg schedule in `website/src/data/modreg-schedule.json`
33
-
-[ ] Enable the `enabledCPEx` and `showCPExTab` flags in `website/src/featureFlags.ts`
33
+
-[ ] Enable the `enableCPExforProd` and `showCPExTab` flags in `website/src/featureFlags.ts`
34
34
-[ ] Push onto `cpex-staging` branch (Ensure synced with `master` branch first), then visit https://cpex-staging.nusmods.com/cpex and verify that NUS authentication is working
35
35
- During
36
36
-[ ] Merge `cpex-staging` into `master`
37
37
-[ ] Deploy latest `master` to `production`
38
38
- After
39
-
-[ ] Disable the `enabledCPEx` and `showCPExTab` flags in `website/src/featureFlags.ts`
39
+
-[ ] Disable the `enableCPExforProd` and `showCPExTab` flags in `website/src/featureFlags.ts`
0 commit comments