httparchive.org
httparchive.org copied to clipboard
Missing histogram data for Nov 15, 2010
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
The ranking lenses (top 1000, 10000… 1 million) were only added from May 2021 so didn’t exist for 2010.
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
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"
as a general rule, I suppose, if error could be precalculated\predicted, it's better to notify user beforehand
Reopening so we can continue thinking through our options
would it be possible to change it from dropdown to choicefiled?
@alex-bender any interest in drafting that in a pull request?
sure, will try to do that tomorrow
Any progress on this @alex-bender
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..