Skip to content

Commit

Permalink
Add edit and unlock rate flag
Browse files Browse the repository at this point in the history
  • Loading branch information
haworku committed Jan 8, 2024
1 parent db9ac01 commit 12623e6
Showing 1 changed file with 25 additions and 15 deletions.
40 changes: 25 additions & 15 deletions services/app-web/src/common-code/featureFlags/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,30 @@

const featureFlags = {
/**
Toggles the site maintenance alert on the landing page
*/
SITE_UNDER_MAINTENANCE_BANNER: {
flag: 'site-under-maintenance-banner',
defaultValue: 'OFF',
* Enables state and CMS Q&A features
*/
CMS_QUESTIONS: {
flag: 'cms-questions',
defaultValue: false,
},
CONTRACT_438_ATTESTATION: {
flag: '438-attestation',
defaultValue: false,
},
/**
* Enables state and CMS rate edit, unlock, resubmit functionality
*/
RATE_EDIT_UNLOCK: {
flag: 'rate-edit-unlock',
defaultValue: false,
},

// PERMANENT FLAGS

/**
Enables the modal that alerts the user to an expiring session
*/
SESSION_EXPIRING_MODAL: {
SESSION_EXPIRING_MODAL: {
flag: 'session-expiring-modal',
defaultValue: true,
},
Expand All @@ -28,15 +42,11 @@ const featureFlags = {
defaultValue: 30,
},
/**
* Enables state and CMS Q&A features
*/
CMS_QUESTIONS: {
flag: 'cms-questions',
defaultValue: false,
},
CONTRACT_438_ATTESTATION: {
flag: '438-attestation',
defaultValue: false,
Toggles the site maintenance alert on the landing page
*/
SITE_UNDER_MAINTENANCE_BANNER: {
flag: 'site-under-maintenance-banner',
defaultValue: 'OFF',
},
/**
* Used in testing to simulate errors in fetching flag value.
Expand Down

0 comments on commit 12623e6

Please sign in to comment.