Skip to content

feat(kiloclaw): controller, device pairing, and dashboard redesign - #480

Merged
pandemicsyn merged 2 commits into
mainfrom
florian/feat/restart-gateway-ui-shuffle
Feb 23, 2026
Merged

feat(kiloclaw): controller, device pairing, and dashboard redesign#480
pandemicsyn merged 2 commits into
mainfrom
florian/feat/restart-gateway-ui-shuffle

Conversation

@pandemicsyn

@pandemicsyn pandemicsyn commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Redesign dashboard: live gateway process status polling, confirmation dialogs for restart/redeploy, reorganized tabs. Making room showing actually useful things.
  • Differentiate machine vs gateway status labels (Machine Online/Stopped vs gateway Running/Stopped)
  • Remove machine stop button (moving towards machines always being online to simplify things)
  • Add "restart gateway" button that uses the controller to restart the gateway process.

…rmation dialogs

- Add gateway process status polling (30s) with state, uptime, restarts, last exit, provisioned
- Add tRPC gatewayStatus query and useKiloClawGatewayStatus hook
- Add confirmation dialogs for Restart OpenClaw and Redeploy actions
- Combine instance type + memory into single badge, move env/secrets/channels to Settings tab
- Rename Instance tab to Gateway Process, differentiate machine vs gateway labels
- Invalidate gateway status on restart/redeploy success for immediate UI refresh
- Block dialog dismiss while mutation is pending to prevent stale analytics events
@pandemicsyn
pandemicsyn marked this pull request as ready for review February 23, 2026 22:15
const mins = Math.floor((seconds % 3600) / 60);
if (days > 0) return `${days}d ${hours}h ${mins}m`;
if (hours > 0) return `${hours}h ${mins}m`;
return `${mins}m`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUGGESTION: formatUptime shows "0m" for uptimes under 60 seconds (e.g. right after a restart). Consider adding a seconds branch so users see "30s" instead of "0m" during the first minute.

Suggested change
return `${mins}m`;
return mins > 0 ? `${mins}m` : `${seconds}s`;

@kilo-code-bot

kilo-code-bot Bot commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: 1 Issue Found | Recommendation: Merge (minor suggestion only)

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 1
Issue Details (click to expand)

SUGGESTION

File Line Issue
src/app/(app)/claw/components/InstanceTab.tsx 44 formatUptime shows "0m" for uptimes under 60 seconds — consider adding a seconds branch
Files Reviewed (9 files)
  • src/app/(app)/claw/components/ClawDashboard.tsx - 0 issues
  • src/app/(app)/claw/components/ConfirmActionDialog.tsx - 0 issues
  • src/app/(app)/claw/components/InstanceControls.tsx - 0 issues
  • src/app/(app)/claw/components/InstanceTab.tsx - 1 issue
  • src/app/(app)/claw/components/SettingsTab.tsx - 0 issues
  • src/app/(app)/claw/components/changelog-data.ts - 0 issues
  • src/app/(app)/claw/components/claw.types.ts - 0 issues
  • src/hooks/useKiloClaw.ts - 0 issues
  • src/routers/kiloclaw-router.ts - 0 issues

Fix these issues in Kilo Cloud

@pandemicsyn
pandemicsyn merged commit 3802b74 into main Feb 23, 2026
12 checks passed
@pandemicsyn
pandemicsyn deleted the florian/feat/restart-gateway-ui-shuffle branch February 23, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants