diff --git a/modules/rschedule/components/folk-schedule-app.ts b/modules/rschedule/components/folk-schedule-app.ts index 75ece05..24c0c66 100644 --- a/modules/rschedule/components/folk-schedule-app.ts +++ b/modules/rschedule/components/folk-schedule-app.ts @@ -84,7 +84,7 @@ class FolkScheduleApp extends HTMLElement { private getApiBase(): string { const path = window.location.pathname; - const match = path.match(/^(\/[^/]+)?\/schedule/); + const match = path.match(/^(\/[^/]+)?\/rschedule/); return match ? match[0] : ""; } diff --git a/modules/rschedule/landing.ts b/modules/rschedule/landing.ts index ea65f70..669b4ff 100644 --- a/modules/rschedule/landing.ts +++ b/modules/rschedule/landing.ts @@ -9,7 +9,7 @@ export function renderLanding(): string { Persistent Scheduling

- Automate your rSpace, on your schedule. + Automate (you)rSpace,
on (you)rSchedule.

Cron-powered job scheduling with email, webhooks, calendar events, and backlog briefings — all managed from within rSpace. @@ -21,7 +21,7 @@ export function renderLanding(): string {

+ onclick="document.querySelector('.rl-hero').closest('[data-space]')?.getAttribute('data-space') ? window.location.href='/' + document.querySelector('.rl-hero').closest('[data-space]').getAttribute('data-space') + '/rschedule' : void 0; return false;"> Open Scheduler Learn More diff --git a/modules/rschedule/mod.ts b/modules/rschedule/mod.ts index c4cd55b..4040b87 100644 --- a/modules/rschedule/mod.ts +++ b/modules/rschedule/mod.ts @@ -421,7 +421,7 @@ async function executeBacklogBriefing( ${taskRows}

- Sent by rSchedule • Manage Schedules + Sent by rSchedule • Manage Schedules

`; @@ -614,7 +614,7 @@ routes.get("/", (c) => { return c.html( renderShell({ title: `${space} — Schedule | rSpace`, - moduleId: "schedule", + moduleId: "rschedule", spaceSlug: space, modules: getModuleInfoList(), theme: "dark", @@ -819,7 +819,7 @@ routes.get("/api/log/:jobId", (c) => { // ── Module export ── export const scheduleModule: RSpaceModule = { - id: "schedule", + id: "rschedule", name: "rSchedule", icon: "⏱", description: "Persistent cron-based job scheduling with email, webhooks, and backlog briefings",