Last active
September 1, 2022 07:41
-
-
Save daveduthie/924ccbeed24600f7a121d58a21d4d761 to your computer and use it in GitHub Desktop.
Feature flag evaluation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature flag evaluation | |
Initial | |
global_toggle_is_on -> On | |
global_toggle_is_not_on -> UsualRules | |
UsualRules | |
staff_id_matches -> On | |
user_id_matches -> On | |
email_matches -> On | |
else -> Off | |
On | |
Off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment