Skip to content

Commit

Permalink
Add feature flags in application default config (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
tahmidrahman-dsi authored Dec 12, 2023
1 parent e77de0c commit 2dfc2f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
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: {}
}

0 comments on commit 2dfc2f9

Please sign in to comment.