-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
abortBar.scroll
43 lines (25 loc) · 1.24 KB
/
abortBar.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
date 5/24/2024
openGraphImage abortBars.gif
tags All Programming Life
title Abort Bars
singleHeader.scroll
# A Suggested Improvement to Progress Bars
When I was a programmer at Microsoft I participated in a lot of internal betas.
dateline
So I saw a lot of animated "progress" bars in software that was actually hung.
_I bet you could invent a better progress bar_, I thought.
But life went on and I forgot.
***
Yesterday my FitBit app showed an animated progress bar for hours. It turned out no progress was being made—the phone had no Internet connection.
But it made me remember my progress bar idea!
<div id="chart"></div>
d3.v6.min.js
abortBar.js
Every time someone starts a long task, measure the duration and end result. Then you have the data to render a progress bar like the one above.
The green and red areas show tasks completions and aborts.
The moving line shows elapsed time.
The color of the moving line shows the odds that a task will succeed, given the amount of time passed.
It helps your users decide: should I wait or abort?
// There are some significant opportunities to improve this design further. I would love to see your iterations.
// it is also interesting to think about abort bars in the context of life.
footer.scroll