Files
cobble/src/dict/rail-pages-dict.ts
T
tbenandClaude Opus 5.5 c44048dbab 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]>
2026-10-19 10:52:32 +01:00

26 lines
760 B
TypeScript

import { Activity, CircleHelp, Clock, type LucideIcon } from "lucide-react";
import { HelpPath } from "./help-dict";
export type RailPage = {
title: string;
url: string;
Icon: LucideIcon;
/**
* Shown and served to super admins only.
*/
super_admin_only?: boolean;
};
export const RoutinesPath = "/admin/routines";
export const ActivityPath = "/admin/logs";
/**
* Pages opened from the rail's user popover that have their own rail: a
* back link, then this list (like settings).
*/
export const RailPages: RailPage[] = [
{ title: "Routines", url: RoutinesPath, Icon: Clock },
{ title: "Activity", url: ActivityPath, Icon: Activity, super_admin_only: true },
{ title: "Help", url: HelpPath, Icon: CircleHelp },
];