mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-03-28 17:42:55 +01:00
feat: make build hash label clickable in BuildProgress component for navigation to build details
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user