Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve markdown sublist formatting in spinners.md #539

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 16 additions & 20 deletions docs/config/spinners.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,26 +50,22 @@ The basic flow:
1. Spinner sits in idle state

2. A spinner switch is hit
i. The spinner becomes "active" and sets a timeout for
`active_ms:` duration
ii. The spinner posts *spinner_\(name\)_active* event
iii. The spinner posts *spinner_\(name\)_hit* event

3. Additional switch hits occur
i. The spinner resets the timeout for another `active_ms:`
duration
ii. The spinner posts a *spinner_\(name\)_hit* event for
each hit

4. Switch hits stop and the active delay timer expires
i. The spinner switches to "inactive" state
ii. The spinner posts *spinner_\(name\)_inactive* event
iii. (Optional) If `idle_ms:` is defined, the spinner sets a
timeout for idle_ms duration

5. (Optional) No switch hits occur and the idle delay timer expires
i. The spinner posts *spinner_\(name\)_idle* event
ii. The spinner switches to "idle" state
1. The spinner becomes "active" and sets a timeout for `active_ms:` duration
2. The spinner posts *spinner_\(name\)_active* event
3. The spinner posts *spinner_\(name\)_hit* event

4. Additional switch hits occur
1. The spinner resets the timeout for another `active_ms:` duration
2. The spinner posts a *spinner_\(name\)_hit* event for each hit

5. Switch hits stop and the active delay timer expires
1. The spinner switches to "inactive" state
2. The spinner posts *spinner_\(name\)_inactive* event
3. (Optional) If `idle_ms:` is defined, the spinner sets a timeout for idle_ms duration

6. (Optional) No switch hits occur and the idle delay timer expires
1. The spinner posts *spinner_\(name\)_idle* event
2. The spinner switches to "idle" state

## Optional settings

Expand Down