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:
@@ -11,10 +11,11 @@ type Params = {
|
||||
|
||||
/**
|
||||
* The app address of one of a computer's modes, e.g.
|
||||
* `/computers/3/terminal`.
|
||||
* `/computers/3/terminal`, with `{prefix}` in its path filled in.
|
||||
*/
|
||||
export default function computerViewUrl({ computer_id, mode }: Params) {
|
||||
const base = `${ComputerProxyPrefix}/${computer_id}/`;
|
||||
const path = ComputerViewModes.find((m) => m.value == mode)?.path || "";
|
||||
|
||||
return `${ComputerProxyPrefix}/${computer_id}/${path}`;
|
||||
return `${base}${path.replace("{prefix}", base.replace(/^\//, ""))}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user