Add bot schedules (routines), open Activity, add Help and a Desktop computer view

Bots create, list, update and delete schedules (cron_jobs, Bun.cron in UTC);
a per-minute cron queues due runs as tasks. Routines, Activity (super admins)
and Help get their own rail aside. Help covers familiar problems, starting
with signing in to Google through Cookie-Editor over the new Desktop (noVNC)
view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-19 10:52:32 +01:00
co-authored by Claude Opus 5.5
parent f24c0d7e82
commit c44048dbab
62 changed files with 1904 additions and 78 deletions
+15
View File
@@ -0,0 +1,15 @@
import { describe, expect, test } from "bun:test";
import timeUntil from "./time-until";
const now = Date.UTC(2026, 9, 19, 8, 30);
describe("timeUntil", () => {
test("counts down in the largest whole unit", () => {
expect(timeUntil({ at: now + 30 * 1000, now })).toBe("now");
expect(timeUntil({ at: now - 5000, now })).toBe("now");
expect(timeUntil({ at: now + 5 * 60 * 1000, now })).toBe("in 5m");
expect(timeUntil({ at: now + 3 * 60 * 60 * 1000, now })).toBe("in 3h");
expect(timeUntil({ at: now + 2 * 24 * 60 * 60 * 1000, now })).toBe("in 2d");
expect(timeUntil({ at: now + 21 * 24 * 60 * 60 * 1000, now })).toBe("in 3w");
});
});