Skip to content

HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.

fix(console): the upload action lives on the floating footer, and buttons never wrap

richard-epsilla2d1a5b2bb6b8
diff --git a/ui/src/app/(app)/harnesses/[id]/page.tsx b/ui/src/app/(app)/harnesses/[id]/page.tsx
index 7ce093fa..7c461c18 100644
--- a/ui/src/app/(app)/harnesses/[id]/page.tsx
+++ b/ui/src/app/(app)/harnesses/[id]/page.tsx
@@ -149,11 +149,6 @@ export default function HarnessSettingsPage() {
{cloud.changed ? 'Changed since upload' : `Uploaded ${timeAgo(cloud.uploaded_at ?? null)}`}
</span>
)}
- {SELF_HOSTED && !readOnly && (
- <button className="button" type="button" disabled={dirty} title={dirty ? 'Save first' : ''} onClick={() => setUploading(true)}>
- <iconify-icon icon="tabler:cloud-upload"></iconify-icon>Upload to cloud
- </button>
- )}
</div>
</div>
@@ -347,11 +342,15 @@ export default function HarnessSettingsPage() {
)}
{dirty ? (
<button className="button primary" type="submit" disabled={busy}>{busy ? 'Saving…' : 'Save Changes'}</button>
- ) : (
+ ) : (<>
+ {SELF_HOSTED && (
+ <button className="button" type="button" onClick={() => setUploading(true)}>
+ <iconify-icon icon="tabler:cloud-upload"></iconify-icon>Upload to Cloud</button>
+ )}
<button className="button primary" type="button"
onClick={() => router.push(`/tasks?h=${encodeURIComponent(id)}`)}>
<iconify-icon icon="tabler:list-details"></iconify-icon>Run Task</button>
- )}
+ </>)}
</div>
)}
{/* Built-ins have nothing to save, but they still need somewhere to act — same bar,
diff --git a/ui/src/app/(app)/harnesses/page.tsx b/ui/src/app/(app)/harnesses/page.tsx
index c83c2af9..fab0b54a 100644
--- a/ui/src/app/(app)/harnesses/page.tsx
+++ b/ui/src/app/(app)/harnesses/page.tsx
@@ -167,12 +167,13 @@ export default function HarnessesPage() {
<p className="field-help cloud-select-hint">Built-ins already exist in the cloud. Add or fork a harness to upload.</p>
)}
{selecting && picked.size > 0 && (
- <div className="select-bar">
+ <div className="settings-form-footer settings-footer-sticky select-bar">
<strong>{picked.size} selected</strong>
+ <span className="settings-footer-spacer" />
+ <button className="button" type="button" onClick={() => setPicked(new Set())}>Cancel</button>
<button className="button primary" type="button" onClick={() => setUploading(true)}>
- <iconify-icon icon="tabler:cloud-upload"></iconify-icon>Upload {picked.size} to cloud
+ <iconify-icon icon="tabler:cloud-upload"></iconify-icon>Upload {picked.size} to Cloud
</button>
- <button className="button" type="button" onClick={() => setPicked(new Set())}>Cancel</button>
</div>
)}
</div>
diff --git a/ui/src/app/revamp.css b/ui/src/app/revamp.css
index 955f3041..aaa18cc0 100644
--- a/ui/src/app/revamp.css
+++ b/ui/src/app/revamp.css
@@ -1903,8 +1903,8 @@ main .hr-wrap { max-width: 1320px; margin: 0 auto; padding: 28px 32px 64px; }
.cloud-chip { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.cloud-chip.changed { color: var(--ink); }
.cloud-chip iconify-icon { font-size: 14px; }
- .select-bar { position: sticky; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel, #fff); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
- .select-bar strong { margin-right: auto; }
+ .select-bar strong { white-space: nowrap; }
.select-col { width: 36px; }
.select-col input { cursor: pointer; }
.cloud-select-hint { margin: 10px 2px 0; }
+ .button { white-space: nowrap; }