fixie-ai / thefastest.ai

Website with current metrics on the fastest AI models.
MIT License
30 stars 3 forks source link

Allow date to be specified in URL #15

Closed juberti closed 4 months ago

juberti commented 4 months ago

e.g., http://thefastest.ai?d=2024-04-30 also:

benlower commented 4 months ago

i think we can ship this as-is but there are a couple of things that i think we should address soon (highest to lowest pri):

  1. Handle Invalid Date -> If you put in a date that has no data (e.g. 2/1/2024) the grid is never shown. I think in the best case we would just default to the current day's view and display some kind of message above the grid like "No data available for 2/1/2024. Displaying today's benchmarks."
  2. Highlight Data Selected -> Currently the only place we show that a date was selected is as the bottom of the grid. Would be good to have something big and obvious above the grid "Displaying data for 4/30/2024. Click here to show today's benchmarks" and then have that link reset the querystring. I think this would be better UX but also help if someone was sent a link that points to an older date but then doesn't know how to explore from there.
  3. Add Date Selector -> This seems like the logical evolution of the above. Provide an affordance for showing the date that is selected as well as other dates that have data available.
juberti commented 4 months ago

These are good suggestions. Filing new issue to track.