Merge branch 'dev'
This commit is contained in:
commit
c1bec9f9a9
|
|
@ -84,7 +84,7 @@ class FolkScheduleApp extends HTMLElement {
|
||||||
|
|
||||||
private getApiBase(): string {
|
private getApiBase(): string {
|
||||||
const path = window.location.pathname;
|
const path = window.location.pathname;
|
||||||
const match = path.match(/^(\/[^/]+)?\/schedule/);
|
const match = path.match(/^(\/[^/]+)?\/rschedule/);
|
||||||
return match ? match[0] : "";
|
return match ? match[0] : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ export function renderLanding(): string {
|
||||||
Persistent Scheduling
|
Persistent Scheduling
|
||||||
</span>
|
</span>
|
||||||
<h1 class="rl-heading" style="background:linear-gradient(to right,#f59e0b,#f97316,#ef4444);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text">
|
<h1 class="rl-heading" style="background:linear-gradient(to right,#f59e0b,#f97316,#ef4444);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text">
|
||||||
Automate your rSpace, on your schedule.
|
Automate (you)rSpace,<br>on (you)rSchedule.
|
||||||
</h1>
|
</h1>
|
||||||
<p class="rl-subtitle">
|
<p class="rl-subtitle">
|
||||||
Cron-powered job scheduling with email, webhooks, calendar events, and backlog briefings — all managed from within rSpace.
|
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 {
|
||||||
<div class="rl-cta-row">
|
<div class="rl-cta-row">
|
||||||
<a href="#" class="rl-cta-primary" id="ml-primary"
|
<a href="#" class="rl-cta-primary" id="ml-primary"
|
||||||
style="background:linear-gradient(to right,#f59e0b,#f97316);color:#0b1120"
|
style="background:linear-gradient(to right,#f59e0b,#f97316);color:#0b1120"
|
||||||
onclick="document.querySelector('.rl-hero').closest('[data-space]')?.getAttribute('data-space') ? window.location.href='/' + document.querySelector('.rl-hero').closest('[data-space]').getAttribute('data-space') + '/schedule' : void 0; return false;">
|
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
|
Open Scheduler
|
||||||
</a>
|
</a>
|
||||||
<a href="#features" class="rl-cta-secondary">Learn More</a>
|
<a href="#features" class="rl-cta-secondary">Learn More</a>
|
||||||
|
|
|
||||||
|
|
@ -421,7 +421,7 @@ async function executeBacklogBriefing(
|
||||||
<tbody>${taskRows}</tbody>
|
<tbody>${taskRows}</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p style="color:#475569;font-size:11px;margin:24px 0 0;text-align:center">
|
<p style="color:#475569;font-size:11px;margin:24px 0 0;text-align:center">
|
||||||
Sent by rSchedule • <a href="https://rspace.online/demo/schedule" style="color:#f59e0b">Manage Schedules</a>
|
Sent by rSchedule • <a href="https://rspace.online/demo/rschedule" style="color:#f59e0b">Manage Schedules</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
@ -614,7 +614,7 @@ routes.get("/", (c) => {
|
||||||
return c.html(
|
return c.html(
|
||||||
renderShell({
|
renderShell({
|
||||||
title: `${space} — Schedule | rSpace`,
|
title: `${space} — Schedule | rSpace`,
|
||||||
moduleId: "schedule",
|
moduleId: "rschedule",
|
||||||
spaceSlug: space,
|
spaceSlug: space,
|
||||||
modules: getModuleInfoList(),
|
modules: getModuleInfoList(),
|
||||||
theme: "dark",
|
theme: "dark",
|
||||||
|
|
@ -819,7 +819,7 @@ routes.get("/api/log/:jobId", (c) => {
|
||||||
// ── Module export ──
|
// ── Module export ──
|
||||||
|
|
||||||
export const scheduleModule: RSpaceModule = {
|
export const scheduleModule: RSpaceModule = {
|
||||||
id: "schedule",
|
id: "rschedule",
|
||||||
name: "rSchedule",
|
name: "rSchedule",
|
||||||
icon: "⏱",
|
icon: "⏱",
|
||||||
description: "Persistent cron-based job scheduling with email, webhooks, and backlog briefings",
|
description: "Persistent cron-based job scheduling with email, webhooks, and backlog briefings",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue