Last active
November 13, 2023 21:00
-
-
Save devinhalladay/d0982f1b87ce83351e1dd9d746beaee5 to your computer and use it in GitHub Desktop.
Workspace
This file contains hidden or 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
Workspace | |
No File Opened | |
open file -> File | |
File | |
Clean Draft | |
on change -> Edited | |
on close with changes -> Unsaved Changes Warning | |
on save -> Clean Draft | |
on discard -> No File Opened | |
Edited | |
if conflict -> Conflict Resolution | |
on merge -> Clean Draft | |
on overwrite -> Clean Draft | |
if manual save -> Manual Save | |
if auto save -> Auto Save | |
if connection lost -> Offline Changes | |
on connection resume -> Edited | |
if file locked -> Read-Only | |
on batch operation -> Batch Operation | |
on save all -> Clean Draft | |
on discard all -> No File Opened | |
Auto Save | |
every X ms (configurable) -> Clean Draft | |
on local storage -> Local Autosave | |
Manual Save* | |
on cmd-s -> Clean Draft | |
on close -> Confirmation | |
Confirmation | |
on save -> Clean Draft | |
on discard -> No File Opened | |
Version History | |
on view previous versions -> Version History | |
on revert to version -> Clean Draft | |
Unsaved Changes Warning | |
on close with unsaved -> Unsaved Changes Warning | |
on save -> Clean Draft | |
on discard -> No File Opened | |
Notification and Alerts | |
on save error -> Alert | |
on save success -> Notification |
This file contains hidden or 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