httparchive.org icon indicating copy to clipboard operation
httparchive.org copied to clipboard

Missing histogram data for Nov 15, 2010

Open alex-bender opened this issue 2 years ago • 10 comments

image https://cdn.httparchive.org/reports/top1k/2010_11_15/speedIndex.json

Response { type: "cors", url: "https://cdn.httparchive.org/reports/top1k/2010_11_15/bootupJs.json", redirected: false, status: 404, ok: false, statusText: "Not Found", headers: Headers, body: ReadableStream, bodyUsed: false }
histogram.js:1:4233

alex-bender avatar Jun 18 '22 16:06 alex-bender

The ranking lenses (top 1000, 10000… 1 million) were only added from May 2021 so didn’t exist for 2010.

tunetheweb avatar Jun 18 '22 17:06 tunetheweb

One could argue that we shouldn't show start/end options for dates that we know are not supported by the lens. For example, some metrics provide a min/max date when we know about its availability window. Perhaps we should do the same for lenses.

https://github.com/HTTPArchive/httparchive.org/blob/5a63e50f1beda49755e98e712fa5ad6adfa1a4b5/config/reports.json#L118-L125

rviscomi avatar Jun 21 '22 17:06 rviscomi

Potentially, but can also result in fighting the GUI and confusing users.

For example I'm in 10k lens (only available for 2022). I want as much WordPress data as possible. If the date was filtered, I might not realise there is a lot more than for 10k, and at the very least there's two steps.

So both ways have their downfalls.

Maybe a better option would potentially be to leave the date pickers alone, but use an error message (where it's less obvious what the limits are than for the timeseries):

"Error: Histograms for 10k are only available from April 2022"

tunetheweb avatar Jun 21 '22 17:06 tunetheweb

as a general rule, I suppose, if error could be precalculated\predicted, it's better to notify user beforehand

alex-bender avatar Jun 21 '22 19:06 alex-bender

Reopening so we can continue thinking through our options

rviscomi avatar Jun 21 '22 19:06 rviscomi

would it be possible to change it from dropdown to choicefiled?

alex-bender avatar Jun 21 '22 20:06 alex-bender

@alex-bender any interest in drafting that in a pull request?

rviscomi avatar Jun 21 '22 20:06 rviscomi

sure, will try to do that tomorrow

alex-bender avatar Jun 21 '22 20:06 alex-bender

Any progress on this @alex-bender

mgifford avatar Sep 26 '23 16:09 mgifford

Hey, thanks for the ping. Looks like I can win longest stalled issue challenge. Could you please describe a bit more what should be done since I'm not fully understand what's exactly should be done?

If there should be error message or notification, where should it be placed. In what case should it be displayed and so on..

alex-bender avatar Sep 26 '23 16:09 alex-bender