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

address review: add explicit button types

Adam Eivy14f6419ad24a
diff --git a/client/src/components/apps/tabs/DatadogTab.jsx b/client/src/components/apps/tabs/DatadogTab.jsx
index a4e300c7b8..66af418f90 100644
--- a/client/src/components/apps/tabs/DatadogTab.jsx
+++ b/client/src/components/apps/tabs/DatadogTab.jsx
@@ -90,6 +90,7 @@ export default function DatadogTab({ app }) {
{TIME_RANGES.map(r => <option key={r.value} value={r.value}>{r.label}</option>)}
</select>
<button
+ type="button"
onClick={fetchErrors}
disabled={loading}
aria-label="Refresh errors"
@@ -134,6 +135,7 @@ export default function DatadogTab({ app }) {
className="bg-port-card border border-port-border rounded-lg overflow-hidden"
>
<button
+ type="button"
onClick={() => setExpandedErrorId(expanded ? null : errId)}
aria-expanded={expanded}
className="w-full text-left px-4 py-3 hover:bg-port-border/30 transition-colors"
diff --git a/client/src/pages/ChiefOfStaff.jsx b/client/src/pages/ChiefOfStaff.jsx
index 6186f0b00a..01d6f8d520 100644
--- a/client/src/pages/ChiefOfStaff.jsx
+++ b/client/src/pages/ChiefOfStaff.jsx
@@ -719,6 +719,7 @@ export default function ChiefOfStaff() {
</button>
{status?.running ? (
<button
+ type="button"
onClick={handleStop}
className="bg-red-500/20 hover:bg-red-500/30 text-red-400 border border-red-400/30 rounded px-2 py-1.5 flex items-center gap-2 transition-colors min-h-[52px]"
aria-label="Stop Chief of Staff agent"
@@ -731,6 +732,7 @@ export default function ChiefOfStaff() {
</button>
) : (
<button
+ type="button"
onClick={handleStart}
className="bg-emerald-500/20 hover:bg-emerald-500/30 text-emerald-500 border border-emerald-500/30 rounded px-2 py-1.5 flex items-center gap-2 transition-colors min-h-[52px]"
aria-label="Start Chief of Staff agent"