feat: make build hash label clickable in BuildProgress component for navigation to build details

This commit is contained in:
Ben Allfree
2025-12-10 05:17:28 -08:00
parent 10ba16a9a4
commit b80b42f1c0
2 changed files with 14 additions and 1 deletions

View File

@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Patch
- Made build hash label clickable in BuildProgress component to navigate to build detail page
## [0.1.0] - 2025-12-10
Initial release

View File

@@ -270,7 +270,16 @@ export function BuildProgress({ build, isAdmin = false, onRetry, showActions = t
<div>
<h2 className="text-2xl font-semibold mb-2 flex items-center gap-2">
{getStatusIcon()}
{targetLabel}
<a
href={`/builds/${build.buildHash}`}
onClick={e => {
e.preventDefault()
navigate(`/builds/${build.buildHash}`)
}}
className="hover:text-cyan-400 transition-colors"
>
{targetLabel}
</a>
{status !== "success" && status !== "failure" && (
<button
type="button"