Created
January 24, 2023 16:33
-
-
Save devinhalladay/d586e6100e7a68d26a4335613977f37a to your computer and use it in GitHub Desktop.
Installing an Extension*
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
Installing an Extension* | |
# admin action | |
reset state chart -> Store | |
# admin action | |
finish installing -> Finished Installing? | |
Store* | |
click extension -> Cover Page | |
click manage -> Installed List | |
Cover Page | |
not installed?* | |
click install -> Finished Installing? | |
already installed? | |
click manage -> Installed List | |
Finished Installing? | |
has generic pane? -> Generic Pane Extension | |
has file renderer? -> File Renderer Extension | |
has background process? -> Background Extension | |
# The extension pane will render one of four states depending on its type, and whether it has a settings page. | |
Extension Pane | |
Generic Pane Extension | |
File Renderer Extension | |
# By default, background processes would open the cover page after installing. | |
# If it has settings, that will open by default. | |
Background Extension | |
has settings? -> Extension Settings | |
has no settings? -> Cover Page | |
Managing Extensions | |
Installed List* | |
click extension -> Cover Page | |
Extension Settings |
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