@@ -29,6 +29,8 @@ import {
2929 listPublicBenchmarks ,
3030} from "../services/benchmarkService.js" ;
3131import type { Benchmark } from "../store/benchmarkStore.js" ;
32+ import { openInBrowser } from "../utils/browser.js" ;
33+ import { getBenchmarkUrl } from "../utils/url.js" ;
3234
3335export function BenchmarkListScreen ( ) {
3436 const { exit : inkExit } = useApp ( ) ;
@@ -281,6 +283,8 @@ export function BenchmarkListScreen() {
281283 } else if ( input === "a" && selectedBenchmark ) {
282284 setShowPopup ( true ) ;
283285 setSelectedOperation ( 0 ) ;
286+ } else if ( input === "o" && selectedBenchmark ) {
287+ openInBrowser ( getBenchmarkUrl ( selectedBenchmark . id , showPublic ) ) ;
284288 } else if ( input === "s" && selectedBenchmark ) {
285289 // Quick shortcut to create a job
286290 navigate ( "benchmark-job-create" , {
@@ -463,6 +467,7 @@ export function BenchmarkListScreen() {
463467 { key : "Enter" , label : "Details" } ,
464468 { key : "s" , label : "Create Job" } ,
465469 { key : "a" , label : "Actions" } ,
470+ { key : "o" , label : "Browser" } ,
466471 { key : "Tab" , label : "Switch tab" } ,
467472 { key : "/" , label : "Search" } ,
468473 { key : "Esc" , label : "Back" } ,
0 commit comments