Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor/logic: Validate webpack upgrades are ready for React migration #1201

Merged
merged 23 commits into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
9731391
refactor: rearrange /adminform/formId route documentation
Feb 20, 2021
962ac23
refactor(FormLogic): convert from AngularJS service into regular file
Feb 20, 2021
f8e41b7
refactor(FormLogic): convert fieldtype to enum
Feb 20, 2021
fb80ad1
refactor(FormLogic): convert states to TypeScript
Feb 20, 2021
64d1010
feat: type the valid logic conditions that are allowed to exist
Feb 20, 2021
6616853
refactor: move LogicValidConditions into types folder
Feb 20, 2021
28c9456
refactor: rename conditions variable to LOGIC_VALID_CONDITIONS
Mar 1, 2021
278bca1
refactor: extract getApplicableIfFields
Mar 1, 2021
b49543d
refactor: remove export default and add JSDocs
Mar 8, 2021
12acb2e
refactor: extract getApplicableIfStates
Mar 8, 2021
772ee1a
refactor: remove unnecessary LogicFieldArray type
Mar 8, 2021
3c67555
refactor: rename LogicField to LogicFieldSchemaOrResponse
Mar 8, 2021
f96af78
refactor: extract LogicValidCondition type into a generic
Mar 8, 2021
fc7dc25
refactor: extract LogicField
Mar 8, 2021
fa0e53e
refactor: separate logic conditions into categorical, binary and nume…
Mar 8, 2021
58b2a88
refactor: type to an Array representation in order to construct a Map
Mar 8, 2021
a5823aa
refactor: move into form-logic folder
Mar 9, 2021
ec90f69
build(jest-extended): installation and configuration
Mar 9, 2021
4c146f3
test: write tests
Mar 9, 2021
ca8c4e3
fix: exclude tests from frontend build
Mar 9, 2021
30fa013
refactor: rename LOGIC_CONDITIONS variable, PossibleLogicCondition type
Mar 9, 2021
3a987ac
refactor: use nullish coalescing operator
Mar 9, 2021
a51ff97
refactor: rename to LogicAssociation, LogicCondition
Mar 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ module.exports = {
isolatedModules: true,
},
},
setupFilesAfterEnv: ['jest-extended'],
}
359 changes: 359 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
"jasmine-sinon": "^0.4.0",
"jasmine-spec-reporter": "^6.0.0",
"jest": "^26.6.3",
"jest-extended": "^0.11.5",
"jest-mock-axios": "^4.3.0",
"lint-staged": "^10.5.4",
"maildev": "^1.1.0",
Expand Down
Loading