Back to Components
Desktop (Electron)
SchedulingModal
Function Component
Scheduling Modal
Lines
516
File
SchedulingModal.tsx
Last Modified
2026-10-08
Exports
default SchedulingModal
Source Path
aartiq-browser/src/ai/SchedulingModal.tsx
Tags
ReactNode.jsAIAutomationPDFmacOS
Code Analysis
React Hooks
useStateuseEffect
API / Library Usage
zustand-storelucide-icons
External Dependencies
reactlucide-react
Internal Imports
@/store/useAppStore
Props / Types
SchedulingModalProps
| Prop | Type | Required |
|---|---|---|
| isOpen | boolean | Yes |
| onClose | () => void | Yes |
| onConfirm | (config: ScheduleConfig) => void | Yes |
| taskDetails | { | Yes |
| taskName | string | Yes |
| taskType | 'ai-prompt' | 'web-scrape' | 'pdf-generate' | 'workflow' | 'daily-brief' | 'shell' | 'open-url' | Yes |
| schedule | string | Yes |
| description | string | No |
| url | string | No |
| command | string | No |
ScheduleConfig
| Prop | Type | Required |
|---|---|---|
| schedule | string | Yes |
| scheduleType | 'cron' | 'once' | 'interval' | Yes |
| timezone | string | Yes |
| outputPath | string | Yes |
| model | { | Yes |
| provider | string | Yes |
| model | string | Yes |
ModelOption
| Prop | Type | Required |
|---|---|---|
| id | string | Yes |
| name | string | Yes |
| provider | string | Yes |
| icon | string | Yes |
| recommended | boolean | No |
| tier | string | No |
Key Functions
CRON_PRESETS()handleCronSelect()handleModelSelect()handleOutputSelect()handleConfirm()formatSchedule()getSelectedModel()
Related Components
Browse all components in the Component Inventory
Auto-Generated Documentation
Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js