Skip to content

Commit

Permalink
Merge dev into main, include logging removals (#432)
Browse files Browse the repository at this point in the history
* Added disclosure in CSSA, and collection notice in CSSA and SRCR

* hide forms for reviewre

* Made changes to non bundled forms

* Further changes to homepage after discussion with Haley

* Update ff changes to dev-5.2.0 (#407)

* test imagetsream

* update the formsflow-ai-charts folder with 5.2.0v

* commiting new ff changes

* merge comments resolved

* removing the secrets

* removing the secrets

* removing code owners

* deleting the file

* added a javascript login to handle approving authority validations

* corrected format

* changes to support form adapter

* updated name for SDS form

* updated name & path for sds form

* GitHub Actions for nav/theme/web-ee/root-config

* updating notes column width

* Added hiding logic for signature field

* Configure CI/CD scripts to trigger on temp dev branch to experiment

* Update CI scripts to trigger build on the script change

* Update namespace env name to use existing secret

* Fix secret -> secrets typo

* Update env setter for non-dev branch during active development

* fixed site owner actons and notes section displayed for new forms

* Fix env var for nav/theme/ee for non dev branch

* Matched names

* removing log statements from service

---------

Co-authored-by: RyanBirtch-aot <[email protected]>
Co-authored-by: midhun-aot <[email protected]>
Co-authored-by: nikhila-aot <[email protected]>
Co-authored-by: sakthi-aot <[email protected]>
Co-authored-by: nikhila-aot <[email protected]>
Co-authored-by: midhun-aot <[email protected]>
  • Loading branch information
7 people authored Aug 3, 2023
1 parent 2a21e2b commit 90a4c61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion backend/applications/src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class AppService {
return 'Hello World!';
}
confirmFormSubmission(formRequest: Request): any {
console.log('testing form submit');

return formRequest;
}
}
12 changes: 4 additions & 8 deletions backend/applications/src/app/services/form.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export class FormService {

buildUpdateString = (pathText, newValue) => {
const returnString =
'jsonb_set("form_data"::jsonb,' + pathText + ',' + newValue + ')';
console.log(returnString);
'jsonb_set("form_data"::jsonb,' + pathText + ',' + newValue + ')';
return returnString;
};

Expand All @@ -47,9 +46,7 @@ export class FormService {
formId,
submissionId,
) => {
console.log('partialUpdateObject', partialUpdateObject);
console.log('parentObjectNames', parentObjectNames);


for (const property in partialUpdateObject) {
if (typeof partialUpdateObject[property] === 'object') {
this.processContent(
Expand All @@ -67,14 +64,13 @@ export class FormService {
} else {
objectName = property;
}
console.log('objectName', objectName);
console.log('objectName value', partialUpdateObject[property]);


const pathText = "'{" + objectName + "}'";

const newValue = '\'"' + partialUpdateObject[property] + '"\'';

console.log(pathText, newValue);


await this.formRepository
.createQueryBuilder()
Expand Down

0 comments on commit 90a4c61

Please sign in to comment.