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

[OCRVS 6250] Add feature flags in application default config #806

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 7 additions & 3 deletions src/api/application/application-config-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,14 @@ export const defaultApplicationConfig = {
// Following constants aren't configurable via UI
FIELD_AGENT_AUDIT_LOCATIONS: 'DISTRICT',
DECLARATION_AUDIT_LOCATIONS: 'DISTRICT',
EXTERNAL_VALIDATION_WORKQUEUE: false,
MARRIAGE_REGISTRATION: true,
FEATURES: {
DEATH_REGISTRATION: true,
MARRIAGE_REGISTRATION: true,
EXTERNAL_VALIDATION_WORKQUEUE: false,
INFORMANT_SIGNATURE: true,
PRINT_DECLARATION: true
},
DATE_OF_BIRTH_UNKNOWN: false,
INFORMANT_SIGNATURE: true,
INFORMANT_SIGNATURE_REQUIRED: false,
USER_NOTIFICATION_DELIVERY_METHOD: 'email', // or 'sms', or '' ... You can use 'sms' for WhatsApp
INFORMANT_NOTIFICATION_DELIVERY_METHOD: 'email', // or 'sms', or '' ... You can use 'sms' for WhatsApp
Expand Down
3 changes: 2 additions & 1 deletion src/client-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ window.config = {
// http://localhost:4444/public/dashboard/fec78656-e4f9-4b51-b540-0fed81dbd821#bordered=false&titled=false&refresh=300
REGISTRATIONS_DASHBOARD_URL: '',
// http://localhost:4444/public/dashboard/a17e9bc0-15a2-4bd1-92fa-ab0f346227ca#bordered=false&titled=false&refresh=300
STATISTICS_DASHBOARD_URL: ''
STATISTICS_DASHBOARD_URL: '',
FEATURES: {}
}
Loading