Show the to-do list down the dashboard's right-hand side

A To do card lists every open job beside the attention, since-you-last-looked
and getting-started cards on wide screens (under them on narrow ones): soonest
due first, a box to tick one off with an undo, and for operators a line to add
one. It is as tall as the cards beside it and scrolls when the list is long.
Same jobs as the To do page.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-01 01:30:12 +01:00
1 parent a15bbf1303
commit 2b0623531a
5 files changed
+173 -2

No files matched your search

+9
View File
@@ -3,6 +3,7 @@ import { Fragment, isValidElement, useEffect, useState, type ReactNode } from "r
import { IconArrowLeft, IconArrowRight, IconEye, IconEyeOff } from "@tabler/icons-react";
import TimeAgo from "../components/TimeAgo";
import WhatChanged from "../components/WhatChanged";
import DashboardTodos from "../components/DashboardTodos";
import { setProblemsFirst, useProblemsFirst } from "../utils/problemsFirst";
import { UNPLACED, moveCard, resetDashboardLayout, setCardHidden, setEditingDashboard, useDashboardLayout } from "../utils/dashboardLayout";
import { Link } from "react-router-dom";
@@ -730,6 +731,11 @@ export default function Dashboard({ user }: { user: CurrentUser }) {
<p className="text-secondary">
Welcome back, {user.name ?? user.email ?? user.sub}.
</p>
</div>
</div>
<div className="row row-cards mb-3">
<div className="col-xl-6">
<StatusStrip />
{(user.role === "admin" || user.role === "operator") && <MyWorkStrip />}
<WhatChanged role={user.role} />
@@ -737,6 +743,9 @@ export default function Dashboard({ user }: { user: CurrentUser }) {
<SetupGuide steps={setupSteps} />
)}
</div>
<div className="col-xl-6 dash-side">
<DashboardTodos canEdit={user.role === "admin" || user.role === "operator"} />
</div>
</div>
<SectionHeader title="Overview" hint="DNS, Secrets, Servers and Domains are built into this app rather than connected integrations, but get the same at-a-glance treatment." />