Skip to content

Commit c61770a

Browse files
committed
chore(landing): retire the scheduled-tasks marketing surface
The feature is gone from the product, so the marketing pages stop selling it. - deletes the `/scheduled-tasks` landing page and its calendar-loop hero, and the `LandingPreviewScheduledTasks` panel - drops the view from the landing preview: the `SidebarView` member, the nav entry and its now-unused Calendar icon, the callout label, both render branches, and the staged chat copy in `workflow-data` - removes the navbar and footer links and the sitemap entry - removes the route from `LANDING_ROUTES`, the COEP exemption list that must list every `app/(landing)` route `/scheduled-tasks` is indexed, so it 301s to `/workflows` rather than starting to 404 — that is the surface that still carries scheduled execution via the workflow Schedule trigger. Left alone deliberately: `demo-scheduler` is the Cal.com booking embed for the demo page, unrelated to this feature, and the scheduling library article is a generic SEO piece that never pitched it.
1 parent fec8e0a commit c61770a

14 files changed

Lines changed: 13 additions & 683 deletions

File tree

apps/sim/app/(landing)/components/footer/footer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ const PRODUCT_LINKS: FooterItem[] = [
4040
{ label: 'Tables', href: '/tables' },
4141
{ label: 'Files', href: '/files' },
4242
{ label: 'Logs', href: '/logs' },
43-
{ label: 'Scheduled Tasks', href: '/scheduled-tasks' },
4443
{ label: 'MCP', href: 'https://docs.sim.ai/agents/mcp', external: true },
4544
{ label: 'API', href: 'https://docs.sim.ai/api-reference/getting-started', external: true },
4645
{ label: 'Self Hosting', href: 'https://docs.sim.ai/platform/self-hosting', external: true },

apps/sim/app/(landing)/components/landing-preview/components/landing-preview-scheduled-tasks/landing-preview-scheduled-tasks.tsx

Lines changed: 0 additions & 88 deletions
This file was deleted.

apps/sim/app/(landing)/components/landing-preview/components/landing-preview-sidebar/landing-preview-sidebar.tsx

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
11
'use client'
22
import { ChevronDown, cn, Home, Library } from '@sim/emcn'
3-
import {
4-
Calendar,
5-
Database,
6-
File,
7-
HelpCircle,
8-
Search,
9-
Settings,
10-
Table,
11-
Workflow,
12-
} from '@sim/emcn/icons'
3+
import { Database, File, HelpCircle, Search, Settings, Table, Workflow } from '@sim/emcn/icons'
134
import type { PreviewWorkflow } from '@/app/(landing)/components/landing-preview/components/landing-preview-workflow/workflow-data'
145

15-
export type SidebarView =
16-
| 'home'
17-
| 'workflow'
18-
| 'tables'
19-
| 'files'
20-
| 'knowledge'
21-
| 'logs'
22-
| 'scheduled-tasks'
6+
export type SidebarView = 'home' | 'workflow' | 'tables' | 'files' | 'knowledge' | 'logs'
237

248
interface LandingPreviewSidebarProps {
259
workflows: PreviewWorkflow[]
@@ -34,7 +18,6 @@ const WORKSPACE_NAV = [
3418
{ id: 'tables', label: 'Tables', icon: Table },
3519
{ id: 'files', label: 'Files', icon: File },
3620
{ id: 'knowledge', label: 'Knowledge Base', icon: Database },
37-
{ id: 'scheduled-tasks', label: 'Scheduled Tasks', icon: Calendar },
3821
{ id: 'logs', label: 'Logs', icon: Library },
3922
] as const
4023

apps/sim/app/(landing)/components/landing-preview/components/landing-preview-workflow/workflow-data.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,6 @@ export const RESOURCE_CHATS: Record<string, PreviewChat> = {
401401
user: 'What’s in our knowledge base?',
402402
assistant: 'Here are your knowledge bases. Your agents read from these to ground every answer.',
403403
},
404-
'scheduled-tasks': {
405-
user: 'What’s scheduled to run?',
406-
assistant: 'These are your scheduled tasks. I can pause, edit, or add a new one for you.',
407-
},
408404
}
409405

410406
/** The chat shown for a staged resource: the workflow's own exchange, else the view's. */

apps/sim/app/(landing)/components/landing-preview/landing-preview.tsx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { LandingPreviewFiles } from '@/app/(landing)/components/landing-preview/
77
import { LandingPreviewHome } from '@/app/(landing)/components/landing-preview/components/landing-preview-home/landing-preview-home'
88
import { LandingPreviewKnowledge } from '@/app/(landing)/components/landing-preview/components/landing-preview-knowledge/landing-preview-knowledge'
99
import { LandingPreviewLogs } from '@/app/(landing)/components/landing-preview/components/landing-preview-logs/landing-preview-logs'
10-
import { LandingPreviewScheduledTasks } from '@/app/(landing)/components/landing-preview/components/landing-preview-scheduled-tasks/landing-preview-scheduled-tasks'
1110
import type { SidebarView } from '@/app/(landing)/components/landing-preview/components/landing-preview-sidebar/landing-preview-sidebar'
1211
import { LandingPreviewSidebar } from '@/app/(landing)/components/landing-preview/components/landing-preview-sidebar/landing-preview-sidebar'
1312
import { LandingPreviewStageHeader } from '@/app/(landing)/components/landing-preview/components/landing-preview-stage/landing-preview-stage-header'
@@ -26,7 +25,6 @@ const CHAT_TITLES: Partial<Record<SidebarView, string>> = {
2625
tables: 'Workspace data',
2726
files: 'Files',
2827
knowledge: 'Knowledge base',
29-
'scheduled-tasks': 'Scheduled tasks',
3028
}
3129

3230
const containerVariants: Variants = {
@@ -108,7 +106,7 @@ interface LandingPreviewProps {
108106
/**
109107
* Initial staged view for the static snapshot (`autoplay={false}`). Defaults
110108
* to `'workflow'`. Lets each feature stage show the platform surface that
111-
* matches its callout (e.g. `'logs'`, `'scheduled-tasks'`).
109+
* matches its callout (e.g. `'logs'`, `'tables'`).
112110
*/
113111
initialView?: SidebarView
114112
/** Initial workflow for the static snapshot. Defaults to the first preview workflow. */
@@ -326,15 +324,6 @@ export function LandingPreview({
326324
<LandingPreviewLogs />
327325
</m.div>
328326
)}
329-
{activeView === 'scheduled-tasks' && (
330-
<m.div
331-
key='scheduled-tasks'
332-
className='flex h-full w-full flex-col'
333-
{...viewTransition}
334-
>
335-
<LandingPreviewScheduledTasks />
336-
</m.div>
337-
)}
338327
</AnimatePresence>
339328
) : activeView === 'tables' ? (
340329
<LandingPreviewTables />
@@ -344,8 +333,6 @@ export function LandingPreview({
344333
<LandingPreviewKnowledge />
345334
) : activeView === 'logs' ? (
346335
<LandingPreviewLogs />
347-
) : activeView === 'scheduled-tasks' ? (
348-
<LandingPreviewScheduledTasks />
349336
) : (
350337
<LandingPreviewWorkflow workflow={activeWorkflow} />
351338
)}

apps/sim/app/(landing)/components/navbar/components/nav-menu-chip/constants.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ export const PLATFORM_MENU: NavMenu = {
2727
description: 'One file store for team and agents',
2828
href: '/files',
2929
},
30-
{
31-
title: 'Scheduled Tasks',
32-
description: 'Run agents on a cadence',
33-
href: '/scheduled-tasks',
34-
},
3530
{
3631
title: 'Logs',
3732
description: 'Trace every agent decision',

apps/sim/app/(landing)/components/shared/editor-loop/editor-loop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ interface EditorLoopProps {
4343

4444
/**
4545
* The chat-free sibling of the enterprise platform loop, shared by the
46-
* workflows and scheduled-tasks heroes. Same architecture (the
46+
* workflows hero. Same architecture (the
4747
* {@link HeroLoopShell}'s fixed 1280x735 design-space layer scaled to the
4848
* window, a parent-owned clock driving a presentational stage, reduced-motion
4949
* showing the finished frame) and the same live sidebar, but the workspace

apps/sim/app/(landing)/scheduled-tasks/components/scheduled-tasks-calendar-loop/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/sim/app/(landing)/scheduled-tasks/components/scheduled-tasks-calendar-loop/scheduled-tasks-calendar-loop.module.css

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)