Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: compact dashboard layout, shrink app cards and buttons app-wide

Adam Eivyeaede41e8ad0
diff --git a/.changelog/v0.26.x.md b/.changelog/v0.26.x.md
index ce869d255a..516cf5d252 100644
--- a/.changelog/v0.26.x.md
+++ b/.changelog/v0.26.x.md
@@ -4,8 +4,29 @@ Released: YYYY-MM-DD
## Overview
-UI polish and alignment fixes.
+Dashboard layout redesign, compact app cards, UI polish, and button sizing cleanup.
+
+## Improvements
+
+### Dashboard layout redesign
+- Apps grid moved directly under quick-entry widgets for faster access
+- System Health, Quick Stats, and Decision Log consolidated into a single 3-column row
+- Activity Streak and Hourly Heatmap bundled in a compact 3-column row (1+2 split)
+- App cards grid now scales to 4/5/6 columns at lg/xl/2xl breakpoints
+
+### Compact app cards
+- Card padding, icon, font sizes, port badges, and action buttons all shrunk for denser grid display
+- Buttons reduced from `px-4 py-2 min-h-10 text-sm` to `px-2.5 py-1 text-xs`
+- "Open UI" shortened to "Open"
+
+### Compact buttons app-wide
+- Browser page Launch/Stop/Restart/Go/Save buttons reduced from oversized `px-5 py-2.5 min-h-[40px]` to `px-3 py-1.5 text-sm`
+- Standardized button sizing across Memory tab, Memory edit modal, Digital Twin overview, and Accounts tab
+
+### Rename Agents → Social Agents
+- Nav label updated to "Social Agents" and moved to correct alphabetical position (between Shell and Uploads)
+- Page title updated to match
## Fixes
-- **Collapsed sidebar icon alignment** — collapsible nav sections (AI Config, Chief of Staff, Dev Tools, Identity) had misaligned icons when the sidebar was collapsed; an empty chevron/badge wrapper div was still rendered, creating a 12px gap offset that shifted those icons left of single-item links
+- **Collapsed sidebar icon alignment** — collapsible nav sections had misaligned icons when the sidebar was collapsed; an empty chevron/badge wrapper div created a 12px gap offset
diff --git a/client/src/components/AppTile.jsx b/client/src/components/AppTile.jsx
index 9b2c7b08a9..39c8d7d59e 100644
--- a/client/src/components/AppTile.jsx
+++ b/client/src/components/AppTile.jsx
@@ -35,72 +35,70 @@ const AppTile = memo(function AppTile({ app, onUpdate }) {
const isOnline = app.overallStatus === 'online';
return (
- <article className={`border rounded-xl p-5 transition-colors ${
+ <article className={`border rounded-lg p-3 transition-colors ${
app.archived
? 'bg-port-card/50 border-port-border/50 opacity-60'
: 'bg-port-card border-port-border hover:border-port-accent/50'
}`} aria-labelledby={`app-title-${app.id}`}>
{/* Header */}
- <div className="flex items-start justify-between mb-4">
- <div className="flex items-center gap-3">
- <div className={`w-12 h-12 rounded-lg flex items-center justify-center ${
+ <div className="flex items-start justify-between mb-2">
+ <div className="flex items-center gap-2 min-w-0">
+ <div className={`w-8 h-8 rounded flex-shrink-0 flex items-center justify-center ${
app.archived ? 'bg-port-border/50 text-gray-500' : 'bg-port-border text-port-accent'
}`} aria-hidden="true">
- <AppIcon icon={app.icon || 'package'} size={28} />
+ <AppIcon icon={app.icon || 'package'} size={18} />
</div>
- <div>
- <div className="flex items-center gap-2">
- <h3 id={`app-title-${app.id}`} className={`font-semibold ${app.archived ? 'text-gray-500' : 'text-white'}`}>{app.name}</h3>
+ <div className="min-w-0">
+ <div className="flex items-center gap-1.5">
+ <h3 id={`app-title-${app.id}`} className={`text-sm font-semibold truncate ${app.archived ? 'text-gray-500' : 'text-white'}`}>{app.name}</h3>
{app.archived && (
- <span className="px-1.5 py-0.5 bg-gray-600/30 text-gray-500 text-xs rounded">Archived</span>
+ <span className="px-1 py-0.5 bg-gray-600/30 text-gray-500 text-[10px] rounded flex-shrink-0">Arc</span>
)}
</div>
- <p className="text-sm text-gray-500">{app.type}</p>
+ <p className="text-xs text-gray-500">{app.type}</p>
</div>
</div>
<StatusBadge status={app.overallStatus} size="sm" />
</div>
{/* Ports */}
- <div className="mb-4 flex flex-wrap gap-2">
+ <div className="mb-2 flex flex-wrap gap-1">
{app.uiPort && (
- <span className="text-xs bg-port-border px-2 py-1 rounded text-gray-300">
- UI: {app.uiPort}
+ <span className="text-[10px] bg-port-border px-1.5 py-0.5 rounded text-gray-300">
+ UI:{app.uiPort}
</span>
)}
{app.apiPort && (
- <span className="text-xs bg-port-border px-2 py-1 rounded text-gray-300">
- API: {app.apiPort}
+ <span className="text-[10px] bg-port-border px-1.5 py-0.5 rounded text-gray-300">
+ API:{app.apiPort}
</span>
)}
</div>
{/* Path */}
- <p className="text-xs text-gray-500 truncate mb-4" title={app.repoPath}>
+ <p className="text-[10px] text-gray-500 truncate mb-2" title={app.repoPath}>
{app.repoPath}
</p>
- {/* Actions - min-h-10 ensures 40px touch target on mobile */}
- <div className="flex flex-wrap gap-2" role="group" aria-label={`Actions for ${app.name}`}>
- {/* Open UI */}
+ {/* Actions */}
+ <div className="flex flex-wrap gap-1.5" role="group" aria-label={`Actions for ${app.name}`}>
{appUrl && isOnline && (
<a
href={appUrl}
target="_blank"
rel="noopener noreferrer"
- className="px-4 py-2 min-h-10 text-sm rounded-lg bg-port-accent hover:bg-port-accent/80 text-white transition-colors inline-flex items-center"
+ className="px-2.5 py-1 text-xs rounded bg-port-accent hover:bg-port-accent/80 text-white transition-colors inline-flex items-center"
aria-label={`Open ${app.name} UI in new tab`}
>
- Open UI
+ Open
</a>
)}
- {/* Start button for non-online states (stopped, not_started, not_found, etc) */}
{!isOnline && (
<button
onClick={() => handleAction('start')}
disabled={loading === 'start'}
- className="px-4 py-2 min-h-10 text-sm rounded-lg bg-port-success hover:bg-port-success/80 text-white transition-colors disabled:opacity-50"
+ className="px-2.5 py-1 text-xs rounded bg-port-success hover:bg-port-success/80 text-white transition-colors disabled:opacity-50"
aria-label={`Start ${app.name}`}
aria-busy={loading === 'start'}
>
@@ -108,13 +106,12 @@ const AppTile = memo(function AppTile({ app, onUpdate }) {
</button>
)}
- {/* Restart/Stop buttons for online apps */}
{isOnline && (
<>
<button
onClick={() => handleAction('restart')}
disabled={loading === 'restart'}
- className="px-4 py-2 min-h-10 text-sm rounded-lg bg-port-warning hover:bg-port-warning/80 text-white transition-colors disabled:opacity-50"
+ className="px-2.5 py-1 text-xs rounded bg-port-warning hover:bg-port-warning/80 text-white transition-colors disabled:opacity-50"
aria-label={`Restart ${app.name}`}
aria-busy={loading === 'restart'}
>
@@ -123,7 +120,7 @@ const AppTile = memo(function AppTile({ app, onUpdate }) {
<button
onClick={() => handleAction('stop')}
disabled={loading === 'stop'}
- className="px-4 py-2 min-h-10 text-sm rounded-lg bg-port-error hover:bg-port-error/80 text-white transition-colors disabled:opacity-50"
+ className="px-2.5 py-1 text-xs rounded bg-port-error hover:bg-port-error/80 text-white transition-colors disabled:opacity-50"
aria-label={`Stop ${app.name}`}
aria-busy={loading === 'stop'}
>
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index a9aec046e5..24d85baef9 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -50,7 +50,6 @@ const navItems = [
{ to: '/', label: 'Dashboard', icon: Home, single: true },
{ to: '/city', label: 'CyberCity', icon: Building2, single: true },
{ separator: true },
- { to: '/agents', label: 'Agents', icon: Users, single: true },
{
label: 'AI Config',
icon: Bot,
@@ -60,8 +59,6 @@ const navItems = [
]
},
{ to: '/apps', label: 'Apps', icon: Package, single: true },
- { href: '//:5560', label: 'Autofixer', icon: Wrench, external: true, dynamicHost: true },
- { to: '/browser', label: 'Browser', icon: Globe, single: true },
{
label: 'Chief of Staff',
icon: Crown,
@@ -87,6 +84,8 @@ const navItems = [
children: [
{ to: '/devtools/agents', label: 'AI Agents', icon: Cpu },
{ to: '/devtools/runs', label: 'AI Runs', icon: Play },
+ { href: '//:5560', label: 'Autofixer', icon: Wrench, external: true, dynamicHost: true },
+ { to: '/browser', label: 'Browser', icon: Globe },
{ to: '/devtools/runner', label: 'Code', icon: Code2 },
{ to: '/devtools/git', label: 'Git Status', icon: GitBranch },
{ to: '/devtools/history', label: 'History', icon: History },
@@ -106,6 +105,7 @@ const navItems = [
{ to: '/jira', label: 'JIRA', icon: Ticket, single: true },
{ to: '/security', label: 'Security', icon: Camera, single: true },
{ to: '/shell', label: 'Shell', icon: SquareTerminal, single: true },
+ { to: '/agents', label: 'Social Agents', icon: Users, single: true },
{ to: '/uploads', label: 'Uploads', icon: Upload, single: true }
];
@@ -145,7 +145,7 @@ export default function Layout() {
navItems.forEach(item => {
if (item.children) {
const isChildActive = item.children.some(child =>
- location.pathname === child.to || location.pathname.startsWith(child.to + '/')
+ child.to && (location.pathname === child.to || location.pathname.startsWith(child.to + '/'))
);
if (isChildActive) {
setExpandedSections(prev => ({ ...prev, [item.label]: true }));
@@ -176,7 +176,7 @@ export default function Layout() {
return isActive(item.to);
}
if (item.children) {
- return item.children.some(child => isActive(child.to));
+ return item.children.some(child => child.to && isActive(child.to));
}
return false;
};
@@ -318,6 +318,26 @@ export default function Layout() {
<div className="ml-4 mt-1">
{item.children.map((child) => {
const ChildIcon = child.icon;
+ if (child.external) {
+ const childHref = child.dynamicHost
+ ? `${window.location.protocol}//${window.location.hostname}${child.href.replace('//', '')}`
+ : child.href;
+ return (
+ <a
+ key={child.href}
+ href={childHref}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="flex items-center justify-between gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-500 hover:text-white hover:bg-port-border/50"
+ >
+ <div className="flex items-center gap-3">
+ <ChildIcon size={16} />
+ <span>{child.label}</span>
+ </div>
+ <ExternalLink size={12} className="text-gray-500" />
+ </a>
+ );
+ }
return (
<NavLink
key={child.to}
diff --git a/client/src/components/agents/AgentList.jsx b/client/src/components/agents/AgentList.jsx
index 25b4d3f653..e1a18b4f87 100644
--- a/client/src/components/agents/AgentList.jsx
+++ b/client/src/components/agents/AgentList.jsx
@@ -165,7 +165,7 @@ export default function AgentList() {
<div className="border-b border-port-border px-6 py-4">
<div className="flex justify-between items-center">
<div>
- <h1 className="text-2xl font-bold text-white">Agents</h1>
+ <h1 className="text-2xl font-bold text-white">Social Agents</h1>
<p className="text-sm text-gray-400 mt-1">
Manage AI agent personalities and their platform automation
</p>
diff --git a/client/src/components/cos/tabs/MemoryEditModal.jsx b/client/src/components/cos/tabs/MemoryEditModal.jsx
index db4718a356..64b09ed6fa 100644
--- a/client/src/components/cos/tabs/MemoryEditModal.jsx
+++ b/client/src/components/cos/tabs/MemoryEditModal.jsx
@@ -114,7 +114,7 @@ export default function MemoryEditModal({ memory, apps, onSave, onClose }) {
key={type}
type="button"
onClick={() => setFormData({ ...formData, type })}
- className={`px-4 py-2 min-h-[40px] text-sm rounded-lg border transition-colors ${
+ className={`px-3 py-1.5 text-sm rounded-lg border transition-colors ${
formData.type === type
? MEMORY_TYPE_COLORS[type]
: 'border-port-border text-gray-500 hover:text-gray-300'
diff --git a/client/src/components/cos/tabs/MemoryTab.jsx b/client/src/components/cos/tabs/MemoryTab.jsx
index 54b1a88bad..220bac4299 100644
--- a/client/src/components/cos/tabs/MemoryTab.jsx
+++ b/client/src/components/cos/tabs/MemoryTab.jsx
@@ -97,7 +97,7 @@ export default function MemoryTab({ apps = [] }) {
<button
key={v}
onClick={() => setView(v)}
- className={`px-4 py-2 min-h-[40px] text-sm rounded-lg transition-colors ${
+ className={`px-3 py-1.5 text-sm rounded-lg transition-colors ${
view === v ? 'bg-port-accent text-white' : 'bg-port-border text-gray-400 hover:text-white'
}`}
>
@@ -115,18 +115,18 @@ export default function MemoryTab({ apps = [] }) {
onChange={(e) => setSearchQuery(e.target.value)}
onKeyDown={(e) => e.key === 'Enter' && handleSearch()}
placeholder="Search memories semantically..."
- className="flex-1 bg-port-card border border-port-border rounded-lg px-4 py-2 min-h-[40px] text-white placeholder-gray-500 focus:border-port-accent outline-none"
+ className="flex-1 bg-port-card border border-port-border rounded-lg px-3 py-1.5 text-sm text-white placeholder-gray-500 focus:border-port-accent outline-none"
/>
<button
onClick={handleSearch}
- className="px-4 py-2 min-h-[40px] bg-port-accent hover:bg-port-accent/80 text-white rounded-lg transition-colors"
+ className="px-3 py-1.5 text-sm bg-port-accent hover:bg-port-accent/80 text-white rounded-lg transition-colors"
>
Search
</button>
{searchResults && (
<button
onClick={() => { setSearchResults(null); setSearchQuery(''); }}
- className="px-3 py-2 min-h-[40px] min-w-[40px] flex items-center justify-center bg-port-border text-gray-400 hover:text-white rounded-lg transition-colors"
+ className="px-2 py-1.5 flex items-center justify-center bg-port-border text-gray-400 hover:text-white rounded-lg transition-colors"
>
<X size={18} />
</button>
diff --git a/client/src/components/digital-twin/tabs/AccountsTab.jsx b/client/src/components/digital-twin/tabs/AccountsTab.jsx
index e941890bc3..277f55fd52 100644
--- a/client/src/components/digital-twin/tabs/AccountsTab.jsx
+++ b/client/src/components/digital-twin/tabs/AccountsTab.jsx
@@ -384,7 +384,7 @@ export default function AccountsTab() {
<button
onClick={handleSubmit}
disabled={saving || !form.platform || !form.username}
- className="flex items-center gap-2 px-4 py-2 bg-port-accent text-white rounded-lg hover:bg-port-accent/80 transition-colors disabled:opacity-50 disabled:cursor-not-allowed min-h-[40px]"
+ className="flex items-center gap-2 px-3 py-1.5 text-sm bg-port-accent text-white rounded-lg hover:bg-port-accent/80 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
>
{saving ? (
<RefreshCw className="w-4 h-4 animate-spin" />
@@ -395,7 +395,7 @@ export default function AccountsTab() {
</button>
<button
onClick={handleCancel}
- className="px-4 py-2 text-gray-400 hover:text-white border border-port-border rounded-lg hover:bg-port-card transition-colors text-sm min-h-[40px]"
+ className="px-3 py-1.5 text-gray-400 hover:text-white border border-port-border rounded-lg hover:bg-port-card transition-colors text-sm"
>
Cancel
</button>
@@ -414,7 +414,7 @@ export default function AccountsTab() {
</p>
<button
onClick={() => setShowForm(true)}
- className="inline-flex items-center gap-2 px-4 py-2 bg-port-accent text-white rounded-lg hover:bg-port-accent/80 transition-colors min-h-[40px]"
+ className="inline-flex items-center gap-2 px-3 py-1.5 text-sm bg-port-accent text-white rounded-lg hover:bg-port-accent/80 transition-colors"
>
<Plus className="w-4 h-4" />
Add Your First Account
diff --git a/client/src/components/digital-twin/tabs/OverviewTab.jsx b/client/src/components/digital-twin/tabs/OverviewTab.jsx
index 86828d8d6d..0e45343517 100644
--- a/client/src/components/digital-twin/tabs/OverviewTab.jsx
+++ b/client/src/components/digital-twin/tabs/OverviewTab.jsx
@@ -568,7 +568,7 @@ export default function OverviewTab({ status, settings, onRefresh }) {
</div>
<button
onClick={() => navigate('/digital-twin/test')}
- className="px-4 py-2 min-h-[40px] text-sm text-port-accent hover:text-white transition-colors"
+ className="px-3 py-1.5 text-sm text-port-accent hover:text-white transition-colors"
>
View Details
</button>
diff --git a/client/src/pages/Browser.jsx b/client/src/pages/Browser.jsx
index b651abfe4e..cd1ec708e9 100644
--- a/client/src/pages/Browser.jsx
+++ b/client/src/pages/Browser.jsx
@@ -240,7 +240,7 @@ export default function BrowserPage() {
<div className="mt-4 flex justify-end">
<button
onClick={handleSaveConfig}
- className="px-4 py-2 bg-port-accent text-white rounded-lg text-sm font-medium hover:bg-port-accent/80 transition-colors"
+ className="px-3 py-1.5 bg-port-accent text-white rounded-lg text-sm hover:bg-port-accent/80 transition-colors"
>
Save Config
</button>
@@ -355,40 +355,40 @@ export default function BrowserPage() {
{/* Controls */}
<div className="bg-port-card border border-port-border rounded-xl p-5">
<h3 className="text-lg font-semibold text-white mb-4">Controls</h3>
- <div className="flex flex-wrap gap-3">
+ <div className="flex flex-wrap gap-2">
{!isRunning ? (
<button
onClick={() => handleAction('launch', launchBrowser)}
disabled={actionLoading !== null}
- className="flex items-center gap-2 px-5 py-2.5 bg-port-success text-white rounded-lg font-medium hover:bg-port-success/80 transition-colors disabled:opacity-50 min-h-[40px]"
+ className="flex items-center gap-1.5 px-3 py-1.5 text-sm bg-port-success text-white rounded-lg hover:bg-port-success/80 transition-colors disabled:opacity-50"
>
{actionLoading === 'launch'
- ? <RefreshCw size={18} className="animate-spin" />
- : <Play size={18} />
+ ? <RefreshCw size={14} className="animate-spin" />
+ : <Play size={14} />
}
- Launch Browser
+ Launch
</button>
) : (
<>
<button
onClick={() => handleAction('stop', stopBrowser)}
disabled={actionLoading !== null}
- className="flex items-center gap-2 px-5 py-2.5 bg-port-error text-white rounded-lg font-medium hover:bg-port-error/80 transition-colors disabled:opacity-50 min-h-[40px]"
+ className="flex items-center gap-1.5 px-3 py-1.5 text-sm bg-port-error text-white rounded-lg hover:bg-port-error/80 transition-colors disabled:opacity-50"
>
{actionLoading === 'stop'
- ? <RefreshCw size={18} className="animate-spin" />
- : <Square size={18} />
+ ? <RefreshCw size={14} className="animate-spin" />
+ : <Square size={14} />
}
Stop
</button>
<button
onClick={() => handleAction('restart', restartBrowser)}
disabled={actionLoading !== null}
- className="flex items-center gap-2 px-5 py-2.5 bg-port-warning text-white rounded-lg font-medium hover:bg-port-warning/80 transition-colors disabled:opacity-50 min-h-[40px]"
+ className="flex items-center gap-1.5 px-3 py-1.5 text-sm bg-port-warning text-white rounded-lg hover:bg-port-warning/80 transition-colors disabled:opacity-50"
>
{actionLoading === 'restart'
- ? <RefreshCw size={18} className="animate-spin" />
- : <RefreshCw size={18} />
+ ? <RefreshCw size={14} className="animate-spin" />
+ : <RefreshCw size={14} />
}
Restart
</button>
@@ -418,7 +418,7 @@ export default function BrowserPage() {
<button
type="submit"
disabled={!navUrl.trim() || actionLoading !== null}
- className="flex items-center gap-2 px-5 py-2 bg-port-accent text-white rounded-lg font-medium hover:bg-port-accent/80 transition-colors disabled:opacity-50"
+ className="flex items-center gap-1.5 px-3 py-1.5 text-sm bg-port-accent text-white rounded-lg hover:bg-port-accent/80 transition-colors disabled:opacity-50"
>
{actionLoading === 'navigate'
? <RefreshCw size={16} className="animate-spin" />
diff --git a/client/src/pages/Dashboard.jsx b/client/src/pages/Dashboard.jsx
index 98720d4e4f..3ce5e9b3fd 100644
--- a/client/src/pages/Dashboard.jsx
+++ b/client/src/pages/Dashboard.jsx
@@ -98,37 +98,7 @@ export default function Dashboard() {
<QuickTaskWidget />
</div>
- {/* Row 2 — Status at a glance */}
- <div className="grid grid-cols-1 lg:grid-cols-12 gap-4">
- <div className="lg:col-span-8">
- <SystemHealthWidget />
- </div>
- {apps.length > 0 && (
- <div className="lg:col-span-4">
- <div className="bg-port-card border border-port-border rounded-xl p-4 h-full">
- <h3 className="text-sm font-semibold text-white mb-3">Quick Stats</h3>
- <div className="grid grid-cols-2 gap-2">
- <StatCard label="Total Apps" value={appStats.total} icon="📦" />
- <StatCard label="Online" value={appStats.online} icon="🟢" />
- <StatCard label="Stopped" value={appStats.stopped} icon="🟡" />
- <StatCard label="Not Started" value={appStats.notStarted} icon="⚪" />
- </div>
- </div>
- </div>
- )}
- </div>
-
- {/* Row 3 — AI/CoS intelligence */}
- <div className="grid grid-cols-1 lg:grid-cols-3 gap-4">
- <CosDashboardWidget />
- <GoalProgressWidget />
- <UpcomingTasksWidget />
- </div>
-
- {/* Row 4 — Decision log */}
- <DecisionLogWidget />
-
- {/* Row 5 — Apps */}
+ {/* Row 2 — Apps */}
{apps.length === 0 ? (
<div className="bg-port-card border border-port-border rounded-xl p-8 sm:p-12 text-center">
<div className="text-4xl mb-4">📦</div>
@@ -144,51 +114,73 @@ export default function Dashboard() {
</Link>
</div>
) : (
- <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
+ <div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6 gap-3">
{sortedApps.map(app => (
<AppTile key={app.id} app={app} onUpdate={fetchData} />
))}
</div>
)}
- {/* Row 6 — Activity data */}
+ {/* Row 3 — AI/CoS intelligence */}
+ <div className="grid grid-cols-1 lg:grid-cols-3 gap-4">
+ <CosDashboardWidget />
+ <GoalProgressWidget />
+ <UpcomingTasksWidget />
+ </div>
+
+ {/* Row 4 — Status, stats, decisions */}
+ <div className="grid grid-cols-1 lg:grid-cols-3 gap-4">
+ <SystemHealthWidget />
+ {apps.length > 0 && (
+ <div className="bg-port-card border border-port-border rounded-xl p-4 h-full">
+ <h3 className="text-sm font-semibold text-white mb-3">Quick Stats</h3>
+ <div className="grid grid-cols-2 gap-2">
+ <StatCard label="Total Apps" value={appStats.total} icon="📦" />
+ <StatCard label="Online" value={appStats.online} icon="🟢" />
+ <StatCard label="Stopped" value={appStats.stopped} icon="🟡" />
+ <StatCard label="Not Started" value={appStats.notStarted} icon="⚪" />
+ </div>
+ </div>
+ )}
+ <DecisionLogWidget />
+ </div>
+
+ {/* Row 5 — Activity data */}
{(usage?.currentStreak > 0 || usage?.longestStreak > 0 || usage?.hourlyActivity) && (
- <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
+ <div className="grid grid-cols-1 lg:grid-cols-3 gap-4">
{/* Activity Streak */}
{usage && (usage.currentStreak > 0 || usage.longestStreak > 0) && (
- <div className="bg-port-card border border-port-border rounded-xl p-4 sm:p-6">
- <div className="flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-4">
- <div className="flex items-center gap-3">
- <div className="text-3xl sm:text-4xl" aria-hidden="true">
- {usage.currentStreak >= 7 ? '🔥' : usage.currentStreak >= 3 ? '⚡' : '✨'}
- </div>
- <div>
- <div className="text-xl sm:text-2xl font-bold text-white">
- {usage.currentStreak} day{usage.currentStreak !== 1 ? 's' : ''}
- </div>
- <div className="text-xs sm:text-sm text-gray-500">Current streak</div>
+ <div className="bg-port-card border border-port-border rounded-xl p-4">
+ <div className="flex items-center gap-3 mb-3">
+ <div className="text-2xl" aria-hidden="true">
+ {usage.currentStreak >= 7 ? '🔥' : usage.currentStreak >= 3 ? '⚡' : '✨'}
+ </div>
+ <div>
+ <div className="text-xl font-bold text-white">
+ {usage.currentStreak} day{usage.currentStreak !== 1 ? 's' : ''}
</div>
+ <div className="text-xs text-gray-500">Current streak</div>
</div>
{usage.longestStreak > usage.currentStreak && (
- <div className="sm:ml-auto text-left sm:text-right">
- <div className="text-base sm:text-lg font-semibold text-port-accent">
+ <div className="ml-auto text-right">
+ <div className="text-sm font-semibold text-port-accent">
{usage.longestStreak} days
</div>
- <div className="text-xs text-gray-500">Longest streak</div>
+ <div className="text-xs text-gray-500">Best</div>
</div>
)}
{usage.currentStreak === usage.longestStreak && usage.currentStreak > 0 && (
- <div className="sm:ml-auto px-3 py-1.5 bg-port-success/20 text-port-success text-xs sm:text-sm rounded-full w-fit">
+ <div className="ml-auto px-2 py-1 bg-port-success/20 text-port-success text-xs rounded-full">
Personal best!
</div>
)}
</div>
{/* Mini streak visualization */}
- <div className="mt-4 flex gap-1.5 sm:gap-1">
+ <div className="flex gap-1">
{usage.last7Days?.map((day) => (
<div
key={day.date}
- className={`flex-1 h-3 sm:h-2 rounded-full ${
+ className={`flex-1 h-2 rounded-full ${
day.sessions > 0 ? 'bg-port-success' : 'bg-port-border'
}`}
title={`${day.label}: ${day.sessions} sessions`}
@@ -196,7 +188,7 @@ export default function Dashboard() {
))}
</div>
<div className="mt-1 flex justify-between text-xs text-gray-500">
- <span>7 days ago</span>
+ <span>7d ago</span>
<span>Today</span>
</div>
</div>
@@ -204,7 +196,9 @@ export default function Dashboard() {
{/* Hourly Activity Heatmap */}
{usage?.hourlyActivity && (
- <HourlyActivityHeatmap hourlyActivity={usage.hourlyActivity} />
+ <div className="lg:col-span-2">
+ <HourlyActivityHeatmap hourlyActivity={usage.hourlyActivity} />
+ </div>
)}
</div>
)}
diff --git a/package-lock.json b/package-lock.json
index 486392363c..680b28b593 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "portos",
- "version": "0.26.1",
+ "version": "0.26.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "portos",
- "version": "0.26.1",
+ "version": "0.26.2",
"license": "MIT",
"workspaces": [
"packages/*",
@@ -29,7 +29,7 @@
},
"client": {
"name": "portos-client",
- "version": "0.23.1",
+ "version": "0.23.2",
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
@@ -102,6 +102,7 @@
"integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@babel/code-frame": "^7.27.1",
"@babel/generator": "^7.28.5",
@@ -395,6 +396,7 @@
"resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.3.1.tgz",
"integrity": "sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"@dnd-kit/accessibility": "^3.1.1",
"@dnd-kit/utilities": "^3.2.2",
@@ -437,7 +439,6 @@
"integrity": "sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg==",
"license": "MIT",
"optional": true,
- "peer": true,
"dependencies": {
"tslib": "^2.4.0"
}
@@ -890,7 +891,6 @@
"integrity": "sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==",
"license": "MIT",
"optional": true,
- "peer": true,
"engines": {
"node": ">=18"
}
@@ -907,7 +907,6 @@
"os": [
"darwin"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -930,7 +929,6 @@
"os": [
"darwin"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -953,7 +951,6 @@
"os": [
"darwin"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -970,7 +967,6 @@
"os": [
"darwin"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -987,7 +983,6 @@
"os": [
"linux"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -1004,7 +999,6 @@
"os": [
"linux"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -1021,7 +1015,6 @@
"os": [
"linux"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -1038,7 +1031,6 @@
"os": [
"linux"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -1055,7 +1047,6 @@
"os": [
"linux"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -1072,7 +1063,6 @@
"os": [
"linux"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -1089,7 +1079,6 @@
"os": [
"linux"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -1106,7 +1095,6 @@
"os": [
"linux"
],
- "peer": true,
"funding": {
"url": "https://opencollective.com/libvips"
}
@@ -1123,7 +1111,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1146,7 +1133,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1169,7 +1155,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1192,7 +1177,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1215,7 +1199,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1238,7 +1221,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1261,7 +1243,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1284,7 +1265,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1304,7 +1284,6 @@
],
"license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
"optional": true,
- "peer": true,
"dependencies": {
"@emnapi/runtime": "^1.7.0"
},
@@ -1327,7 +1306,6 @@
"os": [
"win32"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1347,7 +1325,6 @@
"os": [
"win32"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1367,7 +1344,6 @@
"os": [
"win32"
],
- "peer": true,
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
@@ -1447,8 +1423,7 @@
"version": "16.1.6",
"resolved": "https://registry.npmjs.org/@next/env/-/env-16.1.6.tgz",
"integrity": "sha512-N1ySLuZjnAtN3kFnwhAwPvZah8RJxKasD7x1f8shFqhncnWZn4JMfg37diLNuoHsLAlrDfM3g4mawVdtAG8XLQ==",
- "license": "MIT",
- "peer": true
+ "license": "MIT"
},
"node_modules/@next/swc-darwin-arm64": {
"version": "16.1.6",
@@ -1462,7 +1437,6 @@
"os": [
"darwin"
],
- "peer": true,
"engines": {
"node": ">= 10"
}
@@ -1479,7 +1453,6 @@
"os": [
"darwin"
],
- "peer": true,
"engines": {
"node": ">= 10"
}
@@ -1496,7 +1469,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">= 10"
}
@@ -1513,7 +1485,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">= 10"
}
@@ -1530,7 +1501,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">= 10"
}
@@ -1547,7 +1517,6 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">= 10"
}
@@ -1564,7 +1533,6 @@
"os": [
"win32"
],
- "peer": true,
"engines": {
"node": ">= 10"
}
@@ -1581,7 +1549,6 @@
"os": [
"win32"
],
- "peer": true,
"engines": {
"node": ">= 10"
}
@@ -2015,6 +1982,7 @@
"resolved": "https://registry.npmjs.org/@react-three/fiber/-/fiber-8.18.0.tgz",
"integrity": "sha512-FYZZqD0UUHUswKz3LQl2Z7H24AhD14XGTsIRw3SJaXUxyfVMi+1yiZGmqTcPt/CkPpdU7rrxqcyQ1zJE5DjvIQ==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"@babel/runtime": "^7.17.8",
"@types/react-reconciler": "^0.26.7",
@@ -2460,7 +2428,6 @@
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",
"integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"tslib": "^2.8.0"
}
@@ -2608,6 +2575,7 @@
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.6.tgz",
"integrity": "sha512-NNu0sjyNxpoiW3YuVFfNz7mxSQ+S4X2G28uqg2s+CzoqoQjLPsWSbsFFyztIAqt2vb8kfEAsJNepMGPTxFDx3Q==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"undici-types": "~7.16.0"
}
@@ -2623,6 +2591,7 @@
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.13.tgz",
"integrity": "sha512-KkiJeU6VbYbUOp5ITMIc7kBfqlYkKA5KhEHVrGMmUUMt7NeaZg65ojdPk+FtNrBAOXNVM5QM72jnADjM+XVRAQ==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"csstype": "^3.2.2"
}
@@ -2647,6 +2616,7 @@
"resolved": "https://registry.npmjs.org/@types/three/-/three-0.182.0.tgz",
"integrity": "sha512-WByN9V3Sbwbe2OkWuSGyoqQO8Du6yhYaXtXLoA5FkKTUJorZ+yOHBZ35zUUPQXlAKABZmbYp5oAqpA4RBjtJ/Q==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"@dimforge/rapier3d-compat": "~0.12.0",
"@tweenjs/tween.js": "~23.1.3",
@@ -3269,6 +3239,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"baseline-browser-mapping": "^2.9.0",
"caniuse-lite": "^1.0.30001759",
@@ -3550,8 +3521,7 @@
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
"integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",
- "license": "MIT",
- "peer": true
+ "license": "MIT"
},
"node_modules/cliui": {
"version": "8.0.1",
@@ -3774,7 +3744,8 @@
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
- "license": "MIT"
+ "license": "MIT",
+ "peer": true
},
"node_modules/culvert": {
"version": "0.1.2",
@@ -3910,7 +3881,6 @@
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
"license": "Apache-2.0",
"optional": true,
- "peer": true,
"engines": {
"node": ">=8"
}
@@ -5190,6 +5160,7 @@
"integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
"dev": true,
"license": "MIT",
+ "peer": true,
"bin": {
"jiti": "bin/jiti.js"
}
@@ -6216,7 +6187,6 @@
"resolved": "https://registry.npmjs.org/next/-/next-16.1.6.tgz",
"integrity": "sha512-hkyRkcu5x/41KoqnROkfTm2pZVbKxvbZRuNvKXLRXxs3VfyO0WhY50TQS40EuKO9SW3rBj/sF3WbVwDACeMZyw==",
"license": "MIT",
- "peer": true,
"dependencies": {
"@next/env": "16.1.6",
"@swc/helpers": "0.5.15",
@@ -6284,7 +6254,6 @@
}
],
"license": "MIT",
- "peer": true,
"dependencies": {
"nanoid": "^3.3.6",
"picocolors": "^1.0.0",
@@ -6783,6 +6752,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"nanoid": "^3.3.11",
"picocolors": "^1.1.1",
@@ -7090,6 +7060,7 @@
"resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
"integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"loose-envify": "^1.1.0"
},
@@ -7114,6 +7085,7 @@
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
"integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"loose-envify": "^1.1.0",
"scheduler": "^0.23.2"
@@ -7642,7 +7614,6 @@
"hasInstallScript": true,
"license": "Apache-2.0",
"optional": true,
- "peer": true,
"dependencies": {
"@img/colour": "^1.0.0",
"detect-libc": "^2.1.2",
@@ -7687,7 +7658,6 @@
"integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
"license": "ISC",
"optional": true,
- "peer": true,
"bin": {
"semver": "bin/semver.js"
},
@@ -8099,7 +8069,6 @@
"resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.6.tgz",
"integrity": "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==",
"license": "MIT",
- "peer": true,
"dependencies": {
"client-only": "0.0.1"
},
@@ -8329,7 +8298,8 @@
"version": "0.182.0",
"resolved": "https://registry.npmjs.org/three/-/three-0.182.0.tgz",
"integrity": "sha512-GbHabT+Irv+ihI1/f5kIIsZ+Ef9Sl5A1Y7imvS5RQjWgtTPfPnZ43JmlYI7NtCRDK9zir20lQpfg8/9Yd02OvQ==",
- "license": "MIT"
+ "license": "MIT",
+ "peer": true
},
"node_modules/three-mesh-bvh": {
"version": "0.7.8",
@@ -8422,6 +8392,7 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=12"
},
@@ -8834,6 +8805,7 @@
"integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"esbuild": "^0.25.0",
"fdir": "^6.4.4",
@@ -8927,6 +8899,7 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=12"
},
@@ -8940,6 +8913,7 @@
"integrity": "sha512-E4t7DJ9pESL6E3I8nFjPa4xGUd3PmiWDLsDztS2qXSJWfHtbQnwAWylaBvSNY48I3vr8PTqIZlyK8TE3V3CA4Q==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@vitest/expect": "4.0.16",
"@vitest/mocker": "4.0.16",
diff --git a/package.json b/package.json
index 37e20cb9a5..b47a8aab94 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "portos",
- "version": "0.26.1",
+ "version": "0.26.2",
"private": true,
"description": "Local dev machine App OS portal",
"author": "Adam Eivy (@antic|@atomantic)",