I poked through the templates/codespeed/timeline.html file but I don't see where that default is set or how to override it. Sorry, but I'm just not that familiar with web apps and html so I'm struggling a bit here. :)
cr
Here is a link to the link you can change:
https://github.com/tobami/codespeed/blob/master/speedcenter/templates/codespeed/timeline.html#L258
Intead of {{ defaultbenchmark }} (which will be "grid"), put "69" in
there. Not kidding, it seems to be the id of the first benchmark ;-)
The line should now read:
$("input:radio[name='benchmark']").filter('[value=69]').attr('checked', true);
Btw., a lot of fixes from Stefan are being merged, so there should be
a 0.8.1 release shortly. I will try to squeeze in the default
benchmark setting for the timeline!
2011/6/25 Chuck Remes <cremes....@mac.com>:
> You are doing fine.
>
> Here is a link to the link you can change:
> https://github.com/tobami/codespeed/blob/master/speedcenter/templates/codespeed/timeline.html#L258
>
> Intead of {{ defaultbenchmark }} (which will be "grid"), put "69" in
> there. Not kidding, it seems to be the id of the first benchmark ;-)
>
> The line should now read:
> $("input:radio[name='benchmark']").filter('[value=69]').attr('checked', true);
>
> Btw., a lot of fixes from Stefan are being merged, so there should be
> a 0.8.1 release shortly. I will try to squeeze in the default
> benchmark setting for the timeline!
I tried this change but it didn't work. Maybe the "69" is different between installations due to database identity values or something. Was there a db query you ran to determine that number? If so, share it with me and I'll run it over here to see if it's a value other than 69.
BTW, when using 69 and clicking on the Timeline tab just shows the "loading..." graphic forever. It gives the impression that the page has hung even though I can click on any of the radio buttons and immediately get a graph.
cr
$("input:radio[name='benchmark']").filter('[value=core/array/bench_append/array
append]').attr('checked', true);
2011/6/28 Chuck Remes <cremes....@mac.com>: