Skip to content

Instantly share code, notes, and snippets.

@esmevane
Created April 7, 2020 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save esmevane/64dc9adab802daec5ae2d01af1b7ae3e to your computer and use it in GitHub Desktop.
Save esmevane/64dc9adab802daec5ae2d01af1b7ae3e to your computer and use it in GitHub Desktop.
Explorer
Explorer
Uninitialized
Rehydrate -> Ready
Ready&
Requesting -> Ready
Results
Idle
Requesting -> Loading
Loading
Success -> Idle
Failure -> Error
Empty -> No Results
Error
Acknowledge -> Idle
Requesting -> Loading
No Results
Requesting -> Loading
Search
Inactive
Focus -> Focused
Focused
Typing -> Active
Unfocus -> Inactive
Active
Idle -> Focused
Filters
No Filter Selected
Pick Filter -> Filter Selected
Filter Selected
Change Filter -> Filter Selected
Clear Filter -> No Filter Selected
Sorting&
Sort By
Default
Pick Sorting -> Specified
Specified
Clear Sorting -> Default
Pick Sorting -> Specified
Sort Order
Ascending
Toggle -> Descending
Descending
Toggle -> Ascending
Aggregation
No Aggregations
Requesting -> Loading Aggregations
Display Aggregations
Requesting -> Loading Aggregations
Loading Aggregations
Success -> Display Aggregations
Failure -> Aggregation Problems
Empty -> No Aggregations
Aggregation Problems
Requesting -> Loading Aggregations
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