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: restore Dashboard widget heading hierarchy (#7958)

[._.]/ Adam Eivy73fc29fc6602
diff --git a/client/src/components/ActionQueuePreview.jsx b/client/src/components/ActionQueuePreview.jsx
index d54d447934..3479af5138 100644
--- a/client/src/components/ActionQueuePreview.jsx
+++ b/client/src/components/ActionQueuePreview.jsx
@@ -28,7 +28,7 @@ export default function ActionQueuePreview({ title = 'Actions', sources, queue,
return (
<section className={compact ? '@container p-4' : '@container bg-port-card border border-port-border rounded-xl p-4'} aria-labelledby={heading}>
<div className="flex flex-wrap items-center justify-between gap-2 mb-3">
- <h3 id={heading} className="text-sm font-semibold text-port-text">{title}</h3>
+ <h2 id={heading} className="text-sm font-semibold text-port-text">{title}</h2>
{data && <span className="text-xs text-port-warning">{lowerBound ? 'At least ' : ''}{formatCount(required.length)} required</span>}
</div>
{loading && !data && <p role="status" className="text-sm text-port-text-muted">Loading actions…</p>}
diff --git a/client/src/components/ActionQueuePreview.test.jsx b/client/src/components/ActionQueuePreview.test.jsx
index 36637d0039..066f3488a1 100644
--- a/client/src/components/ActionQueuePreview.test.jsx
+++ b/client/src/components/ActionQueuePreview.test.jsx
@@ -39,6 +39,8 @@ describe('canonical action previews', () => {
it('shares IDs and required counts across the bell and saved widgets; history controls cannot complete actions', async () => {
show();
const bell = await screen.findByRole('button', { name: 'Notifications (1 required actions)' });
+ const daily = screen.getByRole('region', { name: "Today's actions" });
+ expect(within(daily).getByRole('heading', { name: "Today's actions", level: 2 })).toBeInTheDocument();
fireEvent.click(bell);
const panel = screen.getByRole('region', { name: 'Notifications' });
expect(mock.getReviewQueue).toHaveBeenCalledTimes(1);