You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OxQL metrics: don't cut off the part of the time range with no data #2732
I started an instance and messed with it a bit to test the charts. I made the time range 3 hours, including time before the instance existed and in the future. The time before comes back with no data, while the time in the future comes back with nulls. We treat these differently: we display the nulls but not the nothing.
I'm not 100% sure whether we should always display the full range asked for — on one hand I was pretty confused about why my graph started at a time other than the one I put in the picker. On the other hand, if you ask for a big range and there's only data for a little bit of it, you get a pretty useless graph. On the third and hopefully final hand, in that situation the user can simply change the time range to zoom in on the relevant slice. (This rules out bad ideas I had like a checkbox about whether to show the full range or only spots where we have actual data. That's hard to explain and, more importantly, covered by the existing controls.)
By coincidence, Geoffrey Litt wrote the following a few minutes before I wrote the above about redundant one-off controls:
along the same lines - one of the worst misconceptions in product design is that a microwave needs to have a button for every thing you could possibly cook: "popcorn", "chicken", "potato", "frozen vegetable" bla bla bla.
you really don't! you can just have a time (and power) button. people will figure out how to cook stuff.
good designs expose systematic structure; they lean on their users' ability to understand this structure and apply it to new situations. we were born for this.
bad designs paper over the structure with superficial labels that hide the underlying system, inhibiting their users' ability to actually build a clear model in their heads.
Activity
david-crespo commentedon Mar 4, 2025
By coincidence, Geoffrey Litt wrote the following a few minutes before I wrote the above about redundant one-off controls:
david-crespo commentedon May 1, 2025
Taking out of 14 but not sure we should prioritize this for 15 yet.