Skip to content

Instantly share code, notes, and snippets.

@waheedahmed
Last active February 10, 2021 15:21
Show Gist options
  • Save waheedahmed/402f4c2cb18ade69a2cf61174084e986 to your computer and use it in GitHub Desktop.
Save waheedahmed/402f4c2cb18ade69a2cf61174084e986 to your computer and use it in GitHub Desktop.
digraph {
old [ label="Load Old Experience" ];
new [ label="Redirect to New Experience" ];
browser_load [
label = "Browser loads \nold logistration URL"
shape = oval
];
skip_mfe_query_param [
label = "value of \n'skip_authn_mfe'\n query param is True?"
shape = rectangle
];
mfe_enabled [
label = "ENABLE_AUTHN_MICROFRONTEND\nfeature flag enabled?"
shape = rectangle
];
waffle_flag_everybody [
label = "Value of\n'user_authn.redirect_to_microfrontend'\nfor Everybody?";
shape = rectangle;
];
waffle_flag_user [
label = "'user_authn.redirect_to_microfrontend'\nenabled for user?";
shape = rectangle;
color = darkgrey;
fontcolor = darkgrey;
];
browser_load -> skip_mfe_query_param;
skip_mfe_query_param -> old [
label=" True " color=darkgreen fontcolor=darkgreen
];
skip_mfe_query_param -> mfe_enabled [
label=" False " color=red fontcolor=red
];
mfe_enabled -> old [
label=" False " color=red fontcolor=red
];
mfe_enabled -> waffle_flag_everybody [
label=" True " color=darkgreen fontcolor=darkgreen
];
waffle_flag_everybody -> new [
label=" Yes " color=darkgreen fontcolor=darkgreen
];
waffle_flag_everybody -> waffle_flag_user [
label=" Unknown " color=grey fontcolor=grey
];
waffle_flag_everybody -> old [
label=" No " color=purple fontcolor=purple
];
waffle_flag_user -> old [
label=" False " color=red fontcolor=red
];
waffle_flag_user -> new [
label=" True " color=darkgreen fontcolor=darkgreen
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment