feat: Add schedule creation from deep links with comprehensive extension support (#2738)

This commit is contained in:
Max Novich
2025-05-30 10:50:38 -07:00
committed by GitHub
parent 3d277177db
commit 2c0cda7bec
4 changed files with 513 additions and 20 deletions
@@ -67,6 +67,14 @@ const SchedulesView: React.FC<SchedulesViewProps> = ({ onClose }) => {
useEffect(() => {
if (viewingScheduleId === null) {
fetchSchedules();
// Check for pending deep link from recipe editor
const pendingDeepLink = localStorage.getItem('pendingScheduleDeepLink');
if (pendingDeepLink) {
localStorage.removeItem('pendingScheduleDeepLink');
setIsCreateModalOpen(true);
// The CreateScheduleModal will handle the deep link
}
}
}, [viewingScheduleId]);