Add small UX improvements and tracking docs without changing architecture:
- Import Workflow feature on workflows list page
- HTTP node configuration: add authentication options (None, Bearer, Basic, API Key)
- Create this document to track TODOs for later
- app/(dashboard)/workflows/page.tsx: Added Import button and file JSON ingestion
- components/workflow/node-config-panel.tsx: Added authentication selector and value input for HTTP nodes
- README.md: Updated Managing Workflows with new Import path
- AI_RULES.md: Added note to maintain docs/workflow.md
- Typecheck OK (npm run typecheck)
- Build OK (npm run build)
- Type consistency for dates crossing the network:
- Consider
string | Dateor client hydration forWorkflowExecution.startedAt/completedAt
- Consider
- Webhook to execution bridge:
- Trigger workflow execution on POST /api/webhooks/[workflowId] (Implemented via in-memory registry and async execution)
- Error boundaries:
- Add segment-level
error.tsxandnot-found.tsxwhere meaningful
- Add segment-level
- Persistence backend:
- Replace LocalStorage with server persistence
- Tests:
- Add unit tests for import and HTTP auth config changes; integration smoke
- Add route handler validation tests for
/api/execute-workflowand webhook route
- Logs are not streamed in real-time; they are shown after execution completes.
- Workflows are synced to an in-memory server registry on save and before execution.