Skip to content

Commit

Permalink
Merge pull request #3600 from bcgov/NDT-452-document-changes-for-intakes
Browse files Browse the repository at this point in the history
docs: intake changes guide
  • Loading branch information
RRanath authored Oct 10, 2024
2 parents b41d424 + d840865 commit a062040
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [1.197.1](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.197.0...v1.197.1) (2024-10-10)

# [1.197.0](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.195.4...v1.197.0) (2024-10-04)

### Bug Fixes
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [SchemaSpy Database documentation](https://bcgov.github.io/CONN-CCBC-portal/schemaspy/)
- [Growthbook](#growthbook)
- [Metabase](#metabase)
- [Intake Updates Guide](docs/Necessary_changes_For_Intake_Update.md)

#### Local development

Expand Down
1 change: 1 addition & 0 deletions db/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -700,3 +700,4 @@ tables/application_er 2024-09-11T18:20:37Z Rafael Solorzano <61289255+rafasdc@us
tables/application_rd 2024-09-11T18:21:13Z Rafael Solorzano <[email protected]> # create application regional district table
@1.196.0 2024-10-04T16:31:01Z CCBC Service Account <[email protected]> # release v1.196.0
@1.197.0 2024-10-04T21:12:28Z CCBC Service Account <[email protected]> # release v1.197.0
@1.197.1 2024-10-10T17:11:00Z CCBC Service Account <[email protected]> # release v1.197.1
9 changes: 9 additions & 0 deletions docs/Necessary_changes_For_Intake_Update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
In the application form, if there is a new intake with a new uiSchema the logic in lines 251-275 (Logic about intake number `if (ccbcIntakeNumber !== null && ccbcIntakeNumber <= 2) {`).

If a new jsonSchema (not UI schema) is to be used, don’t forget to import the jsonSchema to the DB by editing `importJsonSchemasToDb.ts`.

If future intakes have any special logic to submission (for example the rolling intake) then the dashboard.tsx page in the `applicantportal` folder is to be edited. Additionally, `index.tsx` in the `applicantportal` folder my need to be edited if the number of pages have changed (Lines 177-197 starting with `<h3>Application form overview</h3>`).

Most new intakes have a need to update the `ZoneMapWidget.tsx` file. This requires a new image usually submitted by the data team, and sometimes an update to the zone map URL. These URL constants can be found in `externalConstants.ts`.

Finally, new intakes must be included in the feature flag on growthbook. The feature flag “intake_zones_json” should be edited to include the new intake, along with a list of zones that are open for this intake.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CONN-CCBC-portal",
"version": "1.197.0",
"version": "1.197.1",
"main": "index.js",
"repository": "https://github.com/bcgov/CONN-CCBC-portal.git",
"author": "Romer, Meherzad CITZ:EX <[email protected]>",
Expand Down

0 comments on commit a062040

Please sign in to comment.