Redesign beta Magent UI
Magent CI/CD / verify (push) Successful in 11m8s
Magent CI/CD / deploy-prod (push) Has been skipped
Magent CI/CD / deploy-beta (push) Successful in 18s

This commit is contained in:
2026-06-21 11:41:38 +12:00
parent e36da13264
commit e6b4f99ea7
12 changed files with 1891 additions and 40 deletions
+36 -4
View File
@@ -374,7 +374,7 @@ export default function RequestTimelinePage() {
if (loading) {
return (
<main className="card">
<main className="card request-detail-page">
<div className="loading-center" role="status" aria-live="polite">
<div className="spinner" aria-hidden="true" />
<div className="loading-text">Loading request timeline...</div>
@@ -384,11 +384,43 @@ export default function RequestTimelinePage() {
}
if (loadError) {
return <main className="card">{loadError}</main>
return (
<main className="card request-detail-page">
<section className="request-error-state">
<span className="section-kicker">Request unavailable</span>
<h1>Unable to load this request</h1>
<p>{loadError}</p>
<div className="request-error-actions">
<button type="button" onClick={() => router.refresh()}>
Retry
</button>
<button type="button" className="ghost-button" onClick={() => router.push('/')}>
Back to health
</button>
</div>
</section>
</main>
)
}
if (!snapshot) {
return <main className="card">Unable to load this request.</main>
return (
<main className="card request-detail-page">
<section className="request-error-state">
<span className="section-kicker">Request unavailable</span>
<h1>Unable to load this request</h1>
<p>The request API did not return a valid timeline payload.</p>
<div className="request-error-actions">
<button type="button" onClick={() => router.refresh()}>
Retry
</button>
<button type="button" className="ghost-button" onClick={() => router.push('/')}>
Back to health
</button>
</div>
</section>
</main>
)
}
const summary =
@@ -437,7 +469,7 @@ export default function RequestTimelinePage() {
: friendlyState(snapshot.state)
return (
<main className="card">
<main className="card request-detail-page">
<div className="request-header">
<div className="request-header-main">
{resolvedPoster && (